create-tether-app 0.1.2 → 0.1.3

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/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -412,7 +412,10 @@ async function removeExampleComponents(targetDir) {
412
412
  if (await fs2.pathExists(appPath)) {
413
413
  let content = await fs2.readFile(appPath, "utf-8");
414
414
  content = content.replace(/import.*Chat.*from.*\n?/g, "");
415
- content = content.replace(/<Chat\s*\/>/g, "");
415
+ content = content.replace(
416
+ /\s*\{status === "connected" && <Chat\s*\/>\}/g,
417
+ ""
418
+ );
416
419
  await fs2.writeFile(appPath, content);
417
420
  }
418
421
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tether-app",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "CLI tool for scaffolding Tether AI/ML desktop applications",
5
5
  "type": "module",
6
6
  "bin": {