Skip to content

chore(deps): upgrade pnpm to 11.3.0#7767

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-create-rsbuild-pnpm11-pack
May 27, 2026
Merged

chore(deps): upgrade pnpm to 11.3.0#7767
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-create-rsbuild-pnpm11-pack

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This PR upgrades the repo to pnpm 11.3.0 and adjusts the create-rsbuild package files list to use template-*/**, avoiding the pnpm 11 publish/pack behavior that otherwise omits the template directories from the published package.

Related Links

https://github.com/pnpm/pnpm/releases/tag/v11.3.0

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the package manager and engine requirements to pnpm 11.3.0, updates the files glob pattern in packages/create-rsbuild/package.json to target nested template files, and updates the lockfile format. The review feedback highlights two important issues: first, upgrading to pnpm 11 requires adding pnpm.patchedDependencies to the root package.json to prevent build failures due to lockfile format changes; second, the new glob pattern template-*/** may exclude critical dotfiles from the published package, which can be resolved by explicitly including them.

Comment thread package.json
Comment thread packages/create-rsbuild/package.json
@chenjiahan chenjiahan merged commit d89fcff into main May 27, 2026
7 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/fix-create-rsbuild-pnpm11-pack branch May 27, 2026 04:49
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