@decantr/cli 3.4.0 → 3.4.1
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/dist/bin.js +4 -4
- package/dist/{chunk-XINHWP4T.js → chunk-2GCVVEQC.js} +1 -1
- package/dist/{chunk-ZBGL7RID.js → chunk-33IZQXZH.js} +11 -11
- package/dist/{chunk-XUHPMETF.js → chunk-BDVI3SSP.js} +1 -1
- package/dist/{chunk-EL4KSW7E.js → chunk-UGRAHWCG.js} +1 -1
- package/dist/{heal-ZY4BX5HU.js → heal-OKZ5QZN7.js} +1 -1
- package/dist/{health-H2256NIM.js → health-G7HQCDXX.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{studio-UKSCSRX7.js → studio-T73T4Q2V.js} +3 -3
- package/dist/{workspace-SR6ZGG2E.js → workspace-3AJEXXUL.js} +3 -3
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-33IZQXZH.js";
|
|
3
3
|
import "./chunk-SIDKK73N.js";
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-UGRAHWCG.js";
|
|
5
|
+
import "./chunk-BDVI3SSP.js";
|
|
6
|
+
import "./chunk-2GCVVEQC.js";
|
|
@@ -1187,7 +1187,7 @@ function routeLooksPublicFullBleed(path, file, code) {
|
|
|
1187
1187
|
);
|
|
1188
1188
|
}
|
|
1189
1189
|
function routeLooksAppShell(file, code) {
|
|
1190
|
-
return /\b(?:sidebar|side-nav|sidenav|app-frame|dashboard-shell|
|
|
1190
|
+
return /\b(?:sidebar|side-nav|sidenav|app-frame|dashboard-shell|protected-shell)\b|<\s*(?:Sidebar|DashboardShell)\b/i.test(
|
|
1191
1191
|
`${file} ${code}`
|
|
1192
1192
|
);
|
|
1193
1193
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
listWorkspaceCandidates,
|
|
23
23
|
listWorkspaceProjects,
|
|
24
24
|
shouldFailWorkspaceHealth
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UGRAHWCG.js";
|
|
26
26
|
import {
|
|
27
27
|
acceptBrownfieldLocalLaw,
|
|
28
28
|
acceptStyleBridge,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
writeBrownfieldCodifyProposal,
|
|
53
53
|
writeHostedPatternMappingProposal,
|
|
54
54
|
writeStyleBridgeProposal
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-BDVI3SSP.js";
|
|
56
56
|
import {
|
|
57
57
|
buildGuardRegistryContext,
|
|
58
58
|
createDoctrineMap,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
sendCliCommandTelemetry,
|
|
70
70
|
sendNewProjectCompletedTelemetry,
|
|
71
71
|
writeDoctrineMap
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2GCVVEQC.js";
|
|
73
73
|
|
|
74
74
|
// src/index.ts
|
|
75
75
|
import { existsSync as existsSync28, mkdirSync as mkdirSync15, readdirSync as readdirSync8, readFileSync as readFileSync21, writeFileSync as writeFileSync18 } from "fs";
|
|
@@ -10859,7 +10859,7 @@ async function cmdAdoptWorkflow(args) {
|
|
|
10859
10859
|
await cmdGraph(projectRoot, { displayRoot: process.cwd() });
|
|
10860
10860
|
if (process.exitCode && process.exitCode !== 0) return;
|
|
10861
10861
|
if (runVerify) {
|
|
10862
|
-
const { cmdHealth } = await import("./health-
|
|
10862
|
+
const { cmdHealth } = await import("./health-G7HQCDXX.js");
|
|
10863
10863
|
await cmdHealth(projectRoot, {
|
|
10864
10864
|
browser: runBrowser,
|
|
10865
10865
|
browserBaseUrl: baseUrl,
|
|
@@ -10930,7 +10930,7 @@ async function cmdVerifyWorkflow(args) {
|
|
|
10930
10930
|
return;
|
|
10931
10931
|
}
|
|
10932
10932
|
if (workspaceMode) {
|
|
10933
|
-
const { cmdWorkspace } = await import("./workspace-
|
|
10933
|
+
const { cmdWorkspace } = await import("./workspace-3AJEXXUL.js");
|
|
10934
10934
|
await cmdWorkspace(process.cwd(), ["workspace", "health", ...withoutWorkflowOnlyFlags(args)]);
|
|
10935
10935
|
return;
|
|
10936
10936
|
}
|
|
@@ -10963,7 +10963,7 @@ async function cmdVerifyWorkflow(args) {
|
|
|
10963
10963
|
}
|
|
10964
10964
|
let guardExitCode;
|
|
10965
10965
|
if (brownfield) {
|
|
10966
|
-
const { cmdHeal, collectCheckIssues } = await import("./heal-
|
|
10966
|
+
const { cmdHeal, collectCheckIssues } = await import("./heal-OKZ5QZN7.js");
|
|
10967
10967
|
if (quietOutput) {
|
|
10968
10968
|
const result = collectCheckIssues(workspaceInfo.appRoot, { brownfield: true });
|
|
10969
10969
|
guardExitCode = result.issues.some((issue) => issue.type === "error") ? 1 : void 0;
|
|
@@ -10973,7 +10973,7 @@ async function cmdVerifyWorkflow(args) {
|
|
|
10973
10973
|
process.exitCode = void 0;
|
|
10974
10974
|
}
|
|
10975
10975
|
}
|
|
10976
|
-
const { cmdHealth, parseHealthArgs } = await import("./health-
|
|
10976
|
+
const { cmdHealth, parseHealthArgs } = await import("./health-G7HQCDXX.js");
|
|
10977
10977
|
await cmdHealth(workspaceInfo.appRoot, parseHealthArgs(healthArgs));
|
|
10978
10978
|
if (localPatterns) {
|
|
10979
10979
|
const validation = validateLocalLaw(workspaceInfo.appRoot);
|
|
@@ -12476,7 +12476,7 @@ async function main() {
|
|
|
12476
12476
|
`${YELLOW12}Note: \`decantr heal\` is deprecated. Use \`decantr check\` instead.${RESET16}`
|
|
12477
12477
|
);
|
|
12478
12478
|
}
|
|
12479
|
-
const { cmdHeal } = await import("./heal-
|
|
12479
|
+
const { cmdHeal } = await import("./heal-OKZ5QZN7.js");
|
|
12480
12480
|
const { flags } = parseLooseArgs(args);
|
|
12481
12481
|
const workspaceInfo = resolveWorkflowProject(flags, "check");
|
|
12482
12482
|
if (!workspaceInfo) break;
|
|
@@ -12501,7 +12501,7 @@ async function main() {
|
|
|
12501
12501
|
const { flags } = parseLooseArgs(args);
|
|
12502
12502
|
const workspaceInfo = resolveWorkflowProject(flags, "health");
|
|
12503
12503
|
if (!workspaceInfo) break;
|
|
12504
|
-
const { cmdHealth, parseHealthArgs } = await import("./health-
|
|
12504
|
+
const { cmdHealth, parseHealthArgs } = await import("./health-G7HQCDXX.js");
|
|
12505
12505
|
await cmdHealth(workspaceInfo.appRoot, parseHealthArgs(stripProjectArgs(args)));
|
|
12506
12506
|
} catch (e) {
|
|
12507
12507
|
console.error(error2(e.message));
|
|
@@ -12529,7 +12529,7 @@ async function main() {
|
|
|
12529
12529
|
cmdStudioHelp();
|
|
12530
12530
|
break;
|
|
12531
12531
|
}
|
|
12532
|
-
const { cmdStudio, parseStudioArgs } = await import("./studio-
|
|
12532
|
+
const { cmdStudio, parseStudioArgs } = await import("./studio-T73T4Q2V.js");
|
|
12533
12533
|
await cmdStudio(process.cwd(), parseStudioArgs(args));
|
|
12534
12534
|
} catch (e) {
|
|
12535
12535
|
console.error(error2(e.message));
|
|
@@ -12543,7 +12543,7 @@ async function main() {
|
|
|
12543
12543
|
cmdWorkspaceHelp();
|
|
12544
12544
|
break;
|
|
12545
12545
|
}
|
|
12546
|
-
const { cmdWorkspace } = await import("./workspace-
|
|
12546
|
+
const { cmdWorkspace } = await import("./workspace-3AJEXXUL.js");
|
|
12547
12547
|
await cmdWorkspace(process.cwd(), args);
|
|
12548
12548
|
} catch (e) {
|
|
12549
12549
|
console.error(error2(e.message));
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
sendProjectHealthCiFailedTelemetry,
|
|
4
4
|
sendProjectHealthPromptTelemetry,
|
|
5
5
|
sendProjectHealthReportTelemetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2GCVVEQC.js";
|
|
7
7
|
|
|
8
8
|
// src/commands/health.ts
|
|
9
9
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
renderProjectHealthCiWorkflow,
|
|
14
14
|
shouldFailHealth,
|
|
15
15
|
writeProjectHealthCiWorkflow
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BDVI3SSP.js";
|
|
17
|
+
import "./chunk-2GCVVEQC.js";
|
|
18
18
|
export {
|
|
19
19
|
cmdHealth,
|
|
20
20
|
collectDesignTokenEvidence,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-33IZQXZH.js";
|
|
2
2
|
import "./chunk-SIDKK73N.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-UGRAHWCG.js";
|
|
4
|
+
import "./chunk-BDVI3SSP.js";
|
|
5
|
+
import "./chunk-2GCVVEQC.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceHealthReport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UGRAHWCG.js";
|
|
4
4
|
import {
|
|
5
5
|
createProjectHealthReport
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BDVI3SSP.js";
|
|
7
7
|
import {
|
|
8
8
|
sendStudioHealthRefreshedTelemetry,
|
|
9
9
|
sendStudioStartedTelemetry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2GCVVEQC.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/studio.ts
|
|
13
13
|
import { readFileSync } from "fs";
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
listWorkspaceProjects,
|
|
8
8
|
parseWorkspaceArgs,
|
|
9
9
|
shouldFailWorkspaceHealth
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-UGRAHWCG.js";
|
|
11
|
+
import "./chunk-BDVI3SSP.js";
|
|
12
|
+
import "./chunk-2GCVVEQC.js";
|
|
13
13
|
export {
|
|
14
14
|
cmdWorkspace,
|
|
15
15
|
createWorkspaceHealthReport,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/cli",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Decantr CLI - adopt, verify, graph, and govern frontend codebases touched by AI agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"decantr",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"ajv": "^8.20.0",
|
|
52
52
|
"@decantr/core": "3.4.0",
|
|
53
|
-
"@decantr/telemetry": "3.4.0",
|
|
54
53
|
"@decantr/registry": "3.4.0",
|
|
55
|
-
"@decantr/
|
|
56
|
-
"@decantr/
|
|
54
|
+
"@decantr/essence-spec": "3.4.0",
|
|
55
|
+
"@decantr/telemetry": "3.4.0",
|
|
56
|
+
"@decantr/verifier": "3.4.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsup",
|