Skip to content

Commit 8dfc47f

Browse files
package hardhat-core
1 parent a537cee commit 8dfc47f

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

packages/hardhat-core/.gitignore

+2-12
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/coverage
1212
/.nyc_output
1313

14-
# TSC prod output. This has to be in sync with the to directories in ./src, and with npm script clean
14+
# TSC prod output. This has to be in sync with the to directories in ./src, and with pnpm script clean
1515

1616
/*.js
1717
/*.js.map
@@ -32,10 +32,6 @@ test/internal/hardhat-network/provider/.hardhat_node_test_cache/
3232
# Logs
3333
logs
3434
*.log
35-
npm-debug.log*
36-
yarn-debug.log*
37-
yarn-error.log*
38-
lerna-debug.log*
3935

4036
# Diagnostic reports (https://nodejs.org/api/report.html)
4137
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -74,21 +70,15 @@ jspm_packages/
7470
# TypeScript v1 declaration files
7571
typings/
7672

77-
# Optional npm cache directory
78-
.npm
79-
8073
# Optional eslint cache
8174
.eslintcache
8275

8376
# Optional REPL history
8477
.node_repl_history
8578

86-
# Output of 'npm pack'
79+
# Output of 'pnpm pack'
8780
*.tgz
8881

89-
# Yarn Integrity file
90-
.yarn-integrity
91-
9282
# parcel-bundler cache (https://parceljs.org/)
9383
.cache
9484

packages/hardhat-core/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
"hardhat": "internal/cli/bootstrap.js"
2424
},
2525
"scripts": {
26-
"lint": "yarn prettier --check && yarn eslint",
27-
"lint:fix": "yarn prettier --write && yarn eslint --fix",
26+
"lint": "pnpm prettier --check && pnpm eslint",
27+
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2828
"eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
2929
"prettier": "prettier \"**/*.{js,md,json}\"",
30-
"pretest": "cd ../.. && yarn build",
30+
"pretest": "cd ../.. && pnpm build",
3131
"test": "mocha --recursive \"test/**/*.ts\"",
3232
"test:except-tracing": "mocha --recursive \"test/**/*.ts\" --invert --grep \"Stack traces\"",
3333
"test:tracing": "mocha --recursive \"test/internal/hardhat-network/{helpers,stack-traces}/**/*.ts\"",
3434
"test:forking": "mocha --recursive \"test/internal/hardhat-network/{helpers,jsonrpc,provider}/**/*.ts\"",
3535
"build": "tsc --build .",
36-
"prepublishOnly": "yarn build",
36+
"prepublishOnly": "pnpm build",
3737
"clean": "rimraf builtin-tasks internal types utils *.d.ts *.map *.js build-test tsconfig.tsbuildinfo test/internal/hardhat-network/provider/.hardhat_node_test_cache test/internal/hardhat-network/stack-traces/test-files/artifacts"
3838
},
3939
"files": [
@@ -54,8 +54,8 @@
5454
"console.sol"
5555
],
5656
"devDependencies": {
57-
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "^1.0.0",
58-
"@nomicfoundation/eslint-plugin-slow-imports": "^1.0.0",
57+
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
58+
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
5959
"@types/async-eventemitter": "^0.2.1",
6060
"@types/bn.js": "^5.1.0",
6161
"@types/chai": "^4.2.0",

0 commit comments

Comments
 (0)