Skip to content

Commit 14e4e4d

Browse files
authored
feat: add .env.example (#968)
1 parent 3e7fe6d commit 14e4e4d

File tree

9 files changed

+1191
-1351
lines changed

9 files changed

+1191
-1351
lines changed

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Database
2+
DATABASE_URL="postgres://YOUR_POSTGRESQL_URL"
3+
4+
## Docker compose (optional)
5+
DB_HOST=localhost
6+
DB_USER=shadcntable
7+
DB_PASSWORD=securepassword
8+
DB_NAME=shadcntable
9+
DB_PORT=5432

.github/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
- name: Setup pnpm
1111
uses: pnpm/action-setup@v4
1212
with:
13-
version: 9.15.4
13+
version: 10.9.0
1414

1515
- run: pnpm install
1616
shell: bash

.github/workflows/code-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup pnpm
2323
uses: pnpm/action-setup@v4
2424
with:
25-
version: 9.15.4
25+
version: 10.9.0
2626
- uses: ./.github/setup
2727

2828
- name: Check formatting
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup pnpm
3838
uses: pnpm/action-setup@v4
3939
with:
40-
version: 9.15.4
40+
version: 10.9.0
4141
- uses: ./.github/setup
4242

4343
- run: pnpm lint
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup pnpm
5252
uses: pnpm/action-setup@v4
5353
with:
54-
version: 9.15.4
54+
version: 10.9.0
5555
- uses: ./.github/setup
5656

5757
- run: pnpm typecheck

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# [Shadcn Table](https://table.sadmn.com)
1+
# [Shadcn Table](https://tablecn.com)
22

33
This is a shadcn table component with server-side sorting, filtering, and pagination. It is bootstrapped with `create-t3-app`.
44

5-
[![Shadcn Table](./public/images/screenshot.png)](https://table.sadmn.com)
5+
[![Shadcn Table](./public/images/screenshot.png)](https://tablecn.com)
66

77
## Documentation
88

package.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -27,67 +27,67 @@
2727
"@dnd-kit/modifiers": "^9.0.0",
2828
"@dnd-kit/sortable": "^10.0.0",
2929
"@dnd-kit/utilities": "^3.2.2",
30-
"@hookform/resolvers": "^4.0.0",
31-
"@radix-ui/react-checkbox": "^1.1.3",
32-
"@radix-ui/react-dialog": "^1.1.5",
33-
"@radix-ui/react-dropdown-menu": "^2.1.5",
34-
"@radix-ui/react-label": "^2.1.1",
35-
"@radix-ui/react-popover": "^1.1.5",
36-
"@radix-ui/react-portal": "^1.1.3",
37-
"@radix-ui/react-select": "^2.1.5",
38-
"@radix-ui/react-separator": "^1.1.1",
39-
"@radix-ui/react-slider": "^1.2.3",
40-
"@radix-ui/react-slot": "^1.1.1",
41-
"@radix-ui/react-toggle": "^1.1.1",
42-
"@radix-ui/react-toggle-group": "^1.1.1",
43-
"@radix-ui/react-tooltip": "^1.1.7",
44-
"@t3-oss/env-nextjs": "^0.12.0",
45-
"@tanstack/react-table": "^8.20.6",
30+
"@hookform/resolvers": "^5.0.1",
31+
"@radix-ui/react-checkbox": "^1.2.3",
32+
"@radix-ui/react-dialog": "^1.1.11",
33+
"@radix-ui/react-dropdown-menu": "^2.1.12",
34+
"@radix-ui/react-label": "^2.1.4",
35+
"@radix-ui/react-popover": "^1.1.11",
36+
"@radix-ui/react-portal": "^1.1.6",
37+
"@radix-ui/react-select": "^2.2.2",
38+
"@radix-ui/react-separator": "^1.1.4",
39+
"@radix-ui/react-slider": "^1.3.2",
40+
"@radix-ui/react-slot": "^1.2.0",
41+
"@radix-ui/react-toggle": "^1.1.6",
42+
"@radix-ui/react-toggle-group": "^1.1.7",
43+
"@radix-ui/react-tooltip": "^1.2.4",
44+
"@t3-oss/env-nextjs": "^0.13.0",
45+
"@tanstack/react-table": "^8.21.3",
4646
"class-variance-authority": "^0.7.1",
4747
"clsx": "^2.1.1",
48-
"cmdk": "^1.0.4",
48+
"cmdk": "^1.1.1",
4949
"date-fns": "^4.1.0",
50-
"drizzle-orm": "^0.41.0",
50+
"drizzle-orm": "^0.43.1",
5151
"export-to-csv": "^1.4.0",
5252
"geist": "^1.3.1",
53-
"lucide-react": "^0.484.0",
54-
"motion": "^12.6.0",
55-
"nanoid": "^5.0.9",
56-
"next": "^15.1.6",
57-
"next-themes": "^0.4.4",
58-
"nuqs": "^2.3.1",
53+
"lucide-react": "^0.503.0",
54+
"motion": "^12.9.2",
55+
"nanoid": "^5.1.5",
56+
"next": "^15.3.1",
57+
"next-themes": "^0.4.6",
58+
"nuqs": "^2.4.3",
5959
"postgres": "^3.4.5",
60-
"react": "^19.0.0",
60+
"react": "^19.1.0",
6161
"react-day-picker": "^8.10.1",
62-
"react-dom": "^19.0.0",
63-
"react-hook-form": "^7.54.2",
62+
"react-dom": "^19.1.0",
63+
"react-hook-form": "^7.56.1",
6464
"server-only": "^0.0.1",
65-
"shadcn": "2.4.0-canary.12",
66-
"sonner": "^2.0.0",
67-
"tailwind-merge": "^3.0.1",
65+
"shadcn": "2.5.0",
66+
"sonner": "^2.0.3",
67+
"tailwind-merge": "^3.2.0",
6868
"vaul": "^1.1.2",
69-
"zod": "^3.24.1"
69+
"zod": "^3.24.3"
7070
},
7171
"devDependencies": {
7272
"@biomejs/biome": "^1.9.4",
73-
"@faker-js/faker": "^9.4.0",
74-
"@tailwindcss/postcss": "^4.0.12",
73+
"@faker-js/faker": "^9.7.0",
74+
"@tailwindcss/postcss": "^4.1.4",
7575
"@total-typescript/ts-reset": "^0.6.1",
76-
"@types/node": "^22.12.0",
77-
"@types/react": "^19.0.8",
78-
"@types/react-dom": "^19.0.3",
76+
"@types/node": "^22.15.2",
77+
"@types/react": "^19.1.2",
78+
"@types/react-dom": "^19.1.2",
7979
"dotenv-cli": "^8.0.0",
80-
"drizzle-kit": "^0.30.4",
81-
"pg": "^8.13.1",
82-
"postcss": "^8.5.1",
80+
"drizzle-kit": "^0.31.0",
81+
"pg": "^8.15.5",
82+
"postcss": "^8.5.3",
8383
"rimraf": "^6.0.1",
84-
"tailwindcss": "^4.0.12",
85-
"tsx": "^4.19.2",
86-
"tw-animate-css": "^1.2.4",
87-
"typescript": "^5.7.3"
84+
"tailwindcss": "^4.1.4",
85+
"tsx": "^4.19.3",
86+
"tw-animate-css": "^1.2.8",
87+
"typescript": "^5.8.3"
8888
},
8989
"ct3aMetadata": {
9090
"initVersion": "7.23.1"
9191
},
92-
"packageManager": "pnpm@9.15.4"
92+
"packageManager": "pnpm@10.9.0"
9393
}

0 commit comments

Comments
 (0)