@nadicodeai/ui 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.
- package/AGENTS.md +10 -0
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -57,3 +57,13 @@ and `lint` checks. A component change a person can see goes through
|
|
|
57
57
|
`../../docs/agents/develop.md`. Find a shadcn or assistant-ui component through
|
|
58
58
|
its current discovery; `--overwrite` replaces a component only with
|
|
59
59
|
authorization.
|
|
60
|
+
|
|
61
|
+
## Tests
|
|
62
|
+
|
|
63
|
+
Each kind of test the package takes, where it goes, and the file to copy:
|
|
64
|
+
|
|
65
|
+
- A component's behavior, or a module's logic: `<name>.test.tsx` or `.test.ts` beside it (project `unit`). Copy `src/components/accordion.test.tsx` and `src/lib/line-diff.test.ts`.
|
|
66
|
+
- A test that compares with Node's own identities or reaches its globals: `<name>.native.test.tsx`, in a worker of its own (project `unit-native`). Copy `src/components/chart.native.test.tsx`.
|
|
67
|
+
- A type contract: `<name>.test-d.tsx`. Copy `src/components/button.test-d.tsx`.
|
|
68
|
+
- A rule over the package's files: `tests/guards/<rule>.test.ts` (project `guards`). Copy `tests/guards/chart-kit.test.ts`.
|
|
69
|
+
- What only a browser lays out: `tests/visual/<subject>.visual.ts` (`test:visual`). Copy `tests/visual/numbered-steps.visual.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.161",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@base-ui/react": "^1.9.0",
|
|
85
85
|
"@iconify-icons/logos": "^2.0.3",
|
|
86
86
|
"@iconify/react": "^6.0.2",
|
|
87
|
-
"@nadicodeai/design-system": "12.1.
|
|
87
|
+
"@nadicodeai/design-system": "12.1.161",
|
|
88
88
|
"@tanstack/react-table": "^9.3.1",
|
|
89
89
|
"@vgpu/wgsl": "0.6.0",
|
|
90
90
|
"class-variance-authority": "^0.7.1",
|