Skip to content

Conversation

@ieedan
Copy link
Contributor

@ieedan ieedan commented Nov 10, 2025

Alternative to #684

Go with the big ol' file approach for this one. This one requires no changes to any CLI commands (other than jsrepo).

jsrepo and shadcn can actually share the same registry now since none of the registry items depend on eachother and there are no imports to resolve.

  • Moved the registry.json config -> jsrepo.config.ts.
  • Removed jsrepo-build-config

A few notes:

  • Right now the shadcn adapter is set to format: true this is nice for readability but it would shrink the registry a decent amount if we turn it offa

TODO:

  • Update jsrepo commands
    The new commands would look like:
jsrepo add https://reactbits.dev/r/SplitText-TS-TW

@DavidHDev
Copy link
Owner

Seems much better, but may I ask why the content of the registry items has changed?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was it intended to delete this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah now that we are building from jsrepo.config.ts it's no longer needed. The one shadcn uses is in public/r

@ieedan
Copy link
Contributor Author

ieedan commented Nov 10, 2025

Seems much better, but may I ask why the content of the registry items has changed?

Just formatting and key ordering differences should function exactly the same as before

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.

2 participants