From d775c6e19b1caa4de391f345a5ac6ffe73cf9d01 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Sun, 8 Dec 2024 09:09:18 +0900 Subject: [PATCH] chore: types too --- package.json | 4 +- pnpm-lock.yaml | 152 ++++++++++++++++++++++++------------------------- 2 files changed, 75 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index 0c94cf35e..6e6a7d7b8 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "@playwright/test": "^1.45.1", "@tsconfig/strictest": "^2.0.5", "@types/node": "^20.14.10", - "@types/react": "18.3.3", - "@types/react-dom": "18.3.0", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react-swc": "^3.7.0", "esbuild": "^0.23.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d29735eb8..8bcca52aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,8 +10,8 @@ overrides: react-dom: ^19.0.0 react-is: ^19.0.0 react-server-dom-webpack: ^19.0.0 - '@types/react': 18.3.3 - '@types/react-dom': 18.3.0 + '@types/react': ^19.0.1 + '@types/react-dom': ^19.0.1 importers: @@ -33,11 +33,11 @@ importers: specifier: ^20.14.10 version: 20.14.10 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -275,11 +275,11 @@ importers: specifier: ^2.0.13 version: 2.0.13 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -315,11 +315,11 @@ importers: specifier: ^4.20240925.0 version: 4.20240925.0 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 vite: specifier: ^5.3.3 version: 5.3.3(@types/node@20.14.10)(terser@5.31.2) @@ -346,11 +346,11 @@ importers: specifier: ^1.45.1 version: 1.45.1 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 vite: specifier: ^5.3.3 version: 5.3.3(@types/node@20.14.10)(terser@5.31.2) @@ -374,11 +374,11 @@ importers: version: 19.0.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(webpack@5.93.0(@swc/core@1.6.13(@swc/helpers@0.5.12))(esbuild@0.23.0)) devDependencies: '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 vite: specifier: ^5.3.3 version: 5.3.3(@types/node@20.14.10)(terser@5.31.2) @@ -405,11 +405,11 @@ importers: specifier: ^1.45.1 version: 1.45.1 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 vite: specifier: ^5.3.3 version: 5.3.3(@types/node@20.14.10)(terser@5.31.2) @@ -433,11 +433,11 @@ importers: version: 19.0.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(webpack@5.93.0(@swc/core@1.6.13(@swc/helpers@0.5.12))(esbuild@0.23.0)) devDependencies: '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 tailwindcss: specifier: ^3.4.10 version: 3.4.10 @@ -470,11 +470,11 @@ importers: specifier: ^1.45.1 version: 1.45.1 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: latest version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -504,11 +504,11 @@ importers: specifier: latest version: link:../../../vite-plugin-ssr-middleware '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -638,11 +638,11 @@ importers: specifier: ^4.17.21 version: 4.17.21 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -683,11 +683,11 @@ importers: specifier: latest version: link:../../../vite-import-dev-server '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -731,11 +731,11 @@ importers: specifier: ^4.17.21 version: 4.17.21 '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -807,11 +807,11 @@ importers: specifier: latest version: link:../.. '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -843,11 +843,11 @@ importers: specifier: latest version: link:../.. '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -895,11 +895,11 @@ importers: specifier: 2.8.1 version: 2.8.1(@types/node@20.14.10)(terser@5.31.2)(typescript@5.5.4)(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2))(wrangler@3.79.0(@cloudflare/workers-types@4.20240925.0)) '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 packages/vite-null-export: dependencies: @@ -944,11 +944,11 @@ importers: specifier: latest version: link:../.. '@types/react': - specifier: 18.3.3 - version: 18.3.3 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.3(@types/node@20.14.10)(terser@5.31.2)) @@ -2521,20 +2521,17 @@ packages: '@types/node@20.14.10': resolution: {integrity: sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==} - '@types/prop-types@15.7.12': - resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} - '@types/qs@6.9.12': resolution: {integrity: sha512-bZcOkJ6uWrL0Qb2NAWKa7TBU+mJHPzhx9jjLL1KHF+XpzEcR7EXHvjbHlGtR/IsP1vyPrehuS6XqkmaePy//mg==} '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - '@types/react-dom@18.3.0': - resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} + '@types/react-dom@19.0.1': + resolution: {integrity: sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==} - '@types/react@18.3.3': - resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} '@types/send@0.17.4': resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} @@ -6872,19 +6869,16 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/prop-types@15.7.12': {} - '@types/qs@6.9.12': {} '@types/range-parser@1.2.7': {} - '@types/react-dom@18.3.0': + '@types/react-dom@19.0.1': dependencies: - '@types/react': 18.3.3 + '@types/react': 19.0.1 - '@types/react@18.3.3': + '@types/react@19.0.1': dependencies: - '@types/prop-types': 15.7.12 csstype: 3.1.3 '@types/send@0.17.4':