Skip to content

chore: gitignore pnpm's build-approval state (pnpm-workspace.yaml) - #5

Open
warnes wants to merge 1 commit into
luohoa97:mainfrom
Warnes-Innovations:gitignore-pnpm-workspace
Open

chore: gitignore pnpm's build-approval state (pnpm-workspace.yaml)#5
warnes wants to merge 1 commit into
luohoa97:mainfrom
Warnes-Innovations:gitignore-pnpm-workspace

Conversation

@warnes

@warnes warnes commented Jul 30, 2026

Copy link
Copy Markdown

Small, independent housekeeping fix found while setting up a fresh clone for #1/#2/#3.

Running pnpm install prompts to approve esbuild's postinstall script (a dependency of tsup); approving it (pnpm approve-builds) writes the decision into pnpm-workspace.yaml, which pnpm auto-creates if it doesn't already exist. That's a machine-local trust decision, not portable project config — whichever contributor approves it first shouldn't end up committing it for everyone else.

Running `pnpm install` fresh prompts to approve esbuild's postinstall
script (tsup's dependency); approving it writes the decision into
pnpm-workspace.yaml. That's a machine-local trust decision, not portable
project config, and shouldn't get committed by whichever contributor
happens to approve it first.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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