Skip to content

feat: publish the design system to npm as pandacn - #3

Merged
Adebesin-Cell merged 4 commits into
mainfrom
feat/publish-pandacn
Aug 11, 2026
Merged

Adebesin-Cell merged 4 commits into
mainfrom
feat/publish-pandacn

Conversation

@Adebesin-Cell

Copy link
Copy Markdown
Collaborator

📚 Description

Publishes the design system to npm as pandacn and consumes it like any normal package. This addresses the review feedback: no committed tarball, and the npm page points straight back at the source so it's obvious where the code lives.

Supersedes #2 (the generate-the-tarball approach) — publishing removes the tarball problem entirely.

⛳️ Current behavior

The design system was @chakra-ui/shadcn-panda, consumed by the two app examples via a committed .tgz and a file: dependency.

🚀 New behavior

  • Renamed the package to pandacn (published: pandacn@0.1.0).
  • monorepo consumes it via workspace:*; standalone-app and panda-app install "pandacn": "^0.1.0" from npm — a normal install.
  • Removed the committed tarballs and pack-ds.sh.
  • Added a Publish pandacn GitHub Action (manual dispatch or a pandacn-v* tag, NPM_TOKEN secret).
  • repository.directory + homepage link the npm page to examples/monorepo/packages/ds, so provenance is clear. Package links use npmx.dev.

💣 Is this a breaking change?

No — it swaps the local tarball for the published package.

📝 Additional information

  • pandacn@0.1.0 is live: https://npmx.dev/pandacn
  • pnpm run check-examples passes for all three (no skips) — the consumers resolve pandacn from npm and build.
  • The monorepo README now calls out that packages/ds is pandacn, and each consumer README links back to the source.

Renames @chakra-ui/shadcn-panda to pandacn and consumes it from npm: the monorepo
app via workspace:*, standalone-app and panda-app via a normal ^0.1.0 dependency.
Drops the tarball/pack-ds machinery. Adds a publish workflow and repository metadata
so the npm page points back at examples/monorepo/packages/ds. Links use npmx.dev.
@Adebesin-Cell
Adebesin-Cell merged commit cc5e830 into main Aug 11, 2026
1 check passed
@Adebesin-Cell
Adebesin-Cell deleted the feat/publish-pandacn branch August 11, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant