Update to npm 8, pin in package.json via volta and corepack (#49941)

This commit is contained in:
Jake Bailey 2022-07-27 14:02:24 -07:00 committed by GitHub
parent 8d0c72d5e0
commit 1361567ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9376 additions and 430 deletions

View File

@ -16,13 +16,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- name: Configure git and update package-lock.json
run: |
git config user.email "typescriptbot@microsoft.com"
git config user.name "TypeScript Bot"
npm install --package-lock-only --ignore-scripts
rm package-lock.json
npm install --package-lock-only --ignore-scripts # This is a no-op if package-lock.json is present.
git add -f package-lock.json
if git commit -m "Update package-lock.json"; then
git push

9796
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,6 @@
"engines": {
"node": ">=4.2.0"
},
"packageManager": "npm@6.14.15",
"devDependencies": {
"@octokit/rest": "latest",
"@types/chai": "latest",
@ -118,7 +117,9 @@
"source-map-support": false,
"inspector": false
},
"packageManager": "npm@8.15.0",
"volta": {
"node": "14.15.5"
"node": "14.20.0",
"npm": "8.15.0"
}
}