Skip to content

Commit 458e977

Browse files
committed
chore: update package dependencies and scripts
- Updated dependencies in package.json: - @tailwindcss/vite to ^4.3.0 - @tanstack/react-router to ^1.170.10 - firebase to ^12.14.0 - react and react-dom to ^19.2.7 - tailwind-merge to ^3.6.0 - tailwindcss to ^4.3.0 - vite-plugin-pwa to ^1.3.0 - @biomejs/biome to ^2.4.16 - @commitlint/cli and config to ^20.5.3 - @tanstack/router-plugin to ^1.168.13 - @types/react to ^19.2.16 - vite to ^6.4.3 - Reordered exports in Card component for consistency. - Updated links in index.tsx to reflect new URLs. - Removed baseUrl from tsconfig.app.json and tsconfig.json for cleaner configuration.
1 parent 4db5f83 commit 458e977

10 files changed

Lines changed: 261 additions & 451 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
push:
3+
pull_request:
4+
5+
jobs:
6+
quality:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v5
13+
with:
14+
persist-credentials: false
15+
- name: Setup Biome
16+
uses: biomejs/setup-biome@v2
17+
with:
18+
version: latest
19+
- name: Run Biome
20+
run: biome ci .
21+
22+
deploy:
23+
if: github.ref == 'refs/heads/main'
24+
needs: quality
25+
runs-on: ubuntu-latest
26+
permissions:
27+
contents: write
28+
steps:
29+
- uses: actions/checkout@v5
30+
- uses: oven-sh/setup-bun@v2
31+
with:
32+
bun-version: latest
33+
- run: bun install
34+
- run: bun run build
35+
- uses: peaceiris/actions-gh-pages@v4
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./dist

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun run check
1+
bun run lint

.vscode/extensions.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"recommendations": ["biomejs.biome", "bradlc.vscode-tailwindcss"]
2+
"recommendations": [
3+
"biomejs.biome",
4+
"bradlc.vscode-tailwindcss",
5+
"oven.bun-vscode",
6+
"github.vscode-github-actions"
7+
]
38
}

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

bun.lock

Lines changed: 192 additions & 421 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,45 @@
44
"version": "3.2",
55
"type": "module",
66
"scripts": {
7-
"build": "tsc -b && vite build",
87
"dev": "vite",
8+
"build": "tsc -b && vite build",
9+
"lint": "biome check --write",
910
"preview": "vite preview",
10-
"deploy": "bun run build && gh-pages -d dist",
11-
"check": "biome check --write",
1211
"prepare": "husky"
1312
},
1413
"dependencies": {
1514
"@radix-ui/react-checkbox": "^1.3.3",
1615
"@radix-ui/react-dialog": "^1.1.15",
1716
"@radix-ui/react-label": "^2.1.8",
1817
"@radix-ui/react-select": "^2.2.6",
19-
"@tailwindcss/vite": "^4.1.18",
20-
"@tanstack/react-router": "^1.155.0",
18+
"@tailwindcss/vite": "^4.3.0",
19+
"@tanstack/react-router": "^1.170.10",
2120
"class-variance-authority": "^0.7.1",
2221
"clsx": "^2.1.1",
2322
"fast-simplex-noise": "^4.0.0",
24-
"firebase": "^12.8.0",
23+
"firebase": "^12.14.0",
2524
"lucide-react": "^0.562.0",
2625
"next-themes": "^0.4.6",
27-
"react": "^19.2.3",
28-
"react-dom": "^19.2.3",
26+
"react": "^19.2.7",
27+
"react-dom": "^19.2.7",
2928
"seedrandom": "^3.0.5",
3029
"sonner": "^2.0.7",
31-
"tailwind-merge": "^3.4.0",
32-
"tailwindcss": "^4.1.18",
33-
"vite-plugin-pwa": "^1.2.0"
30+
"tailwind-merge": "^3.6.0",
31+
"tailwindcss": "^4.3.0",
32+
"vite-plugin-pwa": "^1.3.0"
3433
},
3534
"devDependencies": {
36-
"@biomejs/biome": "^2.3.12",
37-
"@commitlint/cli": "^20.3.1",
38-
"@commitlint/config-conventional": "^20.3.1",
39-
"@tanstack/router-plugin": "^1.155.0",
40-
"@types/react": "^19.2.9",
35+
"@biomejs/biome": "^2.4.16",
36+
"@commitlint/cli": "^20.5.3",
37+
"@commitlint/config-conventional": "^20.5.3",
38+
"@tanstack/router-plugin": "^1.168.13",
39+
"@types/react": "^19.2.16",
4140
"@types/react-dom": "^19.2.3",
4241
"@types/seedrandom": "^3.0.8",
4342
"@vitejs/plugin-react": "^4.7.0",
44-
"gh-pages": "^6.3.0",
4543
"husky": "^9.1.7",
4644
"tw-animate-css": "^1.4.0",
4745
"typescript": "5.9.3",
48-
"vite": "^6.4.1"
46+
"vite": "^6.4.3"
4947
}
5048
}

src/components/ui/card.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
8383

8484
export {
8585
Card,
86-
CardHeader,
87-
CardFooter,
88-
CardTitle,
8986
CardAction,
90-
CardDescription,
9187
CardContent,
88+
CardDescription,
89+
CardFooter,
90+
CardHeader,
91+
CardTitle,
9292
};

src/pages/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ const Index = () => {
8080
)}
8181
</div>
8282
<div className="absolute bottom-4 left-4 flex gap-2">
83-
<a href="https://edlessz.com" target="_blank" rel="noreferrer">
84-
edlessz
83+
<a href="https://edlrod.com" target="_blank" rel="noreferrer">
84+
edlrod
8585
</a>
8686
<span></span>
8787
<a
88-
href="https://github.com/edlessz/infinisweeper"
88+
href="https://github.com/edlrod/infinisweeper"
8989
target="_blank"
9090
rel="noreferrer"
9191
>

tsconfig.app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"noFallthroughCasesInSwitch": true,
2323
"noUncheckedSideEffectImports": true,
2424

25-
"baseUrl": ".",
2625
"paths": {
2726
"@/*": ["./src/*"]
2827
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{ "path": "./tsconfig.node.json" }
66
],
77
"compilerOptions": {
8-
"baseUrl": ".",
98
"paths": {
109
"@/*": ["./src/*"]
1110
}

0 commit comments

Comments
 (0)