Skip to content

Commit

Permalink
Cleanup NPM dependency tree, use Yarn workspaces more
Browse files Browse the repository at this point in the history
  • Loading branch information
krebernisak committed Sep 3, 2022
1 parent 2d298b6 commit c0ce6ee
Show file tree
Hide file tree
Showing 14 changed files with 443 additions and 3,315 deletions.
13 changes: 3 additions & 10 deletions contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,16 @@
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@shardlabs/starknet-hardhat-plugin": "^0.6.2",
"@types/chai": "^4.2.22",
"@types/elliptic": "^6.4.14",
"@types/mocha": "^9.0.0",
"@types/node": "^18.7.11",
"bn.js": "^5.2.0",
"@types/mocha": "^9.1.1",
"cairo-ls": "^0.0.4",
"chai": "^4.3.4",
"chai": "^4.3.6",
"ethereum-waffle": "^3.4.4",
"ethers": "^5.6.8",
"hardhat": "^2.10.2",
"starknet": "3.9.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
"hardhat": "^2.10.2"
},
"dependencies": {
"@chainlink/contracts": "^0.4.2",
"@toruslabs/starkware-crypto": "^1.0.0",
"axios": "^0.24.0"
}
}
11 changes: 3 additions & 8 deletions examples/contracts/aggregator-consumer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@shardlabs/starknet-hardhat-plugin": "^0.6.2",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.0",
"@types/mocha": "^9.1.1",
"hardhat": "^2.10.2",
"ts-node": "^10.8.0",
"typescript": "^4.7.2"
"chai": "^4.3.6",
"hardhat": "^*"
},
"dependencies": {
"chai": "^4.3.6",
"dotenv": "^16.0.1",
"starknet": "^3.15.0"
"dotenv": "^16.0.1"
}
}
2,937 changes: 0 additions & 2,937 deletions examples/contracts/aggregator-consumer/yarn.lock

This file was deleted.

15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,20 @@
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.2.22",
"@types/bn.js": "^5.1.1",
"@types/mocha": "^9.1.1",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.0",
"@types/node": "^18.7.10",
"@types/node": "^18.7.11",
"bn.js": "^5.2.1",
"jest": "^28.1.0",
"pkg": "^5.2.1",
"prettier": "2.1.1",
"ts-jest": "^28.0.7",
"ts-node": "^8.3.0",
"typescript": "4.3.5"
"ts-node": "^10.8.0",
"typescript": "4.7.2"
},
"dependencies": {
"starknet": "^3.15.0"
}
}
13 changes: 3 additions & 10 deletions packages-ts/integration-eqlabs-multisig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,11 @@
"@changesets/cli": "^2.22.0",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@shardlabs/starknet-hardhat-plugin": "^0.6.2",
"@types/chai": "^4.3.1",
"@types/elliptic": "^6.4.14",
"@types/mocha": "^9.0.0",
"@types/node": "^18.7.11",
"chai": "^4.3.4",
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"ethers": "^5.6.8",
"starsign-multisig": "^0.2.3",
"ts-node": "^10.7.0",
"typescript": "^4.7.2"
},
"dependencies": {
"hardhat": "2.10.2",
"starknet": "^3.9.0"
"hardhat": "^2.10.2"
}
}
17 changes: 6 additions & 11 deletions packages-ts/integration-starkgate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,18 @@
"directories": {
"test": "test"
},
"devDependencies": {
"@shardlabs/starknet-hardhat-plugin": "^0.6.2",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.0",
"@types/mocha": "^9.1.1",
"bn.js": "^5.2.1",
"chai": "^4.3.6",
"hardhat": "^2.10.2",
"ts-node": "^10.8.0",
"typescript": "^4.7.2"
},
"scripts": {
"test": "npx hardhat --network localhost test"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@shardlabs/starknet-hardhat-plugin": "^0.6.2",
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"hardhat": "^2.10.2"
},
"dependencies": {
"@chainlink-dev/starkgate-contracts": "^0.0.3",
"@openzeppelin/contracts": "^4.7.3",
Expand Down
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-argent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
},
"dependencies": {
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "^3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"dependencies": {
"@chainlink/gauntlet-contracts-example": "0.1.1",
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "^3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-multisig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"dependencies": {
"starsign-multisig": "0.2.3",
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "^3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-ocr2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"@chainlink-dev/starknet-contracts-ocr2": "^0.0.5",
"@chainlink/gauntlet-contracts-ocr2": "0.2.2",
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-oz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"dependencies": {
"@chainlink-dev/starkgate-open-zeppelin": "^0.0.4",
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "^3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet-starkgate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"dependencies": {
"@chainlink-dev/starkgate-contracts": "^0.0.3",
"@chainlink/gauntlet-core": "0.3.1",
"@chainlink/starknet-gauntlet": "*",
"starknet": "^3.15.0"
"@chainlink/starknet-gauntlet": "*"
}
}
3 changes: 1 addition & 2 deletions packages-ts/starknet-gauntlet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
},
"dependencies": {
"@chainlink/gauntlet-core": "0.3.1",
"cross-fetch": "^3.1.5",
"starknet": "^3.15.0"
"cross-fetch": "^3.1.5"
}
}
Loading

0 comments on commit c0ce6ee

Please sign in to comment.