diff --git a/halo2-lib-js/package.json b/halo2-lib-js/package.json index d0b1662..f9cda32 100644 --- a/halo2-lib-js/package.json +++ b/halo2-lib-js/package.json @@ -32,11 +32,11 @@ "typescript": "^5.2.2" }, "dependencies": { - "@axiom-crypto/halo2-wasm": "0.2.13-rc2.0", + "@axiom-crypto/halo2-wasm": "link:../halo2-wasm/pkg", "ethers": "^6.8.0", "prettier": "1.18.2" }, "publishConfig": { "directory": "dist" } -} +} \ No newline at end of file diff --git a/scripts/toggleLocal.sh b/scripts/toggleLocal.sh index 9ba4c38..f716e9f 100755 --- a/scripts/toggleLocal.sh +++ b/scripts/toggleLocal.sh @@ -1,18 +1,19 @@ #!/bin/bash CI="" +PKGMGR="pnpm" if [ "$1" = "ci" ]; then CI="ci" + PKGMGR="npm" fi -echo $CI ./scripts/build.sh cd halo2-lib-js node ./scripts/toggleLocal.js $CI -pnpm install +$PKGMGR install cd ../halo2-repl node ./scripts/toggleLocal.js $CI -pnpm install +$PKGMGR install cd ../cli node ./scripts/toggleLocal.js $CI -pnpm install \ No newline at end of file +$PKGMGR install \ No newline at end of file