Skip to content
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
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"editor.defaultFormatter": "biomejs.biome"
},
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit"
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnPaste": true,
Expand Down
6 changes: 3 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: pnpx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
run: pnpm biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
stage_fixed: true
registry:
glob: "src/registry/new-york/**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: pnpx shadcn@latest build
glob: "registry.json"
run: pnpm shadcn build && git add public/r/*
stage_fixed: true
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
"lint": "biome lint",
"check": "biome check --fix --unsafe",
"registry:build": "shadcn build",
"registry:watch": "tsx watch src/scripts/blocks.ts",
"pre-commit": "pnpm run check && pnpm run registry:build"
},
"dependencies": {
"@radix-ui/react-checkbox": "^1.3.1",
"@radix-ui/react-label": "^2.1.2",
"@radix-ui/react-popover": "^1.1.13",
"@radix-ui/react-radio-group": "^1.3.6",
"@radix-ui/react-separator": "^1.1.6",
"@radix-ui/react-slot": "^1.1.2",
Expand Down Expand Up @@ -43,8 +46,8 @@
"zod": "^3.24.2"
},
"devDependencies": {
"@tanstack/react-router-devtools": "^1.120.3",
"@biomejs/biome": "1.9.4",
"@tanstack/react-router-devtools": "^1.120.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/node": "^22.13.14",
Expand Down
Loading