Skip to content

How to contribute code to the CLI package? #529

Answered by babakfp
willpinha asked this question in Help
Discussion options

You must be logged in to vote

I don't use the npm link feature myself. Instead, I create a new project (a playground), in the root directory, where the other project is located, like this:

| my-root-folder
| ---- shadcn-svelte/packages/cli
| ---- my-test-playground

I run the start:dev command like this cross-env COMPONENTS_REGISTRY_URL=http://localhost:5173 node ../shadcn-svelte/packages/cli/dist/index.js.

I don't know about tests.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@willpinha
Comment options

@babakfp
Comment options

Answer selected by willpinha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants