Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kewldan authored Dec 22, 2024
2 parents 6d14321 + 1081536 commit 87e7e8a
Show file tree
Hide file tree
Showing 2,491 changed files with 61,051 additions and 60,174 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
target/
.next/
build/
dist/

/templates/
/fixtures/
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
A new prerelease is available for testing:
```sh
npx shadcn@${{ env.BETA_PACKAGE_VERSION }}
pnpm dlx shadcn@${{ env.BETA_PACKAGE_VERSION }}
```
- name: "Remove the autorelease label once published"
Expand Down
36 changes: 36 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,42 @@ pnpm --filter=www dev
pnpm --filter=shadcn-ui dev
```

## Running the CLI Locally

To run the CLI locally, you can follow the workflow:

1. Start by running the registry (main site) to make sure the components are up to date:

```bash
pnpm www:dev
```

2. Run the development script for the CLI:

```bash
pnpm shadcn:dev
```

3. In another terminal tab, test the CLI by running:

```bash
pnpm shadcn
```

To test the CLI in a specific app, use a command like:

```bash
pnpm shadcn <init | add | ...> -c ~/Desktop/my-app
```

4. To run the tests for the CLI:

```bash
pnpm --filter=shadcn test
```

This workflow ensures that you are running the most recent version of the registry and testing the CLI properly in your local environment.

## Documentation

The documentation for this project is located in the `www` workspace. You can run the documentation locally by running the following command:
Expand Down
45 changes: 0 additions & 45 deletions apps/www/__registry__/default/block/authentication-01.tsx

This file was deleted.

67 changes: 0 additions & 67 deletions apps/www/__registry__/default/block/authentication-02.tsx

This file was deleted.

72 changes: 0 additions & 72 deletions apps/www/__registry__/default/block/authentication-03.tsx

This file was deleted.

74 changes: 0 additions & 74 deletions apps/www/__registry__/default/block/authentication-04.tsx

This file was deleted.

Loading

0 comments on commit 87e7e8a

Please sign in to comment.