mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Update to npm 8, pin in package.json via volta and corepack (#49941)
This commit is contained in:
parent
8d0c72d5e0
commit
1361567ea4
5
.github/workflows/update-package-lock.yaml
vendored
5
.github/workflows/update-package-lock.yaml
vendored
@ -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
9796
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user