Skip to content

update pnpm version to latest-11 across CI workflows and package.json…#488

Open
pwei1018 wants to merge 6 commits into
bcgov:mainfrom
pwei1018:main
Open

update pnpm version to latest-11 across CI workflows and package.json…#488
pwei1018 wants to merge 6 commits into
bcgov:mainfrom
pwei1018:main

Conversation

@pwei1018

@pwei1018 pwei1018 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

This pull request upgrades the project from pnpm v10 to pnpm v11 across all relevant CI workflows and package configurations. It also updates the pnpm-workspace.yaml file to align with pnpm v11's new settings, including changes to dependency build controls. These updates ensure compatibility with the latest pnpm features and maintain consistency across the monorepo.

pnpm v11 Upgrade and Configuration Updates:

  • Updated all CI workflow files (such as .github/workflows/corps-ci.yaml, person-roles-ci.yaml, and registry-home-ci.yaml) to use pnpm version latest-11 instead of v10, ensuring CI runs with the latest major version.

Workspace and Dependency Management:

  • Refactored pnpm-workspace.yaml to use pnpm v11's new allowBuilds map, replacing the deprecated onlyBuiltDependencies, neverBuiltDependencies, and ignoredBuiltDependencies fields. This controls which dependencies have build scripts run during install.
  • Moved and sorted dependency versions in the catalog section for clarity and consistency, and restored the shamefullyHoist and autoInstallPeers flags for workspace compatibility.… files

Issue #: /bcgov/entity###

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-ui license (BSD 3-Clause).

Comment thread .github/workflows/corps-ci.yaml Outdated
@pwei1018 pwei1018 assigned pwei1018 and unassigned pwei1018 Jun 4, 2026
@pwei1018

pwei1018 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author
image

@kialj876

kialj876 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

will you be doing the other UIs as well? It would be nice if we can keep it consistent so that we don't have to switch back and forth looks like its just the new ones which works too I guess, but then we probably want to have https://github.com/bcgov/connect-nuxt upgraded so that the colin-egress team doesn't have to switch pnpm versions when updating dependencies

@kialj876

kialj876 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

/gcbrun

@bcregistry-sre

Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://business-registry-home-dev--pr-488-nsleljjo.web.app

@bcregistry-sre

Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://business-corps-dev--pr-488-urk2xx9x.web.app

@bcregistry-sre

Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://business-people-dev--pr-488-ffaonj6x.web.app

@kialj876

kialj876 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Did you also update the PR builds to use the same pnpm version?

@pwei1018

Copy link
Copy Markdown
Collaborator Author

@deetz99 @kialj876 Do you still need this PR?

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.

4 participants