Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7159,7 +7159,7 @@
},
"scripts": {
"bootstrap": "npm run bootstrap:yarn && yarn install --frozen-lockfile",
"bootstrap:yarn": "npm install -g yarn@1.22.22 --registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/",
"bootstrap:yarn": "npm ci --prefix .yarn-bootstrap --include=dev --ignore-scripts --no-audit --no-fund --registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/ && npm install -g ./.yarn-bootstrap/node_modules/yarn --install-links --ignore-scripts --offline --no-audit --no-fund",
"scripts": "ts-node -T .scripts/scripts.ts",
"show": "ts-node -T .scripts/clean.ts show",
"clean": "ts-node -T .scripts/clean.ts",
Expand Down
2 changes: 1 addition & 1 deletion Extension/readme.developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

`npm run bootstrap`

`npm run bootstrap` installs Yarn `1.22.22` globally from the internal npm feed and then runs `yarn install --frozen-lockfile`.
`npm run bootstrap` installs Yarn `1.22.22` from the internal npm feed using the pinned `.yarn-bootstrap/package-lock.json`, exposes that exact package globally, and then runs `yarn install --frozen-lockfile`.
On some systems, global npm install may require elevated permissions.

It's also good practice to run `npm run bootstrap` after merging from upstream or switching branches.
Expand Down
Loading
Loading