pnpm version:
7.1.0
Code to reproduce the issue:
(in a fresh directory)
mkdir w1; ( cd w1; pnpm init; pnpm add -D typescript; )
cp -a w1 w2
echo 'packages: [w1, w2]' > pnpm-workspace.yaml
pnpm install
pnpm dlx remove-github-forks
Expected behavior:
pnpm-lockfile.yaml unmodified. Running pnpm install afterwards does nothing.
Actual behavior:
pnpm-lockfile.yaml is modified after pnpm dlx. Running pnpm install in this state will reinstall everything.
This only happens in workspace projects, not regular projects.
Additional information:
node -v prints: v17.1.0
- Windows, macOS, or Linux?: Windows
pnpm version:
7.1.0
Code to reproduce the issue:
(in a fresh directory)
Expected behavior:
pnpm-lockfile.yamlunmodified. Runningpnpm installafterwards does nothing.Actual behavior:
pnpm-lockfile.yamlis modified afterpnpm dlx. Runningpnpm installin this state will reinstall everything.This only happens in workspace projects, not regular projects.
Additional information:
node -vprints: v17.1.0