Skip to content

Commit 7cf1344

Browse files
package hardhat-viem
1 parent d231433 commit 7cf1344

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

packages/hardhat-viem/.gitignore

+1-11
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
# Logs
2727
logs
2828
*.log
29-
npm-debug.log*
30-
yarn-debug.log*
31-
yarn-error.log*
32-
lerna-debug.log*
3329

3430
# Diagnostic reports (https://nodejs.org/api/report.html)
3531
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -68,21 +64,15 @@ jspm_packages/
6864
# TypeScript v1 declaration files
6965
typings/
7066

71-
# Optional npm cache directory
72-
.npm
73-
7467
# Optional eslint cache
7568
.eslintcache
7669

7770
# Optional REPL history
7871
.node_repl_history
7972

80-
# Output of 'npm pack'
73+
# Output of 'pnpm pack'
8174
*.tgz
8275

83-
# Yarn Integrity file
84-
.yarn-integrity
85-
8676
# parcel-bundler cache (https://parceljs.org/)
8777
.cache
8878

packages/hardhat-viem/package.json

+12-7
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"viem"
1717
],
1818
"scripts": {
19-
"lint": "yarn prettier --check && yarn eslint",
20-
"lint:fix": "yarn prettier --write && yarn eslint --fix",
19+
"lint": "pnpm prettier --check && pnpm eslint",
20+
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2121
"eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
2222
"prettier": "prettier \"**/*.{js,md,json}\"",
23-
"pretest": "cd ../.. && yarn build",
23+
"pretest": "cd ../.. && pnpm build",
2424
"test": "mocha --recursive \"test/**/*.ts\" -c --exit",
2525
"snapshots:update": "ts-node test/update-snapshots.ts",
26-
"coverage": "nyc yarn test -- --reporter min",
26+
"coverage": "nyc pnpm test -- --reporter min",
2727
"build": "tsc --build .",
28-
"prepublishOnly": "yarn build",
28+
"prepublishOnly": "pnpm build",
2929
"clean": "rimraf internal *.{d.ts,js}{,.map} build-test tsconfig.tsbuildinfo"
3030
},
3131
"files": [
@@ -39,8 +39,11 @@
3939
"README.md"
4040
],
4141
"devDependencies": {
42+
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
43+
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
4244
"@types/chai": "^4.2.0",
4345
"@types/chai-as-promised": "^7.1.3",
46+
"@types/lodash": "^4.14.197",
4447
"@types/lodash.memoize": "^4.1.7",
4548
"@types/mocha": ">=9.1.0",
4649
"@types/node": "^16.0.0",
@@ -54,17 +57,19 @@
5457
"eslint-plugin-import": "2.27.5",
5558
"eslint-plugin-no-only-tests": "3.0.0",
5659
"eslint-plugin-prettier": "3.4.0",
57-
"hardhat": "^2.17.0",
60+
"hardhat": "workspace:^",
5861
"jest-diff": "^29.7.0",
5962
"mocha": "^10.0.0",
63+
"nyc": "^15.1.0",
6064
"prettier": "2.4.1",
65+
"rimraf": "^3.0.2",
6166
"sinon": "^9.0.0",
6267
"ts-node": "^10.8.0",
6368
"typescript": "~5.0.0",
6469
"viem": "^1.15.1"
6570
},
6671
"peerDependencies": {
67-
"hardhat": "^2.17.0",
72+
"hardhat": "workspace:^",
6873
"typescript": "~5.0.0",
6974
"viem": "^1.15.1"
7075
},

0 commit comments

Comments
 (0)