From 10569db3b1f3771f62201a742cdf69e8506160c4 Mon Sep 17 00:00:00 2001 From: Arthur Abeilice Date: Mon, 4 May 2026 22:13:22 -0300 Subject: [PATCH] chore(scripts): use wagmi binary and stop clobbering submodule .env --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 977a154..1d24b03 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "lint:fix": "eslint . --fix", "format": "prettier --write \"src/**/*.{ts,vue,json}\"", "format:check": "prettier --check \"src/**/*.{ts,vue,json}\"", - "contracts:setup": "pushd p2pix-smart-contracts && bun install && ([ -f .env ] || echo 'ALCHEMY_API_KEY=placeholder' > .env) && popd", + "contracts:setup": "pushd p2pix-smart-contracts && bun install && cp -n .env.example .env || true && popd", "prewagmi:gen": "bun run contracts:setup", - "wagmi:gen": "bun ./node_modules/@wagmi/cli/dist/esm/cli.js generate" + "wagmi:gen": "wagmi generate" }, "dependencies": { "@floating-ui/vue": "^1.1.11",