Commit 7dc4d816 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into refcell/eas-style-fixes

parents a22f52b0 bbd72147
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"pnpm": ">=8" "pnpm": ">=8"
}, },
"scripts": { "scripts": {
"clean": "npx nx run-many --target=clean", "clean": "pnpm recursive run clean; rm -rf node_modules packages/*/node_modules && echo 'Finished cleaning. Run `pnpm install && pnpm build` from root of repo to rebuild the repo.'",
"bindings": "nx bindings @eth-optimism/contracts-bedrock", "bindings": "nx bindings @eth-optimism/contracts-bedrock",
"build": "npx nx run-many --target=build", "build": "npx nx run-many --target=build",
"test": "npx nx run-many --target=test", "test": "npx nx run-many --target=test",
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json", "test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"build": "tsc -p ./tsconfig.json", "build": "tsc -p ./tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo", "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"preinstall": "npx only-allow pnpm",
"lint": "pnpm lint:fix && pnpm lint:check", "lint": "pnpm lint:fix && pnpm lint:check",
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
"lint:fix": "pnpm lint:check --fix", "lint:fix": "pnpm lint:check --fix",
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint", "all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo", "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"preinstall": "npx only-allow pnpm",
"lint:check": "eslint . --max-warnings=0", "lint:check": "eslint . --max-warnings=0",
"lint:fix": "pnpm lint:check --fix", "lint:fix": "pnpm lint:check --fix",
"lint": "pnpm lint:fix && pnpm lint:check", "lint": "pnpm lint:fix && pnpm lint:check",
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
"slither": "./scripts/slither.sh", "slither": "./scripts/slither.sh",
"slither:triage": "TRIAGE_MODE=1 ./scripts/slither.sh", "slither:triage": "TRIAGE_MODE=1 ./scripts/slither.sh",
"clean": "rm -rf ./dist ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./src/contract-artifacts.ts ./test-case-generator/fuzz", "clean": "rm -rf ./dist ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./src/contract-artifacts.ts ./test-case-generator/fuzz",
"preinstall": "npx only-allow pnpm",
"lint:ts:check": "eslint . --max-warnings=0", "lint:ts:check": "eslint . --max-warnings=0",
"lint:forge-tests:check": "ts-node scripts/forge-test-names.ts", "lint:forge-tests:check": "ts-node scripts/forge-test-names.ts",
"lint:contracts:check": "pnpm solhint -f table 'contracts/**/!(DisputeTypes|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm prettier --check 'contracts/**/!(DisputeTypes|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm lint:forge-tests:check", "lint:contracts:check": "pnpm solhint -f table 'contracts/**/!(DisputeTypes|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm prettier --check 'contracts/**/!(DisputeTypes|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm lint:forge-tests:check",
......
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
], ],
"scripts": { "scripts": {
"build": "tsup", "build": "tsup",
"clean": "rm -rf ./dist",
"preinstall": "npx only-allow pnpm",
"generate": "wagmi generate && pnpm build && pnpm lint:fix", "generate": "wagmi generate && pnpm build && pnpm lint:fix",
"generate:check": "pnpm generate && git diff --exit-code ./addresses.json && git diff --exit-code ./abis.json", "generate:check": "pnpm generate && git diff --exit-code ./addresses.json && git diff --exit-code ./abis.json",
"lint": "prettier --check .", "lint": "prettier --check .",
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint", "all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo", "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"preinstall": "npx only-allow pnpm",
"lint": "pnpm lint:fix && pnpm lint:check", "lint": "pnpm lint:fix && pnpm lint:check",
"lint:check": "eslint . --max-warnings=0", "lint:check": "eslint . --max-warnings=0",
"lint:fix": "pnpm lint:check --fix", "lint:fix": "pnpm lint:check --fix",
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"test:coverage": "echo 'No tests defined.'", "test:coverage": "echo 'No tests defined.'",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"clean": "rimraf ./dist ./tsconfig.tsbuildinfo", "clean": "rimraf ./dist ./tsconfig.tsbuildinfo",
"preinstall": "npx only-allow pnpm",
"lint": "pnpm run lint:fix && pnpm run lint:check", "lint": "pnpm run lint:fix && pnpm run lint:check",
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
"lint:fix": "pnpm lint:check --fix", "lint:fix": "pnpm lint:check --fix",
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint", "all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo", "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"preinstall": "npx only-allow pnpm",
"lint": "pnpm lint:fix && pnpm lint:check", "lint": "pnpm lint:fix && pnpm lint:check",
"lint:check": "eslint . --max-warnings=0", "lint:check": "eslint . --max-warnings=0",
"lint:fix": "pnpm lint:check --fix", "lint:fix": "pnpm lint:check --fix",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment