Files
pnpm/.gitattributes
Zoltan Kochan 9de161c386 chore: keep test fixtures out of GitHub's dependency graph (#12465)
Mark fixture trees (package.json, lockfiles) as linguist-generated in
.gitattributes so GitHub's dependency graph ignores them. This stops
Dependabot from raising alerts and opening automatic security-update PRs
for packages that appear in fixtures only as test data — e.g. the
js-cookie bump in pnpm/pnpm#11840.

The `@pnpm/test-fixtures` helper package is real source and is
intentionally left unmarked.
2026-06-17 09:47:14 +02:00

15 lines
622 B
Plaintext

* text eol=lf
*.tgz binary
# Test fixtures embed package.json/lockfiles that name real packages purely as
# test data, never as dependencies we install. Mark the fixture trees as
# generated so GitHub's dependency graph (and therefore Dependabot alerts and
# automatic security PRs) ignores them. This also collapses fixtures in diffs.
# The `@pnpm/test-fixtures` helper package (__utils__/test-fixtures) is real
# source, so it is intentionally not matched here.
**/fixtures/** linguist-generated
**/__fixtures__/** linguist-generated
**/findPackages-fixtures/** linguist-generated
pnpr/.fixtures/** linguist-generated