Skip to content

Commit bd0562c

Browse files
package hardhat-truffle5
1 parent d989b5b commit bd0562c

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

Diff for: packages/hardhat-truffle5/.gitignore

+1-11
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# Logs
1616
logs
1717
*.log
18-
npm-debug.log*
19-
yarn-debug.log*
20-
yarn-error.log*
21-
lerna-debug.log*
2218

2319
# Diagnostic reports (https://nodejs.org/api/report.html)
2420
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -57,21 +53,15 @@ jspm_packages/
5753
# TypeScript v1 declaration files
5854
typings/
5955

60-
# Optional npm cache directory
61-
.npm
62-
6356
# Optional eslint cache
6457
.eslintcache
6558

6659
# Optional REPL history
6760
.node_repl_history
6861

69-
# Output of 'npm pack'
62+
# Output of 'pnpm pack'
7063
*.tgz
7164

72-
# Yarn Integrity file
73-
.yarn-integrity
74-
7565
# parcel-bundler cache (https://parceljs.org/)
7666
.cache
7767

Diff for: packages/hardhat-truffle5/package.json

+10-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"truffle-contract"
1818
],
1919
"scripts": {
20-
"lint": "yarn prettier --check && yarn eslint",
21-
"lint:fix": "yarn prettier --write && yarn eslint --fix",
20+
"lint": "pnpm prettier --check && pnpm eslint",
21+
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2222
"eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
2323
"prettier": "prettier \"**/*.{js,md,json}\"",
24-
"pretest": "cd ../.. && yarn build",
24+
"pretest": "cd ../.. && pnpm build",
2525
"test": "mocha --recursive \"test/**/*.ts\" --exit",
2626
"build": "tsc --build .",
27-
"prepublishOnly": "yarn build",
27+
"prepublishOnly": "pnpm build",
2828
"clean": "rimraf dist"
2929
},
3030
"files": [
@@ -41,7 +41,9 @@
4141
"fs-extra": "^7.0.1"
4242
},
4343
"devDependencies": {
44-
"@nomiclabs/hardhat-web3": "^2.0.0",
44+
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
45+
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
46+
"@nomiclabs/hardhat-web3": "workspace:^",
4547
"@types/fs-extra": "^5.1.0",
4648
"@types/glob": "^7.1.1",
4749
"@types/mocha": ">=9.1.0",
@@ -54,7 +56,7 @@
5456
"eslint-plugin-import": "2.27.5",
5557
"eslint-plugin-no-only-tests": "3.0.0",
5658
"eslint-plugin-prettier": "3.4.0",
57-
"hardhat": "^2.6.4",
59+
"hardhat": "workspace:^",
5860
"mocha": "^10.0.0",
5961
"prettier": "2.4.1",
6062
"rimraf": "^3.0.2",
@@ -63,8 +65,8 @@
6365
"web3": "^1.0.0-beta.36"
6466
},
6567
"peerDependencies": {
66-
"@nomiclabs/hardhat-web3": "^2.0.0",
67-
"hardhat": "^2.6.4",
68+
"@nomiclabs/hardhat-web3": "workspace:^",
69+
"hardhat": "workspace:^",
6870
"web3": "^1.0.0-beta.36"
6971
}
7072
}

0 commit comments

Comments
 (0)