Skip to content

Commit

Permalink
chore(*): update npm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhalliday committed Oct 17, 2024
1 parent 9f1c752 commit f927e6e
Show file tree
Hide file tree
Showing 5 changed files with 5,848 additions and 3,696 deletions.
24 changes: 18 additions & 6 deletions contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ version: ## Print tool versions.
@forge --version
@abigen --version

PNPM_VERSION := 9.12.1
ABIGEN_VERSION := 1.14.8

.PHONY: install-tools
install-tools:
@which npm > /dev/null || echo "npm not installed, see https://nodejs.org/en/download/package-manager"
@which pnpm > /dev/null || (echo "pnpm not installed, installing..."; npm install -g pnpm@9.12.1)
@which pnpm > /dev/null || (echo "pnpm not installed, installing..."; npm install -g pnpm@$(PNPM_VERSION))

.PHONY: install-deps
install-deps: ## Install dependencies.
install-deps: check-pnpm-version ## Install dependencies.
(cd avs && pnpm install --frozen-lockfile)
(cd core && pnpm install --frozen-lockfile)
go install github.com/ethereum/go-ethereum/cmd/abigen@v1.14.8
Expand Down Expand Up @@ -48,10 +51,19 @@ allocs: bindings ## Generate predeploy allocations.
go run ./allocs/scripts/genallocs.go

.PHONY: check-abigen-version
check-abigen-version: ## Check abigen version, exit(1) if not 1.13.14-stable.
check-abigen-version: ## Check abigen version, exit(1) if incorrect.
@version=$$(abigen --version); \
if [ "$$version" != "abigen version 1.14.8-stable" ]; then \
echo "abigen version is not 1.14.8-stable"; \
echo "Install with go install github.com/ethereum/go-ethereum/cmd/abigen@v1.14.8"; \
if [ "$$version" != "abigen version $(ABIGEN_VERSION)-stable" ]; then \
echo "abigen version is not $(ABIGEN_VERSION)"; \
echo "Install with go install github.com/ethereum/go-ethereum/cmd/abigen@v$(ABIGEN_VERSION)"; \
exit 1; \
fi

.PHONY: check-pnpm-version
check-pnpm-version: ## Check pnpm version, exit(1) if incorrect.
@version=$$(pnpm --version); \
if [ "$$version" != "$(PNPM_VERSION)" ]; then \
echo "pnpm version is not $(PNPM_VERSION)"; \
echo "Install with npm install -g pnpm@$(PNPM_VERSION)"; \
exit 1; \
fi
4 changes: 2 additions & 2 deletions contracts/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"devDependencies": {
"@openzeppelin/merkle-tree": "1.0.5",
"@types/node": "^20.16.11",
"@types/node": "^22.7.6",
"ds-test": "github:dapphub/ds-test",
"ethereum-cryptography": "^3.0.0",
"forge-std": "github:foundry-rs/forge-std",
"multiproof": "github:sigp/multiproof",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"viem": "^2.21.27"
"viem": "^2.21.28"
},
"dependencies": {
"@nomad-xyz/excessively-safe-call": "github:nomad-xyz/ExcessivelySafeCall",
Expand Down
48 changes: 24 additions & 24 deletions contracts/core/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@docusaurus/theme-classic": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@docusaurus/types": "3.5.2",
"@types/node": "^22.7.5",
"@types/node": "^22.7.6",
"typescript": "~5.2.2"
},
"browserslist": {
Expand Down
Loading

0 comments on commit f927e6e

Please sign in to comment.