|
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, ...)? |
Answered by
babakfp
Dec 11, 2023
Replies: 2 comments 2 replies
|
I thought about using |
0 replies
|
Hey In the forked/cloned workspace, navigate to |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't use the
npm linkfeature 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:devcommand like thiscross-env COMPONENTS_REGISTRY_URL=http://localhost:5173 node ../shadcn-svelte/packages/cli/dist/index.js.I don't know about tests.