@decantr/cli 1.7.6 → 1.7.7
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 +51 -3
- package/dist/bin.js +2 -2
- package/dist/{chunk-H4H3IQJK.js → chunk-4D5V6GQU.js} +75 -10
- package/dist/{chunk-KAEQTVAM.js → chunk-OHQXL7EJ.js} +468 -330
- package/dist/index.js +2 -2
- package/dist/{upgrade-XNUAON3G.js → upgrade-WE7Y7ZOE.js} +1 -1
- package/package.json +4 -2
- package/src/templates/DECANTR.md.template +4 -0
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-OHQXL7EJ.js";
|
|
2
|
+
import "./chunk-4D5V6GQU.js";
|
|
3
3
|
import "./chunk-KUDAVJOR.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "Decantr CLI — scaffold, audit, and maintain Decantr projects from the terminal",
|
|
5
5
|
"author": "Decantr AI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,13 +27,15 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"@decantr/essence-spec": "1.0.1",
|
|
30
31
|
"@decantr/core": "1.0.0",
|
|
31
|
-
"@decantr/essence-spec": "1.0.0",
|
|
32
32
|
"@decantr/registry": "1.0.1",
|
|
33
33
|
"@decantr/verifier": "1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup",
|
|
37
|
+
"certify:blueprints": "pnpm build && node scripts/certify-blueprints.mjs",
|
|
38
|
+
"certify:workflows": "pnpm build && node scripts/certify-workflows.mjs",
|
|
37
39
|
"test": "vitest run",
|
|
38
40
|
"test:watch": "vitest"
|
|
39
41
|
}
|
|
@@ -108,6 +108,9 @@ Read `.decantr/context/page-{name}-pack.md` for the most local compiled route co
|
|
|
108
108
|
- 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.
|
|
109
109
|
- Import `src/styles/global.css`, `src/styles/tokens.css`, and `src/styles/treatments.css`.
|
|
110
110
|
- Reuse the existing Decantr tokens, treatments, and decorators instead of inventing a new visual system.
|
|
111
|
+
- 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 atoms, treatments, decorators, or CSS variables. Inline styles are only acceptable for truly dynamic geometry that cannot be expressed through the contract.
|
|
112
|
+
- 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.
|
|
113
|
+
- 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.
|
|
111
114
|
- 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">`.
|
|
112
115
|
- If `dna.motion.reduce_motion = true`, add an explicit `prefers-reduced-motion: reduce` path in project CSS.
|
|
113
116
|
- Do not modify generated context files unless you are explicitly regenerating or refreshing Decantr context.
|
|
@@ -116,6 +119,7 @@ Read `.decantr/context/page-{name}-pack.md` for the most local compiled route co
|
|
|
116
119
|
### Validation
|
|
117
120
|
|
|
118
121
|
Run `decantr check` to detect drift violations while editing and `decantr audit` to audit the whole project contract after implementation.
|
|
122
|
+
Declared command palettes and hotkeys must be implemented, not merely acknowledged.
|
|
119
123
|
|
|
120
124
|
### Quick Commands
|
|
121
125
|
|