Repository navigation
v6.0.0
Major Changes
-
27da02f: Breaking: remove the
./coresubpath export, makingsrc/coreinternal
(ui-kit#278 step ④, #294 Phase 5).@jbpark/ui-kit/coreis no longer importable by consumers. Thesrc/core
primitives (shadcn-style Radix wrappers) were only ever an implementation detail
— nothing outsidepackages/uiimported the subpath, and after the Phase 4
absorb (#278 ③) the single-element primitives (Button,Tag) no longer even
route through it. Keeping./corepublic only invited consumers to depend on
internals that change without notice.The per-module files still ship in
dist/core/*as private chunks. Only the
public./coreentry (its barreldist/core.mjs+ theexportsmap entry, in
bothpackage.jsonandpackage.publish.json, and thetsdownentry) is
removed. The API-surface snapshot drops from 13 to 12 subpaths.Internally, the 17 components that build on core primitives now import it by
relative path (../../core) instead of the@repo/ui/corespecifier. That
specifier resolves forpackages/ui's own build via the tsconfig alias, but
apps that bundle@repo/uifrom source (the Docusaurusdocs/webapps)
resolve it through the packageexportsmap, so it fails once./coreis no
longer exported. Ano-restricted-importslint rule now enforces this, since
the specifier otherwise passescheck-types,lint, and the@repo/uibuild
and only fails later in the app builds.packages/ui'slintscript gained
--max-warnings 0(matchingapps/web) so the rule can actually fail CI —
the shared config routes every rule througheslint-plugin-only-warn, so
without it a violation is reported but exits 0.
What's Changed
- 💥 refactor(ui)!: make src/core internal — remove ./core export (Phase 5) by @pjb0811 in #306
- 🔖 chore: version packages by @github-actions[bot] in #307
Full Changelog: v5.4.7...v6.0.0