Skip to content

Commit 499052c

Browse files
chore: update deps (#1901)
1 parent 6b672e0 commit 499052c

23 files changed

+4442
-3793
lines changed

cli/package.json

+28-28
Original file line numberDiff line numberDiff line change
@@ -50,49 +50,49 @@
5050
"pub:release": "pnpm build && npm publish"
5151
},
5252
"dependencies": {
53-
"@clack/core": "^0.3.2",
53+
"@clack/core": "^0.3.4",
5454
"@clack/prompts": "^0.6.3",
5555
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
5656
"chalk": "5.2.0",
57-
"commander": "^10.0.0",
58-
"execa": "^7.1.1",
59-
"fs-extra": "^11.1.1",
57+
"commander": "^10.0.1",
58+
"execa": "^7.2.0",
59+
"fs-extra": "^11.2.0",
6060
"gradient-string": "^2.0.2",
6161
"ora": "6.3.1",
6262
"sort-package-json": "^2.10.0"
6363
},
6464
"devDependencies": {
65-
"@auth/drizzle-adapter": "^0.7.0",
66-
"@auth/prisma-adapter": "^1.4.0",
65+
"@auth/drizzle-adapter": "^1.1.0",
66+
"@auth/prisma-adapter": "^1.6.0",
6767
"@libsql/client": "^0.6.0",
68-
"@planetscale/database": "^1.16.0",
69-
"@prisma/adapter-planetscale": "^5.10.2",
70-
"@prisma/client": "^5.10.2",
68+
"@planetscale/database": "^1.18.0",
69+
"@prisma/adapter-planetscale": "^5.14.0",
70+
"@prisma/client": "^5.14.0",
7171
"@t3-oss/env-nextjs": "^0.10.1",
72-
"@tanstack/react-query": "^5.25.0",
73-
"@trpc/client": "next",
74-
"@trpc/next": "next",
75-
"@trpc/react-query": "next",
76-
"@trpc/server": "next",
72+
"@tanstack/react-query": "^5.39.0",
73+
"@trpc/client": "11.0.0-rc.377",
74+
"@trpc/next": "11.0.0-rc.377",
75+
"@trpc/react-query": "11.0.0-rc.377",
76+
"@trpc/server": "11.0.0-rc.377",
7777
"@types/fs-extra": "^11.0.4",
78-
"@types/gradient-string": "^1.1.5",
78+
"@types/gradient-string": "^1.1.6",
7979
"@types/node": "^20.12.12",
80-
"drizzle-kit": "^0.21.0",
81-
"drizzle-orm": "^0.29.4",
82-
"mysql2": "^3.9.1",
83-
"next": "^14.2.1",
84-
"next-auth": "^4.24.6",
85-
"postgres": "^3.4.3",
80+
"drizzle-kit": "^0.21.4",
81+
"drizzle-orm": "^0.30.10",
82+
"mysql2": "^3.9.7",
83+
"next": "^14.2.3",
84+
"next-auth": "^4.24.7",
85+
"postgres": "^3.4.4",
8686
"prettier": "^3.2.5",
8787
"prettier-plugin-tailwindcss": "^0.5.14",
88-
"prisma": "^5.10.2",
89-
"react": "18.2.0",
90-
"react-dom": "18.2.0",
88+
"prisma": "^5.14.0",
89+
"react": "^18.3.0",
90+
"react-dom": "^18.3.0",
9191
"superjson": "^2.2.1",
92-
"tailwindcss": "^3.4.1",
92+
"tailwindcss": "^3.4.3",
9393
"tsup": "^6.7.0",
94-
"type-fest": "^3.7.0",
95-
"typescript": "^5.4.2",
96-
"zod": "^3.23.3"
94+
"type-fest": "^3.13.1",
95+
"typescript": "^5.4.5",
96+
"zod": "^3.23.8"
9797
}
9898
}

cli/src/installers/dependencyVersionMap.ts

