@wix/ditto-codegen-public 1.0.293 → 1.0.294

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.
@@ -26,7 +26,11 @@ export default tool({
26
26
  : join(context.directory, f.path);
27
27
  try {
28
28
  await mkdir(dirname(fullPath), { recursive: true });
29
- await writeFile(fullPath, f.content, "utf-8");
29
+ const content =
30
+ typeof f.content === "string"
31
+ ? f.content
32
+ : JSON.stringify(f.content, null, 2);
33
+ await writeFile(fullPath, content, "utf-8");
30
34
  results.push(`OK: ${f.path}`);
31
35
  } catch (e) {
32
36
  const msg = e instanceof Error ? e.message : String(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.293",
3
+ "version": "1.0.294",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -27,5 +27,5 @@
27
27
  "@wix/ditto-codegen": "1.0.0",
28
28
  "esbuild": "^0.27.2"
29
29
  },
30
- "falconPackageHash": "49cc490cdaca27a6374792f572787fc42b144770726bd287c0005654"
30
+ "falconPackageHash": "6125c4c39a2c5d06b6cfdaadc601ecddcaab97b50fc7b8524f2102b8"
31
31
  }