Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

yorickdewid
Copy link

Reasons for making this change

Under some conditions (when there is no user directory or inside a dev container) the pnpm store is placed inside the source tree.

Links to documentation supporting these rule changes

https://pnpm.io/settings#store-settings

If this is a new template

https://pnpm.io

Merge and Approval Steps

  • 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

Under some conditions the pnpm store is placed inside the source tree.
@yorickdewid yorickdewid requested a review from a team as a code owner August 19, 2025 08:49
@Copilot Copilot AI review requested due to automatic review settings August 19, 2025 08:49
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the .pnpm-store/ directory to the Node.js gitignore template to exclude the pnpm package manager's local store from version control. This addresses scenarios where pnpm places its store within the source tree when no user directory is available or when working in development containers.

  • Adds .pnpm-store/ to the dependency directories section of Node.gitignore

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yorickdewid
Copy link
Author

Possible duplicate of #4707

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.

1 participant