@getcoherent/cli 0.6.9 → 0.6.10

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.
@@ -267,7 +267,17 @@ function inferPageTypeFromRoute(route) {
267
267
  "forgot-password",
268
268
  "reset-password"
269
269
  ]);
270
- const marketingSlugs = /* @__PURE__ */ new Set(["pricing", "features", "about", "blog", "contact", "terms", "privacy", "landing", "home"]);
270
+ const marketingSlugs = /* @__PURE__ */ new Set([
271
+ "pricing",
272
+ "features",
273
+ "about",
274
+ "blog",
275
+ "contact",
276
+ "terms",
277
+ "privacy",
278
+ "landing",
279
+ "home"
280
+ ]);
271
281
  if (authSlugs.has(slug)) return "auth";
272
282
  if (marketingSlugs.has(slug) || slug === "") return "marketing";
273
283
  return "app";
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  routeToKey,
14
14
  savePlan,
15
15
  selectContextualRules
16
- } from "./chunk-33HL6ERR.js";
16
+ } from "./chunk-O7OA76D3.js";
17
17
  import {
18
18
  __require
19
19
  } from "./chunk-3RG5ZIWI.js";
@@ -6077,18 +6077,17 @@ ${selectImport}`
6077
6077
  /(<TabsTrigger\b[^>]*className=")([^"]*)(")/g,
6078
6078
  (_m, pre, classes, post) => {
6079
6079
  const cleaned = classes.replace(/\b(border-input|border\b|outline\b)\s*/g, "").trim();
6080
- if (cleaned !== classes.trim()) return `${pre}${cleaned}${post}`;
6080
+ const withBorder0 = cleaned.includes("border-0") ? cleaned : `${cleaned} border-0`.trim();
6081
+ if (withBorder0 !== classes.trim()) return `${pre}${withBorder0}${post}`;
6081
6082
  return _m;
6082
6083
  }
6083
6084
  );
6085
+ fixed = fixed.replace(/<TabsTrigger\b(?![^>]*className=)(?![^>]*border-0)/g, '<TabsTrigger className="border-0"');
6084
6086
  if (fixed !== beforeTabsFix) {
6085
- fixes.push("stripped border from TabsTrigger (shadcn handles active state)");
6087
+ fixes.push("added border-0 to TabsTrigger (Tailwind v4 border-transparent fix)");
6086
6088
  }
6087
6089
  const beforeTabsListFix = fixed;
6088
- fixed = fixed.replace(
6089
- /<TabsList\b(?![^>]*variant=)/g,
6090
- '<TabsList variant="line"'
6091
- );
6090
+ fixed = fixed.replace(/<TabsList\b(?![^>]*variant=)/g, '<TabsList variant="line"');
6092
6091
  if (fixed !== beforeTabsListFix) {
6093
6092
  fixes.push('added variant="line" to TabsList (clean underline style)');
6094
6093
  }
@@ -7199,7 +7198,7 @@ async function splitGeneratePages(spinner, message, modCtx, provider, parseOpts)
7199
7198
  if (plan && plan.sharedComponents.length > 0) {
7200
7199
  spinner.start(`Phase 4.5/6 \u2014 Generating ${plan.sharedComponents.length} shared components from plan...`);
7201
7200
  try {
7202
- const { generateSharedComponentsFromPlan } = await import("./plan-generator-WTLO5B76.js");
7201
+ const { generateSharedComponentsFromPlan } = await import("./plan-generator-EWZYC45I.js");
7203
7202
  const generated = await generateSharedComponentsFromPlan(
7204
7203
  plan,
7205
7204
  styleContext,
@@ -11,7 +11,7 @@ import {
11
11
  routeToKey,
12
12
  savePlan,
13
13
  updateArchitecturePlan
14
- } from "./chunk-33HL6ERR.js";
14
+ } from "./chunk-O7OA76D3.js";
15
15
  import "./chunk-3RG5ZIWI.js";
16
16
  export {
17
17
  ArchitecturePlanSchema,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.6.9",
6
+ "version": "0.6.10",
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.9"
46
+ "@getcoherent/core": "0.6.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^20.11.0",