Last active
May 14, 2026 16:41
-
-
Save ozten/62f14b4b0e13e569deba28af5664d96a to your computer and use it in GitHub Desktop.
pnpm cool off
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Setup | |
| ``` | |
| curl -fsSL https://get.pnpm.io/install.sh | sh - | |
| npm uninstall npm -g | |
| ``` | |
| ## Prompt | |
| In this repo and ../recordimpact.com I need to level up security in a couple ways: | |
| - Switch to pnpm | |
| - A 3-day install cooldown plus ignore-scripts=true plus allow-git=none | |
| Something like | |
| ``` | |
| # .npmrc | |
| save-exact=true | |
| engine-strict=true | |
| ignore-scripts=true | |
| # 3 days | |
| min-release-age=4320 | |
| audit-level=high | |
| fund=false | |
| package-lock=true | |
| prefer-offline=true``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment