Commit 94a8f287 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix(ctb): move deps to dev to fix npm (#3297)

Fixes issues with npm by moving certain dependencies from "dependencies"
to "devDependencies" and therefore not including them in the bundle that
gets uploaded to npm. These dependencies did not include a package.json
file, which was causing certain versions of npm to complain loudly.
parent 35eafed0
---
'@eth-optimism/contracts-bedrock': patch
---
Moves forge-std and ds-test to devDependencies to avoid breaking npm
......@@ -40,10 +40,8 @@
"@openzeppelin/contracts": "4.6.0",
"@openzeppelin/contracts-upgradeable": "4.7.1",
"@rari-capital/solmate": "https://github.com/rari-capital/solmate.git#8f9b23f8838670afda0fd8983f2c41e8037ae6bc",
"ds-test": "https://github.com/dapphub/ds-test.git#9310e879db8ba3ea6d5c6489a579118fd264a3f5",
"ethers": "^5.6.8",
"excessively-safe-call": "https://github.com/nomad-xyz/ExcessivelySafeCall.git#81cd99ce3e69117d665d7601c330ea03b97acce0",
"forge-std": "https://github.com/foundry-rs/forge-std.git#f18682b2874fc57d7c80a511fed0b35ec4201ffa",
"hardhat": "^2.9.6"
},
"devDependencies": {
......@@ -63,8 +61,10 @@
"chai": "^4.2.0",
"command-exists": "1.2.9",
"dotenv": "^16.0.0",
"ds-test": "https://github.com/dapphub/ds-test.git#9310e879db8ba3ea6d5c6489a579118fd264a3f5",
"ethereum-waffle": "^3.0.0",
"ethers": "^5.6.8",
"forge-std": "https://github.com/foundry-rs/forge-std.git#f18682b2874fc57d7c80a511fed0b35ec4201ffa",
"glob": "^7.1.6",
"hardhat-deploy": "^0.11.4",
"solhint": "^3.3.6",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment