Move back to package-lock v2 #176

Merged
a3thakra merged 2 commits from revert-package-lock into main 2021-08-24 14:42:59 -04:00
3 changed files with 9080 additions and 26 deletions

View File

@ -4,8 +4,15 @@ type: docker
name: node16
steps:
- name: check-lockfile
image: node:16
commands:
- node ./check-lockfile.js
- name: install-deps
image: node:16
depends_on:
- check-lockfile
commands:
- npm install

10
check-lockfile.js Normal file
View File

@ -0,0 +1,10 @@
const lockfile = require('./package-lock.json')
if (lockfile.lockfileVersion !== 2) {
console.error(`
Please upgrade to npm v7 and revert changes to the lockfile.
- \`npm i -g npm\` to upgrade.
`.trim())
process.exit(1)
}

9089
package-lock.json generated

File diff suppressed because it is too large Load Diff