@farmfe/plugin-wasm 0.0.6 → 0.0.7

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 (1) hide show
  1. package/package.json +15 -13
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@farmfe/plugin-wasm",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "main": "scripts/index.js",
5
5
  "types": "scripts/index.d.ts",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "devDependencies": {
9
- "@farmfe/plugin-tools": "latest"
9
+ "@farmfe/plugin-tools": "latest",
10
+ "@types/node": "^22.13.1"
10
11
  },
11
12
  "napi": {
12
13
  "name": "farmfe_plugin_wasm",
@@ -36,20 +37,21 @@
36
37
  "options.d.ts"
37
38
  ],
38
39
  "optionalDependencies": {
39
- "@farmfe/plugin-wasm-darwin-arm64": "0.0.6",
40
- "@farmfe/plugin-wasm-darwin-x64": "0.0.6",
41
- "@farmfe/plugin-wasm-linux-arm64-gnu": "0.0.6",
42
- "@farmfe/plugin-wasm-linux-arm64-musl": "0.0.6",
43
- "@farmfe/plugin-wasm-linux-x64-gnu": "0.0.6",
44
- "@farmfe/plugin-wasm-linux-x64-musl": "0.0.6",
45
- "@farmfe/plugin-wasm-win32-arm64-msvc": "0.0.6",
46
- "@farmfe/plugin-wasm-win32-ia32-msvc": "0.0.6",
47
- "@farmfe/plugin-wasm-win32-x64-msvc": "0.0.6"
40
+ "@farmfe/plugin-wasm-darwin-arm64": "0.0.7",
41
+ "@farmfe/plugin-wasm-darwin-x64": "0.0.7",
42
+ "@farmfe/plugin-wasm-linux-arm64-gnu": "0.0.7",
43
+ "@farmfe/plugin-wasm-linux-arm64-musl": "0.0.7",
44
+ "@farmfe/plugin-wasm-linux-x64-gnu": "0.0.7",
45
+ "@farmfe/plugin-wasm-linux-x64-musl": "0.0.7",
46
+ "@farmfe/plugin-wasm-win32-arm64-msvc": "0.0.7",
47
+ "@farmfe/plugin-wasm-win32-ia32-msvc": "0.0.7",
48
+ "@farmfe/plugin-wasm-win32-x64-msvc": "0.0.7"
48
49
  },
49
50
  "scripts": {
50
51
  "dev": "cargo watch -w src -s 'scripts/watch.sh'",
51
52
  "bump": "npx changeset version",
52
- "play": "pnpm --filter playground dev",
53
- "build": "farm-plugin-tools build --platform --cargo-name farmfe_plugin_wasm -p farmfe_plugin_wasm --release"
53
+ "play": "pnpm build:wasm && pnpm --filter playground dev",
54
+ "build": "farm-plugin-tools build --platform --cargo-name farmfe_plugin_wasm -p farmfe_plugin_wasm --release",
55
+ "build:wasm": "wasm-pack build rust-wasm --target bundler --out-dir ../playground/wasm"
54
56
  }
55
57
  }