chore: upgrade packageManager to pnpm@11.9.0#875
Open
panish16 wants to merge 6 commits into
Open
Conversation
…asInjectionContext not available in vue-demi v2 mode)
pnpm v11 stopped reading package.json's "pnpm" key, silently dropping the sbc-common-components patch and build-script approvals and causing a lockfile mismatch. Move both to pnpm-workspace.yaml and regenerate the lockfile (which also fixes a stale pinia resolution: package.json already pinned ~2.0.35 for Vue 2 compatibility, but the committed lockfile still resolved 2.3.1).
…mpat
The production linting-pnpm (24, 9) job still runs pnpm 9, which
requires a non-missing "packages" field in any pnpm-workspace.yaml it
finds ("ERROR packages field missing or empty"), even though this file
exists purely for pnpm 11's allowBuilds/patchedDependencies settings.
Declare packages: [] explicitly so both pnpm versions handle the file.
The shared bcregistry-sre/frontend-ci.yaml workflow defaults pnpm_version to "9" when unset, and pnpm/action-setup doesn't defer to packageManager for that bare default. Pin pnpm_version to 11.9.0 explicitly, matching packageManager, as a stopgap until bcgov/bcregistry-sre#369 lands.
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.
Sets
packageManagertopnpm@11.9.0inapp/package.jsonas part of the pnpm v11 upgrade (ticket #33875).The Cloud Build CI trigger has already been updated to use
pnpm@11.9.0.