@getcoherent/cli 0.6.39 → 0.6.40

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 +9 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -8645,7 +8645,12 @@ async function fixCommand(opts = {}) {
8645
8645
  }
8646
8646
  const { PageGenerator } = await import("@getcoherent/core");
8647
8647
  const gen = new PageGenerator(dsm.getConfig());
8648
- const sidebarResult2 = safeWrite(sidebarComponentPath2, gen.generateSharedSidebarCode(), projectRoot, backups);
8648
+ const sidebarResult2 = safeWrite(
8649
+ sidebarComponentPath2,
8650
+ gen.generateSharedSidebarCode(),
8651
+ projectRoot,
8652
+ backups
8653
+ );
8649
8654
  if (sidebarResult2.ok) {
8650
8655
  fixes.push("Regenerated sidebar component");
8651
8656
  console.log(chalk15.green(" \u2714 Regenerated sidebar component"));
@@ -8821,7 +8826,9 @@ async function fixCommand(opts = {}) {
8821
8826
  } catch (err) {
8822
8827
  const isNotFound = err instanceof Error && "code" in err && err.code === "ENOENT";
8823
8828
  if (!isNotFound) {
8824
- console.log(chalk15.yellow(` \u26A0 Component manifest check skipped: ${err instanceof Error ? err.message : "unknown error"}`));
8829
+ console.log(
8830
+ chalk15.yellow(` \u26A0 Component manifest check skipped: ${err instanceof Error ? err.message : "unknown error"}`)
8831
+ );
8825
8832
  }
8826
8833
  }
8827
8834
  if (fixes.length === 0 && totalErrors === 0 && totalWarnings === 0 && remaining.length === 0) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.6.39",
6
+ "version": "0.6.40",
7
7
  "description": "CLI interface for Coherent Design Method",
8
8
  "type": "module",
9
9
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "ora": "^7.0.1",
44
44
  "prompts": "^2.4.2",
45
45
  "zod": "^3.22.4",
46
- "@getcoherent/core": "0.6.39"
46
+ "@getcoherent/core": "0.6.40"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^20.11.0",