forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo: migrate away from pnpm (ethereum-optimism#11395)
Migrate to just from pnpm. This is continued tech debt cleanup away from `pnpm` and typescript that is no longer used.
- Loading branch information
Showing
17 changed files
with
69 additions
and
3,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
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 && just 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 && just 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: | ||
[[ $(just print-abigen) = $(cat versions.json | jq -r '.abigen') ]] && echo '✓ abigen versions match' || (echo '✗ abigen version mismatch. Run `just upgrade:abigen` to upgrade.' && exit 1) | ||
|
||
upgrade-abigen: | ||
jq '.abigen = $v' --arg v $(just print:abigen) <<<$(cat versions.json) > versions.json | ||
|
||
install-slither: | ||
pip3 install slither-analyzer==$(jq -r .slither < versions.json) | ||
|
||
print-slither: | ||
slither --version | ||
|
||
check-slither: | ||
[[ $(just print-slither) = $(jq -r .slither < versions.json) ]] && echo '✓ slither versions match' || (echo '✗ slither version mismatch. Run `just upgrade-slither` to upgrade.' && exit 1) | ||
|
||
upgrade-slither: | ||
jq '.slither = $v' --arg v $(just print-slither) <<<$(cat versions.json) > versions.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.