@wix/ditto-codegen-public 1.0.342 → 1.0.344

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.
@@ -11,7 +11,8 @@ export default tool({
11
11
  .describe(
12
12
  "Default false. Only set true when package.json changed in this iteration " +
13
13
  "(added, removed, or upgraded a dependency). node_modules is pre-populated " +
14
- "in the image, so installs are unnecessary otherwise.",
14
+ "in the image, so installs are unnecessary otherwise. " +
15
+ "For TS2307 errors: run `npm install <package-name>` in bash first, not installDeps: true.",
15
16
  ),
16
17
  runBuild: tool.schema
17
18
  .boolean()
package/dist/out.js CHANGED
@@ -19367,13 +19367,13 @@ var require_skills_override = __commonJS({
19367
19367
  var execAsync = (0, util_1.promisify)(child_process_1.exec);
19368
19368
  exports2.SKILLS_DIR = "/root/.agents/skills";
19369
19369
  function tarballUrl(repo, branch) {
19370
- return `https://github.com/${repo}/archive/${branch}.tar.gz`;
19370
+ return `https://github.com/${repo}/archive/refs/heads/${branch}.tar.gz`;
19371
19371
  }
19372
19372
  function buildListSkillsCommand(repo, branch) {
19373
- return `curl -sL ${tarballUrl(repo, branch)} | tar tz --wildcards "*/skills/*" | sed 's|^[^/]*/skills/||' | cut -d/ -f1 | sort -u`;
19373
+ return `curl -sL ${tarballUrl(repo, branch)} | tar tz --wildcards "*/skills/*" | sed 's|^.*/skills/||' | cut -d/ -f1 | grep -v '^$' | sort -u`;
19374
19374
  }
19375
19375
  function buildOverrideCommand(repo, branch) {
19376
- return `mkdir -p ${exports2.SKILLS_DIR} && curl -sL ${tarballUrl(repo, branch)} | tar xz --strip-components=2 -C ${exports2.SKILLS_DIR} --wildcards "*/skills/*"`;
19376
+ return `tmp=$(mktemp -d) && curl -sL ${tarballUrl(repo, branch)} | tar xz -C $tmp --strip-components=1 && [ -d "$tmp/skills" ] && mkdir -p ${exports2.SKILLS_DIR} && cp -r "$tmp/skills"/. ${exports2.SKILLS_DIR}/ && rm -rf $tmp`;
19377
19377
  }
19378
19378
  function parseSkillsOverrides(value) {
19379
19379
  return value.split(",").map((entry) => entry.trim()).filter(Boolean).map((entry) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.342",
3
+ "version": "1.0.344",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -28,5 +28,5 @@
28
28
  "esbuild": "^0.27.2",
29
29
  "vitest": "^4.0.16"
30
30
  },
31
- "falconPackageHash": "7cf9fd060218273d0308e46986b968282c4c4572ad93d8b826ea380d"
31
+ "falconPackageHash": "6a784882b81926659c5f42faebef73e229a10f774f36ebf2110e445e"
32
32
  }