Skip to content

Commit

Permalink
docs(add: README): Fix release docs and update details
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Nov 1, 2024
1 parent ead03fd commit 01518da
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/add/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ yarn rw-shad <component>
Details
-------

Under the hood this will run `npx https://verdaccio.tobbe.dev/shadcn/-/shadcn-2.1.2-config-dir.tgz add --config-dir config --path components/ui --yes <component>`
Under the hood this will run `npx --yes <shadcn-build.tgz> add --config-dir config --path components/ui --no-overwrite <component>`
Where `<shadcn-build.tgz>` is my latest build of `shadcn` and `<component>` is
the name of the component you want to generate.

Contributing
------------

If you want to add JS support, or contribute any other changes an easy way to test this locally is:
If you want to add JS support, or contribute any other changes an easy way to
test this locally is:
```
yarn start --cwd ../rw-example-project <component>
```

### Releasing

It's made to be released by npm (e.g. `npm run release:patch`). That way I don't have to worry about yarn v1 vs v3
Just run `yarn release:patch|minor|major` in this directory (`packages/add`)

0 comments on commit 01518da

Please sign in to comment.