Move wasm package under packages

This commit is contained in:
2026-07-09 04:13:08 +09:00
parent e4b9247c45
commit 16006d000a
16 changed files with 115 additions and 90 deletions
+2 -1
View File
@@ -7,7 +7,7 @@
"dev": "astro dev --host 0.0.0.0",
"build": "astro build",
"preview": "astro preview --host 0.0.0.0",
"build:wasm": "wasm-pack build ../../crates/decodal-wasm --target web --out-dir ../../site/decodal-site/src/wasm --release",
"build:wasm": "wasm-pack build ../../crates/decodal-wasm --target web --out-dir ../../packages/decodal-wasm --release && node scripts/prepare-wasm-package.mjs",
"deploy": "npm run build && node scripts/deploy-pages.mjs",
"deploy:wasm": "npm run build:wasm && npm run deploy"
},
@@ -20,6 +20,7 @@
"astro": "^4.16.18",
"codemirror": "^6.0.2",
"decodal-codemirror": "file:../../packages/decodal-codemirror",
"decodal-wasm": "file:../../packages/decodal-wasm",
"marked": "^12.0.2"
},
"devDependencies": {