build: switch from yarn to pnpm

This commit is contained in:
Paul Razvan Berg
2023-03-10 13:45:41 +02:00
parent 4ee9198852
commit 079a699207
10 changed files with 504 additions and 2103 deletions

View File

@@ -20,12 +20,11 @@
"solidity",
"template"
],
"packageManager": "yarn@3.4.1",
"private": true,
"scripts": {
"clean": "rimraf cache out",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "forge fmt --check && yarn solhint \"{script,src,test}/**/*.sol\"",
"lint": "pnpm lint:sol && pnpm prettier:check",
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""
}