Skip to content

Commit

Permalink
fix(@shadcn/ui): add start:dev command (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn authored Mar 8, 2023
1 parent cfe2718 commit becbafc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
for (const artifact of allArtifacts.data.artifacts) {
// Extract the PR number and package version from the artifact name
const match = /^npm-package-shadcn-ui@(.*?)-pr-(\d+)/.exec(artifact.name);
const match = /^npm-package-@shadcn-ui@(.*?)-pr-(\d+)/.exec(artifact.name);
if (match) {
require("fs").appendFileSync(
Expand All @@ -46,7 +46,7 @@ jobs:
with:
number: ${{ env.WORKFLOW_RUN_PR }}
message: |
A new @shadcn/ui prerelease is available for testing. You can use this latest build in your project with:
A new prerelease is available for testing:
```sh
pnpm @shadcn/ui@${{ env.BETA_PACKAGE_VERSION }}
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
components
dist
dist
.turbo
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"build": "tsup",
"typecheck": "tsc --noEmit",
"clean": "rimraf dist && rimraf components",
"start:dev": "cross-env COMPONENTS_BASE_URL=http://localhost:3000 node dist/index.js",
"start": "node dist/index.js",
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache",
Expand Down

0 comments on commit becbafc

Please sign in to comment.