Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support transitive injected dependency #19

Merged
merged 4 commits into from
Mar 26, 2024
Merged

feat: support transitive injected dependency #19

merged 4 commits into from
Mar 26, 2024

Conversation

g-chao
Copy link
Collaborator

@g-chao g-chao commented Mar 25, 2024

Summary

This PR to support transitive injected dependency situation.

Details

When we were working on supporting PNPM injected install feature for Rush Subspace, we got a conclusion that if a package gets installed in the injected way then every workspace:* dependency of that package also gets injected. (See more details on this PR)
This means, for all dependencies all that dependency chain, we need to generate the .pnpm-sync.json for them, to make the installation and build behavior correct.

packages/pnpm-sync-lib/src/interfaces.ts Show resolved Hide resolved
packages/pnpm-sync-lib/src/interfaces.ts Outdated Show resolved Hide resolved
packages/pnpm-sync-lib/src/interfaces.ts Show resolved Hide resolved
packages/pnpm-sync-lib/src/pnpmSyncPrepare.ts Show resolved Hide resolved
packages/pnpm-sync/src/start.ts Outdated Show resolved Hide resolved
packages/pnpm-sync/src/start.ts Outdated Show resolved Hide resolved
packages/pnpm-sync/src/start.ts Outdated Show resolved Hide resolved
packages/pnpm-sync/src/start.ts Outdated Show resolved Hide resolved
@g-chao g-chao merged commit ffd4dfd into main Mar 26, 2024
1 check passed
@g-chao g-chao deleted the chao/bug-fix branch March 26, 2024 00:35
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