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

Deploy command started to install less packages #6935

Open
byymster opened this issue Aug 12, 2023 · 1 comment
Open

Deploy command started to install less packages #6935

byymster opened this issue Aug 12, 2023 · 1 comment

Comments

@byymster
Copy link

Last pnpm version that worked:

8.6.10

pnpm version:

8.6.11 8.6.12

Code to reproduce the issue:

Create a workspace with a few services (each has it's own package json)
Install some packages(that is used everywhere) in the root of the workspace
run pnpm install && pnpm --filter=@services/someservice deploy --prod pruned
inspect the number of packages in the pruned/node_modules

Expected behavior:

Packages from service and root package.json of the workspace are installed (exists in pruned/node_modules)

Actual behavior:

Only packages from service are installed

Additional information:

  • node -v prints: v20.5.1
  • Windows, macOS, or Linux?: macOS Sonoma
@await-ovo
Copy link
Member

Not sure if it is related to #6859.

I tried it with pnpm v8.6.10 and don't see the dependencies of root workspace project appearing in pruned/node_modules.

I don't know if I'm misunderstanding something, if so, please let me know, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants