@gjsify/nativescript-vite 0.4.43 → 0.5.0

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 +5 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -22,9 +22,12 @@ On top of the fixes, it spreads `@gjsify/vite-plugin-gjsify`'s `gjsifyNativescri
22
22
  The package's only hard dependency is `@gjsify/vite-plugin-gjsify`. Everything from the NativeScript side is an **optional peer** — install it in your NativeScript app alongside the rest of your NS toolchain:
23
23
 
24
24
  ```bash
25
- npm install -D @gjsify/nativescript-vite @nativescript/vite vite
25
+ gjsify install -D @gjsify/nativescript-vite @nativescript/vite vite
26
26
  # plus whatever your app already uses, e.g.:
27
- npm install @nativescript/core @nativescript/canvas @nativescript/canvas-polyfill
27
+ gjsify install @nativescript/core @nativescript/canvas @nativescript/canvas-polyfill
28
+
29
+ # npm or yarn also work (e.g. alongside your existing NativeScript npm toolchain):
30
+ npm install -D @gjsify/nativescript-vite @nativescript/vite vite
28
31
  ```
29
32
 
30
33
  Optional peers: `@nativescript/vite`, `@nativescript/core`, `nativescript`, `@nativescript/canvas`, `@nativescript/canvas-polyfill`, and `vite` (`^8.0.14`). They are not installed by this package — your NativeScript app provides them. If `@nativescript/vite` is missing, the config factory throws a clear, actionable error.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/nativescript-vite",
3
- "version": "0.4.43",
3
+ "version": "0.5.0",
4
4
  "description": "Vite 8 / Rolldown compatibility + gjsify transforms for building NativeScript apps — composes @nativescript/vite and fixes the pieces Rolldown rejects.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "license": "MIT",
40
40
  "dependencies": {
41
- "@gjsify/vite-plugin-gjsify": "^0.4.43"
41
+ "@gjsify/vite-plugin-gjsify": "^0.5.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@nativescript/canvas": "*",
@@ -46,7 +46,7 @@
46
46
  "@nativescript/core": "*",
47
47
  "@nativescript/vite": "*",
48
48
  "nativescript": "*",
49
- "vite": "^8.0.14"
49
+ "vite": "^8.0.16"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@nativescript/canvas": {
@@ -69,8 +69,8 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@types/node": "^25.9.1",
72
+ "@types/node": "^25.9.2",
73
73
  "typescript": "^6.0.3",
74
- "vite": "^8.0.14"
74
+ "vite": "^8.0.16"
75
75
  }
76
76
  }