chore: upgrade pnpm to v11#329
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the repository’s package manager to pnpm v11 and refreshes the lockfile to newer dependency resolutions, alongside adding new workspace-level “security settings” configuration.
Changes:
- Bump
packageManagertopnpm@11.7.0in the rootpackage.json. - Update
pnpm-lock.yamlto newer versions of several direct/transitive dependencies, including resolving@forward-software/react-authto2.1.0. - Add new top-level config keys in
pnpm-workspace.yamlintended to enforce stricter dependency-update/security policies.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds new top-level “security settings” keys intended to constrain update behavior. |
| pnpm-lock.yaml | Refreshes dependency resolutions (including @forward-software/react-auth → 2.1.0) and various transitive bumps. |
| package.json | Updates the pinned package manager to pnpm v11.7.0 (Corepack-style packageManager field). |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot it seems that migrating to pnpm v11 broke CI builds and tests. |
Addressed in 3131a8d. The failures came from pnpm v11 seeing different |
Affected Package(s)
@forward-software/react-auth(lib)@forward-software/react-auth-google(packages/google-signin)Description of Changes
This pull request primarily updates dependencies to newer versions, including both direct and transitive dependencies, and updates the package manager version in
package.json. The main focus is on keeping the project up-to-date with the latest patches, features, and security improvements from its dependencies.Dependency version updates:
@forward-software/react-authfrom version2.0.4to2.1.0in bothpnpm-lock.yamland as a devDependency, ensuring the latest features and fixes are available. [1] [2] [3]@adobe/css-tools,@babel/*packages,acorn,es-module-lexer,lru-cache,minimatch,obug,std-env,tinyexec,tldts,undici, and others. These updates improve compatibility, performance, and security. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]pnpmpackage manager version inpackage.jsonfrom10.33.0to11.7.0, reflecting a move to the latest major version for improved performance and new features.These changes help ensure the project remains secure, stable, and compatible with the latest ecosystem updates.
Breaking Changes
None
How to Test
Vitest) and build steps pass successfully on this PR.pnpm installto install dependencies.pnpm --filter <affected-package> testto run tests for the affected package.pnpm --filter <affected-package> buildto verify the build succeeds.pnpm --filter <affected-package> lintto check for linting errors.Checklist
Notes for Reviewers