Skip to content

Commit

Permalink
chore: bump some deps (t3-oss#1667)
Browse files Browse the repository at this point in the history
housekeeping
  • Loading branch information
juliusmarminge committed Nov 19, 2023
1 parent 3317a41 commit 43cc10b
Show file tree
Hide file tree
Showing 16 changed files with 353 additions and 323 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-goats-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-t3-app": patch
---

chore: bump some deps
32 changes: 16 additions & 16 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,31 +62,31 @@
"sort-package-json": "^2.4.1"
},
"devDependencies": {
"@auth/drizzle-adapter": "^0.3.5",
"@auth/drizzle-adapter": "^0.3.6",
"@next-auth/prisma-adapter": "^1.0.7",
"@planetscale/database": "^1.11.0",
"@prisma/client": "^5.1.1",
"@t3-oss/env-nextjs": "^0.7.0",
"@tanstack/react-query": "^4.32.6",
"@trpc/client": "^10.37.1",
"@trpc/next": "^10.37.1",
"@trpc/react-query": "^10.37.1",
"@trpc/server": "^10.37.1",
"@prisma/client": "^5.6.0",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^4.36.1",
"@trpc/client": "^10.43.6",
"@trpc/next": "^10.43.6",
"@trpc/react-query": "^10.43.6",
"@trpc/server": "^10.43.6",
"@types/fs-extra": "^11.0.1",
"@types/gradient-string": "^1.1.2",
"@types/inquirer": "^9.0.3",
"@types/node": "^18.16.0",
"@types/node": "^18.17.0",
"drizzle-kit": "^0.19.13",
"drizzle-orm": "^0.28.5",
"next": "^14.0.0",
"next-auth": "^4.24.4",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.1",
"prisma": "^4.14.0",
"next": "^14.0.3",
"next-auth": "^4.24.5",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
"prisma": "^5.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "^1.12.2",
"tailwindcss": "^3.3.2",
"superjson": "^2.2.1",
"tailwindcss": "^3.3.5",
"tsup": "^6.7.0",
"type-fest": "^3.7.0",
"typescript": "^5.0.4",
Expand Down
30 changes: 15 additions & 15 deletions cli/src/installers/dependencyVersionMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,34 @@
*/
export const dependencyVersionMap = {
// NextAuth.js
"next-auth": "^4.24.4",
"next-auth": "^4.24.5",
"@next-auth/prisma-adapter": "^1.0.7",
"@auth/drizzle-adapter": "^0.3.5",
"@auth/drizzle-adapter": "^0.3.6",

// Prisma
prisma: "^5.1.1",
"@prisma/client": "^5.1.1",
prisma: "^5.6.0",
"@prisma/client": "^5.6.0",

// Drizzle
"drizzle-orm": "^0.28.5",
"drizzle-kit": "^0.19.13",
"drizzle-kit": "^0.19.3",
"dotenv-cli": "^7.3.0",
mysql2: "^3.6.1",
"@planetscale/database": "^1.11.0",

// TailwindCSS
tailwindcss: "^3.3.3",
tailwindcss: "^3.3.5",
autoprefixer: "^10.4.14",
postcss: "^8.4.27",
prettier: "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.1",
postcss: "^8.4.31",
prettier: "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",

// tRPC
"@trpc/client": "^10.37.1",
"@trpc/server": "^10.37.1",
"@trpc/react-query": "^10.37.1",
"@trpc/next": "^10.37.1",
"@tanstack/react-query": "^4.32.6",
superjson: "^1.13.1",
"@trpc/client": "^10.43.6",
"@trpc/server": "^10.43.6",
"@trpc/react-query": "^10.43.6",
"@trpc/next": "^10.43.6",
"@tanstack/react-query": "^4.36.1",
superjson: "^2.2.1",
} as const;
export type AvailableDependencies = keyof typeof dependencyVersionMap;
8 changes: 4 additions & 4 deletions cli/src/installers/envVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export const envVariablesInstaller: Installer = ({ projectDir, packages }) => {
usingAuth && usingDb
? "with-auth-db.js"
: usingAuth
? "with-auth.js"
: usingDb
? "with-db.js"
: "";
? "with-auth.js"
: usingDb
? "with-db.js"
: "";

if (envFile !== "") {
const envSchemaSrc = path.join(
Expand Down
4 changes: 2 additions & 2 deletions cli/src/installers/nextAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export const nextAuthInstaller: Installer = ({
usingPrisma
? "with-prisma.ts"
: usingDrizzle
? "with-drizzle.ts"
: "base.ts"
? "with-drizzle.ts"
: "base.ts"
);
const authConfigDest = path.join(projectDir, "src/server/auth.ts");

Expand Down
24 changes: 12 additions & 12 deletions cli/src/installers/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export const trpcInstaller: Installer = ({
usingAuth && usingDb
? "with-auth-db.ts"
: usingAuth
? "with-auth.ts"
: usingDb
? "with-db.ts"
: "base.ts";
? "with-auth.ts"
: usingDb
? "with-db.ts"
: "base.ts";
const trpcSrc = path.join(
extrasDir,
"src/server/api",
Expand All @@ -60,14 +60,14 @@ export const trpcInstaller: Installer = ({
usingAuth && usingPrisma
? "with-auth-prisma.ts"
: usingAuth && usingDrizzle
? "with-auth-drizzle.ts"
: usingAuth
? "with-auth.ts"
: usingPrisma
? "with-prisma.ts"
: usingDrizzle
? "with-drizzle.ts"
: "base.ts";
? "with-auth-drizzle.ts"
: usingAuth
? "with-auth.ts"
: usingPrisma
? "with-prisma.ts"
: usingDrizzle
? "with-drizzle.ts"
: "base.ts";

const exampleRouterSrc = path.join(
extrasDir,
Expand Down
2 changes: 1 addition & 1 deletion cli/template/base/_eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config = {
},
plugins: ["@typescript-eslint"],
extends: [
"next/core-web-vitals",
"plugin:@next/next/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
],
Expand Down
20 changes: 10 additions & 10 deletions cli/template/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"lint": "next lint"
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.7.0",
"next": "^14.0.0",
"@t3-oss/env-nextjs": "^0.7.1",
"next": "^14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/eslint": "^8.44.2",
"@types/node": "^18.16.0",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.47.0",
"eslint-config-next": "^14.0.0",
"@next/eslint-plugin-next": "^14.0.3",
"@types/eslint": "^8.44.7",
"@types/node": "^18.17.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"typescript": "^5.1.6"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@
"@manypkg/cli": "^0.20.0",
"@total-typescript/ts-reset": "^0.3.7",
"@types/eslint": "^8.37.0",
"@types/node": "^18.16.0",
"@types/node": "^18.17.0",
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-turbo": "^0.0.9",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-isaacscript": "^2.6.7",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.0",
"prettier": "^3.1.0",
"turbo": "^1.9.6",
"typescript": "^5.0.4"
}
Expand Down
Loading

0 comments on commit 43cc10b

Please sign in to comment.