Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to typescript 5.7 #2910

Merged
merged 4 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
"temp-react",
"temp-react-dom",
"typescript",
"typescript50",
"typescript51",
"typescript52",
"typescript53",
"typescript54",
"typescript55",
"typescript56",
"unplugin",
"use-sync-external-store",
"waku"
Expand Down
2 changes: 1 addition & 1 deletion e2e/start/basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion e2e/start/basic-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion e2e/start/basic-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
},
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion e2e/start/basic-tsr-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"typescript": "^5.6.2"
"typescript": "^5.7.2"
}
}
2 changes: 1 addition & 1 deletion e2e/start/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion e2e/start/clerk-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion e2e/start/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/quickstart-webpack-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/react-dom": "^18.3.0",
"html-webpack-plugin": "^5.6.3",
"swc-loader": "^0.2.6",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/router-monorepo-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@types/node": "^22.7.4",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"typescript": "^5.7.2",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"@tanstack/router-devtools": "^1.85.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react/router-monorepo-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"@tanstack/router-devtools": "^1.85.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react/start-basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-basic-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-basic-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
},
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion examples/react/start-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-clerk-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-convex-trellaux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"typescript": "^5.6.2"
"typescript": "^5.7.2"
}
}
2 changes: 1 addition & 1 deletion examples/react/start-large/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion examples/react/start-supabase-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite-tsconfig-paths": "^5.1.3"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
"react-dom": "^18.3.1",
"redaxios": "^0.5.1",
"rimraf": "^6.0.1",
"typescript": "^5.6.3",
"typescript51": "npm:typescript@5.1",
"typescript": "^5.7.2",
"typescript52": "npm:typescript@5.2",
"typescript53": "npm:typescript@5.3",
"typescript54": "npm:typescript@5.4",
"typescript55": "npm:typescript@5.5",
"typescript56": "npm:typescript@5.6",
"vite": "^5.4.11",
"vitest": "^2.1.6"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/arktype-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch --typecheck",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"swc-loader": "^0.2.6",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.8",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"clean": "rimraf ./dist ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch --typecheck",
"test:build": "publint --strict && attw --pack .",
Expand Down
4 changes: 2 additions & 2 deletions packages/history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-cross-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"build": "vite build"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-with-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts56": "tsc -p tsconfig.legacy.json",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts57": "tsc -p tsconfig.legacy.json",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests",
"test:perf": "vitest bench",
Expand Down
4 changes: 2 additions & 2 deletions packages/router-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"build": "vite build"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/router-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"build": "vite build"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/router-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"clean:snapshots": "rimraf **/*snapshot* --glob",
"test:eslint": "eslint ./src",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
"test:types:ts56": "tsc",
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
"test:types:ts57": "tsc",
"test:unit": "vitest",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"build": "vite build"
Expand Down
Loading
Loading