Skip to content

Commit c119e2b

Browse files
Merge branch 'main' into Adnanarodiya/main
2 parents 7f253dc + 57fbfbf commit c119e2b

File tree

4 files changed

+2428
-12
lines changed

4 files changed

+2428
-12
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build",
7+
"build": "npm run xata:init && next build",
88
"start": "next start",
99
"lint": "next lint",
10+
"xata:init": "dotenv -- xata init --db \"$XATA_HTTP_ENDPOINT\" --sdk --no-input --yes --codegen=src/xata.ts --force",
1011
"format": "prettier --write \"./**/*.{ts,tsx,json}\""
1112
},
1213
"dependencies": {
1314
"@auth/xata-adapter": "^1.10.0",
1415
"@t3-oss/env-nextjs": "^0.13.8",
1516
"@twuni/emojify": "^1.0.2",
17+
"@xata.io/cli": "^0.16.12",
1618
"@xata.io/client": "^0.30.1",
1719
"axios": "^1.11.0",
1820
"class-variance-authority": "^0.7.1",
1921
"clsx": "^2.1.1",
2022
"daisyui": "^4.12.24",
23+
"dotenv-cli": "^10.0.0",
2124
"framer-motion": "^12.23.12",
2225
"jotai": "^2.12.5",
2326
"lucide-react": "^0.536.0",

0 commit comments

Comments
 (0)