rahman-resources 1.9.2 → 1.11.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.
package/bin/cli.js CHANGED
@@ -1142,6 +1142,12 @@ async function runLift(rest) {
1142
1142
  } else {
1143
1143
  await pull(step.from, step.toAbs);
1144
1144
  }
1145
+ // preview.tsx is the kitab-internal variant-preview harness (VP wave) —
1146
+ // it imports @/shared/preview/* which consumers don't have. Strip it.
1147
+ if (parsed.kind === "rahman") {
1148
+ const previewFile = path.join(step.toAbs, "preview.tsx");
1149
+ if (existsSync(previewFile)) rmSync(previewFile);
1150
+ }
1145
1151
  console.log(kleur.green("ok"));
1146
1152
  }
1147
1153