Repository navigation
Use the azcode feed for Microsoft devs via a pnpm tokenHelper; public npm elsewhere - #665
Merged
Brandon Waterloo (bwateratmsft) merged 1 commit intoNov 30, 2026
Conversation
… npm elsewhere Port of microsoft/vscode-azure#405: bump pnpm to 12.23.0, add scripts/pnpmfile.mjs (switches to the azcode feed when a tokenHelper is configured and keeps the lockfile registry-agnostic), add azcode token helper scripts, and document setup in docs/build-and-dev.md. Also drop the expired minimumReleaseAgeExclude. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Brandon Waterloo (bwateratmsft)
requested a review
from a team
as a code owner
November 30, 2026 19:08
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the registry-selection and authentication updates.
No open issues 🎉
1 file not reviewed
pnpm-lock.yaml: Generated file
What changed in this PR
Updates dependency installation for the Container Tools monorepo to use the internal azcode feed when a developer has configured its token helper, while preserving public npm defaults for external contributors and GitHub Actions.
Changes:
- Adds registry-selection and lockfile-normalization hooks, plus Azure CLI token helpers for Windows and macOS/Linux.
- Pins pnpm to 12.23.0, regenerates the lockfile, and removes the expired release-age exception.
- Documents contributor setup and authentication troubleshooting, with platform-specific script line endings.
| File | Description |
|---|---|
scripts/pnpmfile.mjs |
Selects azcode and normalizes feed URLs and existing integrity hashes. |
scripts/azcode-token.sh |
Provides the macOS/Linux authentication helper. |
scripts/azcode-token.cmd |
Provides the Windows authentication helper. |
pnpm-workspace.yaml |
Registers the hook and removes the expired release-age exception. |
pnpm-lock.yaml |
Records pnpm metadata, the hook checksum, and refreshed peer resolutions. |
package.json |
Pins pnpm to 12.23.0. |
docs/build-and-dev.md |
Documents prerequisites, registry setup, and troubleshooting. |
CONTRIBUTING.md |
Switches installation guidance to pnpm and links setup documentation. |
.github/copilot-instructions.md |
Adds dependency-installation troubleshooting guidance. |
.gitattributes |
Enforces LF for shell scripts and CRLF for command scripts. |
Review effort: Balanced
Patrick Verbrugge (patverb)
approved these changes
Nov 30, 2026
Brandon Waterloo (bwateratmsft)
deleted the
bwateratmsft-azcode-feed-config
branch
November 30, 2026 19:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
d14efacf5fe305997a99b566da05be416fbc7335pnpm lint,pnpm buildandpnpm testall passed on pnpm 12.23.0.↑ GitHub Actions Build (the public npm path), CodeQL and CLA all passed.
↑ The official DevDiv build 16169574 succeeded on this head (BuildStage and SDLSources).
↑ The lockfile has no feed tarball URLs or SHA-1 integrity, and the scripts are byte-identical to the merged microsoft/vscode-azure#405.
↓ No human review yet.
🤖
Summary
Port of microsoft/vscode-azure#405. On Microsoft dev machines, pnpm installs from the internal DevDiv
azcodeAzure Artifacts feed, only within this repo, so the team's own packages can be used as soon as they're published. packagefeedproxy holds new versions for 7 days. External contributors and GitHub Actions keep using public npm. There's no checked-in.npmrc, and the lockfile stays registry-agnostic.Changes
pnpm 12.23.0 (
packageManager), installed globally via npm rather than Corepack. pnpm 11.8.0 rejects atokenHelperinauth.ini.scripts/pnpmfile.mjs(wired up viapnpmfile:inpnpm-workspace.yaml):updateConfigswitches the registry toazcodewhen pnpm's global config has anazcodetokenHelper.afterAllResolvedstrips feed tarball URLs and keeps the stronger integrity from the committed lockfile instead of the feed's SHA-1.scripts/azcode-token.cmd/.share the token helpers (viaaz account get-access-token). New.gitattributesrules keep.shLF and.cmdCRLF.docs/build-and-dev.md(new) covers prerequisites, setup, and the one-time Package registry setup for Microsoft developers:azcodeazdoar-ozy2.npmrcCONTRIBUTING.mdnow sayspnpm installand links to the new doc..github/copilot-instructions.mdgets a troubleshooting section.minimumReleaseAgeExclude: []drops the@microsoft/vscode-azext-engexclusion, which expired on 2026-10-22.pnpm-lock.yamlis regenerated:packageManagerDependenciesandpnpmfileChecksumsupports-colorpeer suffixesValidation
pnpm install --frozen-lockfile,pnpm lint,pnpm buildandpnpm testall pass locally..config/build.yml) on this branch: succeeded.