From f0a55f6c8e49e472a4c4bc43ab78026a39168e87 Mon Sep 17 00:00:00 2001 From: Rahul Patni Date: Fri, 7 Feb 2025 12:46:52 -0800 Subject: [PATCH] Adds scope flag to wasm github action This has the effect of creating the package.json with a different package name. Without the flag: "name": "ironfish-wasm", With the flag: "name": "@ironfish/ironfish-wasm", --- .github/workflows/deploy-npm-ironfish-rust-wasm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-npm-ironfish-rust-wasm.yml b/.github/workflows/deploy-npm-ironfish-rust-wasm.yml index b162c82787..30c3978d9a 100644 --- a/.github/workflows/deploy-npm-ironfish-rust-wasm.yml +++ b/.github/workflows/deploy-npm-ironfish-rust-wasm.yml @@ -33,7 +33,7 @@ jobs: - name: Generate package working-directory: ./ironfish-rust-wasm - run: wasm-pack build --release --target=web + run: wasm-pack build --release --target=web --scope=ironfish - name: Test in Firefox working-directory: ./ironfish-rust-wasm