fix: build all wasm packages with turbo (#493)

* fix: build all wasm packages

* remove eth membrship worker filter

* chore: update package.json

* refactor: add wasm-pack and rimraf deps

* chore: update `.tool-versions`
This commit is contained in:
sripwoud
2024-08-21 22:43:22 +02:00
committed by GitHub
parent 0981311fed
commit 0121dbe341
10 changed files with 159 additions and 104 deletions

View File

@@ -1,3 +1,3 @@
# What is this file? https://asdf-vm.com/manage/configuration.html#tool-versions
nodejs 20.15.0
rust nightly
rust 1.78.0

View File

@@ -22,6 +22,7 @@
"knip": "^2.19.0",
"lefthook": "latest",
"reflect-metadata": "^0.1.13",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
@@ -29,16 +30,17 @@
"tsconfig-paths": "^4.2.0",
"ttab": "^0.8.0",
"turbo": "^1.10.16",
"typescript": "5.1.6"
"typescript": "5.1.6",
"wasm-pack": "^0.13.0"
},
"scripts": {
"_compile": "pnpm --filter merkle-tree-wasm compile && pnpm --filter spartan-ecdsa-wasm compile",
"_compile": "turbo run --concurrency=1 compile",
"barrels": "barrelsby --config .barrelsby.json",
"build": "turbo build _compile",
"build.docker.discord": "docker build -f discord-bot/Dockerfile . -t discord-bot",
"build.docker.query": "docker build -f query-api/Dockerfile . -t query-api",
"build.docker.ui": "docker build -f ui/Dockerfile --build-arg NEXT_PUBLIC_QUERY_API_URL=$QUERY_API_URL . -t anonklub-ui",
"build.pkgs": "turbo --filter=// --filter='./pkgs/*' build _compile",
"build.pkgs": "pnpm _compile && turbo --filter=// --filter='./pkgs/*' build",
"build.ui": "pnpm --filter @anonklub/ui build",
"changeset": "changeset && git add .changeset && git commit -m 'chore: add changeset'",
"clean": "find . \\( -name 'node_modules' -o -name 'dist' -o -name 'next' \\) -type d -prune -exec rm -rf '{}' +",

View File

@@ -1,37 +1,10 @@
{
"name": "@anonklub/halo2-binary-merkle-tree",
"version": "1.1.3",
"private": true,
"author": "0xisk <0xisk@proton.me>",
"description": "A rust crate implements binary merkle tree using halo2 Secp256k1 F, and PSE poseidon.",
"keywords": [
"wasm",
"merkle-tree",
"Secp256k1",
"rust"
],
"license": "MIT",
"repository": "https://github.com/anonklub/anonklub",
"homepage": "https://github.com/anonklub/anonklub",
"bugs": "https://github.com/anonklub/anonklub/issues",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*.{js,ts,wasm}",
"README.md",
"CHANGELOG.md"
],
"module": "dist/index.js",
"sideEffects": [
"dist/index.js"
],
"scripts": {
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",
"lint.cargo.fix": "cargo clippy --fix",
"prepack": "pnpm compile"
"lint.cargo.fix": "cargo clippy --fix"
}
}

View File

@@ -1,37 +1,10 @@
{
"name": "@anonklub/halo2-ecdsa",
"version": "1.1.3",
"private": true,
"author": "0xisk <0xisk@proton.me>",
"description": "Wasm Rust crate for verifying Secp256k1 signatures",
"keywords": [
"wasm",
"ecdsa",
"Secp256k1",
"rust"
],
"license": "MIT",
"repository": "https://github.com/anonklub/anonklub",
"homepage": "https://github.com/anonklub/anonklub",
"bugs": "https://github.com/anonklub/anonklub/issues",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*.{js,ts,wasm}",
"README.md",
"CHANGELOG.md"
],
"module": "dist/index.js",
"sideEffects": [
"dist/index.js"
],
"scripts": {
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",
"lint.cargo.fix": "cargo clippy --fix",
"prepack": "pnpm compile"
"lint.cargo.fix": "cargo clippy --fix"
}
}

View File

