SimonAlling / userscripter

Create userscripts in a breeze!
https://www.npmjs.com/package/userscripter
MIT License
100 stars 10 forks source link

build: Upgrade npm lockfile to version 2 #87

Closed SimonAlling closed 1 year ago

SimonAlling commented 1 year ago

I did this:

$ npm --version
8.19.2
$ npm install --package-lock-only

Then npm ci failed with this error:

`npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

Invalid: lock file's acorn@5.7.4 does not satisfy acorn@8.8.2
Missing: acorn@5.7.4 from lock file

So I did npm install as recommended by npm.

This resolves the old lockfile warning emitted by npm ci:

npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile

💡 git show --stat