@aestheticfunction/dspack-emit 0.5.0 → 0.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 +5 -3
- package/dist/targets/a2ui/surface.js +580 -36
- package/dist/transform/mapping.js +21 -7
- package/dist/transform/model.d.ts +94 -1
- package/dist/transform/model.js +25 -4
- package/dist/transform/parse-v2.d.ts +55 -24
- package/dist/transform/parse-v2.js +176 -2
- package/dist/transform/profile-schema-v2.js +224 -46
- package/dist/transform/shadcn-v2-respelling.d.ts +65 -0
- package/dist/transform/shadcn-v2-respelling.js +407 -0
- package/dist/transform/validate-v2.js +39 -3
- package/dist/types.d.ts +5 -1
- package/dist/validate/ajv.d.ts +19 -0
- package/dist/validate/ajv.js +78 -13
- package/package.json +6 -2
- package/src/a0.test.ts +235 -0
- package/src/engine-boundary.test.ts +10 -0
- package/src/eval-fixture.test.ts +27 -14
- package/src/instance-diagnostics.test.ts +194 -0
- package/src/layered-dissolution.test.ts +139 -0
- package/src/profile-v2.test.ts +9 -3
- package/src/review-findings.test.ts +4 -1
- package/src/surface-emit.test.ts +43 -11
- package/src/surface-fidelity.test.ts +12 -0
- package/src/t1.test.ts +370 -0
- package/src/t2.test.ts +222 -0
- package/src/t3.test.ts +304 -0
- package/src/t4.test.ts +278 -0
- package/src/targets/a2ui/surface.ts +747 -72
- package/src/transform/mapping.ts +22 -6
- package/src/transform/model.ts +107 -5
- package/src/transform/parse-v2.ts +228 -17
- package/src/transform/profile-schema-v2.ts +224 -46
- package/src/transform/profile.v2.schema.json +224 -46
- package/src/transform/shadcn-v2-respelling.ts +414 -0
- package/src/transform/validate-v2.ts +39 -3
- package/src/types.ts +13 -1
- package/src/validate/ajv.ts +96 -12
- package/src/validate-v2.test.ts +1 -1
package/README.md
CHANGED
|
@@ -166,9 +166,11 @@ npm run transform -- --in input/shadcn-ui.dspack.json --a2ui-version 0.9.1 --out
|
|
|
166
166
|
|
|
167
167
|
emits `out/delete-account.surface.json` (createSurface with dspack-token theme +
|
|
168
168
|
updateComponents) and instance-validates it against the freshly generated catalog
|
|
169
|
-
(gate A3). Exit codes: `1` catalog gates failed, `
|
|
170
|
-
surface could not be emitted (unknown component /
|
|
171
|
-
|
|
169
|
+
(gate A3). Exit codes: `1` catalog gates failed, `2` usage or profile-load error,
|
|
170
|
+
`3` strict-coverage, `4` the surface could not be emitted (unknown component /
|
|
171
|
+
structure the profile cannot project), `5` `--strict-surface` (a surface emitted,
|
|
172
|
+
but with fidelity losses you asked to treat as failures — bare, or scoped as
|
|
173
|
+
`--strict-surface=lossy,synthesis-defaults`). The projection is data in the profile (`surfacePlan` directives in
|
|
172
174
|
`src/transform/profiles.ts`); the engine has no component-specific code.
|
|
173
175
|
|
|
174
176
|
**Honest scope:** compound composition flattens per the documented casualties in
|