Skip to content

Recreate #488: pnpm v11 upgrade + nuxt-pay/nuxt-auth preview swap for corps/person-roles/registry-home#516

Open
panish16 wants to merge 8 commits into
bcgov:mainfrom
panish16:recreate-pr-488
Open

Recreate #488: pnpm v11 upgrade + nuxt-pay/nuxt-auth preview swap for corps/person-roles/registry-home#516
panish16 wants to merge 8 commits into
bcgov:mainfrom
panish16:recreate-pr-488

Conversation

@panish16

@panish16 panish16 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Recreates #488 (closed, unmerged, originally by @pwei1018) on top of current main, which has moved on significantly since (notably #513's typecheck jobs and vue-version-collision fix).

  • Upgrades corps, person-roles, and registry-home CI workflows to pnpm 11.9.0 (actions/checkout@v6, pnpm/action-setup@v6, actions/setup-node@v6, exact 11.9.0 version pin rather than the latest-11 keyword, which risks "Multiple versions of pnpm specified" errors when combined with an explicit packageManager field).
  • Migrates pnpm-workspace.yaml's onlyBuiltDependenciesallowBuilds (pnpm v11's replacement format) and folds in blockExoticSubdeps: false, needed because the @sbc-connect/nuxt-pay/nuxt-auth preview packages below reference each other via URL.
  • Swaps @sbc-connect/nuxt-pay/nuxt-auth to their pkg.pr.new preview builds (from update pnpm version to latest-11 across CI workflows and package.json… #488's original intent).
  • Removes the now-redundant "pnpm" key from root package.json (pnpm v11 silently ignores it; the same overrides already live in pnpm-workspace.yaml via 34023 - fix type errors and add typecheck to CI's #513).
  • Bumps packageManager to pnpm@11.9.0 for corps/person-roles/registry-home for consistency with the rest of the org-wide pnpm v11 migration (tracked separately in chore: upgrade packageManager to pnpm@11.9.0 #504).

Test plan

  • CI green across corps-ui-ci, business-people-ui-ci, registry-home-ui-ci, layers-base-ci, changesets
  • typecheck jobs pass on pnpm 11.9.0

pwei1018 and others added 8 commits June 4, 2026 15:30
# Conflicts:
#	.github/workflows/registry-home-ci.yaml
#	packages/layers/base/package.json
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
…ilds placeholders

Recreates bcgov#488 (closed, unmerged) on top of current
main, which has moved on since (bcgov#513's typecheck
jobs and vue-version-collision override). Specific fixups beyond the
merge itself:

- Replace `latest-11`/bare version pnpm/action-setup inputs with an
  exact 11.9.0 pin across all CI workflows and the new typecheck
  jobs bcgov#513 added (still on pnpm/action-setup@v4 + 10.0.0) — matches
  the pattern already proven across this org's pnpm v11 migration:
  mixing a resolver keyword with an explicit packageManager field
  risks "Multiple versions of pnpm specified" errors.
- Remove the now-redundant "pnpm" key from root package.json — its
  vue overrides already live in pnpm-workspace.yaml via bcgov#513's fix,
  and pnpm v11 silently ignores the package.json key entirely.
- Fix two allowBuilds entries pnpm auto-scaffolded with literal
  "set this to true or false" placeholder text for the pkg.pr.new
  URL-referenced @sbc-connect packages.
- Bump corps/person-roles/registry-home packageManager to 11.9.0
  for consistency with the rest of this migration.
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.

2 participants