Skip to content

Commit

Permalink
chore: add only-allow preinstall script to enforce yarn usage (fedimi…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlwn123 authored Jan 27, 2025
1 parent eefe2b7 commit 58efc8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
auto-install-peers = true
package-lock=false
engine-strict=true
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint": "turbo run lint",
"test": "turbo run test",
"test:watch": "turbo run test:watch",
"preinstall": "npx only-allow yarn",
"prepare": "husky install",
"nix-guardian": "./scripts/mprocs-nix.sh run-ui mprocs-nix-guardian.yml",
"nix-gateway": "./scripts/mprocs-nix.sh dev-fed mprocs-nix-gateway.yml",
Expand Down

0 comments on commit 58efc8b

Please sign in to comment.