diff --git a/.github/workflows/prerelease-comment.yml b/.github/workflows/prerelease-comment.yml index 53fe3307af4..65bf3d06428 100644 --- a/.github/workflows/prerelease-comment.yml +++ b/.github/workflows/prerelease-comment.yml @@ -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( @@ -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 }} diff --git a/packages/cli/.gitignore b/packages/cli/.gitignore index 58b6e86339a..dac6408c692 100644 --- a/packages/cli/.gitignore +++ b/packages/cli/.gitignore @@ -1,2 +1,3 @@ components -dist \ No newline at end of file +dist +.turbo \ No newline at end of file diff --git a/packages/cli/package.json b/packages/cli/package.json index 6440a6d5dd9..814b1aaf7ce 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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",