@@ -25,9 +25,7 @@
"dist/index.js"
],
"scripts": {
"compile": "pnpm check-wasm-pack && pnpm clean && wasm-pack build . --release --target web --out-dir dist --out-name index --scope anonklub",
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"compile": "rimraf dist && wasm-pack build . --release --target web --out-dir dist --out-name index --scope anonklub",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",

View File

@@ -1,35 +1,10 @@
{
"name": "@anonklub/halo2-wasm-ext",
"version": "1.1.3",
"author": "0xisk <0xisk@proton.me>",
"description": "A Rust crate for overriding axiom halo2-wasm package.",
"keywords": [
"wasm",
"halo2wasm",
"rust"
],
"license": "MIT",
"repository": "https://github.com/anonklub/anonklub",
"homepage": "https://github.com/anonklub/anonklub",
"bugs": "https://github.com/anonklub/anonklub/issues",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*.{js,ts,wasm}",
"README.md",
"CHANGELOG.md"
],
"module": "dist/index.js",
"sideEffects": [
"dist/index.js"
],
"private": true,
"scripts": {
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",
"lint.cargo.fix": "cargo clippy --fix",
"prepack": "pnpm compile"
"lint.cargo.fix": "cargo clippy --fix"
}
}

View File

@@ -26,9 +26,7 @@
"dist/index.js"
],
"scripts": {
"compile": "pnpm check-wasm-pack && pnpm clean && wasm-pack build . --release --target bundler --out-dir dist --out-name index --scope anonklub",
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"compile": "rimraf dist && wasm-pack build . --release --target bundler --out-dir dist --out-name index --scope anonklub",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",

View File

@@ -29,9 +29,7 @@
"sideEffects": "dist/index.js",
"type": "module",
"scripts": {
"compile": "pnpm check-wasm-pack && pnpm clean && wasm-pack build . --release --target bundler --out-dir dist --out-name index --scope anonklub",
"clean": "rm -rf dist",
"check-wasm-pack": "command -v wasm-pack >/dev/null 2>&1 || echo \"wasm-pack is not installed\"\n",
"compile": "rimraf dist && wasm-pack build . --release --target bundler --out-dir dist --out-name index --scope anonklub",
"format.cargo": "cargo fmt -- --check",
"format.cargo.fix": "cargo fmt",
"lint.cargo": "cargo clippy",

144
pnpm-lock.yaml generated
View File

@@ -68,6 +68,9 @@ importers:
reflect-metadata:
specifier: ^0.1.13
version: 0.1.14
rimraf:
specifier: ^6.0.1
version: 6.0.1
ts-jest:
specifier: ^29.2.3
version: 29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.16.1)(ts-node@10.9.2(@swc/core@1.7.14)(@types/node@20.16.1)(typescript@5.1.6)))(typescript@5.1.6)
@@ -92,6 +95,9 @@ importers:
typescript:
specifier: 5.1.6
version: 5.1.6
wasm-pack:
specifier: ^0.13.0
version: 0.13.0
circom:
devDependencies:
@@ -3884,6 +3890,9 @@ packages:
axios@0.21.4:
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
axios@0.26.1:
resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==}
b4a@1.6.6:
resolution: {integrity: sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==}
@@ -3998,6 +4007,10 @@ packages:
resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
engines: {node: '>=8'}
binary-install@1.1.0:
resolution: {integrity: sha512-rkwNGW+3aQVSZoD0/o3mfPN6Yxh3Id0R/xzTVBVVpGNlVz8EGwusksxRlbk/A5iKTZt9zkMn3qIqmAt3vpfbzg==}
engines: {node: '>=10'}
bl@4.1.0:
resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}
@@ -4192,6 +4205,10 @@ packages:
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
engines: {node: '>= 8.10.0'}
chownr@2.0.0:
resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==}
engines: {node: '>=10'}
chrome-launcher@0.15.2:
resolution: {integrity: sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==}
engines: {node: '>=12.13.0'}
@@ -5228,6 +5245,10 @@ packages:
resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}
engines: {node: '>=6 <7 || >=8'}
fs-minipass@2.1.0:
resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==}
engines: {node: '>= 8'}
fs-monkey@1.0.6:
resolution: {integrity: sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==}
@@ -5312,6 +5333,11 @@ packages:
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
hasBin: true
glob@11.0.0:
resolution: {integrity: sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==}
engines: {node: 20 || >=22}
hasBin: true
glob@7.2.3:
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
deprecated: Glob versions prior to v9 are no longer supported
@@ -5859,6 +5885,10 @@ packages:
jackspeak@3.4.3:
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
jackspeak@4.0.1:
resolution: {integrity: sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==}
engines: {node: 20 || >=22}
jake@10.9.2:
resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==}
engines: {node: '>=10'}
@@ -6432,6 +6462,10 @@ packages:
lru-cache@10.4.3:
resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
lru-cache@11.0.0:
resolution: {integrity: sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==}
engines: {node: 20 || >=22}
lru-cache@4.1.5:
resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==}
@@ -6686,6 +6720,10 @@ packages:
minimalistic-crypto-utils@1.0.1:
resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==}
minimatch@10.0.1:
resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==}
engines: {node: 20 || >=22}
minimatch@3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
@@ -6704,10 +6742,22 @@ packages:
minimist@1.2.8:
resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
minipass@3.3.6:
resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==}
engines: {node: '>=8'}
minipass@5.0.0:
resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==}
engines: {node: '>=8'}
minipass@7.1.2:
resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
engines: {node: '>=16 || 14 >=14.17'}
minizlib@2.1.2:
resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==}
engines: {node: '>= 8'}
mkdirp@0.5.6:
resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
hasBin: true
@@ -7174,6 +7224,10 @@ packages:
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
engines: {node: '>=16 || 14 >=14.18'}
path-scurry@2.0.0:
resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
engines: {node: 20 || >=22}
path-temp@2.1.0:
resolution: {integrity: sha512-cMMJTAZlion/RWRRC48UbrDymEIt+/YSD/l8NqjneyDw2rDOBQcP5yRkMB4CYGn47KMhZvbblBP7Z79OsMw72w==}
engines: {node: '>=8.15'}
@@ -7813,6 +7867,11 @@ packages:
resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==}
hasBin: true
rimraf@6.0.1:
resolution: {integrity: sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==}
engines: {node: 20 || >=22}
hasBin: true
rollup@3.29.4:
resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
@@ -8374,6 +8433,10 @@ packages:
resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
engines: {node: '>=6'}
tar@6.2.1:
resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}
engines: {node: '>=10'}
teeny-request@8.0.3:
resolution: {integrity: sha512-jJZpA5He2y52yUhA7pyAGZlgQpcB+xLjcN0eUFxr9c8hP/H7uOXbBNVo/O0C/xVfJLJs680jvkFgVJEEvk9+ww==}
engines: {node: '>=12'}
@@ -8992,6 +9055,10 @@ packages:
walker@1.0.8:
resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
wasm-pack@0.13.0:
resolution: {integrity: sha512-AmboGZEnZoIcVCzSlkLEmNFEqJN+IwgshJ5S7pi30uNUTce4LvWkifQzsQRxnWj47G8gkqZxlyGlyQplsnIS7w==}
hasBin: true
wasmbuilder@0.0.12:
resolution: {integrity: sha512-dTMpBgrnLOXrN58i2zakn2ScynsBhq9LfyQIsPz4CyxRF9k1GAORniuqn3xmE9NnI1l7g3iiVCkoB2Cl0/oG8w==}
@@ -14664,6 +14731,12 @@ snapshots:
transitivePeerDependencies:
- debug
axios@0.26.1:
dependencies:
follow-redirects: 1.15.6
transitivePeerDependencies:
- debug
b4a@1.6.6: {}
babel-core@7.0.0-bridge.0(@babel/core@7.25.2):
@@ -14842,6 +14915,14 @@ snapshots:
binary-extensions@2.3.0: {}
binary-install@1.1.0:
dependencies:
axios: 0.26.1
rimraf: 3.0.2
tar: 6.2.1
transitivePeerDependencies:
- debug
bl@4.1.0:
dependencies:
buffer: 5.7.1
@@ -15110,6 +15191,8 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
chownr@2.0.0: {}
chrome-launcher@0.15.2:
dependencies:
'@types/node': 20.16.1
@@ -16289,6 +16372,10 @@ snapshots:
jsonfile: 4.0.0
universalify: 0.1.2
fs-minipass@2.1.0:
dependencies:
minipass: 3.3.6
fs-monkey@1.0.6: {}
fs.realpath@1.0.0: {}
@@ -16374,6 +16461,15 @@ snapshots:
package-json-from-dist: 1.0.0
path-scurry: 1.11.1
glob@11.0.0:
dependencies:
foreground-child: 3.3.0
jackspeak: 4.0.1
minimatch: 10.0.1
minipass: 7.1.2
package-json-from-dist: 1.0.0
path-scurry: 2.0.0
glob@7.2.3:
dependencies:
fs.realpath: 1.0.0
@@ -16976,6 +17072,12 @@ snapshots:
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
jackspeak@4.0.1:
dependencies:
'@isaacs/cliui': 8.0.2
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
jake@10.9.2:
dependencies:
async: 3.2.6
@@ -17773,6 +17875,8 @@ snapshots:
lru-cache@10.4.3: {}
lru-cache@11.0.0: {}
lru-cache@4.1.5:
dependencies:
pseudomap: 1.0.2
@@ -18114,6 +18218,10 @@ snapshots:
minimalistic-crypto-utils@1.0.1: {}
minimatch@10.0.1:
dependencies:
brace-expansion: 2.0.1
minimatch@3.1.2:
dependencies:
brace-expansion: 1.1.11
@@ -18134,8 +18242,19 @@ snapshots:
minimist@1.2.8: {}
minipass@3.3.6:
dependencies:
yallist: 4.0.0
minipass@5.0.0: {}
minipass@7.1.2: {}
minizlib@2.1.2:
dependencies:
minipass: 3.3.6
yallist: 4.0.0
mkdirp@0.5.6:
dependencies:
minimist: 1.2.8
@@ -18577,6 +18696,11 @@ snapshots:
lru-cache: 10.4.3
minipass: 7.1.2
path-scurry@2.0.0:
dependencies:
lru-cache: 11.0.0
minipass: 7.1.2
path-temp@2.1.0:
dependencies:
unique-string: 2.0.0
@@ -19293,6 +19417,11 @@ snapshots:
dependencies:
glob: 10.4.5
rimraf@6.0.1:
dependencies:
glob: 11.0.0
package-json-from-dist: 1.0.0
rollup@3.29.4:
optionalDependencies:
fsevents: 2.3.3
@@ -19931,6 +20060,15 @@ snapshots:
tapable@2.2.1: {}
tar@6.2.1:
dependencies:
chownr: 2.0.0
fs-minipass: 2.1.0
minipass: 5.0.0
minizlib: 2.1.2
mkdirp: 1.0.4
yallist: 4.0.0
teeny-request@8.0.3(encoding@0.1.13):
dependencies:
http-proxy-agent: 5.0.0
@@ -20575,6 +20713,12 @@ snapshots:
dependencies:
makeerror: 1.0.12
wasm-pack@0.13.0:
dependencies:
binary-install: 1.1.0
transitivePeerDependencies:
- debug
wasmbuilder@0.0.12:
dependencies:
big-integer: 1.6.52

View File

@@ -95,12 +95,6 @@
"build.graph": {
"outputs": ["src/repositories/graph-client/.graphclient/**"]
},
"//#_compile": {
"outputs": [
"pkgs/{merkle-tree,spartan-ecdsa}-wasm/dist/**",
"pkgs/halo2-{binary-merkle-tree,eth-membership}/dist/**"
]
},
"//#test.jest": {
"dependsOn": ["^build"],
"inputs": [
@@ -118,8 +112,8 @@
"dependsOn": ["test"]
},
"compile": {
"inputs": ["merkle-tree-wasm"],
"outputs": ["merkle-tree-wasm"]
"inputs": ["src/**/*.rs", "Cargo.toml", "package.json"],
"outputs": ["dist/**"]
}
}
}