Skip to content

Commit 862e315

Browse files
package hardhat-foundry
1 parent 124f0d2 commit 862e315

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

packages/hardhat-foundry/.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

packages/hardhat-foundry/package.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
"foundry"
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'",
2222
"prettier": "prettier \"**/*.{js,md,json}\"",
23-
"pretest": "cd ../.. && yarn build",
23+
"pretest": "cd ../.. && pnpm build",
2424
"test": "mocha --recursive \"test/**/*.ts\" --exit",
2525
"build": "tsc --build .",
26-
"prepublishOnly": "yarn build",
26+
"prepublishOnly": "pnpm build",
2727
"clean": "rimraf dist"
2828
},
2929
"files": [
@@ -36,6 +36,8 @@
3636
"chalk": "^2.4.2"
3737
},
3838
"devDependencies": {
39+
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
40+
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
3941
"@types/chai": "^4.2.0",
4042
"@types/mocha": ">=9.1.0",
4143
"@types/node": "^16.0.0",
@@ -54,6 +56,6 @@
5456
"typescript": "~5.0.0"
5557
},
5658
"peerDependencies": {
57-
"hardhat": "^2.17.2"
59+
"hardhat": "workspace:^"
5860
}
5961
}

0 commit comments

Comments
 (0)