Disable scripts
Open
Nobody has claimed this yet.
feature request
- Dominant language
- TypeScript
- Stars
- 5k
- Forks
- 1.7k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 2
Description
Description:
It would be nice to be able to configure npm to ignore pre and postinstall scripts.
Justification:
Pre/postinstall scripts are a potential security problem.
Are you willing to submit a PR?
Yes, see #955
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the npm ignore-scripts documentation linked in the issue and the referenced work in #955. Inspect the setup-node action entry points to determine where npm configuration belongs; done means workflows can opt out of pre- and postinstall scripts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, nodejs, typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100