Replace npm with pnpm#5091
Draft
Copilot wants to merge 19 commits into
Draft
Conversation
Copilot created this pull request from a session on behalf of
nickgros
May 29, 2026 20:38
View session
Copilot
AI
changed the title
Migrate monorepo package management and automation from npm to pnpm
Ensure pnpm is explicitly installed in GitHub Actions before workflow execution
May 29, 2026
Copilot
AI
changed the title
Ensure pnpm is explicitly installed in GitHub Actions before workflow execution
Downgrade CI/workspace to pnpm 10 and fix strict dependency breakages under Node 20
May 30, 2026
Copilot
AI
changed the title
Downgrade CI/workspace to pnpm 10 and fix strict dependency breakages under Node 20
Unify pnpm version source in CI and release workflows
May 30, 2026
Copilot
AI
changed the title
Unify pnpm version source in CI and release workflows
Fix pnpm-induced playground build failures by correcting dependency resolution boundaries
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After switching to pnpm, the playground build started failing in Vite/Rolldown on unresolved imports (e.g.
@fluentui/react-component-ref) that were previously masked by hoisting. This PR aligns package boundaries with pnpm’s stricter resolution and updates playground module resolution behavior accordingly.Root cause surfaced by pnpm strictness
preserveSymlinksin playground Vite config amplified unresolved imports across linked workspace packages.Dependency declaration fixes (make imports explicit)
packages/semantic-ui/package.json: add@fluentui/react-component-refpackages/chakra-ui/package.json: add@ark-ui/react,@zag-js/reactpackages/fluentui-rc/package.json: add@griffel/reactpackages/playground/package.json: add@ant-design/cssinjs,primereactPlayground resolver adjustment
packages/playground/vite.config.ts: switchresolve.preserveSymlinksfromtruetofalseso Vite resolves dependencies via real pnpm install topology instead of preserving symlink boundaries.Lockfile update
pnpm-lock.yamlto reflect explicit dependency ownership and version graph.