@nadicodeai/ui 4.0.3 → 4.0.5
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 +14 -25
- package/dist/eslint/index.js +3 -4
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -1,30 +1,19 @@
|
|
|
1
1
|
# @nadicodeai/ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Shared React components, primitives, Agent interfaces, and page compositions.
|
|
4
|
+
Source lives in `src/`; consumers receive `dist/` through `package.json`
|
|
5
|
+
exports.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
- Component changes and admission: `docs/contract.md`.
|
|
8
|
+
- Consumer setup: `docs/consuming-cross-repo.md`.
|
|
9
|
+
- Tokens, CSS, motion, and assets: `../design-system/DESIGN.md`.
|
|
10
|
+
- Agent visuals: `docs/agent-visual.md`.
|
|
11
|
+
- Package releases: `../../docs/agents/publish.md`.
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
| `npm run dev -w @nadicodeai/ui` | Watch `src/`, refresh `dist/` |
|
|
11
|
-
| `npm run build:dev -w @nadicodeai/ui` | One-shot incremental `dist/` refresh |
|
|
12
|
-
| `npm run build -w @nadicodeai/ui` | Emit `dist/` before packing or app builds |
|
|
13
|
-
| `npm run generate:brand-icons -w @nadicodeai/ui` | After editing the allow-list in `scripts/build-brand-icons.mjs` |
|
|
14
|
-
| `npm pack --dry-run -w @nadicodeai/ui` | What consumers receive, after a surface, export, CSS or docs change |
|
|
13
|
+
`npm run dev -w @nadicodeai/ui` watches source and refreshes `dist/`;
|
|
14
|
+
`build:dev` refreshes it once. Remaining commands live in `package.json`;
|
|
15
|
+
validation policy is in `../../docs/agents/develop.md`.
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| Design-language terms | `../design-system/CONTEXT.md` |
|
|
21
|
-
| Invariants, component admission, section vocabulary, consumer boundary | `docs/contract.md` |
|
|
22
|
-
| Third-party brand marks | [Admission Rules](docs/contract.md#admission-rules); the NadicodeAI logo is `BrandLockup`, `BrandMark`, `BrandWordmark` |
|
|
23
|
-
| Consumer installation and stylesheet setup | `docs/consuming-cross-repo.md` |
|
|
24
|
-
| Tokens, modes, themes, cascade, the public stylesheet | `../design-system/DESIGN.md` and `../design-system/AGENTS.md` |
|
|
25
|
-
| Motion | `../design-system/DESIGN.md`, `src/lib/motion.ts`, then the `product-design` skill |
|
|
26
|
-
| Which component subpaths exist | `package.json` `exports`; the `./components/*` wildcard over `src/components/` is the whole surface |
|
|
27
|
-
| shadcn and assistant-ui discovery | the live CLIs `npx shadcn@latest` and `npx assistant-ui@latest`; `--overwrite` needs a maintainer ask |
|
|
28
|
-
| Releasing and publishing | `../../docs/agents/publish.md` |
|
|
29
|
-
| Website page assembly | `../../apps/website/AGENTS.md`. Portal screens: `../../apps/portal/AGENTS.md` |
|
|
30
|
-
| User-visible UI work | the `product-design` skill, loaded after this file |
|
|
17
|
+
When the brand-icon allow-list changes, run `generate:brand-icons`.
|
|
18
|
+
Use current shadcn or assistant-ui discovery for their components;
|
|
19
|
+
`--overwrite` requires authorization to replace the affected component.
|
package/dist/eslint/index.js
CHANGED
|
@@ -22,13 +22,12 @@ import { shadcnComposition } from "./rules/shadcn-composition.js";
|
|
|
22
22
|
* `@nadicodeai/ui`, whose version the release gate already forces to move in
|
|
23
23
|
* lockstep, so that manifest is the one home of the number and this reads it.
|
|
24
24
|
* The published copy of this file sits at `<ui>/dist/eslint/index.js` and the
|
|
25
|
-
* source sits at `
|
|
25
|
+
* source sits at `tools/lint/eslint/index.js`, which puts the
|
|
26
26
|
* manifest at one of two places relative to here; the `name` field says which
|
|
27
|
-
* candidate is the right one, so
|
|
28
|
-
* levels up — cannot answer by accident.
|
|
27
|
+
* candidate is the right one, so an unrelated manifest cannot answer by accident.
|
|
29
28
|
*/
|
|
30
29
|
const PUBLISHING_PACKAGE = "@nadicodeai/ui";
|
|
31
|
-
const MANIFEST_CANDIDATES = ["../../package.json", "
|
|
30
|
+
const MANIFEST_CANDIDATES = ["../../package.json", "../../../packages/ui/package.json"];
|
|
32
31
|
|
|
33
32
|
const version = readPublishedVersion();
|
|
34
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@assistant-ui/react": "0.15.1",
|
|
62
62
|
"@assistant-ui/react-markdown": "0.14.8",
|
|
63
63
|
"@base-ui/react": "^1.6.0",
|
|
64
|
-
"@nadicodeai/design-system": "4.0.
|
|
64
|
+
"@nadicodeai/design-system": "4.0.5",
|
|
65
65
|
"@paper-design/shaders": "0.0.78",
|
|
66
66
|
"class-variance-authority": "^0.7.1",
|
|
67
67
|
"clsx": "^2.1.1",
|