-
Hey! I have already read the CONTRIBUTING guide. I want to resolve a CLI package issue, so I forked the repository to test locally. However, I am finding it difficult to understand how to test the CLI. Is there any guide or explanation on how to do this (which commands to run, the workflow to test the CLI, ...)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I thought about using |
Beta Was this translation helpful? Give feedback.
-
Hey In the forked/cloned workspace, navigate to |
Beta Was this translation helpful? Give feedback.
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:I run the
start:dev
command like thiscross-env COMPONENTS_REGISTRY_URL=http://localhost:5173 node ../shadcn-svelte/packages/cli/dist/index.js
.I don't know about tests.