From 05b8bebf1d4f1db2949a1405724f5bfcb8f58744 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Sun, 12 Mar 2023 01:43:55 +0800 Subject: [PATCH 1/3] build: upgrade typescript to v5 --- package.json | 2 +- packages/design/package.json | 2 +- packages/icons/package.json | 2 +- packages/utils/package.json | 2 +- packages/website/package.json | 2 +- pnpm-lock.yaml | 237 +++++++++++++++++----------------- tsconfig.json | 3 +- 7 files changed, 129 insertions(+), 121 deletions(-) diff --git a/package.json b/package.json index c4bf41934..54834a4d2 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "stylelint-config-css-modules": "^4.2.0", "stylelint-config-standard": "^30.0.1", "timezone-mock": "^1.3.6", - "typescript": "^4.9.5", + "typescript": "^5.0.1-rc", "vite": "^4.1.2", "vite-plugin-svgr": "^2.4.0", "vitest": "^0.28.4", diff --git a/packages/design/package.json b/packages/design/package.json index 1a0a857c7..48a811a74 100644 --- a/packages/design/package.json +++ b/packages/design/package.json @@ -28,7 +28,7 @@ "msw": "^1.0.1", "react-hook-form": "^7.43.1", "react-router-dom": "^6.8.1", - "typescript": "^4.9.5", + "typescript": "^5.0.1-rc", "vite": "^4.1.2", "vite-plugin-svgr": "^2.4.0" }, diff --git a/packages/icons/package.json b/packages/icons/package.json index 6a442d701..1d8abe0c7 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -11,6 +11,6 @@ "@bangumi/utils": "workspace:0.0.0", "@storybook/react": "^6.5.16", "@types/react": "^18.0.28", - "typescript": "^4.9.5" + "typescript": "^5.0.1-rc" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 9ab6974b4..e579b4eb6 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -13,6 +13,6 @@ "@types/lodash": "^4.14.191", "@types/react": "^18.0.28", "js-yaml": "^4.1.0", - "typescript": "^4.9.5" + "typescript": "^5.0.1-rc" } } diff --git a/packages/website/package.json b/packages/website/package.json index 6547d8d32..257cab086 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -44,7 +44,7 @@ "openapi-types": "^12.1.0", "postcss": "^8.4.21", "postcss-less": "^6.0.0", - "typescript": "^4.9.5", + "typescript": "^5.0.1-rc", "vite": "^4.1.2", "vite-plugin-pages": "^0.28.0", "vite-plugin-svgr": "^2.4.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a75941bd7..cc25e1d55 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,7 +45,7 @@ importers: stylelint-config-css-modules: ^4.2.0 stylelint-config-standard: ^30.0.1 timezone-mock: ^1.3.6 - typescript: ^4.9.5 + typescript: ^5.0.1-rc vite: ^4.1.2 vite-plugin-svgr: ^2.4.0 vitest: ^0.28.4 @@ -61,8 +61,8 @@ importers: '@testing-library/react': 14.0.0_biqbaboplfbrettd7655fr4n2y '@types/node': 18.14.0 '@types/testing-library__jest-dom': 5.14.5 - '@typescript-eslint/eslint-plugin': 5.52.0_6cfvjsbua5ptj65675bqcn6oza - '@typescript-eslint/parser': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/eslint-plugin': 5.52.0_33une6q4pekq4oqyxswvgaojau + '@typescript-eslint/parser': 5.52.0_fza5zxhga7jm57t3nlmf434qle '@vitejs/plugin-react': 3.1.0_vite@4.1.2 '@vitest/coverage-c8': 0.28.5_itn5mhdgoxdt6nk7zeh5bmcq5a '@vitest/ui': 0.28.5 @@ -71,7 +71,7 @@ importers: eslint-config-standard: 17.0.0_rwq7hzy2vtlwiajbw6pmw3rkzy eslint-config-standard-jsx: 11.0.0_g6zv73k3ihflkspk4fqystlkye eslint-config-standard-react: 13.0.0_loxmahvyew7cryq7d67l7ot7zy - eslint-config-standard-with-typescript: 34.0.0_s4wyy3hkcfdlicuewz4avpo42q + eslint-config-standard-with-typescript: 34.0.0_crm22li3uorcn7vdicel5wploe eslint-import-resolver-typescript: 3.5.3_mvgyw3chnqkp6sgfmmtihyjpnm eslint-plugin-import: 2.27.5_gndiqgw2wrzfeqy4ccfxbmtnsi eslint-plugin-n: 15.6.1_eslint@8.34.0 @@ -93,7 +93,7 @@ importers: stylelint-config-css-modules: 4.2.0_stylelint@15.1.0 stylelint-config-standard: 30.0.1_stylelint@15.1.0 timezone-mock: 1.3.6 - typescript: 4.9.5 + typescript: 5.0.1-rc vite: 4.1.2_@types+node@18.14.0 vite-plugin-svgr: 2.4.0_vite@4.1.2 vitest: 0.28.5_itn5mhdgoxdt6nk7zeh5bmcq5a @@ -147,7 +147,7 @@ importers: react-hook-form: ^7.43.1 react-router-dom: ^6.8.1 reset-css: ^5.0.1 - typescript: ^4.9.5 + typescript: ^5.0.1-rc vite: ^4.1.2 vite-plugin-svgr: ^2.4.0 dependencies: @@ -160,10 +160,10 @@ importers: '@bangumi/client': link:../client '@bangumi/icons': link:../icons '@bangumi/utils': link:../utils - '@storybook/addon-essentials': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/addon-essentials': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/addon-links': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/builder-vite': 0.4.2_li3mi7l5obvr3srmivssltef2i - '@storybook/react': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/builder-vite': 0.4.2_uqv6qv2hzkrv3agbsb4wzgzwea + '@storybook/react': 6.5.16_n2bmin2ettucjwgezh2746oeua '@testing-library/react': 14.0.0_biqbaboplfbrettd7655fr4n2y '@types/lodash': 4.14.191 '@types/react': 18.0.28 @@ -171,10 +171,10 @@ importers: classnames: 2.3.2 less: 4.1.3 lodash: 4.17.21 - msw: 1.0.1_typescript@4.9.5 + msw: 1.0.1_typescript@5.0.1-rc react-hook-form: 7.43.1_react@18.2.0 react-router-dom: 6.8.1_biqbaboplfbrettd7655fr4n2y - typescript: 4.9.5 + typescript: 5.0.1-rc vite: 4.1.2_less@4.1.3 vite-plugin-svgr: 2.4.0_vite@4.1.2 @@ -185,15 +185,15 @@ importers: '@types/react': ^18.0.28 react: ^18.2.0 react-dom: ^18.2.0 - typescript: ^4.9.5 + typescript: ^5.0.1-rc dependencies: react: 18.2.0 react-dom: 18.2.0_react@18.2.0 devDependencies: '@bangumi/utils': link:../utils - '@storybook/react': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/react': 6.5.16_n2bmin2ettucjwgezh2746oeua '@types/react': 18.0.28 - typescript: 4.9.5 + typescript: 5.0.1-rc packages/server: specifiers: {} @@ -207,7 +207,7 @@ importers: js-yaml: ^4.1.0 lodash: ^4.17.21 nanoid: ^4.0.1 - typescript: ^4.9.5 + typescript: ^5.0.1-rc dependencies: '@bgm38/wiki': 0.2.2 lodash: 4.17.21 @@ -217,7 +217,7 @@ importers: '@types/lodash': 4.14.191 '@types/react': 18.0.28 js-yaml: 4.1.0 - typescript: 4.9.5 + typescript: 5.0.1-rc packages/website: specifiers: @@ -255,7 +255,7 @@ importers: reset-css: ^5.0.1 rooks: ^7.4.3 swr: ^2.0.3 - typescript: ^4.9.5 + typescript: ^5.0.1-rc vite: ^4.1.2 vite-plugin-pages: ^0.28.0 vite-plugin-svgr: ^2.4.0 @@ -291,11 +291,11 @@ importers: babel-plugin-jsx-remove-data-test-id: 3.0.0 babel-plugin-lodash: 3.3.4 less: 4.1.3 - msw: 1.0.1_typescript@4.9.5 + msw: 1.0.1_typescript@5.0.1-rc openapi-types: 12.1.0 postcss: 8.4.21 postcss-less: 6.0.0_postcss@8.4.21 - typescript: 4.9.5 + typescript: 5.0.1-rc vite: 4.1.2_less@4.1.3 vite-plugin-pages: 0.28.0_vite@4.1.2 vite-plugin-svgr: 2.4.0_vite@4.1.2 @@ -3637,7 +3637,7 @@ packages: chalk: 4.1.2 dev: true - /@joshwooding/vite-plugin-react-docgen-typescript/0.2.1_f7vjlzfn2qz6iyr4iasvdrpcpu: + /@joshwooding/vite-plugin-react-docgen-typescript/0.2.1_pz3epbaceipqohdc33glumd5qy: resolution: {integrity: sha512-ou4ZJSXMMWHqGS4g8uNRbC5TiTWxAgQZiVucoUrOCWuPrTbkpJbmVyIi9jU72SBry7gQtuMEDp4YR8EEXAg7VQ==} peerDependencies: typescript: '>= 4.3.x' @@ -3651,8 +3651,8 @@ packages: glob: 7.2.3 glob-promise: 4.2.2_glob@7.2.3 magic-string: 0.27.0 - react-docgen-typescript: 2.2.2_typescript@4.9.5 - typescript: 4.9.5 + react-docgen-typescript: 2.2.2_typescript@5.0.1-rc + typescript: 5.0.1-rc vite: 4.1.2_less@4.1.3 dev: true @@ -4059,7 +4059,7 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/addon-controls/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/addon-controls/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-kShSGjq1MjmmyL3l8i+uPz6yddtf82mzys0l82VKtcuyjrr5944wYFJ5NTXMfZxrO/U6FeFsfuFZE/k6ex3EMg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4074,7 +4074,7 @@ packages: '@storybook/api': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/client-logger': 6.5.16 '@storybook/components': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/node-logger': 6.5.16 '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -4093,7 +4093,7 @@ packages: - webpack-command dev: true - /@storybook/addon-docs/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/addon-docs/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-QM9WDZG9P02UvbzLu947a8ZngOrQeAKAT8jCibQFM/+RJ39xBlfm8rm+cQy3dm94wgtjmVkA3mKGOV/yrrsddg==} peerDependencies: '@storybook/mdx2-csf': ^0.0.3 @@ -4114,7 +4114,7 @@ packages: '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/api': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/components': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/core-events': 6.5.16 '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/docs-tools': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -4148,7 +4148,7 @@ packages: - webpack-command dev: true - /@storybook/addon-essentials/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/addon-essentials/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-TeoMr6tEit4Pe91GH6f8g/oar1P4M0JL9S6oMcFxxrhhtOGO7XkWD5EnfyCx272Ok2VYfE58FNBTGPNBVIqYKQ==} peerDependencies: '@babel/core': ^7.9.6 @@ -4209,15 +4209,15 @@ packages: dependencies: '@storybook/addon-actions': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addon-backgrounds': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/addon-controls': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq - '@storybook/addon-docs': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/addon-controls': 6.5.16_n2bmin2ettucjwgezh2746oeua + '@storybook/addon-docs': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/addon-measure': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addon-outline': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addon-toolbars': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addon-viewport': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/api': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/node-logger': 6.5.16 core-js: 3.27.1 react: 18.2.0 @@ -4405,7 +4405,7 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/builder-vite/0.4.2_li3mi7l5obvr3srmivssltef2i: + /@storybook/builder-vite/0.4.2_uqv6qv2hzkrv3agbsb4wzgzwea: resolution: {integrity: sha512-KBBiDdYCK0BCOns8iCVrtzaIiYQF9NjwQ7u3HY/a0bmAuaXPd9m3t6Tvp2jNwmdRAtHOHXnM+d6ROJAI77DCYg==} peerDependencies: '@storybook/mdx2-csf': '>=1.0.0-next.0' @@ -4431,8 +4431,8 @@ packages: vue-docgen-api: optional: true dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1_f7vjlzfn2qz6iyr4iasvdrpcpu - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1_pz3epbaceipqohdc33glumd5qy + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/mdx1-csf': 1.0.0-next.0_react@18.2.0 '@storybook/node-logger': 6.5.16 '@storybook/semver': 7.3.2 @@ -4457,7 +4457,7 @@ packages: - webpack-command dev: true - /@storybook/builder-webpack4/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/builder-webpack4/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-YqDIrVNsUo8r9xc6AxsYDLxVYtMgl5Bxk+8/h1adsOko+jAFhdg6hOcAVxEmoSI0TMASOOVMFlT2hr23ppN2rQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4475,7 +4475,7 @@ packages: '@storybook/client-api': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/client-logger': 6.5.16 '@storybook/components': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/core-events': 6.5.16 '@storybook/node-logger': 6.5.16 '@storybook/preview-web': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -4493,12 +4493,12 @@ packages: css-loader: 3.6.0_webpack@4.46.0 file-loader: 6.2.0_webpack@4.46.0 find-up: 5.0.0 - fork-ts-checker-webpack-plugin: 4.1.6_evijigonbo4skk2vlqtwtdqibu + fork-ts-checker-webpack-plugin: 4.1.6_fre5tgzq2mhubdhqjz62kaihui glob: 7.2.3 glob-promise: 3.4.0_glob@7.2.3 global: 4.4.0 html-webpack-plugin: 4.5.2_webpack@4.46.0 - pnp-webpack-plugin: 1.6.4_typescript@4.9.5 + pnp-webpack-plugin: 1.6.4_typescript@5.0.1-rc postcss: 7.0.39 postcss-flexbugs-fixes: 4.2.1 postcss-loader: 4.3.0_gzaxsinx64nntyd3vmdqwl7coe @@ -4509,7 +4509,7 @@ packages: style-loader: 1.3.0_webpack@4.46.0 terser-webpack-plugin: 4.2.3_webpack@4.46.0 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc url-loader: 4.1.1_lit45vopotvaqup7lrvlnvtxwy util-deprecate: 1.0.2 webpack: 4.46.0 @@ -4611,7 +4611,7 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/core-client/6.5.16_7cwjmjvoo2q6bjzwgpqtqos7pu: + /@storybook/core-client/6.5.16_bo5dp7tld22axyrk56puak64hm: resolution: {integrity: sha512-14IRaDrVtKrQ+gNWC0wPwkCNfkZOKghYV/swCUnQX3rP99defsZK8Hc7xHIYoAiOP5+sc3sweRAxgmFiJeQ1Ig==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4644,13 +4644,13 @@ packages: react-dom: 18.2.0_react@18.2.0 regenerator-runtime: 0.13.11 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc unfetch: 4.2.0 util-deprecate: 1.0.2 - webpack: 5.75.0 + webpack: 4.46.0 dev: true - /@storybook/core-client/6.5.16_yx6v2mahc4rgaakyal2wzgtgta: + /@storybook/core-client/6.5.16_eghtspvgbiygez4xdoryli5kyq: resolution: {integrity: sha512-14IRaDrVtKrQ+gNWC0wPwkCNfkZOKghYV/swCUnQX3rP99defsZK8Hc7xHIYoAiOP5+sc3sweRAxgmFiJeQ1Ig==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4683,13 +4683,13 @@ packages: react-dom: 18.2.0_react@18.2.0 regenerator-runtime: 0.13.11 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc unfetch: 4.2.0 util-deprecate: 1.0.2 - webpack: 4.46.0 + webpack: 5.75.0 dev: true - /@storybook/core-common/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/core-common/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-2qtnKP3TTOzt2cp6LXKRTh7XrI9z5VanMnMTgeoFcA5ebnndD4V6BExQUdYPClE/QooLx6blUWNgS9dFEpjSqQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4733,7 +4733,7 @@ packages: express: 4.18.2 file-system-cache: 1.1.0 find-up: 5.0.0 - fork-ts-checker-webpack-plugin: 6.5.2_evijigonbo4skk2vlqtwtdqibu + fork-ts-checker-webpack-plugin: 6.5.2_fre5tgzq2mhubdhqjz62kaihui fs-extra: 9.1.0 glob: 7.2.3 handlebars: 4.7.7 @@ -4749,7 +4749,7 @@ packages: slash: 3.0.0 telejson: 6.0.8 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc util-deprecate: 1.0.2 webpack: 4.46.0 transitivePeerDependencies: @@ -4766,7 +4766,7 @@ packages: core-js: 3.27.1 dev: true - /@storybook/core-server/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/core-server/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-/3NPfmNyply395Dm0zaVZ8P9aruwO+tPx4D6/jpw8aqrRSwvAMndPMpoMCm0NXcpSm5rdX+Je4S3JW6JcggFkA==} peerDependencies: '@storybook/builder-webpack5': '*' @@ -4783,17 +4783,17 @@ packages: optional: true dependencies: '@discoveryjs/json-ext': 0.5.7 - '@storybook/builder-webpack4': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq - '@storybook/core-client': 6.5.16_yx6v2mahc4rgaakyal2wzgtgta - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/builder-webpack4': 6.5.16_n2bmin2ettucjwgezh2746oeua + '@storybook/core-client': 6.5.16_bo5dp7tld22axyrk56puak64hm + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/core-events': 6.5.16 '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/csf-tools': 6.5.16 - '@storybook/manager-webpack4': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/manager-webpack4': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/node-logger': 6.5.16 '@storybook/semver': 7.3.2 '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/telemetry': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/telemetry': 6.5.16_n2bmin2ettucjwgezh2746oeua '@types/node': 16.18.11 '@types/node-fetch': 2.6.2 '@types/pretty-hrtime': 1.0.1 @@ -4824,7 +4824,7 @@ packages: slash: 3.0.0 telejson: 6.0.8 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc util-deprecate: 1.0.2 watchpack: 2.4.0 webpack: 4.46.0 @@ -4843,7 +4843,7 @@ packages: - webpack-command dev: true - /@storybook/core/6.5.16_7cwjmjvoo2q6bjzwgpqtqos7pu: + /@storybook/core/6.5.16_eghtspvgbiygez4xdoryli5kyq: resolution: {integrity: sha512-CEF3QFTsm/VMnMKtRNr4rRdLeIkIG0g1t26WcmxTdSThNPBd8CsWzQJ7Jqu7CKiut+MU4A1LMOwbwCE5F2gmyA==} peerDependencies: '@storybook/builder-webpack5': '*' @@ -4862,11 +4862,11 @@ packages: webpack: optional: true dependencies: - '@storybook/core-client': 6.5.16_7cwjmjvoo2q6bjzwgpqtqos7pu - '@storybook/core-server': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-client': 6.5.16_eghtspvgbiygez4xdoryli5kyq + '@storybook/core-server': 6.5.16_n2bmin2ettucjwgezh2746oeua react: 18.2.0 react-dom: 18.2.0_react@18.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc webpack: 5.75.0 transitivePeerDependencies: - '@storybook/mdx2-csf' @@ -4929,7 +4929,7 @@ packages: - supports-color dev: true - /@storybook/manager-webpack4/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/manager-webpack4/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-5VJZwmQU6AgdsBPsYdu886UKBHQ9SJEnFMaeUxKEclXk+iRsmbzlL4GHKyVd6oGX/ZaecZtcHPR6xrzmA4Ziew==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4943,8 +4943,8 @@ packages: '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.20.12 '@babel/preset-react': 7.18.6_@babel+core@7.20.12 '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-client': 6.5.16_yx6v2mahc4rgaakyal2wzgtgta - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-client': 6.5.16_bo5dp7tld22axyrk56puak64hm + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/node-logger': 6.5.16 '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -4961,7 +4961,7 @@ packages: fs-extra: 9.1.0 html-webpack-plugin: 4.5.2_webpack@4.46.0 node-fetch: 2.6.7 - pnp-webpack-plugin: 1.6.4_typescript@4.9.5 + pnp-webpack-plugin: 1.6.4_typescript@5.0.1-rc react: 18.2.0 react-dom: 18.2.0_react@18.2.0 read-pkg-up: 7.0.1 @@ -4971,7 +4971,7 @@ packages: telejson: 6.0.8 terser-webpack-plugin: 4.2.3_webpack@4.46.0 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc url-loader: 4.1.1_lit45vopotvaqup7lrvlnvtxwy util-deprecate: 1.0.2 webpack: 4.46.0 @@ -5077,7 +5077,7 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/react-docgen-typescript-plugin/1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_hhrrucqyg4eysmfpujvov2ym5u: + /@storybook/react-docgen-typescript-plugin/1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_uty5gjh5uajk2pvto6do7m3dq4: resolution: {integrity: sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==} peerDependencies: typescript: '>= 3.x' @@ -5091,15 +5091,15 @@ packages: find-cache-dir: 3.3.2 flat-cache: 3.0.4 micromatch: 4.0.5 - react-docgen-typescript: 2.2.2_typescript@4.9.5 + react-docgen-typescript: 2.2.2_typescript@5.0.1-rc tslib: 2.4.1 - typescript: 4.9.5 + typescript: 5.0.1-rc webpack: 5.75.0 transitivePeerDependencies: - supports-color dev: true - /@storybook/react/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/react/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-cBtNlOzf/MySpNLBK22lJ8wFU22HnfTB2xJyBk7W7Zi71Lm7Uxkhv1Pz8HdiQndJ0SlsAAQOWjQYsSZsGkZIaA==} engines: {node: '>=10.13.0'} hasBin: true @@ -5134,12 +5134,12 @@ packages: '@pmmmwh/react-refresh-webpack-plugin': 0.5.10_ohj47mxwagpoxvu7nhhwxzphqm '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/client-logger': 6.5.16 - '@storybook/core': 6.5.16_7cwjmjvoo2q6bjzwgpqtqos7pu - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core': 6.5.16_eghtspvgbiygez4xdoryli5kyq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/docs-tools': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/node-logger': 6.5.16 - '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_hhrrucqyg4eysmfpujvov2ym5u + '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_uty5gjh5uajk2pvto6do7m3dq4 '@storybook/semver': 7.3.2 '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y '@types/estree': 0.0.51 @@ -5164,7 +5164,7 @@ packages: read-pkg-up: 7.0.1 regenerator-runtime: 0.13.11 ts-dedent: 2.2.0 - typescript: 4.9.5 + typescript: 5.0.1-rc util-deprecate: 1.0.2 webpack: 5.75.0 transitivePeerDependencies: @@ -5258,11 +5258,11 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/telemetry/6.5.16_ygqkwb4gg3aean7xjfdauovyqq: + /@storybook/telemetry/6.5.16_n2bmin2ettucjwgezh2746oeua: resolution: {integrity: sha512-CWr5Uko1l9jJW88yTXsZTj/3GTabPvw0o7pDPOXPp8JRZiJTxv1JFaFCafhK9UzYbgcRuGfCC8kEWPZims7iKA==} dependencies: '@storybook/client-logger': 6.5.16 - '@storybook/core-common': 6.5.16_ygqkwb4gg3aean7xjfdauovyqq + '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua chalk: 4.1.2 core-js: 3.27.1 detect-package-manager: 2.0.1 @@ -5827,7 +5827,7 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin/5.52.0_6cfvjsbua5ptj65675bqcn6oza: + /@typescript-eslint/eslint-plugin/5.52.0_33une6q4pekq4oqyxswvgaojau: resolution: {integrity: sha512-lHazYdvYVsBokwCdKOppvYJKaJ4S41CgKBcPvyd0xjZNbvQdhn/pnJlGtQksQ/NhInzdaeaSarlBjDXHuclEbg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5838,10 +5838,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/parser': 5.52.0_fza5zxhga7jm57t3nlmf434qle '@typescript-eslint/scope-manager': 5.52.0 - '@typescript-eslint/type-utils': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm - '@typescript-eslint/utils': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/type-utils': 5.52.0_fza5zxhga7jm57t3nlmf434qle + '@typescript-eslint/utils': 5.52.0_fza5zxhga7jm57t3nlmf434qle debug: 4.3.4 eslint: 8.34.0 grapheme-splitter: 1.0.4 @@ -5849,13 +5849,13 @@ packages: natural-compare-lite: 1.4.0 regexpp: 3.2.0 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.5 - typescript: 4.9.5 + tsutils: 3.21.0_typescript@5.0.1-rc + typescript: 5.0.1-rc transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.52.0_7kw3g6rralp5ps6mg3uyzz6azm: + /@typescript-eslint/parser/5.52.0_fza5zxhga7jm57t3nlmf434qle: resolution: {integrity: sha512-e2KiLQOZRo4Y0D/b+3y08i3jsekoSkOYStROYmPUnGMEoA0h+k2qOH5H6tcjIc68WDvGwH+PaOrP1XRzLJ6QlA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5867,10 +5867,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.52.0 '@typescript-eslint/types': 5.52.0 - '@typescript-eslint/typescript-estree': 5.52.0_typescript@4.9.5 + '@typescript-eslint/typescript-estree': 5.52.0_typescript@5.0.1-rc debug: 4.3.4 eslint: 8.34.0 - typescript: 4.9.5 + typescript: 5.0.1-rc transitivePeerDependencies: - supports-color dev: true @@ -5883,7 +5883,7 @@ packages: '@typescript-eslint/visitor-keys': 5.52.0 dev: true - /@typescript-eslint/type-utils/5.52.0_7kw3g6rralp5ps6mg3uyzz6azm: + /@typescript-eslint/type-utils/5.52.0_fza5zxhga7jm57t3nlmf434qle: resolution: {integrity: sha512-tEKuUHfDOv852QGlpPtB3lHOoig5pyFQN/cUiZtpw99D93nEBjexRLre5sQZlkMoHry/lZr8qDAt2oAHLKA6Jw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5893,12 +5893,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.52.0_typescript@4.9.5 - '@typescript-eslint/utils': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/typescript-estree': 5.52.0_typescript@5.0.1-rc + '@typescript-eslint/utils': 5.52.0_fza5zxhga7jm57t3nlmf434qle debug: 4.3.4 eslint: 8.34.0 - tsutils: 3.21.0_typescript@4.9.5 - typescript: 4.9.5 + tsutils: 3.21.0_typescript@5.0.1-rc + typescript: 5.0.1-rc transitivePeerDependencies: - supports-color dev: true @@ -5908,7 +5908,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.52.0_typescript@4.9.5: + /@typescript-eslint/typescript-estree/5.52.0_typescript@5.0.1-rc: resolution: {integrity: sha512-WeWnjanyEwt6+fVrSR0MYgEpUAuROxuAH516WPjUblIrClzYJj0kBbjdnbQXLpgAN8qbEuGywiQsXUVDiAoEuQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5923,13 +5923,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.5 - typescript: 4.9.5 + tsutils: 3.21.0_typescript@5.0.1-rc + typescript: 5.0.1-rc transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.52.0_7kw3g6rralp5ps6mg3uyzz6azm: + /@typescript-eslint/utils/5.52.0_fza5zxhga7jm57t3nlmf434qle: resolution: {integrity: sha512-As3lChhrbwWQLNk2HC8Ree96hldKIqk98EYvypd3It8Q1f8d5zWyIoaZEp2va5667M4ZyE7X8UUR+azXrFl+NA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5939,7 +5939,7 @@ packages: '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.52.0 '@typescript-eslint/types': 5.52.0 - '@typescript-eslint/typescript-estree': 5.52.0_typescript@4.9.5 + '@typescript-eslint/typescript-estree': 5.52.0_typescript@5.0.1-rc eslint: 8.34.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.34.0 @@ -5971,7 +5971,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.19.6_@babel+core@7.20.12 magic-string: 0.27.0 react-refresh: 0.14.0 - vite: 4.1.2_less@4.1.3 + vite: 4.1.2_@types+node@18.14.0 transitivePeerDependencies: - supports-color dev: true @@ -8803,7 +8803,7 @@ packages: eslint-plugin-react-hooks: 4.6.0_eslint@8.34.0 dev: true - /eslint-config-standard-with-typescript/34.0.0_s4wyy3hkcfdlicuewz4avpo42q: + /eslint-config-standard-with-typescript/34.0.0_crm22li3uorcn7vdicel5wploe: resolution: {integrity: sha512-zhCsI4/A0rJ1ma8sf3RLXYc0gc7yPmdTWRVXMh9dtqeUx3yBQyALH0wosHhk1uQ9QyItynLdNOtcHKNw8G7lQw==} peerDependencies: '@typescript-eslint/eslint-plugin': ^5.0.0 @@ -8813,14 +8813,14 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 5.52.0_6cfvjsbua5ptj65675bqcn6oza - '@typescript-eslint/parser': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/eslint-plugin': 5.52.0_33une6q4pekq4oqyxswvgaojau + '@typescript-eslint/parser': 5.52.0_fza5zxhga7jm57t3nlmf434qle eslint: 8.34.0 eslint-config-standard: 17.0.0_rwq7hzy2vtlwiajbw6pmw3rkzy eslint-plugin-import: 2.27.5_gndiqgw2wrzfeqy4ccfxbmtnsi eslint-plugin-n: 15.6.1_eslint@8.34.0 eslint-plugin-promise: 6.1.1_eslint@8.34.0 - typescript: 4.9.5 + typescript: 5.0.1-rc transitivePeerDependencies: - supports-color dev: true @@ -8890,7 +8890,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/parser': 5.52.0_fza5zxhga7jm57t3nlmf434qle debug: 3.2.7 eslint: 8.34.0 eslint-import-resolver-node: 0.3.7 @@ -8920,7 +8920,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.52.0_7kw3g6rralp5ps6mg3uyzz6azm + '@typescript-eslint/parser': 5.52.0_fza5zxhga7jm57t3nlmf434qle array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -9045,7 +9045,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.52.0_6cfvjsbua5ptj65675bqcn6oza + '@typescript-eslint/eslint-plugin': 5.52.0_33une6q4pekq4oqyxswvgaojau eslint: 8.34.0 eslint-rule-composer: 0.3.0 dev: true @@ -9713,7 +9713,7 @@ packages: signal-exit: 3.0.7 dev: true - /fork-ts-checker-webpack-plugin/4.1.6_evijigonbo4skk2vlqtwtdqibu: + /fork-ts-checker-webpack-plugin/4.1.6_fre5tgzq2mhubdhqjz62kaihui: resolution: {integrity: sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==} engines: {node: '>=6.11.5', yarn: '>=1.0.0'} peerDependencies: @@ -9735,14 +9735,14 @@ packages: minimatch: 3.1.2 semver: 5.7.1 tapable: 1.1.3 - typescript: 4.9.5 + typescript: 5.0.1-rc webpack: 4.46.0 worker-rpc: 0.1.1 transitivePeerDependencies: - supports-color dev: true - /fork-ts-checker-webpack-plugin/6.5.2_evijigonbo4skk2vlqtwtdqibu: + /fork-ts-checker-webpack-plugin/6.5.2_fre5tgzq2mhubdhqjz62kaihui: resolution: {integrity: sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA==} engines: {node: '>=10', yarn: '>=1.0.0'} peerDependencies: @@ -9771,7 +9771,7 @@ packages: schema-utils: 2.7.0 semver: 7.3.8 tapable: 1.1.3 - typescript: 4.9.5 + typescript: 5.0.1-rc webpack: 4.46.0 dev: true @@ -12200,7 +12200,7 @@ packages: - supports-color dev: true - /msw/1.0.1_typescript@4.9.5: + /msw/1.0.1_typescript@5.0.1-rc: resolution: {integrity: sha512-fBwQRCmf+jh0zlGlasBfpCaxLqb4QLMsY1Q+nkXkO0nnUYopl50NcNRvP4V+TAiqOwJSd0LrQ5NcJqwbrnTBqw==} engines: {node: '>=14'} hasBin: true @@ -12229,7 +12229,7 @@ packages: path-to-regexp: 6.2.1 strict-event-emitter: 0.4.6 type-fest: 2.19.0 - typescript: 4.9.5 + typescript: 5.0.1-rc yargs: 17.6.2 transitivePeerDependencies: - encoding @@ -13163,11 +13163,11 @@ packages: engines: {node: '>=4'} dev: true - /pnp-webpack-plugin/1.6.4_typescript@4.9.5: + /pnp-webpack-plugin/1.6.4_typescript@5.0.1-rc: resolution: {integrity: sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==} engines: {node: '>=6'} dependencies: - ts-pnp: 1.2.0_typescript@4.9.5 + ts-pnp: 1.2.0_typescript@5.0.1-rc transitivePeerDependencies: - typescript dev: true @@ -13591,12 +13591,12 @@ packages: - react-native dev: false - /react-docgen-typescript/2.2.2_typescript@4.9.5: + /react-docgen-typescript/2.2.2_typescript@5.0.1-rc: resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} peerDependencies: typescript: '>= 4.3.x' dependencies: - typescript: 4.9.5 + typescript: 5.0.1-rc dev: true /react-docgen/5.4.3: @@ -15461,7 +15461,7 @@ packages: engines: {node: '>=6.10'} dev: true - /ts-pnp/1.2.0_typescript@4.9.5: + /ts-pnp/1.2.0_typescript@5.0.1-rc: resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} peerDependencies: @@ -15470,7 +15470,7 @@ packages: typescript: optional: true dependencies: - typescript: 4.9.5 + typescript: 5.0.1-rc dev: true /tsconfig-paths/3.14.1: @@ -15490,14 +15490,14 @@ packages: resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} dev: true - /tsutils/3.21.0_typescript@4.9.5: + /tsutils/3.21.0_typescript@5.0.1-rc: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.9.5 + typescript: 5.0.1-rc dev: true /tty-browserify/0.0.0: @@ -15580,6 +15580,13 @@ packages: resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} engines: {node: '>=4.2.0'} hasBin: true + dev: false + + /typescript/5.0.1-rc: + resolution: {integrity: sha512-zh75jY8gPo/y7fpmlTVN2bb2MigoLx4hGk+Cla9pY6lgSTvzJrmQQrRt5S80VTsEt6biWPZJgLK2nm6f0Ya+mA==} + engines: {node: '>=4.2.0'} + hasBin: true + dev: true /ufo/1.1.0: resolution: {integrity: sha512-LQc2s/ZDMaCN3QLpa+uzHUOQ7SdV0qgv3VBXOolQGXTaaZpIur6PwUclF5nN2hNkiTRcUugXd1zFOW3FLJ135Q==} @@ -16014,7 +16021,7 @@ packages: dependencies: '@rollup/pluginutils': 5.0.2 '@svgr/core': 6.5.1 - vite: 4.1.2_less@4.1.3 + vite: 4.1.2_@types+node@18.14.0 transitivePeerDependencies: - rollup - supports-color diff --git a/tsconfig.json b/tsconfig.json index 58bca2fb2..e6f4d4f65 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,8 @@ "noUncheckedIndexedAccess": true, "useUnknownInCatchVariables": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, "resolveJsonModule": true, "strictNullChecks": true, "isolatedModules": true, From b161626f99c6ea2096f9f738ceacc0ffcfa04247 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Fri, 17 Mar 2023 09:56:15 +0800 Subject: [PATCH 2/3] add types --- package.json | 1 + pnpm-lock.yaml | 6 ++++++ tsconfig.json | 10 ++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index deecb8c5e..a83cd4aef 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "@testing-library/react": "^14.0.0", "@types/node": "^18.15.3", "@types/testing-library__jest-dom": "^5.14.5", + "@types/web": "^0.0.98", "@typescript-eslint/eslint-plugin": "^5.55.0", "@typescript-eslint/parser": "^5.55.0", "@vitejs/plugin-react": "^3.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e37d73ba7..258b980e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,7 @@ importers: '@testing-library/react': ^14.0.0 '@types/node': ^18.15.3 '@types/testing-library__jest-dom': ^5.14.5 + '@types/web': ^0.0.98 '@typescript-eslint/eslint-plugin': ^5.55.0 '@typescript-eslint/parser': ^5.55.0 '@vitejs/plugin-react': ^3.1.0 @@ -61,6 +62,7 @@ importers: '@testing-library/react': 14.0.0_biqbaboplfbrettd7655fr4n2y '@types/node': 18.15.3 '@types/testing-library__jest-dom': 5.14.5 + '@types/web': 0.0.98 '@typescript-eslint/eslint-plugin': 5.55.0_qsnvknysi52qtaxqdyqyohkcku '@typescript-eslint/parser': 5.55.0_j4766f7ecgqbon3u7zlxn5zszu '@vitejs/plugin-react': 3.1.0_vite@4.2.0 @@ -6370,6 +6372,10 @@ packages: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true + /@types/web/0.0.98: + resolution: {integrity: sha512-eMNFFQU9QrwE9ycYlXD3NzZN0caL8WWIgafGPnNDpLM8LsiZukDr7loummc6cnT9LyPKNZLLSSPdSDhnO7ZfEA==} + dev: true + /@types/webpack-env/1.18.0: resolution: {integrity: sha512-56/MAlX5WMsPVbOg7tAxnYvNYMMWr/QJiIp6BxVSW3JJXUVzzOn64qW8TzQyMSqSUFM2+PVI4aUHcHOzIz/1tg==} dev: true diff --git a/tsconfig.json b/tsconfig.json index 1079f6615..d24cc79b6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "baseUrl": ".", "target": "ESNext", "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], + "lib": ["ESNext"], "allowJs": false, "skipLibCheck": true, "esModuleInterop": false, @@ -20,7 +20,13 @@ "strictNullChecks": true, "noEmit": true, "jsx": "react-jsx", - "types": ["node", "vite-plugin-svgr/client", "@testing-library/jest-dom", "vitest/globals"], + "types": [ + "node", + "web", + "vite-plugin-svgr/client", + "@testing-library/jest-dom", + "vitest/globals" + ], "paths": { // 顺序不能打乱,保证 website 复写 * "@bangumi/*": ["packages/*/index.tsx", "packages/*/index.ts"], From 7fb27754267bfc69a76892cb296384f981181863 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Fri, 17 Mar 2023 09:57:05 +0800 Subject: [PATCH 3/3] upgrade --- packages/icons/package.json | 2 +- packages/utils/package.json | 2 +- pnpm-lock.yaml | 665 ++---------------------------------- 3 files changed, 21 insertions(+), 648 deletions(-) diff --git a/packages/icons/package.json b/packages/icons/package.json index 1d8abe0c7..a8827ceca 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -11,6 +11,6 @@ "@bangumi/utils": "workspace:0.0.0", "@storybook/react": "^6.5.16", "@types/react": "^18.0.28", - "typescript": "^5.0.1-rc" + "typescript": "^5.0.2" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index e579b4eb6..23301140b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -13,6 +13,6 @@ "@types/lodash": "^4.14.191", "@types/react": "^18.0.28", "js-yaml": "^4.1.0", - "typescript": "^5.0.1-rc" + "typescript": "^5.0.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 258b980e9..90180d3ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -187,15 +187,15 @@ importers: '@types/react': ^18.0.28 react: ^18.2.0 react-dom: ^18.2.0 - typescript: ^5.0.1-rc + typescript: ^5.0.2 dependencies: react: 18.2.0 react-dom: 18.2.0_react@18.2.0 devDependencies: '@bangumi/utils': link:../utils - '@storybook/react': 6.5.16_n2bmin2ettucjwgezh2746oeua + '@storybook/react': 6.5.16_grokbpfbuuosdhrkscgthnz2vm '@types/react': 18.0.28 - typescript: 5.0.1-rc + typescript: 5.0.2 packages/server: specifiers: {} @@ -209,7 +209,7 @@ importers: js-yaml: ^4.1.0 lodash: ^4.17.21 nanoid: ^4.0.1 - typescript: ^5.0.1-rc + typescript: ^5.0.2 dependencies: '@bgm38/wiki': 0.2.2 lodash: 4.17.21 @@ -219,7 +219,7 @@ importers: '@types/lodash': 4.14.191 '@types/react': 18.0.28 js-yaml: 4.1.0 - typescript: 5.0.1-rc + typescript: 5.0.2 packages/website: specifiers: @@ -4580,75 +4580,6 @@ packages: - webpack-command dev: true - /@storybook/builder-webpack4/6.5.16_n2bmin2ettucjwgezh2746oeua: - resolution: {integrity: sha512-YqDIrVNsUo8r9xc6AxsYDLxVYtMgl5Bxk+8/h1adsOko+jAFhdg6hOcAVxEmoSI0TMASOOVMFlT2hr23ppN2rQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@babel/core': 7.21.3 - '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/api': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/channel-postmessage': 6.5.16 - '@storybook/channels': 6.5.16 - '@storybook/client-api': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/client-logger': 6.5.16 - '@storybook/components': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@storybook/core-events': 6.5.16 - '@storybook/node-logger': 6.5.16 - '@storybook/preview-web': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/router': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/semver': 7.3.2 - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@types/node': 16.18.11 - '@types/webpack': 4.41.33 - autoprefixer: 9.8.8 - babel-loader: 8.3.0_y3c3uzyfhmxjbwhc6k6hyxg3aa - case-sensitive-paths-webpack-plugin: 2.4.0 - core-js: 3.27.1 - css-loader: 3.6.0_webpack@4.46.0 - file-loader: 6.2.0_webpack@4.46.0 - find-up: 5.0.0 - fork-ts-checker-webpack-plugin: 4.1.6_fre5tgzq2mhubdhqjz62kaihui - glob: 7.2.3 - glob-promise: 3.4.0_glob@7.2.3 - global: 4.4.0 - html-webpack-plugin: 4.5.2_webpack@4.46.0 - pnp-webpack-plugin: 1.6.4_typescript@5.0.1-rc - postcss: 7.0.39 - postcss-flexbugs-fixes: 4.2.1 - postcss-loader: 4.3.0_gzaxsinx64nntyd3vmdqwl7coe - raw-loader: 4.0.2_webpack@4.46.0 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - stable: 0.1.8 - style-loader: 1.3.0_webpack@4.46.0 - terser-webpack-plugin: 4.2.3_webpack@4.46.0 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - url-loader: 4.1.1_lit45vopotvaqup7lrvlnvtxwy - util-deprecate: 1.0.2 - webpack: 4.46.0 - webpack-dev-middleware: 3.7.3_webpack@4.46.0 - webpack-filter-warnings-plugin: 1.2.1_webpack@4.46.0 - webpack-hot-middleware: 2.25.3 - webpack-virtual-modules: 0.2.2 - transitivePeerDependencies: - - bluebird - - eslint - - supports-color - - vue-template-compiler - - webpack-cli - - webpack-command - dev: true - /@storybook/channel-postmessage/6.5.16: resolution: {integrity: sha512-fZZSN29dsUArWOx7e7lTdMA9+7zijVwCwbvi2Fo4fqhRLh1DsTb/VXfz1FKMCWAjNlcX7QQvV25tnxbqsD6lyw==} dependencies: @@ -4734,84 +4665,6 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/core-client/6.5.16_bo5dp7tld22axyrk56puak64hm: - resolution: {integrity: sha512-14IRaDrVtKrQ+gNWC0wPwkCNfkZOKghYV/swCUnQX3rP99defsZK8Hc7xHIYoAiOP5+sc3sweRAxgmFiJeQ1Ig==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - webpack: '*' - peerDependenciesMeta: - typescript: - optional: true - webpack: - optional: true - dependencies: - '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/channel-postmessage': 6.5.16 - '@storybook/channel-websocket': 6.5.16 - '@storybook/client-api': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/client-logger': 6.5.16 - '@storybook/core-events': 6.5.16 - '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/preview-web': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y - airbnb-js-shims: 2.2.1 - ansi-to-html: 0.6.15 - core-js: 3.27.1 - global: 4.4.0 - lodash: 4.17.21 - qs: 6.11.0 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - regenerator-runtime: 0.13.11 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - unfetch: 4.2.0 - util-deprecate: 1.0.2 - webpack: 4.46.0 - dev: true - - /@storybook/core-client/6.5.16_eghtspvgbiygez4xdoryli5kyq: - resolution: {integrity: sha512-14IRaDrVtKrQ+gNWC0wPwkCNfkZOKghYV/swCUnQX3rP99defsZK8Hc7xHIYoAiOP5+sc3sweRAxgmFiJeQ1Ig==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - webpack: '*' - peerDependenciesMeta: - typescript: - optional: true - webpack: - optional: true - dependencies: - '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/channel-postmessage': 6.5.16 - '@storybook/channel-websocket': 6.5.16 - '@storybook/client-api': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/client-logger': 6.5.16 - '@storybook/core-events': 6.5.16 - '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/preview-web': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y - airbnb-js-shims: 2.2.1 - ansi-to-html: 0.6.15 - core-js: 3.27.1 - global: 4.4.0 - lodash: 4.17.21 - qs: 6.11.0 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - regenerator-runtime: 0.13.11 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - unfetch: 4.2.0 - util-deprecate: 1.0.2 - webpack: 5.75.0 - dev: true - /@storybook/core-client/6.5.16_knoe7ecx55mqoel6hxhczj6jnm: resolution: {integrity: sha512-14IRaDrVtKrQ+gNWC0wPwkCNfkZOKghYV/swCUnQX3rP99defsZK8Hc7xHIYoAiOP5+sc3sweRAxgmFiJeQ1Ig==} peerDependencies: @@ -4961,77 +4814,6 @@ packages: - webpack-command dev: true - /@storybook/core-common/6.5.16_n2bmin2ettucjwgezh2746oeua: - resolution: {integrity: sha512-2qtnKP3TTOzt2cp6LXKRTh7XrI9z5VanMnMTgeoFcA5ebnndD4V6BExQUdYPClE/QooLx6blUWNgS9dFEpjSqQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@babel/core': 7.21.3 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.3 - '@babel/plugin-proposal-decorators': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-proposal-export-default-from': 7.18.10_@babel+core@7.21.3 - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6_@babel+core@7.21.3 - '@babel/plugin-proposal-object-rest-spread': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-proposal-optional-chaining': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.21.3 - '@babel/plugin-proposal-private-property-in-object': 7.20.5_@babel+core@7.21.3 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.21.3 - '@babel/plugin-transform-arrow-functions': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-transform-block-scoping': 7.20.11_@babel+core@7.21.3 - '@babel/plugin-transform-classes': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-transform-destructuring': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-transform-for-of': 7.18.8_@babel+core@7.21.3 - '@babel/plugin-transform-parameters': 7.20.7_@babel+core@7.21.3 - '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.21.3 - '@babel/plugin-transform-spread': 7.20.7_@babel+core@7.21.3 - '@babel/preset-env': 7.20.2_@babel+core@7.21.3 - '@babel/preset-react': 7.18.6_@babel+core@7.21.3 - '@babel/preset-typescript': 7.21.0_@babel+core@7.21.3 - '@babel/register': 7.18.9_@babel+core@7.21.3 - '@storybook/node-logger': 6.5.16 - '@storybook/semver': 7.3.2 - '@types/node': 16.18.11 - '@types/pretty-hrtime': 1.0.1 - babel-loader: 8.3.0_y3c3uzyfhmxjbwhc6k6hyxg3aa - babel-plugin-macros: 3.1.0 - babel-plugin-polyfill-corejs3: 0.1.7_@babel+core@7.21.3 - chalk: 4.1.2 - core-js: 3.27.1 - express: 4.18.2 - file-system-cache: 1.1.0 - find-up: 5.0.0 - fork-ts-checker-webpack-plugin: 6.5.2_fre5tgzq2mhubdhqjz62kaihui - fs-extra: 9.1.0 - glob: 7.2.3 - handlebars: 4.7.7 - interpret: 2.2.0 - json5: 2.2.3 - lazy-universal-dotenv: 3.0.1 - picomatch: 2.3.1 - pkg-dir: 5.0.0 - pretty-hrtime: 1.0.3 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - resolve-from: 5.0.0 - slash: 3.0.0 - telejson: 6.0.8 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - util-deprecate: 1.0.2 - webpack: 4.46.0 - transitivePeerDependencies: - - eslint - - supports-color - - vue-template-compiler - - webpack-cli - - webpack-command - dev: true - /@storybook/core-events/6.5.16: resolution: {integrity: sha512-qMZQwmvzpH5F2uwNUllTPg6eZXr2OaYZQRRN8VZJiuorZzDNdAFmiVWMWdkThwmyLEJuQKXxqCL8lMj/7PPM+g==} dependencies: @@ -5115,121 +4897,6 @@ packages: - webpack-command dev: true - /@storybook/core-server/6.5.16_n2bmin2ettucjwgezh2746oeua: - resolution: {integrity: sha512-/3NPfmNyply395Dm0zaVZ8P9aruwO+tPx4D6/jpw8aqrRSwvAMndPMpoMCm0NXcpSm5rdX+Je4S3JW6JcggFkA==} - peerDependencies: - '@storybook/builder-webpack5': '*' - '@storybook/manager-webpack5': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - peerDependenciesMeta: - '@storybook/builder-webpack5': - optional: true - '@storybook/manager-webpack5': - optional: true - typescript: - optional: true - dependencies: - '@discoveryjs/json-ext': 0.5.7 - '@storybook/builder-webpack4': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@storybook/core-client': 6.5.16_bo5dp7tld22axyrk56puak64hm - '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@storybook/core-events': 6.5.16 - '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/csf-tools': 6.5.16 - '@storybook/manager-webpack4': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@storybook/node-logger': 6.5.16 - '@storybook/semver': 7.3.2 - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/telemetry': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@types/node': 16.18.11 - '@types/node-fetch': 2.6.2 - '@types/pretty-hrtime': 1.0.1 - '@types/webpack': 4.41.33 - better-opn: 2.1.1 - boxen: 5.1.2 - chalk: 4.1.2 - cli-table3: 0.6.3 - commander: 6.2.1 - compression: 1.7.4 - core-js: 3.27.1 - cpy: 8.1.2 - detect-port: 1.5.1 - express: 4.18.2 - fs-extra: 9.1.0 - global: 4.4.0 - globby: 11.1.0 - ip: 2.0.0 - lodash: 4.17.21 - node-fetch: 2.6.7 - open: 8.4.0 - pretty-hrtime: 1.0.3 - prompts: 2.4.2 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - regenerator-runtime: 0.13.11 - serve-favicon: 2.5.0 - slash: 3.0.0 - telejson: 6.0.8 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - util-deprecate: 1.0.2 - watchpack: 2.4.0 - webpack: 4.46.0 - ws: 8.13.0 - x-default-browser: 0.4.0 - transitivePeerDependencies: - - '@storybook/mdx2-csf' - - bluebird - - bufferutil - - encoding - - eslint - - supports-color - - utf-8-validate - - vue-template-compiler - - webpack-cli - - webpack-command - dev: true - - /@storybook/core/6.5.16_eghtspvgbiygez4xdoryli5kyq: - resolution: {integrity: sha512-CEF3QFTsm/VMnMKtRNr4rRdLeIkIG0g1t26WcmxTdSThNPBd8CsWzQJ7Jqu7CKiut+MU4A1LMOwbwCE5F2gmyA==} - peerDependencies: - '@storybook/builder-webpack5': '*' - '@storybook/manager-webpack5': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - webpack: '*' - peerDependenciesMeta: - '@storybook/builder-webpack5': - optional: true - '@storybook/manager-webpack5': - optional: true - typescript: - optional: true - webpack: - optional: true - dependencies: - '@storybook/core-client': 6.5.16_eghtspvgbiygez4xdoryli5kyq - '@storybook/core-server': 6.5.16_n2bmin2ettucjwgezh2746oeua - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - typescript: 5.0.1-rc - webpack: 5.75.0 - transitivePeerDependencies: - - '@storybook/mdx2-csf' - - bluebird - - bufferutil - - encoding - - eslint - - supports-color - - utf-8-validate - - vue-template-compiler - - webpack-cli - - webpack-command - dev: true - /@storybook/core/6.5.16_knoe7ecx55mqoel6hxhczj6jnm: resolution: {integrity: sha512-CEF3QFTsm/VMnMKtRNr4rRdLeIkIG0g1t26WcmxTdSThNPBd8CsWzQJ7Jqu7CKiut+MU4A1LMOwbwCE5F2gmyA==} peerDependencies: @@ -5301,80 +4968,22 @@ packages: dev: true /@storybook/docs-tools/6.5.16_biqbaboplfbrettd7655fr4n2y: - resolution: {integrity: sha512-o+rAWPRGifjBF5xZzTKOqnHN3XQWkl0QFJYVDIiJYJrVll7ExCkpEq/PahOGzIBBV+tpMstJgmKM3lr/lu/jmg==} - dependencies: - '@babel/core': 7.21.3 - '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - core-js: 3.27.1 - doctrine: 3.0.0 - lodash: 4.17.21 - regenerator-runtime: 0.13.11 - transitivePeerDependencies: - - react - - react-dom - - supports-color - dev: true - - /@storybook/manager-webpack4/6.5.16_grokbpfbuuosdhrkscgthnz2vm: - resolution: {integrity: sha512-5VJZwmQU6AgdsBPsYdu886UKBHQ9SJEnFMaeUxKEclXk+iRsmbzlL4GHKyVd6oGX/ZaecZtcHPR6xrzmA4Ziew==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@babel/core': 7.21.3 - '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.21.3 - '@babel/preset-react': 7.18.6_@babel+core@7.21.3 - '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-client': 6.5.16_ya45otn6rkalgmmwrtbmo45g7i - '@storybook/core-common': 6.5.16_grokbpfbuuosdhrkscgthnz2vm - '@storybook/node-logger': 6.5.16 - '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@types/node': 16.18.11 - '@types/webpack': 4.41.33 - babel-loader: 8.3.0_y3c3uzyfhmxjbwhc6k6hyxg3aa - case-sensitive-paths-webpack-plugin: 2.4.0 - chalk: 4.1.2 + resolution: {integrity: sha512-o+rAWPRGifjBF5xZzTKOqnHN3XQWkl0QFJYVDIiJYJrVll7ExCkpEq/PahOGzIBBV+tpMstJgmKM3lr/lu/jmg==} + dependencies: + '@babel/core': 7.21.3 + '@storybook/csf': 0.0.2--canary.4566f4d.1 + '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y core-js: 3.27.1 - css-loader: 3.6.0_webpack@4.46.0 - express: 4.18.2 - file-loader: 6.2.0_webpack@4.46.0 - find-up: 5.0.0 - fs-extra: 9.1.0 - html-webpack-plugin: 4.5.2_webpack@4.46.0 - node-fetch: 2.6.7 - pnp-webpack-plugin: 1.6.4_typescript@5.0.2 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - read-pkg-up: 7.0.1 + doctrine: 3.0.0 + lodash: 4.17.21 regenerator-runtime: 0.13.11 - resolve-from: 5.0.0 - style-loader: 1.3.0_webpack@4.46.0 - telejson: 6.0.8 - terser-webpack-plugin: 4.2.3_webpack@4.46.0 - ts-dedent: 2.2.0 - typescript: 5.0.2 - url-loader: 4.1.1_lit45vopotvaqup7lrvlnvtxwy - util-deprecate: 1.0.2 - webpack: 4.46.0 - webpack-dev-middleware: 3.7.3_webpack@4.46.0 - webpack-virtual-modules: 0.2.2 transitivePeerDependencies: - - bluebird - - encoding - - eslint + - react + - react-dom - supports-color - - vue-template-compiler - - webpack-cli - - webpack-command dev: true - /@storybook/manager-webpack4/6.5.16_n2bmin2ettucjwgezh2746oeua: + /@storybook/manager-webpack4/6.5.16_grokbpfbuuosdhrkscgthnz2vm: resolution: {integrity: sha512-5VJZwmQU6AgdsBPsYdu886UKBHQ9SJEnFMaeUxKEclXk+iRsmbzlL4GHKyVd6oGX/ZaecZtcHPR6xrzmA4Ziew==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5388,8 +4997,8 @@ packages: '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.21.3 '@babel/preset-react': 7.18.6_@babel+core@7.21.3 '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core-client': 6.5.16_bo5dp7tld22axyrk56puak64hm - '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua + '@storybook/core-client': 6.5.16_ya45otn6rkalgmmwrtbmo45g7i + '@storybook/core-common': 6.5.16_grokbpfbuuosdhrkscgthnz2vm '@storybook/node-logger': 6.5.16 '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -5406,7 +5015,7 @@ packages: fs-extra: 9.1.0 html-webpack-plugin: 4.5.2_webpack@4.46.0 node-fetch: 2.6.7 - pnp-webpack-plugin: 1.6.4_typescript@5.0.1-rc + pnp-webpack-plugin: 1.6.4_typescript@5.0.2 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 read-pkg-up: 7.0.1 @@ -5416,7 +5025,7 @@ packages: telejson: 6.0.8 terser-webpack-plugin: 4.2.3_webpack@4.46.0 ts-dedent: 2.2.0 - typescript: 5.0.1-rc + typescript: 5.0.2 url-loader: 4.1.1_lit45vopotvaqup7lrvlnvtxwy util-deprecate: 1.0.2 webpack: 4.46.0 @@ -5522,28 +5131,6 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/react-docgen-typescript-plugin/1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_uty5gjh5uajk2pvto6do7m3dq4: - resolution: {integrity: sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==} - peerDependencies: - typescript: '>= 3.x' - webpack: '>= 4' - peerDependenciesMeta: - webpack: - optional: true - dependencies: - debug: 4.3.4 - endent: 2.1.0 - find-cache-dir: 3.3.2 - flat-cache: 3.0.4 - micromatch: 4.0.5 - react-docgen-typescript: 2.2.2_typescript@5.0.1-rc - tslib: 2.4.1 - typescript: 5.0.1-rc - webpack: 5.75.0 - transitivePeerDependencies: - - supports-color - dev: true - /@storybook/react-docgen-typescript-plugin/1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_uwemawexpmcwp4gcune73namy4: resolution: {integrity: sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==} peerDependencies: @@ -5656,96 +5243,6 @@ packages: - webpack-plugin-serve dev: true - /@storybook/react/6.5.16_n2bmin2ettucjwgezh2746oeua: - resolution: {integrity: sha512-cBtNlOzf/MySpNLBK22lJ8wFU22HnfTB2xJyBk7W7Zi71Lm7Uxkhv1Pz8HdiQndJ0SlsAAQOWjQYsSZsGkZIaA==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - '@babel/core': ^7.11.5 - '@storybook/builder-webpack4': '*' - '@storybook/builder-webpack5': '*' - '@storybook/manager-webpack4': '*' - '@storybook/manager-webpack5': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - require-from-string: ^2.0.2 - typescript: '*' - peerDependenciesMeta: - '@babel/core': - optional: true - '@storybook/builder-webpack4': - optional: true - '@storybook/builder-webpack5': - optional: true - '@storybook/manager-webpack4': - optional: true - '@storybook/manager-webpack5': - optional: true - require-from-string: - optional: true - typescript: - optional: true - dependencies: - '@babel/preset-flow': 7.18.6 - '@babel/preset-react': 7.18.6 - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10_ohj47mxwagpoxvu7nhhwxzphqm - '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/client-logger': 6.5.16 - '@storybook/core': 6.5.16_eghtspvgbiygez4xdoryli5kyq - '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua - '@storybook/csf': 0.0.2--canary.4566f4d.1 - '@storybook/docs-tools': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/node-logger': 6.5.16 - '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_uty5gjh5uajk2pvto6do7m3dq4 - '@storybook/semver': 7.3.2 - '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@types/estree': 0.0.51 - '@types/node': 16.18.11 - '@types/webpack-env': 1.18.0 - acorn: 7.4.1 - acorn-jsx: 5.3.2_acorn@7.4.1 - acorn-walk: 7.2.0 - babel-plugin-add-react-displayname: 0.0.5 - babel-plugin-react-docgen: 4.2.1 - core-js: 3.27.1 - escodegen: 2.0.0 - fs-extra: 9.1.0 - global: 4.4.0 - html-tags: 3.2.0 - lodash: 4.17.21 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0_react@18.2.0 - react-element-to-jsx-string: 14.3.4_biqbaboplfbrettd7655fr4n2y - react-refresh: 0.11.0 - read-pkg-up: 7.0.1 - regenerator-runtime: 0.13.11 - ts-dedent: 2.2.0 - typescript: 5.0.1-rc - util-deprecate: 1.0.2 - webpack: 5.75.0 - transitivePeerDependencies: - - '@storybook/mdx2-csf' - - '@swc/core' - - '@types/webpack' - - bluebird - - bufferutil - - encoding - - esbuild - - eslint - - sockjs-client - - supports-color - - type-fest - - uglify-js - - utf-8-validate - - vue-template-compiler - - webpack-cli - - webpack-command - - webpack-dev-server - - webpack-hot-middleware - - webpack-plugin-serve - dev: true - /@storybook/router/6.5.16_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-ZgeP8a5YV/iuKbv31V8DjPxlV4AzorRiR8OuSt/KqaiYXNXlOoQDz/qMmiNcrshrfLpmkzoq7fSo4T8lWo2UwQ==} peerDependencies: @@ -5842,33 +5339,6 @@ packages: - webpack-command dev: true - /@storybook/telemetry/6.5.16_n2bmin2ettucjwgezh2746oeua: - resolution: {integrity: sha512-CWr5Uko1l9jJW88yTXsZTj/3GTabPvw0o7pDPOXPp8JRZiJTxv1JFaFCafhK9UzYbgcRuGfCC8kEWPZims7iKA==} - dependencies: - '@storybook/client-logger': 6.5.16 - '@storybook/core-common': 6.5.16_n2bmin2ettucjwgezh2746oeua - chalk: 4.1.2 - core-js: 3.27.1 - detect-package-manager: 2.0.1 - fetch-retry: 5.0.3 - fs-extra: 9.1.0 - global: 4.4.0 - isomorphic-unfetch: 3.1.0 - nanoid: 3.3.4 - read-pkg-up: 7.0.1 - regenerator-runtime: 0.13.11 - transitivePeerDependencies: - - encoding - - eslint - - react - - react-dom - - supports-color - - typescript - - vue-template-compiler - - webpack-cli - - webpack-command - dev: true - /@storybook/theming/6.5.16_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-hNLctkjaYLRdk1+xYTkC1mg4dYz2wSv6SqbLpcKMbkPHTE0ElhddGPHQqB362md/w9emYXNkt1LSMD8Xk9JzVQ==} peerDependencies: @@ -10290,35 +9760,6 @@ packages: signal-exit: 3.0.7 dev: true - /fork-ts-checker-webpack-plugin/4.1.6_fre5tgzq2mhubdhqjz62kaihui: - resolution: {integrity: sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==} - engines: {node: '>=6.11.5', yarn: '>=1.0.0'} - peerDependencies: - eslint: '>= 6' - typescript: '>= 2.7' - vue-template-compiler: '*' - webpack: '>= 4' - peerDependenciesMeta: - eslint: - optional: true - vue-template-compiler: - optional: true - webpack: - optional: true - dependencies: - '@babel/code-frame': 7.18.6 - chalk: 2.4.2 - micromatch: 3.1.10 - minimatch: 3.1.2 - semver: 5.7.1 - tapable: 1.1.3 - typescript: 5.0.1-rc - webpack: 4.46.0 - worker-rpc: 0.1.1 - transitivePeerDependencies: - - supports-color - dev: true - /fork-ts-checker-webpack-plugin/4.1.6_ikqt5m4x57vlca6bzw57fnhhpq: resolution: {integrity: sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==} engines: {node: '>=6.11.5', yarn: '>=1.0.0'} @@ -10348,39 +9789,6 @@ packages: - supports-color dev: true - /fork-ts-checker-webpack-plugin/6.5.2_fre5tgzq2mhubdhqjz62kaihui: - resolution: {integrity: sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA==} - engines: {node: '>=10', yarn: '>=1.0.0'} - peerDependencies: - eslint: '>= 6' - typescript: '>= 2.7' - vue-template-compiler: '*' - webpack: '>= 4' - peerDependenciesMeta: - eslint: - optional: true - vue-template-compiler: - optional: true - webpack: - optional: true - dependencies: - '@babel/code-frame': 7.18.6 - '@types/json-schema': 7.0.11 - chalk: 4.1.2 - chokidar: 3.5.3 - cosmiconfig: 6.0.0 - deepmerge: 4.2.2 - fs-extra: 9.1.0 - glob: 7.2.3 - memfs: 3.4.12 - minimatch: 3.1.2 - schema-utils: 2.7.0 - semver: 7.3.8 - tapable: 1.1.3 - typescript: 5.0.1-rc - webpack: 4.46.0 - dev: true - /fork-ts-checker-webpack-plugin/6.5.2_ikqt5m4x57vlca6bzw57fnhhpq: resolution: {integrity: sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA==} engines: {node: '>=10', yarn: '>=1.0.0'} @@ -13816,15 +13224,6 @@ packages: engines: {node: '>=4'} dev: true - /pnp-webpack-plugin/1.6.4_typescript@5.0.1-rc: - resolution: {integrity: sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==} - engines: {node: '>=6'} - dependencies: - ts-pnp: 1.2.0_typescript@5.0.1-rc - transitivePeerDependencies: - - typescript - dev: true - /pnp-webpack-plugin/1.6.4_typescript@5.0.2: resolution: {integrity: sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==} engines: {node: '>=6'} @@ -14253,14 +13652,6 @@ packages: - react-native dev: false - /react-docgen-typescript/2.2.2_typescript@5.0.1-rc: - resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} - peerDependencies: - typescript: '>= 4.3.x' - dependencies: - typescript: 5.0.1-rc - dev: true - /react-docgen-typescript/2.2.2_typescript@5.0.2: resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} peerDependencies: @@ -16135,18 +15526,6 @@ packages: engines: {node: '>=6.10'} dev: true - /ts-pnp/1.2.0_typescript@5.0.1-rc: - resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} - engines: {node: '>=6'} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - typescript: 5.0.1-rc - dev: true - /ts-pnp/1.2.0_typescript@5.0.2: resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} @@ -16268,12 +15647,6 @@ packages: hasBin: true dev: false - /typescript/5.0.1-rc: - resolution: {integrity: sha512-zh75jY8gPo/y7fpmlTVN2bb2MigoLx4hGk+Cla9pY6lgSTvzJrmQQrRt5S80VTsEt6biWPZJgLK2nm6f0Ya+mA==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - /typescript/5.0.2: resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} engines: {node: '>=12.20'}