feat: migrate from yarn to pnpm (#6120)
* feat: Upgrade from yarn to pnpm
* fix: update eslint and eslint parser to fix contracts-bedrock linter
fix: update all eslint packages
Revert "fix: update all eslint packages"
This reverts commit ba4febe92eeba6cbd79ddf417eacbb9d06f16a7a.
ok updating all of the eslint was over aggro
upgrade eslint core too
---------
Co-authored-by:
Will Cory <willcory@Wills-MacBook-Pro.local>
Showing
.npmrc
0 → 100644
... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
"version": "1.0.0", | "version": "1.0.0", | ||
"author": "Optimism PBC", | "author": "Optimism PBC", | ||
"license": "MIT", | "license": "MIT", | ||
"private": true, | |||
"workspaces": { | "workspaces": { | ||
"packages": [ | "packages": [ | ||
"packages/*", | "packages/*", | ||
... | @@ -22,7 +23,9 @@ | ... | @@ -22,7 +23,9 @@ |
"forta-agent" | "forta-agent" | ||
] | ] | ||
}, | }, | ||
"private": true, | "engines": { | ||
"pnpm": ">=8" | |||
}, | |||
"scripts": { | "scripts": { | ||
"clean": "npx nx run-many --target=clean", | "clean": "npx nx run-many --target=clean", | ||
"build": "npx nx run-many --target=build", | "build": "npx nx run-many --target=build", | ||
... | @@ -32,15 +35,14 @@ | ... | @@ -32,15 +35,14 @@ |
"lint:ts:check": "npx nx run-many --target=lint:ts:check", | "lint:ts:check": "npx nx run-many --target=lint:ts:check", | ||
"lint:check": "npx nx run-many --target=lint:check", | "lint:check": "npx nx run-many --target=lint:check", | ||
"lint:fix": "npx nx run-many --target=lint:fix", | "lint:fix": "npx nx run-many --target=lint:fix", | ||
"lint:specs:fix": "yarn run markdownlint-cli2-fix \"./specs/**/*.md\"", | "lint:specs:fix": "npx markdownlint-cli2-fix \"./specs/**/*.md\"", | ||
"lint:specs:check": "yarn run markdownlint-cli2 \"./specs/**/*.md\"", | "lint:specs:check": "npx markdownlint-cli2 \"./specs/**/*.md\"", | ||
"lint:specs:toc": "yarn run doctoc '--title=**Table of Contents**' ./specs", | "lint:specs:toc": "npx doctoc '--title=**Table of Contents**' ./specs", | ||
"postinstall": "patch-package", | "postinstall": "patch-package && (test -d docs/op-stack && cd docs/op-stack && npx yarn@1 install && cd ../.. || exit 0)", | ||
"ready": "yarn lint && yarn test", | "ready": "pnpm lint && pnpm test", | ||
"prepare": "husky install", | "prepare": "husky install", | ||
"release": "yarn build && yarn changeset publish", | "release": "pnpm build && pnpm changeset publish", | ||
"update:yarn": "yarn set version 1.x", | "install:foundry": "curl -L https://foundry.paradigm.xyz | bash && pnpm update:foundry", | ||
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash && yarn update:foundry", | |||
"update:foundry": "foundryup -C $(cat .foundryrc)" | "update:foundry": "foundryup -C $(cat .foundryrc)" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
... | @@ -50,13 +52,13 @@ | ... | @@ -50,13 +52,13 @@ |
"@types/chai-as-promised": "^7.1.4", | "@types/chai-as-promised": "^7.1.4", | ||
"@types/mocha": "^8.2.2", | "@types/mocha": "^8.2.2", | ||
"@types/node": "^12.0.0", | "@types/node": "^12.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.45.1", | "@typescript-eslint/eslint-plugin": "^5.60.1", | ||
"@typescript-eslint/parser": "^5.45.1", | "@typescript-eslint/parser": "^5.60.1", | ||
"chai": "^4.2.0", | "chai": "^4.2.0", | ||
"copyfiles": "^2.3.0", | "copyfiles": "^2.3.0", | ||
"depcheck": "^1.4.3", | "depcheck": "^1.4.3", | ||
"doctoc": "^2.2.0", | "doctoc": "^2.2.0", | ||
"eslint": "^8.16.0", | "eslint": "^8.43.0", | ||
"eslint-config-prettier": "^8.3.0", | "eslint-config-prettier": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | "eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.26.0", | "eslint-plugin-import": "^2.26.0", | ||
... | @@ -68,6 +70,7 @@ | ... | @@ -68,6 +70,7 @@ |
"eslint-plugin-react": "^7.24.0", | "eslint-plugin-react": "^7.24.0", | ||
"eslint-plugin-unicorn": "^42.0.0", | "eslint-plugin-unicorn": "^42.0.0", | ||
"husky": "^6.0.0", | "husky": "^6.0.0", | ||
"lerna": "^6.0.0", | |||
"lint-staged": "11.0.0", | "lint-staged": "11.0.0", | ||
"markdownlint": "^0.24.0", | "markdownlint": "^0.24.0", | ||
"markdownlint-cli2": "0.4.0", | "markdownlint-cli2": "0.4.0", | ||
... | ... |
pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
pnpm-workspace.yaml
0 → 100644
yarn.lock
deleted
100644 → 0
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment