From ff886b3fed4b193b8fc85882a71c7e8085457cf0 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 22 Apr 2024 10:49:33 +0200 Subject: [PATCH] chore: bumps zod and t3-env (#1838) --- .changeset/five-llamas-drop.md | 5 ++++ cli/package.json | 4 +-- cli/template/base/package.json | 4 +-- pnpm-lock.yaml | 50 +++++++++++++++++----------------- upgrade/package.json | 4 +-- www/package.json | 2 +- 6 files changed, 37 insertions(+), 32 deletions(-) create mode 100644 .changeset/five-llamas-drop.md diff --git a/.changeset/five-llamas-drop.md b/.changeset/five-llamas-drop.md new file mode 100644 index 0000000000..deb20fd322 --- /dev/null +++ b/.changeset/five-llamas-drop.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +bump zod and t3-env diff --git a/cli/package.json b/cli/package.json index 35220aa3c9..2a471d5c0b 100644 --- a/cli/package.json +++ b/cli/package.json @@ -68,7 +68,7 @@ "@planetscale/database": "^1.16.0", "@prisma/adapter-planetscale": "^5.10.2", "@prisma/client": "^5.10.2", - "@t3-oss/env-nextjs": "^0.9.2", + "@t3-oss/env-nextjs": "^0.10.0", "@tanstack/react-query": "^5.25.0", "@trpc/client": "next", "@trpc/next": "next", @@ -93,6 +93,6 @@ "tsup": "^6.7.0", "type-fest": "^3.7.0", "typescript": "^5.4.2", - "zod": "3.22.4" + "zod": "^3.23.0" } } diff --git a/cli/template/base/package.json b/cli/template/base/package.json index 55f961f64a..02672e3e40 100644 --- a/cli/template/base/package.json +++ b/cli/template/base/package.json @@ -10,11 +10,11 @@ "lint": "next lint" }, "dependencies": { - "@t3-oss/env-nextjs": "^0.9.2", + "@t3-oss/env-nextjs": "^0.10.0", "next": "^14.2.1", "react": "18.2.0", "react-dom": "18.2.0", - "zod": "3.22.4" + "zod": "^3.23.0" }, "devDependencies": { "@types/eslint": "^8.56.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63a39113f4..2f4a7ed84f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,8 +115,8 @@ importers: specifier: ^5.10.2 version: 5.10.2(prisma@5.10.2) '@t3-oss/env-nextjs': - specifier: ^0.9.2 - version: 0.9.2(typescript@5.4.2)(zod@3.22.4) + specifier: ^0.10.0 + version: 0.10.0(typescript@5.4.2)(zod@3.23.0) '@tanstack/react-query': specifier: ^5.25.0 version: 5.25.0(react@18.2.0) @@ -190,8 +190,8 @@ importers: specifier: ^5.4.2 version: 5.4.2 zod: - specifier: 3.22.4 - version: 3.22.4 + specifier: ^3.23.0 + version: 3.23.0 upgrade: dependencies: @@ -223,8 +223,8 @@ importers: specifier: ^1.0.1 version: 1.0.1(react@18.2.0) '@t3-oss/env-nextjs': - specifier: ^0.9.2 - version: 0.9.2(typescript@5.4.2)(zod@3.22.4) + specifier: ^0.10.0 + version: 0.10.0(typescript@5.4.2)(zod@3.23.0) class-variance-authority: specifier: ^0.6.0 version: 0.6.0(typescript@5.4.2) @@ -265,8 +265,8 @@ importers: specifier: ^1.0.5 version: 1.0.5(tailwindcss@3.4.1) zod: - specifier: 3.22.4 - version: 3.22.4 + specifier: ^3.23.0 + version: 3.23.0 devDependencies: '@types/eslint': specifier: ^8.56.2 @@ -386,8 +386,8 @@ importers: specifier: ^4.1.2 version: 4.1.2 zod: - specifier: 3.22.4 - version: 3.22.4 + specifier: ^3.23.0 + version: 3.23.0 devDependencies: '@astrojs/react': specifier: ^2.1.3 @@ -1991,8 +1991,8 @@ packages: resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==} engines: {node: '>=6'} - '@t3-oss/env-core@0.9.2': - resolution: {integrity: sha512-KgWXljUTHgO3o7GMZQPAD5+P+HqpauMNNHowlm7V2b9IeMitSUpNKwG6xQrup/xARWHTdxRVIl0mSI4wCevQhQ==} + '@t3-oss/env-core@0.10.0': + resolution: {integrity: sha512-2NJM7kBPYfxkvLSt0cX4UnQR3YMNOoqHKUWEEbxrqad0R1eqj1j2ZxU4HByQzYW8tBUD+kCSd00xJPoju/WJ1Q==} peerDependencies: typescript: '>=5.0.0' zod: ^3.0.0 @@ -2000,8 +2000,8 @@ packages: typescript: optional: true - '@t3-oss/env-nextjs@0.9.2': - resolution: {integrity: sha512-dklHrgKLESStNVB67Jdbu6osxDYA+xNKaPBRerlnkEvzbCccSKMvZENx6EZebJuR4snqB3/yRykNMn/bdIAyiQ==} + '@t3-oss/env-nextjs@0.10.0': + resolution: {integrity: sha512-JMpWF8dyI3ska1wFX92An7Y7AQicRn11be0z10c3TletATvdmFJzazb28VbgAX6fKuXJRRxBoiKNGIdLWVVsig==} peerDependencies: typescript: '>=5.0.0' zod: ^3.0.0 @@ -6497,8 +6497,8 @@ packages: yoga-wasm-web@0.3.3: resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==} - zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + zod@3.23.0: + resolution: {integrity: sha512-OFLT+LTocvabn6q76BTwVB0hExEBS0IduTr3cqZyMqEDbOnYmcU+y0tUAYbND4uwclpBGi4I4UUBGzylWpjLGA==} zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -6705,7 +6705,7 @@ snapshots: '@astrojs/sitemap@1.3.1': dependencies: sitemap: 7.1.1 - zod: 3.22.4 + zod: 3.23.0 '@astrojs/tailwind@3.1.2(astro@2.5.5(@types/node@20.11.20)(sharp@0.32.6)(terser@5.19.2))(tailwindcss@3.4.1)': dependencies: @@ -8141,16 +8141,16 @@ snapshots: dependencies: defer-to-connect: 1.1.3 - '@t3-oss/env-core@0.9.2(typescript@5.4.2)(zod@3.22.4)': + '@t3-oss/env-core@0.10.0(typescript@5.4.2)(zod@3.23.0)': dependencies: - zod: 3.22.4 + zod: 3.23.0 optionalDependencies: typescript: 5.4.2 - '@t3-oss/env-nextjs@0.9.2(typescript@5.4.2)(zod@3.22.4)': + '@t3-oss/env-nextjs@0.10.0(typescript@5.4.2)(zod@3.23.0)': dependencies: - '@t3-oss/env-core': 0.9.2(typescript@5.4.2)(zod@3.22.4) - zod: 3.22.4 + '@t3-oss/env-core': 0.10.0(typescript@5.4.2)(zod@3.23.0) + zod: 3.23.0 optionalDependencies: typescript: 5.4.2 @@ -8856,7 +8856,7 @@ snapshots: vite: 4.4.6(@types/node@20.11.20)(terser@5.19.2) vitefu: 0.2.4(vite@4.4.6(@types/node@20.11.20)(terser@5.19.2)) yargs-parser: 21.1.1 - zod: 3.22.4 + zod: 3.23.0 optionalDependencies: sharp: 0.32.6 transitivePeerDependencies: @@ -9394,7 +9394,7 @@ snapshots: json-diff: 0.9.0 minimatch: 7.4.6 semver: 7.5.4 - zod: 3.22.4 + zod: 3.23.0 transitivePeerDependencies: - supports-color @@ -13567,6 +13567,6 @@ snapshots: yoga-wasm-web@0.3.3: {} - zod@3.22.4: {} + zod@3.23.0: {} zwitch@2.0.4: {} diff --git a/upgrade/package.json b/upgrade/package.json index 23c544ab94..03ba41c33a 100644 --- a/upgrade/package.json +++ b/upgrade/package.json @@ -24,7 +24,7 @@ "@radix-ui/react-label": "^2.0.1", "@radix-ui/react-select": "^1.2.1", "@radix-ui/react-slot": "^1.0.1", - "@t3-oss/env-nextjs": "^0.9.2", + "@t3-oss/env-nextjs": "^0.10.0", "class-variance-authority": "^0.6.0", "clsx": "^1.2.1", "gitdiff-parser": "^0.3.1", @@ -38,7 +38,7 @@ "shiki": "^0.14.1", "tailwind-merge": "^1.12.0", "tailwindcss-animate": "^1.0.5", - "zod": "3.22.4" + "zod": "^3.23.0" }, "devDependencies": { "@types/eslint": "^8.56.2", diff --git a/www/package.json b/www/package.json index 499872e30b..fc00671070 100644 --- a/www/package.json +++ b/www/package.json @@ -39,7 +39,7 @@ "tailwind-scrollbar": "^3.0.0", "treeify": "^1.1.0", "unist-util-visit": "^4.1.2", - "zod": "3.22.4" + "zod": "^3.23.0" }, "devDependencies": { "@astrojs/react": "^2.1.3",