-
Notifications
You must be signed in to change notification settings - Fork 156
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
chore: Upgrade lockfiles to version 3 #2031
Conversation
@@ -4,8 +4,7 @@ | |||
"version": "0.0.0", | |||
"type": "module", | |||
"scripts": { | |||
"build": "node build.js", | |||
"preinstall": "node ./unlock-package-lock.cjs" |
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.
This script had no effect, because preinstall
actually runs after all modules already installed 🤷
npm/cli#2660
7391a87
to
566f40a
Compare
|
||
const lockfiles = [ | ||
'package-lock.json', | ||
'backstop/package-lock.json', |
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.
This file does not have dependencies on our components, but I think having an index of all lockfiles in the repository is useful.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2031 +/- ##
=======================================
Coverage 94.84% 94.84%
=======================================
Files 669 669
Lines 18114 18114
Branches 6003 6003
=======================================
Hits 17180 17180
Misses 869 869
Partials 65 65 ☔ View full report in Codecov by Sentry. |
Description
npm install --lockfile-version 3
to convert lockfiles to the latest versionRelated links, issue #, if available: n/a
How has this been tested?
PR build
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.