+14-15
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,36 @@
44
*/
55
export const dependencyVersionMap = {
66
// NextAuth.js
7-
"next-auth": "^4.24.6",
8-
"@auth/prisma-adapter": "^1.4.0",
9-
"@auth/drizzle-adapter": "^0.7.0",
7+
"next-auth": "^4.24.7",
8+
"@auth/prisma-adapter": "^1.6.0",
9+
"@auth/drizzle-adapter": "^1.1.0",
1010

1111
// Prisma
12-
prisma: "^5.10.2",
13-
"@prisma/client": "^5.10.2",
14-
"@prisma/adapter-planetscale": "^5.10.2",
12+
prisma: "^5.14.0",
13+
"@prisma/client": "^5.14.0",
14+
"@prisma/adapter-planetscale": "^5.14.0",
1515

1616
// Drizzle
17-
"drizzle-orm": "^0.29.4",
18-
"drizzle-kit": "^0.21.0",
17+
"drizzle-orm": "^0.30.10",
18+
"drizzle-kit": "^0.21.4",
1919
"eslint-plugin-drizzle": "^0.2.3",
20-
mysql2: "^3.9.1",
21-
"@planetscale/database": "^1.16.0",
22-
postgres: "^3.4.3",
23-
pg: "^8.11.3",
20+
mysql2: "^3.9.7",
21+
"@planetscale/database": "^1.18.0",
22+
postgres: "^3.4.4",
2423
"@libsql/client": "^0.6.0",
2524

2625
// TailwindCSS
27-
tailwindcss: "^3.4.1",
26+
tailwindcss: "^3.4.3",
2827
postcss: "^8.4.34",
2928
prettier: "^3.2.5",
30-
"prettier-plugin-tailwindcss": "^0.5.11",
29+
"prettier-plugin-tailwindcss": "^0.5.14",
3130

3231
// tRPC
3332
"@trpc/client": "next",
3433
"@trpc/server": "next",
3534
"@trpc/react-query": "next",
3635
"@trpc/next": "next",
37-
"@tanstack/react-query": "^5.25.0",
36+
"@tanstack/react-query": "^5.39.0",
3837
superjson: "^2.2.1",
3938
"server-only": "^0.0.1",
4039
} as const;

cli/src/installers/drizzle.ts

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export const drizzleInstaller: Installer = ({
1717
"drizzle-kit",
1818
"eslint-plugin-drizzle",
1919
];
20-
if (databaseProvider === "planetscale") devPackages.push("mysql2");
21-
if (databaseProvider === "postgres") devPackages.push("pg");
2220

2321
addPackageDependency({
2422
projectDir,

cli/template/base/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"@t3-oss/env-nextjs": "^0.10.1",
1414
"geist": "^1.3.0",
1515
"next": "^14.2.1",
16-
"react": "18.2.0",
17-
"react-dom": "18.2.0",
16+
"react": "^18.3.0",
17+
"react-dom": "^18.3.0",
1818
"zod": "^3.23.3"
1919
},
2020
"devDependencies": {

cli/template/extras/src/server/auth-app/with-drizzle.ts

+12-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ import DiscordProvider from "next-auth/providers/discord";
99

1010
import { env } from "~/env";
1111
import { db } from "~/server/db";
12-
import { createTable } from "~/server/db/schema";
12+
import {
13+
accounts,
14+
sessions,
15+
users,
16+
verificationTokens,
17+
} from "~/server/db/schema";
1318

1419
/**
1520
* Module augmentation for `next-auth` types. Allows us to add custom properties to the `session`
@@ -47,7 +52,12 @@ export const authOptions: NextAuthOptions = {
4752
},
4853
}),
4954
},
50-
adapter: DrizzleAdapter(db, createTable) as Adapter,
55+
adapter: DrizzleAdapter(db, {
56+
usersTable: users,
57+
accountsTable: accounts,
58+
sessionsTable: sessions,
59+
verificationTokensTable: verificationTokens,
60+
}) as Adapter,
5161
providers: [
5262
DiscordProvider({
5363
clientId: env.DISCORD_CLIENT_ID,

cli/template/extras/src/server/auth-pages/with-drizzle.ts

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ import DiscordProvider from "next-auth/providers/discord";
1010

1111
import { env } from "~/env";
1212
import { db } from "~/server/db";
13-
import { createTable } from "~/server/db/schema";
13+
import {
14+
accounts,
15+
sessions,
16+
users,
17+
verificationTokens,
18+
} from "~/server/db/schema";
1419

1520
/**
1621
* Module augmentation for `next-auth` types. Allows us to add custom properties to the `session`
@@ -48,7 +53,12 @@ export const authOptions: NextAuthOptions = {
4853
},
4954
}),
5055
},
51-
adapter: DrizzleAdapter(db, createTable) as Adapter,
56+
adapter: DrizzleAdapter(db, {
57+
usersTable: users,
58+
accountsTable: accounts,
59+
sessionsTable: sessions,
60+
verificationTokensTable: verificationTokens,
61+
}) as Adapter,
5262
providers: [
5363
DiscordProvider({
5464
clientId: env.DISCORD_CLIENT_ID,

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@
5555
"@typescript-eslint/parser": "^7.10.0",
5656
"eslint": "^8.57.0",
5757
"eslint-config-prettier": "^9.1.0",
58-
"eslint-plugin-import": "^2.27.5",
58+
"eslint-plugin-import": "^2.29.1",
5959
"eslint-plugin-isaacscript": "^2.6.7",
6060
"eslint-plugin-prettier": "^5.1.3",
61-
"eslint-plugin-react": "^7.32.2",
62-
"eslint-plugin-react-hooks": "^4.6.0",
61+
"eslint-plugin-react": "^7.34.1",
62+
"eslint-plugin-react-hooks": "^4.6.2",
6363
"prettier": "^3.2.5",
6464
"turbo": "1.13.3-canary.3",
65-
"typescript": "^5.4.2"
65+
"typescript": "^5.4.5"
6666
}
6767
}

0 commit comments

Comments
 (0)