vargai 0.4.0-alpha20 → 0.4.0-alpha21

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.
package/package.json CHANGED
@@ -65,7 +65,7 @@
65
65
  "vargai": "^0.4.0-alpha11",
66
66
  "zod": "^4.2.1"
67
67
  },
68
- "version": "0.4.0-alpha20",
68
+ "version": "0.4.0-alpha21",
69
69
  "exports": {
70
70
  ".": "./src/index.ts",
71
71
  "./ai": "./src/ai-sdk/index.ts",
@@ -2,7 +2,8 @@ import { existsSync, mkdirSync, writeFileSync } from "node:fs";
2
2
  import { join } from "node:path";
3
3
  import { defineCommand } from "citty";
4
4
 
5
- const HELLO_TEMPLATE = `import { Render, Clip, Image, Video, assets } from "vargai/react";
5
+ const HELLO_TEMPLATE = `/** @jsxImportSource vargai */
6
+ import { Render, Clip, Image, Video, assets } from "vargai/react";
6
7
  import { fal } from "vargai/ai";
7
8
 
8
9
  const girl = Image({
@@ -35,7 +35,8 @@ const log = {
35
35
  ),
36
36
  };
37
37
 
38
- const HELLO_TEMPLATE = `import { Render, Clip, Image, Video, assets } from "vargai/react";
38
+ const HELLO_TEMPLATE = `/** @jsxImportSource vargai */
39
+ import { Render, Clip, Image, Video, assets } from "vargai/react";
39
40
  import { fal } from "vargai/ai";
40
41
 
41
42
  const girl = Image({