-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(build): Update contributing.md and fix npm ci #417
Conversation
Changes: - Update CONTRIBUTING.md to use > [email protected] preinstall > (cd packages/commons && npm ci); (cd packages/logger && npm ci); (cd packages/metrics && npm ci); (cd packages/tracing && npm ci); > @aws-lambda-powertools/[email protected] prepare > npm run build > @aws-lambda-powertools/[email protected] build > tsc added 586 packages, and audited 587 packages in 4s 84 packages are looking for funding run `npm fund` for details found 0 vulnerabilities > @aws-lambda-powertools/[email protected] prepare > npm run build > @aws-lambda-powertools/[email protected] build > tsc added 488 packages, and audited 489 packages in 4s 72 packages are looking for funding run `npm fund` for details found 0 vulnerabilities > @aws-lambda-powertools/[email protected] prepare > npm run build > @aws-lambda-powertools/[email protected] build > tsc added 822 packages, and audited 852 packages in 10s 91 packages are looking for funding run `npm fund` for details found 0 vulnerabilities > @aws-lambda-powertools/[email protected] prepare > npm run build > @aws-lambda-powertools/[email protected] build > tsc added 836 packages, and audited 859 packages in 8s 72 packages are looking for funding run `npm fund` for details found 0 vulnerabilities added 1327 packages, removed 2761 packages, changed 10 packages, and audited 1383 packages in 40s 100 packages are looking for funding run `npm fund` for details found 0 vulnerabilities - Add a preinstall task to install all of the sub packages closes aws-powertools#415
Changes: - Update CONTRIBUTING.md to use npm ci - Add a preinstall task to install all of the sub packages closes aws-powertools#415
@dreamorosi would you have time to look at this ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the delay in the response.
We have been testing internally the issue and some preliminary results appear to show that npm install
works with npm v7.x
while npm v8.x
throws the same error described in #415. We haven't settled yet on which version to use (see discussion) nor settled on how the local dev setup is going to look like (see here and here).
Regarding the changes to the tsconfig.json
file I'd prefer having @flochaz have a look as he has been working on them more than me.
At this stage the only changes I'd feel comfortable approving are L58-L60 + L94 of CONTRIBUTING.md
.
I'll request also a review from the other members to hear their opinion.
ok sure @dreamorosi i would have assume most people keep their |
@flochaz - is there something wrong with this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, sorry for the late review. LGTM
Description of your changes
fix(build): Update contributing.md and fix npm ci
Changes:
npm ci
CONTRIBUTING.md
based on markdown lint recommended fixescloses #415
How to verify this change
git clean -fdx; npm ci
Related issues, RFCs
#415
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.