Skip to content

Commit

Permalink
Merge pull request #6188 from ethereum-optimism/willc/only-pnpm
Browse files Browse the repository at this point in the history
feat: Add script to stop people from accidentally using yarn install
  • Loading branch information
OptimismBot committed Jun 29, 2023
2 parents 648e405 + 8ee2806 commit 2e64d04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"lint:specs:fix": "npx markdownlint-cli2-fix \"./specs/**/*.md\"",
"lint:specs:check": "npx markdownlint-cli2 \"./specs/**/*.md\"",
"lint:specs:toc": "npx doctoc '--title=**Table of Contents**' ./specs",
"preinstall": "npx only-allow pnpm",
"postinstall": "patch-package && (test -d docs/op-stack && cd docs/op-stack && npx yarn@1 install && cd ../.. || exit 0)",
"ready": "pnpm lint && pnpm test",
"prepare": "husky install",
Expand Down

0 comments on commit 2e64d04

Please sign in to comment.