Update package versions

This commit is contained in:
Nate Kelley 2025-10-07 22:29:27 -06:00
parent cbf93f8346
commit 8901b99bb8
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 2098 additions and 356 deletions

View File

@ -98,24 +98,25 @@
"@supabase/supabase-js": "catalog:",
"@t3-oss/env-core": "^0.13.8",
"@tailwindcss/vite": "^4.1.14",
"@tanstack/db": "^0.4.4",
"@tanstack/db": "^0.4.6",
"@tanstack/match-sorter-utils": "^8.19.4",
"@tanstack/query-db-collection": "0.2.25",
"@tanstack/react-db": "0.1.26",
"@tanstack/nitro-v2-vite-plugin": "^1.132.40",
"@tanstack/query-db-collection": "0.2.27",
"@tanstack/react-db": "0.1.28",
"@tanstack/react-devtools": "^0.7.2",
"@tanstack/react-form": "^1.23.5",
"@tanstack/react-form": "^1.23.6",
"@tanstack/react-query": "^5.90.2",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-query-persist-client": "^5.90.2",
"@tanstack/react-router": "^1.132.41",
"@tanstack/react-router-devtools": "^1.132.41",
"@tanstack/react-router-ssr-query": "^1.132.41",
"@tanstack/react-router": "^1.132.47",
"@tanstack/react-router-devtools": "^1.132.50",
"@tanstack/react-router-ssr-query": "^1.132.47",
"@tanstack/react-router-with-query": "^1.130.17",
"@tanstack/react-start": "^1.132.43",
"@tanstack/react-start": "^1.132.48",
"@tanstack/react-store": "^0.7.7",
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.13.12",
"@tanstack/router-plugin": "^1.132.41",
"@tanstack/router-plugin": "^1.132.47",
"@tanstack/store": "^0.7.7",
"@testing-library/jest-dom": "^6.9.1",
"@tiptap/core": "^3.6.5",
@ -158,7 +159,7 @@
"mutative": "^1.3.0",
"platejs": "49.2.21",
"pluralize": "^8.0.0",
"posthog-js": "^1.271.0",
"posthog-js": "^1.273.0",
"qs": "^6.14.0",
"react": "catalog:",
"react-colorful": "^5.6.1",
@ -187,7 +188,7 @@
"use-file-picker": "^2.1.4",
"utility-types": "^3.11.0",
"uuid": "catalog:",
"virtua": "^0.44.2",
"virtua": "^0.44.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest-browser-react": "^1.0.1",
"zod": "catalog:"
@ -200,7 +201,7 @@
"@storybook/addon-vitest": "^9.1.10",
"@storybook/react-vite": "^9.1.10",
"@tanstack/devtools-event-client": "^0.3.2",
"@tanstack/router-cli": "^1.132.41",
"@tanstack/router-cli": "^1.132.47",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@types/canvas-confetti": "^1.9.0",

View File

@ -1,10 +1,11 @@
import { execSync } from 'node:child_process';
import tailwindcss from '@tailwindcss/vite';
import { nitroV2Plugin } from '@tanstack/nitro-v2-vite-plugin';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
import viteReact from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import checker from 'vite-plugin-checker';
import viteTsConfigPaths from 'vite-tsconfig-paths';
import tsConfigPaths from 'vite-tsconfig-paths';
const commitHash = execSync('git rev-parse --short HEAD').toString().trim();
@ -15,11 +16,6 @@ const config = defineConfig(({ command, mode }) => {
const useChecker = !process.env.VITEST && isBuild;
const isLocalBuild = process.argv.includes('--local') || mode === 'development';
const isVercelBuild = process.env.VERCEL === '1' || process.env.CI === '1';
const target = isLocalBuild
? ('bun' as const)
: isVercelBuild
? ('vercel' as const)
: ('bun' as const);
// Generate a unique version identifier for both build tracking and asset versioning
const buildId =
@ -38,16 +34,13 @@ const config = defineConfig(({ command, mode }) => {
'import.meta.env.VITE_BUILD_ID': JSON.stringify(buildId),
'import.meta.env.VITE_BUILD_AT': JSON.stringify(buildAt),
},
optimizeDeps: {
exclude: ['playwright', 'playwright-core', 'chromium-bidi'],
},
plugins: [
// this is the plugin that enables path aliases
viteTsConfigPaths({ projects: ['./tsconfig.json'] }),
tsConfigPaths({ projects: ['./tsconfig.json'] }),
tailwindcss(),
tanstackStart({
customViteReactPlugin: true,
target,
tanstackStart(),
nitroV2Plugin({
preset: isLocalBuild && !isVercelBuild ? 'bun' : 'node-server',
}),
viteReact(),
useChecker
@ -59,9 +52,8 @@ const config = defineConfig(({ command, mode }) => {
],
worker: { format: 'es' },
build: {
chunkSizeWarningLimit: 1250,
minify: isProduction ? 'esbuild' : false,
reportCompressedSize: false, // Disable gzip size reporting to speed up build
chunkSizeWarningLimit: 1500,
reportCompressedSize: true, // Disable gzip size reporting to speed up build
rollupOptions: {
// Exclude test and stories files from build
external: (id) => {
@ -69,7 +61,6 @@ const config = defineConfig(({ command, mode }) => {
if (/\.(test|stories)\.(js|ts|jsx|tsx)$/.test(id)) {
return true;
}
// Don't externalize React and React DOM - let them be bundled
return false;
},
@ -93,12 +84,6 @@ const config = defineConfig(({ command, mode }) => {
}
},
},
// Optimize tree-shaking for CloudFlare
treeshake: {
moduleSideEffects: false,
propertyReadSideEffects: false,
tryCatchDeoptimization: false,
},
},
},
};

File diff suppressed because it is too large Load Diff