@nadicodeai/design-system 12.1.160 → 12.1.161

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.
Files changed (2) hide show
  1. package/AGENTS.md +8 -0
  2. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -29,3 +29,11 @@ are outputs, not hand-edited sources. Favicon source changes use
29
29
  Visual behavior comes from `DESIGN.md`, a component's usage page, a shipped
30
30
  surface, or the user's design decision. Screenshots verify that behavior. Name primitives
31
31
  for nadicode's concepts, keeping source-brand lineage in references.
32
+
33
+ ## Tests
34
+
35
+ Each kind of test the package takes, where it goes, and the file to copy:
36
+
37
+ - The build scripts' logic: `scripts/<name>.test.ts` beside the script (project `unit`). Copy `scripts/sd/oklch.test.ts`.
38
+ - A rule over the built package and its sources: `tests/guards/<rule>.test.ts` (project `guards`). Copy `tests/guards/token-structural-parity.test.ts`.
39
+ - What only a browser draws: `tests/visual/<subject>.visual.ts` (`test:visual`). Copy `tests/visual/text-wrapping.visual.ts`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/design-system",
3
- "version": "12.1.160",
3
+ "version": "12.1.161",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"