repo: migrate away from pnpm (#11395)
Migrate to just from pnpm. This is continued tech debt cleanup away from `pnpm` and typescript that is no longer used.
Showing
.nvmrc
deleted
100644 → 0
justfile
0 → 100644
package.json
deleted
100644 → 0
{ | |||
"name": "optimism", | |||
"version": "1.0.0", | |||
"author": "OP Labs PBC", | |||
"license": "MIT", | |||
"scripts": { | |||
"clean": "rm -rf node_modules packages/**/node_modules", | |||
"build": "cd packages/contracts-bedrock && just build", | |||
"test": "cd packages/contracts-bedrock && just test", | |||
"issues": "./ops/scripts/todo-checker.sh", | |||
"lint:shellcheck": "find . -type f -name '*.sh' -not -path '*/node_modules/*' -not -path './packages/contracts-bedrock/lib/*' -not -path './packages/contracts-bedrock/kout*/*' -exec sh -c 'echo \"Checking $1\"; shellcheck \"$1\"' _ {} \\;", | |||
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash && pnpm update:foundry", | |||
"update:foundry": "bash ./ops/scripts/install-foundry.sh", | |||
"check:foundry": "bash ./packages/contracts-bedrock/scripts/checks/check-foundry-install.sh", | |||
"install:kontrol": "curl -L https://kframework.org/install | bash && pnpm update:kontrol", | |||
"update:kontrol": "kup install kontrol --version v$(jq -r .kontrol < versions.json)", | |||
"install:abigen": "go install github.com/ethereum/go-ethereum/cmd/abigen@$(jq -r .abigen < versions.json)", | |||
"print:abigen": "abigen --version | sed -e 's/[^0-9]/ /g' -e 's/^ *//g' -e 's/ *$//g' -e 's/ /./g' -e 's/^/v/'", | |||
"check:abigen": "[[ $(pnpm -s print:abigen) = $(cat versions.json | jq -r '.abigen') ]] && echo '✓ abigen versions match' || (echo '✗ abigen version mismatch. Run `pnpm upgrade:abigen` to upgrade.' && exit 1)", | |||
"upgrade:abigen": "jq '.abigen = $v' --arg v $(pnpm -s print:abigen) <<<$(cat versions.json) > versions.json", | |||
"install:slither": "pip3 install slither-analyzer==$(jq -r .slither < versions.json)", | |||
"print:slither": "slither --version", | |||
"check:slither": "[[ $(pnpm -s print:slither) = $(jq -r .slither < versions.json) ]] && echo '✓ slither versions match' || (echo '✗ slither version mismatch. Run `pnpm upgrade:slither` to upgrade.' && exit 1)", | |||
"upgrade:slither": "jq '.slither = $v' --arg v $(pnpm -s print:slither) <<<$(cat versions.json) > versions.json" | |||
} | |||
} |
pnpm-lock.yaml
deleted
100644 → 0
This source diff could not be displayed because it is too large. You can view the blob instead.
pnpm-workspace.yaml
deleted
100644 → 0
Please register or sign in to comment