@nurix/etna 0.20.37 → 0.20.38

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 (36) hide show
  1. package/data/catalog/rules/frontend.md +5 -5
  2. package/data/catalog/rules/pnpm.md +2 -2
  3. package/data/harness-index.json +1 -1
  4. package/data/harnesses/code/harness.json +2 -2
  5. package/data/harnesses/code/hooks/approved-packages.md +1 -2
  6. package/data/harnesses/code/rules/frontend.md +5 -5
  7. package/data/harnesses/code/rules/pnpm.md +2 -2
  8. package/data/harnesses/code/skills/boundary/references/packs/build-config-runtime.md +1 -1
  9. package/data/harnesses/code/skills/design/components/charts.md +121 -43
  10. package/data/harnesses/code/skills/design/components/collections.md +209 -41
  11. package/data/harnesses/code/skills/design/components/feedback.md +86 -25
  12. package/data/harnesses/code/skills/design/components/hooks.md +198 -12
  13. package/data/harnesses/code/skills/design/components/index.md +93 -71
  14. package/data/harnesses/code/skills/design/components/inputs.md +249 -157
  15. package/data/harnesses/code/skills/design/components/layout.md +98 -38
  16. package/data/harnesses/code/skills/design/components/media.md +46 -25
  17. package/data/harnesses/code/skills/design/components/motion.md +56 -46
  18. package/data/harnesses/code/skills/design/components/navigation.md +54 -15
  19. package/data/harnesses/code/skills/design/components/overlays.md +51 -41
  20. package/data/harnesses/code/skills/design/components/setup.md +84 -5
  21. package/data/harnesses/code/skills/design/components/typography.md +72 -22
  22. package/data/harnesses/code/skills/design/components/utils.md +47 -13
  23. package/data/harnesses/code/skills/design/data/chrome/board-column.md +12 -12
  24. package/data/harnesses/code/skills/design/data/chrome/data-table.md +6 -6
  25. package/data/harnesses/code/skills/design/data/chrome/side-panel.md +15 -15
  26. package/data/harnesses/code/skills/design/data/chrome/sidebar.md +25 -25
  27. package/data/harnesses/code/skills/design/data/chrome/stat-cards.md +22 -22
  28. package/data/harnesses/code/skills/design/data/chrome/topbar.md +12 -12
  29. package/data/harnesses/code/skills/design/references/emission.md +6 -6
  30. package/data/harnesses/code/skills/design/scripts/README-validator.md +20 -8
  31. package/data/harnesses/code/skills/design/scripts/validate-design-md.mjs +15 -10
  32. package/data/harnesses/delivery/harness.json +1 -1
  33. package/data/harnesses/etna/harness.json +2 -2
  34. package/data/harnesses/etna/skills/boundary/references/packs/build-config-runtime.md +1 -1
  35. package/data/harnesses/hr/harness.json +1 -1
  36. package/package.json +2 -2
@@ -27,7 +27,7 @@ Load when: the touch list exhibits `package.json` (deps, `exports`, scripts, `pa
27
27
  **Safe change:** Declare every imported package in the importer's own `package.json` (workspace siblings as `"@nurix/x": "workspace:*"`); never widen `public-hoist-pattern` to fix a missing-module error — add the dep; verify with a fresh `pnpm install` on a clean clone.
28
28
 
29
29
  ## package-exports-subpath-map — HIGH · rendezvous-string
30
- **Contract:** Consumers' import specifiers (`@nurix/components/button`) must match literal keys in the package's `exports` map; the `files` allowlist and `types` conditions must cover the same paths.
30
+ **Contract:** Consumers' import specifiers (`@nurix/components/element/button`) must match literal keys in the package's `exports` map; the `files` allowlist and `types` conditions must cover the same paths.
31
31
  **Detect:** `"exports"` and `"files"` in `package.json`, `from ['"]@nurix/[^'"]+/`, `"moduleResolution"` in `tsconfig.json`
32
32
  **Ships green, breaks:** Any subpath not mapped in `exports` throws `ERR_PACKAGE_PATH_NOT_EXPORTED` at runtime — and tsc under `moduleResolution: "node10"` ignores `exports` entirely, so types resolve while Node throws (use `"bundler"`/`"nodenext"` to make tsc see the real contract); adding a new component file without an `exports` entry publishes fine and breaks every consumer import; a built `dist/` path referenced by `exports` but missing from the `files` allowlist installs cleanly and fails only on first import of the published tarball.
33
33
  **Safe change:** Add the `exports` subpath (with `types` condition first in each condition block) in the same change as the new file; confirm `files` includes everything `exports` references; check the shipped surface with `npm pack --dry-run`; treat removing/renaming an exports key as a breaking change for all consumers.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "harness": "hr",
3
3
  "name": "hr",
4
- "version": "0.1.15",
4
+ "version": "0.1.16",
5
5
  "files": [
6
6
  ".prettierignore",
7
7
  ".prettierrc.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/etna",
3
- "version": "0.20.37",
3
+ "version": "0.20.38",
4
4
  "description": "Bootstrap a project with a Nurix harness — writes the committed contract (CLAUDE.md, AGENTS.md, .claude/harness.json, settings.json, the mount hook) and mounts the harness itself, gitignored, from a bundled payload; sessions keep it current from the CDN.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -46,5 +46,5 @@
46
46
  "agent",
47
47
  "plugin"
48
48
  ],
49
- "etnaFingerprint": "899bed2c91e6"
49
+ "etnaFingerprint": "666a16c2c2da"
50
50
  }