Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin sv version and remove unnecessary installation step #1698

Merged
merged 3 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Build site
env:
NODE_OPTIONS: "--max-old-space-size=8192"
NODE_OPTIONS: --max-old-space-size=8192
run: pnpm build

- name: Upload build artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build site
env:
NODE_OPTIONS: "--max-old-space-size=8192"
NODE_OPTIONS: --max-old-space-size=8192
run: pnpm build

- name: Deploy to Cloudflare Pages
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/src/content/installation/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to setup shadcn-svelte manually.

Use the Svelte CLI to add Tailwind CSS to your project.

<PMExecute command="sv add tailwindcss" />
<PMExecute command="sv@0.6.18 add tailwindcss" />

### Add dependencies

Expand Down
6 changes: 1 addition & 5 deletions sites/docs/src/content/installation/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ Use the SvelteKit CLI to create a new project.

Use the Svelte CLI to add Tailwind CSS to your project.

<PMExecute command="sv add tailwindcss" />

### Install dependencies

<PMInstall />
<PMExecute command="sv@0.6.18 add tailwindcss" />

### Setup path aliases

Expand Down
6 changes: 1 addition & 5 deletions sites/docs/src/content/installation/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ description: How to setup shadcn-svelte in a Vite project.

Use the Svelte CLI to add Tailwind CSS to your project.

<PMExecute command="sv add tailwindcss" />

### Install dependencies

<PMInstall />
<PMExecute command="sv@0.6.18 add tailwindcss" />

### Setup path aliases

Expand Down
2 changes: 1 addition & 1 deletion sites/docs/src/lib/registry/default/ui/sheet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const sheetVariants = tv({
top: "inset-x-0 top-0 border-b",
bottom: "inset-x-0 bottom-0 border-t",
left: "inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
},
},
defaultVariants: {
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/src/lib/registry/new-york/ui/sheet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const sheetVariants = tv({
base: "bg-background fixed z-50 gap-4 p-6 shadow-lg",
variants: {
side: {
top: "inset-x-0 top-0 border-b ",
top: "inset-x-0 top-0 border-b",
bottom: "inset-x-0 bottom-0 border-t",
left: "inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
right: "inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
Expand Down