gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

Add .pnpm-store to Node.gitignore

Open stone-w4tch3r opened this issue 4 months ago • 2 comments

Reasons for making this change

Due to current bugs in pnpm, it sometimes creates .pnpm-store directory at project root instead of global pnpm cache dir. Since it's chache, it is not needed in git repo, and it has enormous size, like that of node_modules/

Links to documentation supporting these rule changes

In this 51 start repo with pnpm workspace example we can see that .pnpm-store is ignored

Related issues: https://github.com/pnpm/pnpm/issues/7050#issuecomment-1998668286 https://github.com/gravitational/teleport/issues/46019 https://github.com/gravitational/teleport/pull/54701 https://github.com/pnpm/pnpm/issues/7100

Merge and Approval Steps

  • [x] Confirm that you've read the contribution guidelines and ensured your PR aligns
  • [ ] Ensure CI is passing
  • [ ] Get a review and Approval from one of the maintainers

stone-w4tch3r avatar Aug 11 '25 22:08 stone-w4tch3r

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open :smile:

github-actions[bot] avatar Nov 11 '25 16:11 github-actions[bot]

Is there a chance for it to be merged?

stone-w4tch3r avatar Nov 11 '25 22:11 stone-w4tch3r