wasm-idle 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -8,6 +8,14 @@ Refer to src/lib/clang.
8
8
 
9
9
  Java uses TeaVM's browser compiler/runtime. TeaVM compiler/runtime/classlib assets are bundled under `static/teavm/` by default, and the asset base URL can be overridden with `PUBLIC_TEAVM_BASE_URL`.
10
10
 
11
+ Pyodide core assets are vendored under `static/pyodide/`. Refresh them after bumping the `pyodide`
12
+ package with:
13
+
14
+ ```bash
15
+ cd wasm-idle
16
+ pnpm run sync:pyodide
17
+ ```
18
+
11
19
  ## Rust browser integration
12
20
 
13
21
  The demo app now bundles a local `wasm-rust` browser compiler under `static/wasm-rust/` and points the example `Terminal` at `/wasm-rust/index.js` by default. Refresh that bundle after rebuilding the sibling `wasm-rust` project with:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasm-idle",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A simple web app to run C++/Python/Java code in the browser",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,6 +9,7 @@
9
9
  "build": "vite build && npm run package",
10
10
  "preview": "vite preview",
11
11
  "probe:rust-browser": "pnpm run sync:wasm-rust && pnpm build && node scripts/probe-rust-browser.mjs",
12
+ "sync:pyodide": "node scripts/sync-pyodide.mjs",
12
13
  "test:browser:playwright": "pnpm run sync:wasm-rust && pnpm build && WASM_IDLE_RUN_REAL_BROWSER_RUST=1 pnpm exec vitest run src/lib/playground/rust.playwright.test.ts",
13
14
  "sync:wasm-rust": "node scripts/sync-wasm-rust.mjs",
14
15
  "package": "svelte-kit sync && svelte-package && publint",
@@ -66,7 +67,7 @@
66
67
  "@xterm/xterm": "^6.0.0",
67
68
  "@zip.js/zip.js": "^2.8.23",
68
69
  "publint": "^0.3.18",
69
- "pyodide": "0.26.2",
70
+ "pyodide": "0.29.3",
70
71
  "vscode-jsonrpc": "^8.2.1"
71
72
  },
72
73
  "files": [