Skip to content

chore: upgrade packageManager to pnpm@11.9.0#271

Open
panish16 wants to merge 7 commits into
bcgov:mainfrom
panish16:feat/upgrade-pnpm-v11
Open

chore: upgrade packageManager to pnpm@11.9.0#271
panish16 wants to merge 7 commits into
bcgov:mainfrom
panish16:feat/upgrade-pnpm-v11

Conversation

@panish16

Copy link
Copy Markdown
Collaborator

Sets packageManager to pnpm@11.9.0 in package.json as part of the pnpm v11 upgrade (ticket #33875). CI trigger already updated to pnpm@11.9.0.

panish16 and others added 7 commits June 25, 2026 11:44
Move build-script approvals from package.json's dead "pnpm" key to
pnpm-workspace.yaml (with an explicit empty packages list, since the
production lint job's older pnpm still requires that field to be
present), and drop the redundant pnpm/action-setup version input that
now conflicts with packageManager.

Note: bcregistry-ui-ci's linting job remains blocked on
bcgov/bcregistry-sre#369, which still hardcodes pnpm v9 in a shared
reusable workflow.
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.
Now that bcregistry-ui-ci actually runs pnpm 11 (previous commit), the
verify-build job surfaces "Can't resolve 'tailwindcss'" — it's a
transitive dependency (via @sbc-connect/nuxt-core-layer-beta) resolved
in the lockfile at 4.1.5 but not reachable from this app's own
node_modules. Declare it directly, matching the resolved version.
Now that bcregistry-ui-ci actually runs pnpm 11, verify-build surfaces
"Can't resolve '@nuxt/ui'" and would hit further missing modules one
at a time. Declare the full set of the extended layer's own
dependencies directly (@nuxt/ui, @pinia/nuxt, @vueuse/nuxt, pinia,
pinia-plugin-persistedstate, keycloak-js, launchdarkly-vue-client-sdk,
dompurify, jsdom, maska, zod, @iconify-json/mdi), matching the
layer's pinned versions.

Verified locally: clean install, vite build completes successfully
(remaining local-only failure is the known Windows better-sqlite3
native-binding limitation, irrelevant on Linux CI).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant