@decantr/cli 2.5.1 → 2.7.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/README.md +44 -20
- package/dist/bin.js +2 -2
- package/dist/{chunk-NBJCO4G5.js → chunk-3TH5PLFO.js} +1 -1
- package/dist/{chunk-AUQXYJ7T.js → chunk-ICSLIYSX.js} +1 -1
- package/dist/{chunk-IEW2QFYI.js → chunk-KT2ROK2D.js} +553 -486
- package/dist/{chunk-OD46PCR6.js → chunk-PAF4PBD3.js} +219 -9
- package/dist/{chunk-BZWDPAHL.js → chunk-ZYHR3BGT.js} +1484 -370
- package/dist/{heal-M6PRCIIF.js → heal-ZYD6NVGE.js} +2 -2
- package/dist/{health-ZXOPGNBZ.js → health-ETZXWGTW.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/{studio-LHQXHBE7.js → studio-MKLBUC3A.js} +4 -4
- package/dist/{workspace-MOLAGT2B.js → workspace-KSFWRZEX.js} +4 -4
- package/package.json +5 -5
- package/src/templates/DECANTR.md.template +5 -5
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
renderProjectHealthCiWorkflow,
|
|
11
11
|
shouldFailHealth,
|
|
12
12
|
writeProjectHealthCiWorkflow
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-PAF4PBD3.js";
|
|
14
|
+
import "./chunk-3TH5PLFO.js";
|
|
15
|
+
import "./chunk-KT2ROK2D.js";
|
|
16
16
|
export {
|
|
17
17
|
cmdHealth,
|
|
18
18
|
collectDesignTokenEvidence,
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-ZYHR3BGT.js";
|
|
2
2
|
import "./chunk-V3XAQWKD.js";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-KT2ROK2D.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceHealthReport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ICSLIYSX.js";
|
|
4
4
|
import {
|
|
5
5
|
createProjectHealthReport
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PAF4PBD3.js";
|
|
7
|
+
import "./chunk-3TH5PLFO.js";
|
|
8
8
|
import {
|
|
9
9
|
sendStudioHealthRefreshedTelemetry,
|
|
10
10
|
sendStudioStartedTelemetry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KT2ROK2D.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/studio.ts
|
|
14
14
|
import { readFileSync } from "fs";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
listWorkspaceProjects,
|
|
7
7
|
parseWorkspaceArgs,
|
|
8
8
|
shouldFailWorkspaceHealth
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ICSLIYSX.js";
|
|
10
|
+
import "./chunk-PAF4PBD3.js";
|
|
11
|
+
import "./chunk-3TH5PLFO.js";
|
|
12
|
+
import "./chunk-KT2ROK2D.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": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Decantr CLI - scaffold, audit, inspect Project Health, and maintain Decantr projects from the terminal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"decantr",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"ajv": "^8.20.0",
|
|
51
51
|
"@decantr/core": "2.1.0",
|
|
52
|
-
"@decantr/
|
|
53
|
-
"@decantr/
|
|
54
|
-
"@decantr/
|
|
55
|
-
"@decantr/
|
|
52
|
+
"@decantr/verifier": "2.2.0",
|
|
53
|
+
"@decantr/registry": "2.2.0",
|
|
54
|
+
"@decantr/telemetry": "2.2.1",
|
|
55
|
+
"@decantr/essence-spec": "2.0.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsup",
|
|
@@ -99,12 +99,12 @@ Read `.decantr/context/page-{name}-pack.md` for the most local compiled route co
|
|
|
99
99
|
|
|
100
100
|
### Editing rules
|
|
101
101
|
|
|
102
|
-
-
|
|
103
|
-
- If a local `package.json` is present, trust its declared Decantr dependencies over external assumptions about package availability.
|
|
102
|
+
- Follow the **Styling Adoption** or **CSS Implementation** section below before adding dependencies, imports, tokens, or runtime CSS. Brownfield contract-only projects preserve the existing styling system; Decantr CSS projects use the declared Decantr CSS runtime.
|
|
103
|
+
- If a local `package.json` is present, trust its declared Decantr dependencies and the project adoption mode over external assumptions about package availability.
|
|
104
104
|
- Do **not** create local atom-runtime substitutes such as `src/lib/css.js`, `src/lib/css.ts`, or hand-written `src/styles/atoms.css` files unless the task explicitly asks for a fallback runtime.
|
|
105
|
-
- Import
|
|
106
|
-
- Reuse the existing
|
|
107
|
-
- Do **not** use inline visual style values or component-scoped `<style>` tags as the primary styling path. Colors, spacing, borders, shadows, gradients, and transitions should come from
|
|
105
|
+
- Import Decantr generated CSS files only when the adoption section below says this project uses Decantr CSS or a style bridge.
|
|
106
|
+
- Reuse the existing tokens, treatments, decorators, or project design-system primitives instead of inventing a new visual system.
|
|
107
|
+
- Do **not** use inline visual style values or component-scoped `<style>` tags as the primary styling path. Colors, spacing, borders, shadows, gradients, and transitions should come from the project's adopted styling system. Inline styles are only acceptable for truly dynamic geometry that cannot be expressed through the contract.
|
|
108
108
|
- Shells own spacing, centering, and scroll containers. Page components should not duplicate shell responsibilities with extra full-height wrappers, max-width wrappers, or page-local padding unless the route contract explicitly requires it.
|
|
109
109
|
- If a required decorator class is referenced in the contract but missing from generated CSS, report the contract gap instead of inventing a parallel visual system.
|
|
110
110
|
- If `dna.accessibility.skip_nav = true`, add a visible-on-focus skip link and a matching main landmark target such as `<main id="main-content">`.
|