From 980396705b87382f4c66c25c71672ec134e9603a Mon Sep 17 00:00:00 2001 From: Reece Carolan Date: Thu, 16 Feb 2023 16:54:38 -0800 Subject: [PATCH 1/2] chore: use webpack 5 to build storybook --- .storybook/main.js | 1 + package.json | 2 + pnpm-lock.yaml | 383 +++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 376 insertions(+), 10 deletions(-) diff --git a/.storybook/main.js b/.storybook/main.js index ce5ead062..5d71ca115 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -8,6 +8,7 @@ module.exports = { }, core: { disableTelemetry: true, + builder: 'webpack5', }, reactOptions: { strictMode: true, diff --git a/package.json b/package.json index 94deb2285..692978a62 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,9 @@ "@storybook/addon-essentials": "6.5.16", "@storybook/addon-storysource": "6.5.16", "@storybook/addons": "6.5.16", + "@storybook/builder-webpack5": "^6.5.16", "@storybook/core": "6.5.16", + "@storybook/manager-webpack5": "^6.5.16", "@storybook/react": "6.5.16", "@storybook/theming": "6.5.16", "@testing-library/dom": "8.20.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 68bb1b98d..0da221b43 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,7 +35,9 @@ specifiers: '@storybook/addon-essentials': 6.5.16 '@storybook/addon-storysource': 6.5.16 '@storybook/addons': 6.5.16 + '@storybook/builder-webpack5': ^6.5.16 '@storybook/core': 6.5.16 + '@storybook/manager-webpack5': ^6.5.16 '@storybook/react': 6.5.16 '@storybook/theming': 6.5.16 '@testing-library/dom': 8.20.0 @@ -167,11 +169,13 @@ devDependencies: '@rollup/plugin-strip': 3.0.2_rollup@3.15.0 '@rollup/plugin-terser': 0.4.0_rollup@3.15.0 '@storybook/addon-docs': 6.5.16_xo7quhe5oasnakpft6izpnxsta - '@storybook/addon-essentials': 6.5.16_xo7quhe5oasnakpft6izpnxsta + '@storybook/addon-essentials': 6.5.16_g5hsdzyd7m2ulfrad4wwfj3vra '@storybook/addon-storysource': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y - '@storybook/core': 6.5.16_p3mioo4x4cbujahrc72zmrglam - '@storybook/react': 6.5.16_lzsbzm4z64vvnp536ugsiddi7u + '@storybook/builder-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu + '@storybook/core': 6.5.16_kowf7vwpr3t53xm7p5dl4iii4q + '@storybook/manager-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu + '@storybook/react': 6.5.16_nsojkcuzyxevfv6vk2xlte3i2q '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y '@testing-library/dom': 8.20.0 '@testing-library/jest-dom': 5.16.5 @@ -1550,7 +1554,7 @@ packages: '@babel/core': 7.20.12 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.12 '@babel/types': 7.20.7 dev: true @@ -3468,7 +3472,7 @@ packages: - webpack-command dev: true - /@storybook/addon-essentials/6.5.16_xo7quhe5oasnakpft6izpnxsta: + /@storybook/addon-essentials/6.5.16_g5hsdzyd7m2ulfrad4wwfj3vra: resolution: {integrity: sha512-TeoMr6tEit4Pe91GH6f8g/oar1P4M0JL9S6oMcFxxrhhtOGO7XkWD5EnfyCx272Ok2VYfE58FNBTGPNBVIqYKQ==} peerDependencies: '@babel/core': ^7.9.6 @@ -3536,6 +3540,7 @@ packages: '@storybook/addon-viewport': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y '@storybook/api': 6.5.16_biqbaboplfbrettd7655fr4n2y + '@storybook/builder-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/core-common': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/node-logger': 6.5.16 core-js: 3.25.0 @@ -3795,6 +3800,68 @@ packages: - webpack-command dev: true + /@storybook/builder-webpack5/6.5.16_thg4xgkqzam43wvb4m4gitomxu: + resolution: {integrity: sha512-kh8Sofm1sbijaHDWtm0sXabqACHVFjikU/fIkkW786kpjoPIPIec1a+hrLgDsZxMU3I7XapSOaCFzWt6FjVXjg==} + 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.20.12 + '@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_thg4xgkqzam43wvb4m4gitomxu + '@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 + '@types/node': 16.11.52 + babel-loader: 8.3.0_la66t7xldg4uecmyawueag5wkm + babel-plugin-named-exports-order: 0.0.2 + browser-assert: 1.2.1 + case-sensitive-paths-webpack-plugin: 2.4.0 + core-js: 3.25.0 + css-loader: 5.2.7_webpack@5.75.0 + fork-ts-checker-webpack-plugin: 6.5.2_f3a4zrasoaotz7gdk64fcmlkrm + glob: 7.2.3 + glob-promise: 3.4.0_glob@7.2.3 + html-webpack-plugin: 5.5.0_webpack@5.75.0 + path-browserify: 1.0.1 + process: 0.11.10 + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + stable: 0.1.8 + style-loader: 2.0.0_webpack@5.75.0 + terser-webpack-plugin: 5.3.5_webpack@5.75.0 + ts-dedent: 2.2.0 + typescript: 4.9.5 + util-deprecate: 1.0.2 + webpack: 5.75.0 + webpack-dev-middleware: 4.3.0_webpack@5.75.0 + webpack-hot-middleware: 2.25.2 + webpack-virtual-modules: 0.4.6 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - eslint + - supports-color + - uglify-js + - vue-template-compiler + - webpack-cli + - webpack-command + dev: true + /@storybook/channel-postmessage/6.5.16: resolution: {integrity: sha512-fZZSN29dsUArWOx7e7lTdMA9+7zijVwCwbvi2Fo4fqhRLh1DsTb/VXfz1FKMCWAjNlcX7QQvV25tnxbqsD6lyw==} dependencies: @@ -4031,7 +4098,7 @@ packages: core-js: 3.25.0 dev: true - /@storybook/core-server/6.5.16_thg4xgkqzam43wvb4m4gitomxu: + /@storybook/core-server/6.5.16_ws4dndhllwdzdmf2sqkpllzkpe: resolution: {integrity: sha512-/3NPfmNyply395Dm0zaVZ8P9aruwO+tPx4D6/jpw8aqrRSwvAMndPMpoMCm0NXcpSm5rdX+Je4S3JW6JcggFkA==} peerDependencies: '@storybook/builder-webpack5': '*' @@ -4049,12 +4116,14 @@ packages: dependencies: '@discoveryjs/json-ext': 0.5.7 '@storybook/builder-webpack4': 6.5.16_thg4xgkqzam43wvb4m4gitomxu + '@storybook/builder-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/core-client': 6.5.16_yx6v2mahc4rgaakyal2wzgtgta '@storybook/core-common': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@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_thg4xgkqzam43wvb4m4gitomxu + '@storybook/manager-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/node-logger': 6.5.16 '@storybook/semver': 7.3.2 '@storybook/store': 6.5.16_biqbaboplfbrettd7655fr4n2y @@ -4108,7 +4177,7 @@ packages: - webpack-command dev: true - /@storybook/core/6.5.16_p3mioo4x4cbujahrc72zmrglam: + /@storybook/core/6.5.16_kowf7vwpr3t53xm7p5dl4iii4q: resolution: {integrity: sha512-CEF3QFTsm/VMnMKtRNr4rRdLeIkIG0g1t26WcmxTdSThNPBd8CsWzQJ7Jqu7CKiut+MU4A1LMOwbwCE5F2gmyA==} peerDependencies: '@storybook/builder-webpack5': '*' @@ -4125,8 +4194,10 @@ packages: typescript: optional: true dependencies: + '@storybook/builder-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/core-client': 6.5.16_7cwjmjvoo2q6bjzwgpqtqos7pu - '@storybook/core-server': 6.5.16_thg4xgkqzam43wvb4m4gitomxu + '@storybook/core-server': 6.5.16_ws4dndhllwdzdmf2sqkpllzkpe + '@storybook/manager-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu react: 18.2.0 react-dom: 18.2.0_react@18.2.0 typescript: 4.9.5 @@ -4256,6 +4327,63 @@ packages: - webpack-command dev: true + /@storybook/manager-webpack5/6.5.16_thg4xgkqzam43wvb4m4gitomxu: + resolution: {integrity: sha512-OtxXv8JCe0r/0rE5HxaFicsNsXA+fqZxzokxquFFgrYf/1Jg4d7QX6/pG5wINF+5qInJfVkRG6xhPzv1s5bk9Q==} + 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.20.12 + '@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_7cwjmjvoo2q6bjzwgpqtqos7pu + '@storybook/core-common': 6.5.16_thg4xgkqzam43wvb4m4gitomxu + '@storybook/node-logger': 6.5.16 + '@storybook/theming': 6.5.16_biqbaboplfbrettd7655fr4n2y + '@storybook/ui': 6.5.16_biqbaboplfbrettd7655fr4n2y + '@types/node': 16.11.52 + babel-loader: 8.3.0_la66t7xldg4uecmyawueag5wkm + case-sensitive-paths-webpack-plugin: 2.4.0 + chalk: 4.1.2 + core-js: 3.25.0 + css-loader: 5.2.7_webpack@5.75.0 + express: 4.18.2 + find-up: 5.0.0 + fs-extra: 9.1.0 + html-webpack-plugin: 5.5.0_webpack@5.75.0 + node-fetch: 2.6.7 + process: 0.11.10 + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + read-pkg-up: 7.0.1 + regenerator-runtime: 0.13.11 + resolve-from: 5.0.0 + style-loader: 2.0.0_webpack@5.75.0 + telejson: 6.0.8 + terser-webpack-plugin: 5.3.5_webpack@5.75.0 + ts-dedent: 2.2.0 + typescript: 4.9.5 + util-deprecate: 1.0.2 + webpack: 5.75.0 + webpack-dev-middleware: 4.3.0_webpack@5.75.0 + webpack-virtual-modules: 0.4.6 + transitivePeerDependencies: + - '@swc/core' + - encoding + - esbuild + - eslint + - supports-color + - uglify-js + - vue-template-compiler + - webpack-cli + - webpack-command + dev: true + /@storybook/mdx1-csf/0.0.1_@babel+core@7.20.12: resolution: {integrity: sha512-4biZIWWzoWlCarMZmTpqcJNgo/RBesYZwGFbQeXiGYsswuvfWARZnW9RE9aUEMZ4XPn7B1N3EKkWcdcWe/K2tg==} dependencies: @@ -4336,7 +4464,7 @@ packages: - supports-color dev: true - /@storybook/react/6.5.16_lzsbzm4z64vvnp536ugsiddi7u: + /@storybook/react/6.5.16_nsojkcuzyxevfv6vk2xlte3i2q: resolution: {integrity: sha512-cBtNlOzf/MySpNLBK22lJ8wFU22HnfTB2xJyBk7W7Zi71Lm7Uxkhv1Pz8HdiQndJ0SlsAAQOWjQYsSZsGkZIaA==} engines: {node: '>=10.13.0'} hasBin: true @@ -4369,11 +4497,13 @@ packages: '@babel/preset-react': 7.18.6_@babel+core@7.20.12 '@pmmmwh/react-refresh-webpack-plugin': 0.5.7_ohj47mxwagpoxvu7nhhwxzphqm '@storybook/addons': 6.5.16_biqbaboplfbrettd7655fr4n2y + '@storybook/builder-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/client-logger': 6.5.16 - '@storybook/core': 6.5.16_p3mioo4x4cbujahrc72zmrglam + '@storybook/core': 6.5.16_kowf7vwpr3t53xm7p5dl4iii4q '@storybook/core-common': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/csf': 0.0.2--canary.4566f4d.1 '@storybook/docs-tools': 6.5.16_biqbaboplfbrettd7655fr4n2y + '@storybook/manager-webpack5': 6.5.16_thg4xgkqzam43wvb4m4gitomxu '@storybook/node-logger': 6.5.16 '@storybook/react-docgen-typescript-plugin': 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0_hhrrucqyg4eysmfpujvov2ym5u '@storybook/semver': 7.3.2 @@ -4770,6 +4900,10 @@ packages: resolution: {integrity: sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==} dev: true + /@types/html-minifier-terser/6.1.0: + resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} + dev: true + /@types/http-cache-semantics/4.0.1: resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==} dev: true @@ -6154,6 +6288,10 @@ packages: resolve: 1.22.1 dev: true + /babel-plugin-named-exports-order/0.0.2: + resolution: {integrity: sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw==} + dev: true + /babel-plugin-polyfill-corejs2/0.3.3_@babel+core@7.20.12: resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} peerDependencies: @@ -6472,6 +6610,10 @@ packages: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} dev: true + /browser-assert/1.2.1: + resolution: {integrity: sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==} + dev: true + /browserify-aes/1.2.0: resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} dependencies: @@ -6969,6 +7111,13 @@ packages: source-map: 0.6.1 dev: true + /clean-css/5.3.2: + resolution: {integrity: sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==} + engines: {node: '>= 10.0'} + dependencies: + source-map: 0.6.1 + dev: true + /clean-stack/2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -7108,6 +7257,10 @@ packages: resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} dev: true + /colorette/1.4.0: + resolution: {integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==} + dev: true + /colorette/2.0.19: resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==} dev: true @@ -7142,6 +7295,11 @@ packages: engines: {node: '>= 6'} dev: true + /commander/8.3.0: + resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} + engines: {node: '>= 12'} + dev: true + /commitizen/4.3.0: resolution: {integrity: sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==} engines: {node: '>= 12'} @@ -7744,6 +7902,25 @@ packages: webpack: 4.46.0 dev: true + /css-loader/5.2.7_webpack@5.75.0: + resolution: {integrity: sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==} + engines: {node: '>= 10.13.0'} + peerDependencies: + webpack: ^4.27.0 || ^5.0.0 + dependencies: + icss-utils: 5.1.0_postcss@8.4.21 + loader-utils: 2.0.4 + postcss: 8.4.21 + postcss-modules-extract-imports: 3.0.0_postcss@8.4.21 + postcss-modules-local-by-default: 4.0.0_postcss@8.4.21 + postcss-modules-scope: 3.0.0_postcss@8.4.21 + postcss-modules-values: 4.0.0_postcss@8.4.21 + postcss-value-parser: 4.2.0 + schema-utils: 3.1.1 + semver: 7.3.8 + webpack: 5.75.0 + dev: true + /css-select/4.3.0: resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} dependencies: @@ -9782,6 +9959,38 @@ packages: webpack: 4.46.0 dev: true + /fork-ts-checker-webpack-plugin/6.5.2_f3a4zrasoaotz7gdk64fcmlkrm: + 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 + 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 + eslint: 8.34.0 + fs-extra: 9.1.0 + glob: 7.2.3 + memfs: 3.4.7 + minimatch: 3.1.2 + schema-utils: 2.7.0 + semver: 7.3.8 + tapable: 1.1.3 + typescript: 4.9.5 + webpack: 5.75.0 + dev: true + /form-data-encoder/2.1.4: resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==} engines: {node: '>= 14.17'} @@ -10605,6 +10814,20 @@ packages: terser: 4.8.1 dev: true + /html-minifier-terser/6.1.0: + resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==} + engines: {node: '>=12'} + hasBin: true + dependencies: + camel-case: 4.1.2 + clean-css: 5.3.2 + commander: 8.3.0 + he: 1.2.0 + param-case: 3.0.4 + relateurl: 0.2.7 + terser: 5.16.3 + dev: true + /html-tags/3.2.0: resolution: {integrity: sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==} engines: {node: '>=8'} @@ -10632,6 +10855,20 @@ packages: webpack: 4.46.0 dev: true + /html-webpack-plugin/5.5.0_webpack@5.75.0: + resolution: {integrity: sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==} + engines: {node: '>=10.13.0'} + peerDependencies: + webpack: ^5.20.0 + dependencies: + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 + lodash: 4.17.21 + pretty-error: 4.0.0 + tapable: 2.2.1 + webpack: 5.75.0 + dev: true + /htmlparser2/6.1.0: resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==} dependencies: @@ -10755,6 +10992,15 @@ packages: postcss: 7.0.39 dev: true + /icss-utils/5.1.0_postcss@8.4.21: + resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.4.21 + dev: true + /ieee754/1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true @@ -12806,6 +13052,13 @@ packages: tmpl: 1.0.5 dev: true + /map-age-cleaner/0.1.3: + resolution: {integrity: sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==} + engines: {node: '>=6'} + dependencies: + p-defer: 1.0.0 + dev: true + /map-cache/0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} @@ -12901,6 +13154,14 @@ packages: engines: {node: '>= 0.6'} dev: true + /mem/8.1.1: + resolution: {integrity: sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA==} + engines: {node: '>=10'} + dependencies: + map-age-cleaner: 0.1.3 + mimic-fn: 3.1.0 + dev: true + /memfs/3.4.7: resolution: {integrity: sha512-ygaiUSNalBX85388uskeCyhSAoOSgzBbtVCr9jA2RROssFL9Q19/ZXFqS+2Th2sr1ewNIWgFdLzLC3Yl1Zv+lw==} engines: {node: '>= 4.0.0'} @@ -13085,6 +13346,11 @@ packages: engines: {node: '>=6'} dev: true + /mimic-fn/3.1.0: + resolution: {integrity: sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==} + engines: {node: '>=8'} + dev: true + /mimic-fn/4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} @@ -13745,6 +14011,11 @@ packages: engines: {node: '>=12.20'} dev: true + /p-defer/1.0.0: + resolution: {integrity: sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==} + engines: {node: '>=4'} + dev: true + /p-event/4.2.0: resolution: {integrity: sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==} engines: {node: '>=8'} @@ -14016,6 +14287,10 @@ packages: resolution: {integrity: sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==} dev: true + /path-browserify/1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + dev: true + /path-dirname/1.0.2: resolution: {integrity: sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==} dev: true @@ -14236,6 +14511,15 @@ packages: postcss: 7.0.39 dev: true + /postcss-modules-extract-imports/3.0.0_postcss@8.4.21: + resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.4.21 + dev: true + /postcss-modules-local-by-default/3.0.3: resolution: {integrity: sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==} engines: {node: '>= 6'} @@ -14246,6 +14530,18 @@ packages: postcss-value-parser: 4.2.0 dev: true + /postcss-modules-local-by-default/4.0.0_postcss@8.4.21: + resolution: {integrity: sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + icss-utils: 5.1.0_postcss@8.4.21 + postcss: 8.4.21 + postcss-selector-parser: 6.0.11 + postcss-value-parser: 4.2.0 + dev: true + /postcss-modules-scope/2.2.0: resolution: {integrity: sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==} engines: {node: '>= 6'} @@ -14254,6 +14550,16 @@ packages: postcss-selector-parser: 6.0.11 dev: true + /postcss-modules-scope/3.0.0_postcss@8.4.21: + resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.4.21 + postcss-selector-parser: 6.0.11 + dev: true + /postcss-modules-values/3.0.0: resolution: {integrity: sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==} dependencies: @@ -14261,6 +14567,16 @@ packages: postcss: 7.0.39 dev: true + /postcss-modules-values/4.0.0_postcss@8.4.21: + resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + icss-utils: 5.1.0_postcss@8.4.21 + postcss: 8.4.21 + dev: true + /postcss-resolve-nested-selector/0.1.1: resolution: {integrity: sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==} dev: true @@ -14344,6 +14660,13 @@ packages: renderkid: 2.0.7 dev: true + /pretty-error/4.0.0: + resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} + dependencies: + lodash: 4.17.21 + renderkid: 3.0.0 + dev: true + /pretty-format/27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -15246,6 +15569,16 @@ packages: strip-ansi: 3.0.1 dev: true + /renderkid/3.0.0: + resolution: {integrity: sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==} + dependencies: + css-select: 4.3.0 + dom-converter: 0.2.0 + htmlparser2: 6.1.0 + lodash: 4.17.21 + strip-ansi: 6.0.1 + dev: true + /repeat-element/1.1.4: resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} engines: {node: '>=0.10.0'} @@ -16266,6 +16599,17 @@ packages: webpack: 4.46.0 dev: true + /style-loader/2.0.0_webpack@5.75.0: + resolution: {integrity: sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==} + engines: {node: '>= 10.13.0'} + peerDependencies: + webpack: ^4.0.0 || ^5.0.0 + dependencies: + loader-utils: 2.0.4 + schema-utils: 3.1.1 + webpack: 5.75.0 + dev: true + /style-search/0.1.0: resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} dev: true @@ -17493,6 +17837,21 @@ packages: webpack-log: 2.0.0 dev: true + /webpack-dev-middleware/4.3.0_webpack@5.75.0: + resolution: {integrity: sha512-PjwyVY95/bhBh6VUqt6z4THplYcsvQ8YNNBTBM873xLVmw8FLeALn0qurHbs9EmcfhzQis/eoqypSnZeuUz26w==} + engines: {node: '>= v10.23.3'} + peerDependencies: + webpack: ^4.0.0 || ^5.0.0 + dependencies: + colorette: 1.4.0 + mem: 8.1.1 + memfs: 3.4.7 + mime-types: 2.1.35 + range-parser: 1.2.1 + schema-utils: 3.1.1 + webpack: 5.75.0 + dev: true + /webpack-filter-warnings-plugin/1.2.1_webpack@4.46.0: resolution: {integrity: sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg==} engines: {node: '>= 4.3 < 5.0.0 || >= 5.10'} @@ -17538,6 +17897,10 @@ packages: - supports-color dev: true + /webpack-virtual-modules/0.4.6: + resolution: {integrity: sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA==} + dev: true + /webpack/4.46.0: resolution: {integrity: sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==} engines: {node: '>=6.11.5'} From cc0e637f564da40e429c795269af178cf4a274c6 Mon Sep 17 00:00:00 2001 From: Reece Carolan Date: Thu, 16 Feb 2023 17:16:39 -0800 Subject: [PATCH 2/2] chore: fix css eslint rule --- stories/.eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/stories/.eslintrc.js b/stories/.eslintrc.js index a94929891..e70f4113b 100644 --- a/stories/.eslintrc.js +++ b/stories/.eslintrc.js @@ -13,5 +13,6 @@ module.exports = { 'class-methods-use-this': 'off', 'react/function-component-definition': 'off', 'react/state-in-constructor': 'off', + 'react/no-unknown-property': ['error', { ignore: ['css'] }], }, };