Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Replace Bun with pnpm, bump Hardhat version
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Nov 7, 2023
1 parent 2500bf1 commit 2b0fbed
Show file tree
Hide file tree
Showing 6 changed files with 5,723 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"ignorePatterns": [
"dist",
"node_modules"
"node_modules",
"subgraph"
],
"root": true,
"parser": "@typescript-eslint/parser",
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
Binary file removed bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import '@nomicfoundation/hardhat-toolbox'
import '@openzeppelin/hardhat-upgrades'
import 'hardhat-storage-layout'
import 'hardhat-contract-sizer'
import 'hardhat-deploy'
Expand Down Expand Up @@ -29,7 +28,7 @@ export default {
url: 'https://rpc.ankr.com/polygon_mumbai',
chainId: 80001,
loggingEnabled: true,
accounts: [process.env.PRIVATE_KEY!],
accounts: [process.env.PRIVATE_KEY],
saveDeployments: true,
zksync: false
}
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "hardhat compile",
"clean": "hardhat clean",
"format": "npm run format-ts && npm run format-sol",
"format-sol": "prettier --ignore-unknown --write \"contracts/*.sol\"",
"format-sol": "prettier --ignore-unknown --write \"contracts/**/*.sol\"",
"format-ts": "prettier --ignore-unknown --write \"**/*.ts\"",
"lint": "npm run lint-ts && npm run lint-sol",
"lint-ts": "eslint . --ext .ts",
Expand All @@ -37,27 +37,26 @@
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"@openzeppelin/contracts": "5.0.0",
"@openzeppelin/contracts-upgradeable": "5.0.0",
"@openzeppelin/hardhat-upgrades": "2.3.3",
"@types/bunyan": "^1.8.7",
"@types/chai-as-promised": "7.1.7",
"@types/node": "20.8.7",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"chai-as-promised": "7.1.1",
"eslint": "8.52.0",
"dotenv": "^16.3.1",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.1",
"hardhat": "2.18.2",
"hardhat": "2.19.0",
"hardhat-contract-sizer": "2.10.0",
"hardhat-deploy": "^0.11.43",
"hardhat-storage-layout": "0.1.7",
"husky": "8.0.3",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"prettier-plugin-solidity": "1.1.3",
"solhint": "4.0.0",
"typescript": "5.2.2",
"dotenv": "^16.3.1",
"hardhat-deploy": "^0.11.43"
"typescript": "5.2.2"
},
"dependencies": {
"bunyan": "^1.8.15"
Expand Down
Loading

0 comments on commit 2b0fbed

Please sign in to comment.