From f527aa08ac89e57c32bc60ad52331a66bc6fdcbe Mon Sep 17 00:00:00 2001 From: Daniil Suvorov Date: Mon, 29 Jul 2024 00:52:11 +0300 Subject: [PATCH] feat: use rspack --- package.json | 3 + packages/vkui/package.json | 5 +- packages/vkui/rspack.styles.config.ts | 113 ++++ packages/vkui/scripts/postcss.d.ts | 12 +- packages/vkui/tsconfig.json | 3 +- packages/vkui/webpack.styles.config.js | 90 --- yarn.lock | 740 ++++++++++++++++++++----- 7 files changed, 728 insertions(+), 238 deletions(-) create mode 100644 packages/vkui/rspack.styles.config.ts delete mode 100644 packages/vkui/webpack.styles.config.js diff --git a/package.json b/package.json index e46d0ddf30e..1538347f5e7 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,8 @@ "@csstools/postcss-global-data": "3.0.0", "@playwright/experimental-ct-react": "1.46.0", "@playwright/test": "1.46.0", + "@rspack/cli": "^v1.0.0-rc.0", + "@rspack/core": "^v1.0.0-rc.0", "@size-limit/file": "^11.1.4", "@size-limit/webpack": "^11.1.4", "@size-limit/webpack-css": "^11.1.4", @@ -36,6 +38,7 @@ "@vkontakte/stylelint-config": "^4.1.0", "@vkontakte/vkui-tokens": "4.52.0", "autoprefixer": "^10.4.20", + "clean-webpack-plugin": "^4.0.0", "concurrently": "^8.2.2", "cross-env": "^7.0.3", "css-loader": "^6.10.0", diff --git a/packages/vkui/package.json b/packages/vkui/package.json index 63fdbe1ed07..338dc29acef 100644 --- a/packages/vkui/package.json +++ b/packages/vkui/package.json @@ -41,7 +41,7 @@ "clear": "yarn run -T shx rm -rf dist/*", "docker:clear-playwright-cache": "../../scripts/generate_env_docker.sh && docker compose --env-file=./.env.docker rm -f && docker volume rm vkui_package_vkui_playwright_cache", "postcss": "yarn run -T cross-env NODE_ENV=production concurrently 'yarn:postcss:*'", - "postcss:bundle": "yarn run -T webpack --config webpack.styles.config.js", + "postcss:bundle": "yarn run -T rspack --config rspack.styles.config.ts", "postcss:modules": "yarn run -T postcss './src/**/*.css' --base ./src --dir ./dist/cssm --config ./cssm", "swc-base": "yarn run -T cross-env NODE_ENV=production swc src/ --config-file package.swcrc --extensions .tsx,.jsx,.ts,.js --strip-leading-paths", "swc:es6": "yarn swc-base -d dist -s", @@ -75,7 +75,8 @@ "devDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1", - "storybook": "8.2.9" + "storybook": "8.2.9", + "ts-node": "^10.9.2" }, "size-limit": [ { diff --git a/packages/vkui/rspack.styles.config.ts b/packages/vkui/rspack.styles.config.ts new file mode 100644 index 00000000000..fe00eac3189 --- /dev/null +++ b/packages/vkui/rspack.styles.config.ts @@ -0,0 +1,113 @@ +import path from 'node:path'; +import rspack, { type Configuration, type RspackPluginInstance } from '@rspack/core'; +import browserslist from 'browserslist'; +import { CleanWebpackPlugin } from 'clean-webpack-plugin'; +import { makePostcssPlugins } from './scripts/postcss'; + +const rootDirectory = path.join(__dirname, '../../'); +const browser = browserslist.readConfig(path.join(rootDirectory, '.browserslistrc')); + +interface MakeCssRuleUseOptions { + /** + * Флаг для определения сборки css модулей + */ + isCssModulesFile?: boolean; +} + +/** + * Конфигурация для css + */ +function makeCssRuleUse({ isCssModulesFile = false }: MakeCssRuleUseOptions = {}) { + return [ + { + loader: 'postcss-loader', + options: { + postcssOptions: { + plugins: makePostcssPlugins({ isVKUIPackageBuild: true, isCssModulesFile }), + }, + }, + }, + ]; +} + +const config: Configuration = { + mode: 'production', + entry: { + vkui: ['./src/styles/themes.css', './src/index.ts'], + components: './src/index.ts', + }, + output: { + path: path.resolve(__dirname, 'dist'), + filename: '[name].js.tmp', + cssFilename: '[name].css', + }, + module: { + rules: [ + { + sideEffects: true, + test: /\.[jt]sx?$/, + exclude: /node_modules/, + loader: 'builtin:swc-loader', + options: { + jsc: { + experimental: { + plugins: [ + [ + 'swc-plugin-css-modules', + { + generate_scoped_name: 'vkui[local]', + }, + ], + ], + }, + }, + }, + }, + { + test: /\.css$/, + exclude: /\.module\.css$/, + use: makeCssRuleUse(), + type: 'css', + }, + { + test: /\.module\.css$/, + use: makeCssRuleUse({ isCssModulesFile: true }), + type: 'css', + }, + ], + }, + optimization: { + minimize: true, + minimizer: [ + new rspack.LightningCssMinimizerRspackPlugin({ + minimizerOptions: { + targets: browser.defaults, + }, + }), + ], + }, + resolve: { + extensions: ['.ts', '.tsx', '.js'], + }, + devtool: 'source-map', + plugins: [ + new CleanWebpackPlugin({ + cleanStaleWebpackAssets: false, + protectWebpackAssets: false, + cleanOnceBeforeBuildPatterns: [], + cleanAfterEveryBuildPatterns: ['*.tmp', '*.tmp.*'], + }) as unknown as RspackPluginInstance, + ], + stats: { + all: false, + assets: true, + errors: true, + warnings: true, + }, + experiments: { + css: true, + }, +}; + +// eslint-disable-next-line import/no-default-export -- rspack-у нужен дефолтный экспорт +export default config; diff --git a/packages/vkui/scripts/postcss.d.ts b/packages/vkui/scripts/postcss.d.ts index 0e5b3a1108b..1eb93d4ce32 100644 --- a/packages/vkui/scripts/postcss.d.ts +++ b/packages/vkui/scripts/postcss.d.ts @@ -1,12 +1,12 @@ import type postcss from 'postcss'; interface MakePostcssPluginsOptions { - isVKUIPackageBuild: boolean; - isProduction: boolean; - isCssModulesFile: boolean; - isESNext: boolean; - isStorybook: boolean; - disableMinimizer: boolean; + isVKUIPackageBuild?: boolean; + isProduction?: boolean; + isCssModulesFile?: boolean; + isESNext?: boolean; + isStorybook?: boolean; + disableMinimizer?: boolean; } export function makePostcssPlugins(options?: MakePostcssPluginsOptions): postcss.AcceptedPlugin[]; diff --git a/packages/vkui/tsconfig.json b/packages/vkui/tsconfig.json index 65fec7e4f7c..c292005e5b7 100644 --- a/packages/vkui/tsconfig.json +++ b/packages/vkui/tsconfig.json @@ -31,7 +31,8 @@ "playwright/index.tsx", "scripts/*.js", "scripts/*.mjs", - "./jest.setup.ts" + "./jest.setup.ts", + "*.config.ts" ], "files": ["./global.d.ts", "types/env.d.ts"] } diff --git a/packages/vkui/webpack.styles.config.js b/packages/vkui/webpack.styles.config.js deleted file mode 100644 index a73d219763b..00000000000 --- a/packages/vkui/webpack.styles.config.js +++ /dev/null @@ -1,90 +0,0 @@ -const path = require('path'); -const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); -const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const { getMinimizerOptions, makePostcssPlugins } = require('./scripts/postcss'); - -/** - * Конфигурация для css - * @param {Object} config - Конфигурация. - * @param {boolean | undefined} config.isCssModulesFile - Сборка module.css файлов. - */ -function makeCssRuleUse({ isCssModulesFile = false } = {}) { - return [ - MiniCssExtractPlugin.loader, - { - loader: 'css-loader', - options: { - modules: false, - }, - }, - { - loader: 'postcss-loader', - options: { - postcssOptions: { - plugins: makePostcssPlugins({ isVKUIPackageBuild: true, isCssModulesFile }), - }, - }, - }, - ]; -} - -/** @type {import('webpack').Configuration} */ -module.exports = { - mode: 'production', - entry: { - vkui: ['./src/styles/themes.css', './src/index.ts'], - components: './src/index.ts', - }, - output: { - path: path.resolve(__dirname, 'dist'), - filename: '[name].js.tmp', - }, - module: { - rules: [ - { - sideEffects: true, - test: /\.[jt]sx?$/, - exclude: /node_modules/, - loader: 'swc-loader', - options: { - jsc: { - experimental: { - plugins: [ - [ - 'swc-plugin-css-modules', - { - generate_scoped_name: 'vkui[local]', - }, - ], - ], - }, - }, - }, - }, - { - test: /\.css$/, - exclude: /\.module\.css$/, - use: makeCssRuleUse(), - }, - { - test: /\.module\.css$/, - use: makeCssRuleUse({ isCssModulesFile: true }), - }, - ], - }, - optimization: { - minimize: true, - minimizer: ['...', new CssMinimizerPlugin({ minimizerOptions: getMinimizerOptions(true) })], - }, - resolve: { - extensions: ['.ts', '.tsx', '.js'], - }, - devtool: 'source-map', - plugins: [new MiniCssExtractPlugin({ filename: '[name].css' })], - stats: { - all: false, - assets: true, - errors: true, - warnings: true, - }, -}; diff --git a/yarn.lock b/yarn.lock index 44293253029..98901fed038 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1540,16 +1540,7 @@ __metadata: languageName: node linkType: hard -"@csstools/css-parser-algorithms@npm:^3.0.0": - version: 3.0.0 - resolution: "@csstools/css-parser-algorithms@npm:3.0.0" - peerDependencies: - "@csstools/css-tokenizer": ^3.0.0 - checksum: 10/15dbd553bd025118c0ad182fbb7385d3918ce040ba63cae6dae753c346c23c551daccd052d9b8775be3c79ad374f00d67caa54ac4510c1b75af928e140459c7e - languageName: node - linkType: hard - -"@csstools/css-parser-algorithms@npm:^3.0.1": +"@csstools/css-parser-algorithms@npm:^3.0.0, @csstools/css-parser-algorithms@npm:^3.0.1": version: 3.0.1 resolution: "@csstools/css-parser-algorithms@npm:3.0.1" peerDependencies: @@ -1558,31 +1549,14 @@ __metadata: languageName: node linkType: hard -"@csstools/css-tokenizer@npm:^3.0.0": - version: 3.0.0 - resolution: "@csstools/css-tokenizer@npm:3.0.0" - checksum: 10/64078771bc287c01a8f2e4ad399a6c171487fe997f205a9e869e9c619966547075c3c00ce760ea6fb9e339201a110def51c69ebba6d827784c6f9b684fa70174 - languageName: node - linkType: hard - -"@csstools/css-tokenizer@npm:^3.0.1": +"@csstools/css-tokenizer@npm:^3.0.0, @csstools/css-tokenizer@npm:^3.0.1": version: 3.0.1 resolution: "@csstools/css-tokenizer@npm:3.0.1" checksum: 10/81ae01b2d3ec40ed3dc78f8507cbfdfe1dbc4ae3f8c8e29b8bb4414216a8c7a7a936fa0faa3d11a1e49ad72209aec7c05ad8450a4ffc30ba288aa074b4a0e3b3 languageName: node linkType: hard -"@csstools/media-query-list-parser@npm:^3.0.0": - version: 3.0.0 - resolution: "@csstools/media-query-list-parser@npm:3.0.0" - peerDependencies: - "@csstools/css-parser-algorithms": ^3.0.0 - "@csstools/css-tokenizer": ^3.0.0 - checksum: 10/aca8b11c16c89d846ba605751842b4e88e246e5e39061bb0d1ae9bab84edd40969f4cad0aa0de96cc8c372b370ff6a609ffdf3ecb73dda70e55edb39c1814f8f - languageName: node - linkType: hard - -"@csstools/media-query-list-parser@npm:^3.0.1": +"@csstools/media-query-list-parser@npm:^3.0.0, @csstools/media-query-list-parser@npm:^3.0.1": version: 3.0.1 resolution: "@csstools/media-query-list-parser@npm:3.0.1" peerDependencies: @@ -1610,7 +1584,7 @@ __metadata: languageName: node linkType: hard -"@discoveryjs/json-ext@npm:^0.5.0": +"@discoveryjs/json-ext@npm:^0.5.0, @discoveryjs/json-ext@npm:^0.5.7": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" checksum: 10/b95682a852448e8ef50d6f8e3b7ba288aab3fd98a2bafbe46881a3db0c6e7248a2debe9e1ee0d4137c521e4743ca5bbcb1c0765c9d7b3e0ef53231506fec42b4 @@ -2225,6 +2199,38 @@ __metadata: languageName: node linkType: hard +"@jsonjoy.com/base64@npm:^1.1.1": + version: 1.1.2 + resolution: "@jsonjoy.com/base64@npm:1.1.2" + peerDependencies: + tslib: 2 + checksum: 10/d76bb58eff841c090d9bf69a073611ffa73c40a664ccbcea689f65961f57d7b24051269d06b437e4f6204285d6ba92f50f587c5e95c5f9e4f10b36a2ed4cd0c8 + languageName: node + linkType: hard + +"@jsonjoy.com/json-pack@npm:^1.0.3": + version: 1.0.4 + resolution: "@jsonjoy.com/json-pack@npm:1.0.4" + dependencies: + "@jsonjoy.com/base64": "npm:^1.1.1" + "@jsonjoy.com/util": "npm:^1.1.2" + hyperdyperid: "npm:^1.2.0" + thingies: "npm:^1.20.0" + peerDependencies: + tslib: 2 + checksum: 10/dd749e7c4610db4ab7d53d9df6d8465b9805e560eda9c60dac4435b50a30710d39e975887104021a11d91c12fdf9c1752f0b0c63580a1b6b1b12854633cfea39 + languageName: node + linkType: hard + +"@jsonjoy.com/util@npm:^1.1.2, @jsonjoy.com/util@npm:^1.3.0": + version: 1.3.0 + resolution: "@jsonjoy.com/util@npm:1.3.0" + peerDependencies: + tslib: 2 + checksum: 10/10befb2fe43c94759361fab4ee0eeed600b034d7a984d01c5246b07b658836c9ba9661cd6b2da521c22158f2dfe9decab9859bd6c347ccbb114b2c1d081ae1ab + languageName: node + linkType: hard + "@leichtgewicht/ip-codec@npm:^2.0.1": version: 2.0.5 resolution: "@leichtgewicht/ip-codec@npm:2.0.5" @@ -2251,6 +2257,42 @@ __metadata: languageName: node linkType: hard +"@module-federation/runtime-tools@npm:0.5.1": + version: 0.5.1 + resolution: "@module-federation/runtime-tools@npm:0.5.1" + dependencies: + "@module-federation/runtime": "npm:0.5.1" + "@module-federation/webpack-bundler-runtime": "npm:0.5.1" + checksum: 10/3c88a7ac45b369e82ccea104db952ab81709a11733b602cf5f1d35b299d1d2f0ce679afc0fd4105386345e727a8f67e141480f708f244fa8c40f898a917c694b + languageName: node + linkType: hard + +"@module-federation/runtime@npm:0.5.1": + version: 0.5.1 + resolution: "@module-federation/runtime@npm:0.5.1" + dependencies: + "@module-federation/sdk": "npm:0.5.1" + checksum: 10/c5b998fdbf6c8ceee2f204d501f8cbe8b4356e4d0a03e767c49107ff6b2a11a077bb4fd17d042dfb050d483eca1baf9b50663e53d3ee9bd8148865be3bb63dcc + languageName: node + linkType: hard + +"@module-federation/sdk@npm:0.5.1": + version: 0.5.1 + resolution: "@module-federation/sdk@npm:0.5.1" + checksum: 10/7569f53f7e0d64ecfb57750d44dac93ba267f35b18921ff84ef2cc12a600690a28460cb2a5b9f2a3e0218b5e45879c16ab980c48930f82065f2c27f476ac3c6e + languageName: node + linkType: hard + +"@module-federation/webpack-bundler-runtime@npm:0.5.1": + version: 0.5.1 + resolution: "@module-federation/webpack-bundler-runtime@npm:0.5.1" + dependencies: + "@module-federation/runtime": "npm:0.5.1" + "@module-federation/sdk": "npm:0.5.1" + checksum: 10/ba09e67a6d8f49a88a1660fbd2553de0d6a3524064cd12870688c79a04ac139ed8faf1657f8f805008b29c56db7c0254b64c0793ffc96d522ab1177d28a365bf + languageName: node + linkType: hard + "@mole-inc/bin-wrapper@npm:^8.0.1": version: 8.0.1 resolution: "@mole-inc/bin-wrapper@npm:8.0.1" @@ -2373,6 +2415,13 @@ __metadata: languageName: node linkType: hard +"@polka/url@npm:^1.0.0-next.20": + version: 1.0.0-next.25 + resolution: "@polka/url@npm:1.0.0-next.25" + checksum: 10/4ab1d7a37163139c0e7bfc9d1e3f6a2a0db91a78b9f0a21f571d6aec2cdaeaacced744d47886c117aa7579aa5694b303fe3e0bd1922bb9cb3ce6bf7c2dc09801 + languageName: node + linkType: hard + "@popperjs/core@npm:^2.9.0": version: 2.11.8 resolution: "@popperjs/core@npm:2.11.8" @@ -2556,6 +2605,168 @@ __metadata: languageName: node linkType: hard +"@rspack/binding-darwin-arm64@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-darwin-arm64@npm:1.0.0-rc.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rspack/binding-darwin-x64@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-darwin-x64@npm:1.0.0-rc.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rspack/binding-linux-arm64-gnu@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-linux-arm64-gnu@npm:1.0.0-rc.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rspack/binding-linux-arm64-musl@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-linux-arm64-musl@npm:1.0.0-rc.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rspack/binding-linux-x64-gnu@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-linux-x64-gnu@npm:1.0.0-rc.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rspack/binding-linux-x64-musl@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-linux-x64-musl@npm:1.0.0-rc.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rspack/binding-win32-arm64-msvc@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-win32-arm64-msvc@npm:1.0.0-rc.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rspack/binding-win32-ia32-msvc@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-win32-ia32-msvc@npm:1.0.0-rc.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rspack/binding-win32-x64-msvc@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding-win32-x64-msvc@npm:1.0.0-rc.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rspack/binding@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/binding@npm:1.0.0-rc.0" + dependencies: + "@rspack/binding-darwin-arm64": "npm:1.0.0-rc.0" + "@rspack/binding-darwin-x64": "npm:1.0.0-rc.0" + "@rspack/binding-linux-arm64-gnu": "npm:1.0.0-rc.0" + "@rspack/binding-linux-arm64-musl": "npm:1.0.0-rc.0" + "@rspack/binding-linux-x64-gnu": "npm:1.0.0-rc.0" + "@rspack/binding-linux-x64-musl": "npm:1.0.0-rc.0" + "@rspack/binding-win32-arm64-msvc": "npm:1.0.0-rc.0" + "@rspack/binding-win32-ia32-msvc": "npm:1.0.0-rc.0" + "@rspack/binding-win32-x64-msvc": "npm:1.0.0-rc.0" + dependenciesMeta: + "@rspack/binding-darwin-arm64": + optional: true + "@rspack/binding-darwin-x64": + optional: true + "@rspack/binding-linux-arm64-gnu": + optional: true + "@rspack/binding-linux-arm64-musl": + optional: true + "@rspack/binding-linux-x64-gnu": + optional: true + "@rspack/binding-linux-x64-musl": + optional: true + "@rspack/binding-win32-arm64-msvc": + optional: true + "@rspack/binding-win32-ia32-msvc": + optional: true + "@rspack/binding-win32-x64-msvc": + optional: true + checksum: 10/52030796f80f1d968402ee4fc0215a1c0bd9492dc1fd968cdc807f70825dac06c8385874470461343379cb2c241e98166dbdf42b29eee9a4fddfb981fd0bee4f + languageName: node + linkType: hard + +"@rspack/cli@npm:^v1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/cli@npm:1.0.0-rc.0" + dependencies: + "@discoveryjs/json-ext": "npm:^0.5.7" + "@rspack/dev-server": "npm:1.0.0-rc.0" + colorette: "npm:2.0.19" + exit-hook: "npm:^3.2.0" + interpret: "npm:^3.1.1" + rechoir: "npm:^0.8.0" + semver: "npm:^7.6.2" + webpack-bundle-analyzer: "npm:4.6.1" + yargs: "npm:17.6.2" + peerDependencies: + "@rspack/core": ^1.0.0-alpha + bin: + rspack: bin/rspack + checksum: 10/66661d7491a8520b41d8bf85f4bb90eb679e0540dc59ed422df2e33d82c137cf1a02a1eaebe75dff21e8fbbeaeff4ecb6f7e89ae7a31872944fc1763fdb0ea7d + languageName: node + linkType: hard + +"@rspack/core@npm:^v1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/core@npm:1.0.0-rc.0" + dependencies: + "@module-federation/runtime-tools": "npm:0.5.1" + "@rspack/binding": "npm:1.0.0-rc.0" + "@rspack/lite-tapable": "npm:1.0.0" + caniuse-lite: "npm:^1.0.30001616" + peerDependencies: + "@swc/helpers": ">=0.5.1" + peerDependenciesMeta: + "@swc/helpers": + optional: true + checksum: 10/0883403678c7bf2bd4247557d3e0bd2f890590b32f89eb66b6b1cb6b470f1ee4eee79b3ece581d269a4827c202a6415606858eb2b7fa7eb21f09e9165e82db8e + languageName: node + linkType: hard + +"@rspack/dev-server@npm:1.0.0-rc.0": + version: 1.0.0-rc.0 + resolution: "@rspack/dev-server@npm:1.0.0-rc.0" + dependencies: + chokidar: "npm:^3.6.0" + connect-history-api-fallback: "npm:^2.0.0" + express: "npm:^4.19.2" + http-proxy-middleware: "npm:^2.0.6" + mime-types: "npm:^2.1.35" + webpack-dev-middleware: "npm:^7.3.0" + webpack-dev-server: "npm:^5.0.4" + ws: "npm:^8.16.0" + peerDependencies: + "@rspack/core": "*" + checksum: 10/8ec96eb88809953cebf922adc9e10e04518d854f02e159bac08bf62826177b9682f339ab2c707fafe2d58c03adb0da58923beb285e4f343e22e825c038ff5438 + languageName: node + linkType: hard + +"@rspack/lite-tapable@npm:1.0.0": + version: 1.0.0 + resolution: "@rspack/lite-tapable@npm:1.0.0" + checksum: 10/27528971db05490b08f1e353cc8182c5a1b65097a3e7177e18eff68d73ca83bc1e22d21ba37715103f06d64038b0df9c369b30cf3bcfaeb80e2dfccab9fb2630 + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -3609,7 +3820,7 @@ __metadata: languageName: node linkType: hard -"@types/bonjour@npm:^3.5.9": +"@types/bonjour@npm:^3.5.13, @types/bonjour@npm:^3.5.9": version: 3.5.13 resolution: "@types/bonjour@npm:3.5.13" dependencies: @@ -3630,7 +3841,7 @@ __metadata: languageName: node linkType: hard -"@types/connect-history-api-fallback@npm:^1.3.5": +"@types/connect-history-api-fallback@npm:^1.3.5, @types/connect-history-api-fallback@npm:^1.5.4": version: 1.5.4 resolution: "@types/connect-history-api-fallback@npm:1.5.4" dependencies: @@ -3930,12 +4141,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 22.2.0 - resolution: "@types/node@npm:22.2.0" +"@types/node@npm:*, @types/node@npm:^22.4.2": + version: 22.4.2 + resolution: "@types/node@npm:22.4.2" dependencies: - undici-types: "npm:~6.13.0" - checksum: 10/2957c5c81f1a07a1210f28382adae65c11070c301e395fa819448516f1a2a710054b29e0ec7d8e28624afbcd90dae810403a497109545dea835b554fc76edf6c + undici-types: "npm:~6.19.2" + checksum: 10/b166dbf77da448c61e800d5adb3e6b1f6df0677edc5d0f686f7a17cf6a2500eb4966a23112cb37378be3344ce3156aec8cf4918fc49dc8cd401724aaeec74cc0 languageName: node linkType: hard @@ -3948,15 +4159,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.4.2": - version: 22.4.2 - resolution: "@types/node@npm:22.4.2" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10/b166dbf77da448c61e800d5adb3e6b1f6df0677edc5d0f686f7a17cf6a2500eb4966a23112cb37378be3344ce3156aec8cf4918fc49dc8cd401724aaeec74cc0 - languageName: node - linkType: hard - "@types/normalize-package-data@npm:^2.4.0": version: 2.4.4 resolution: "@types/normalize-package-data@npm:2.4.4" @@ -4080,6 +4282,13 @@ __metadata: languageName: node linkType: hard +"@types/retry@npm:0.12.2": + version: 0.12.2 + resolution: "@types/retry@npm:0.12.2" + checksum: 10/e5675035717b39ce4f42f339657cae9637cf0c0051cf54314a6a2c44d38d91f6544be9ddc0280587789b6afd056be5d99dbe3e9f4df68c286c36321579b1bf4a + languageName: node + linkType: hard + "@types/semver@npm:^7.3.4": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" @@ -4097,7 +4306,7 @@ __metadata: languageName: node linkType: hard -"@types/serve-index@npm:^1.9.1": +"@types/serve-index@npm:^1.9.1, @types/serve-index@npm:^1.9.4": version: 1.9.4 resolution: "@types/serve-index@npm:1.9.4" dependencies: @@ -4106,7 +4315,7 @@ __metadata: languageName: node linkType: hard -"@types/serve-static@npm:*, @types/serve-static@npm:^1.13.10": +"@types/serve-static@npm:*, @types/serve-static@npm:^1.13.10, @types/serve-static@npm:^1.15.5": version: 1.15.7 resolution: "@types/serve-static@npm:1.15.7" dependencies: @@ -4117,7 +4326,7 @@ __metadata: languageName: node linkType: hard -"@types/sockjs@npm:^0.3.33": +"@types/sockjs@npm:^0.3.33, @types/sockjs@npm:^0.3.36": version: 0.3.36 resolution: "@types/sockjs@npm:0.3.36" dependencies: @@ -4172,12 +4381,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.5.5": - version: 8.5.10 - resolution: "@types/ws@npm:8.5.10" +"@types/ws@npm:^8.5.10, @types/ws@npm:^8.5.5": + version: 8.5.11 + resolution: "@types/ws@npm:8.5.11" dependencies: "@types/node": "npm:*" - checksum: 10/9b414dc5e0b6c6f1ea4b1635b3568c58707357f68076df9e7cd33194747b7d1716d5189c0dbdd68c8d2521b148e88184cf881bac7429eb0e5c989b001539ed31 + checksum: 10/950d13b762fc7c092a0fc1450c41229a1d41abb93cb72251068885bd46fa4bbcf461c00df2e77de3f7a547371998b650a720ed90417562af0772b14a8a009dec languageName: node linkType: hard @@ -4513,6 +4722,8 @@ __metadata: "@project-tools/postcss-restructure-variable": "workspace:1.0.0" "@project-tools/storybook-addon-cartesian": "workspace:1.0.0" "@project-tools/stylelint-plugin-vkui": "workspace:1.0.0" + "@rspack/cli": "npm:^v1.0.0-rc.0" + "@rspack/core": "npm:^v1.0.0-rc.0" "@size-limit/file": "npm:^11.1.4" "@size-limit/webpack": "npm:^11.1.4" "@size-limit/webpack-css": "npm:^11.1.4" @@ -4536,6 +4747,7 @@ __metadata: "@vkontakte/stylelint-config": "npm:^4.1.0" "@vkontakte/vkui-tokens": "npm:4.52.0" autoprefixer: "npm:^10.4.20" + clean-webpack-plugin: "npm:^4.0.0" concurrently: "npm:^8.2.2" cross-env: "npm:^7.0.3" css-loader: "npm:^6.10.0" @@ -4638,6 +4850,7 @@ __metadata: react: "npm:^18.3.1" react-dom: "npm:^18.3.1" storybook: "npm:8.2.9" + ts-node: "npm:^10.9.2" peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 @@ -4939,7 +5152,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": +"acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": version: 8.3.3 resolution: "acorn-walk@npm:8.3.3" dependencies: @@ -4966,12 +5179,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.12.0 - resolution: "acorn@npm:8.12.0" +"acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": + version: 8.12.1 + resolution: "acorn@npm:8.12.1" bin: acorn: bin/acorn - checksum: 10/550cc5033184eb98f7fbe2e9ddadd0f47f065734cc682f25db7a244f52314eb816801b64dec7174effd978045bd1754892731a90b1102b0ede9d17a15cfde138 + checksum: 10/d08c2d122bba32d0861e0aa840b2ee25946c286d5dc5990abca991baf8cdbfbe199b05aacb221b979411a2fea36f83e26b5ac4f6b4e0ce49038c62316c1848f0 languageName: node linkType: hard @@ -5708,7 +5921,7 @@ __metadata: languageName: node linkType: hard -"bonjour-service@npm:^1.0.11": +"bonjour-service@npm:^1.0.11, bonjour-service@npm:^1.2.1": version: 1.2.1 resolution: "bonjour-service@npm:1.2.1" dependencies: @@ -5824,6 +6037,15 @@ __metadata: languageName: node linkType: hard +"bundle-name@npm:^4.1.0": + version: 4.1.0 + resolution: "bundle-name@npm:4.1.0" + dependencies: + run-applescript: "npm:^7.0.0" + checksum: 10/1d966c8d2dbf4d9d394e53b724ac756c2414c45c01340b37743621f59cc565a435024b394ddcb62b9b335d1c9a31f4640eb648c3fec7f97ee74dc0694c9beb6c + languageName: node + linkType: hard + "bytes-iec@npm:^3.1.1": version: 3.1.1 resolution: "bytes-iec@npm:3.1.1" @@ -5965,7 +6187,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001639, caniuse-lite@npm:^1.0.30001646": +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001616, caniuse-lite@npm:^1.0.30001639, caniuse-lite@npm:^1.0.30001646": version: 1.0.30001649 resolution: "caniuse-lite@npm:1.0.30001649" checksum: 10/a528438a40124d9eb70b0ebacd14e331f925a73e26bf68ac15658c031e6b750b8c1f9c86047b7b9936406e419c87cbe61c9d7e5632db3aa4ca754b1496d21324 @@ -6339,6 +6561,13 @@ __metadata: languageName: node linkType: hard +"colorette@npm:2.0.19": + version: 2.0.19 + resolution: "colorette@npm:2.0.19" + checksum: 10/6e2606435cd30e1cae8fc6601b024fdd809e20515c57ce1e588d0518403cff0c98abf807912ba543645a9188af36763b69b67e353d47397f24a1c961aba300bd + languageName: node + linkType: hard + "colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.20": version: 2.0.20 resolution: "colorette@npm:2.0.20" @@ -7125,6 +7354,23 @@ __metadata: languageName: node linkType: hard +"default-browser-id@npm:^5.0.0": + version: 5.0.0 + resolution: "default-browser-id@npm:5.0.0" + checksum: 10/185bfaecec2c75fa423544af722a3469b20704c8d1942794a86e4364fe7d9e8e9f63241a5b769d61c8151993bc65833a5b959026fa1ccea343b3db0a33aa6deb + languageName: node + linkType: hard + +"default-browser@npm:^5.2.1": + version: 5.2.1 + resolution: "default-browser@npm:5.2.1" + dependencies: + bundle-name: "npm:^4.1.0" + default-browser-id: "npm:^5.0.0" + checksum: 10/afab7eff7b7f5f7a94d9114d1ec67273d3fbc539edf8c0f80019879d53aa71e867303c6f6d7cffeb10a6f3cfb59d4f963dba3f9c96830b4540cc7339a1bf9840 + languageName: node + linkType: hard + "default-gateway@npm:^6.0.3": version: 6.0.3 resolution: "default-gateway@npm:6.0.3" @@ -7168,6 +7414,13 @@ __metadata: languageName: node linkType: hard +"define-lazy-prop@npm:^3.0.0": + version: 3.0.0 + resolution: "define-lazy-prop@npm:3.0.0" + checksum: 10/f28421cf9ee86eecaf5f3b8fe875f13d7009c2625e97645bfff7a2a49aca678270b86c39f9c32939e5ca7ab96b551377ed4139558c795e076774287ad3af1aa4 + languageName: node + linkType: hard + "define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" @@ -8397,6 +8650,13 @@ __metadata: languageName: node linkType: hard +"exit-hook@npm:^3.2.0": + version: 3.2.0 + resolution: "exit-hook@npm:3.2.0" + checksum: 10/48b7ab6538043eb5b91379852fa01cb301810806f181f2f784fc596a6ce08016bb8b636881b873a3cf0a604f3ec746a6da52081a9c2e02b1858c59481cf00442 + languageName: node + linkType: hard + "exit@npm:^0.1.2": version: 0.1.2 resolution: "exit@npm:0.1.2" @@ -9205,9 +9465,9 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10": - version: 10.4.2 - resolution: "glob@npm:10.4.2" +"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": + version: 10.4.5 + resolution: "glob@npm:10.4.5" dependencies: foreground-child: "npm:^3.1.0" jackspeak: "npm:^3.1.2" @@ -9217,7 +9477,7 @@ __metadata: path-scurry: "npm:^1.11.1" bin: glob: dist/esm/bin.mjs - checksum: 10/e412776b5952a818eba790c830bea161c9a56813fd767d8c4c49f855603b1fb962b3e73f1f627a47298a57d2992b9f0f2fe15cf93e74ecaaa63fb45d63fdd090 + checksum: 10/698dfe11828b7efd0514cd11e573eaed26b2dff611f0400907281ce3eab0c1e56143ef9b35adc7c77ecc71fba74717b510c7c223d34ca8a98ec81777b293d4ac languageName: node linkType: hard @@ -9549,7 +9809,7 @@ __metadata: languageName: node linkType: hard -"html-entities@npm:^2.1.0, html-entities@npm:^2.3.2": +"html-entities@npm:^2.1.0, html-entities@npm:^2.3.2, html-entities@npm:^2.4.0": version: 2.5.2 resolution: "html-entities@npm:2.5.2" checksum: 10/4ec12ebdf2d5ba8192c68e1aef3c1e4a4f36b29246a0a88464fe278a54517d0196d3489af46a3145c7ecacb4fc5fd50497be19eb713b810acab3f0efcf36fdc2 @@ -9687,7 +9947,7 @@ __metadata: languageName: node linkType: hard -"http-proxy-middleware@npm:^2.0.3": +"http-proxy-middleware@npm:^2.0.3, http-proxy-middleware@npm:^2.0.6": version: 2.0.6 resolution: "http-proxy-middleware@npm:2.0.6" dependencies: @@ -9769,6 +10029,13 @@ __metadata: languageName: node linkType: hard +"hyperdyperid@npm:^1.2.0": + version: 1.2.0 + resolution: "hyperdyperid@npm:1.2.0" + checksum: 10/64abb5568ff17aa08ac0175ae55e46e22831c5552be98acdd1692081db0209f36fff58b31432017b4e1772c178962676a2cc3c54e4d5d7f020d7710cec7ad7a6 + languageName: node + linkType: hard + "hyphenate-style-name@npm:^1.0.3": version: 1.1.0 resolution: "hyphenate-style-name@npm:1.1.0" @@ -9810,14 +10077,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": - version: 5.3.1 - resolution: "ignore@npm:5.3.1" - checksum: 10/0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065 - languageName: node - linkType: hard - -"ignore@npm:^5.3.2": +"ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1, ignore@npm:^5.3.2": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: 10/cceb6a457000f8f6a50e1196429750d782afce5680dd878aa4221bd79972d68b3a55b4b1458fc682be978f4d3c6a249046aa0880637367216444ab7b014cfc98 @@ -9963,7 +10223,7 @@ __metadata: languageName: node linkType: hard -"ipaddr.js@npm:^2.0.1": +"ipaddr.js@npm:^2.0.1, ipaddr.js@npm:^2.1.0": version: 2.2.0 resolution: "ipaddr.js@npm:2.2.0" checksum: 10/9e1cdd9110b3bca5d910ab70d7fb1933e9c485d9b92cb14ef39f30c412ba3fe02a553921bf696efc7149cc653453c48ccf173adb996ec27d925f1f340f872986 @@ -10124,6 +10384,15 @@ __metadata: languageName: node linkType: hard +"is-docker@npm:^3.0.0": + version: 3.0.0 + resolution: "is-docker@npm:3.0.0" + bin: + is-docker: cli.js + checksum: 10/b698118f04feb7eaf3338922bd79cba064ea54a1c3db6ec8c0c8d8ee7613e7e5854d802d3ef646812a8a3ace81182a085dfa0a71cc68b06f3fa794b9783b3c90 + languageName: node + linkType: hard + "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -10202,6 +10471,17 @@ __metadata: languageName: node linkType: hard +"is-inside-container@npm:^1.0.0": + version: 1.0.0 + resolution: "is-inside-container@npm:1.0.0" + dependencies: + is-docker: "npm:^3.0.0" + bin: + is-inside-container: cli.js + checksum: 10/c50b75a2ab66ab3e8b92b3bc534e1ea72ca25766832c0623ac22d134116a98bcf012197d1caabe1d1c4bd5f84363d4aa5c36bb4b585fbcaf57be172cd10a1a03 + languageName: node + linkType: hard + "is-interactive@npm:^1.0.0": version: 1.0.0 resolution: "is-interactive@npm:1.0.0" @@ -10230,6 +10510,13 @@ __metadata: languageName: node linkType: hard +"is-network-error@npm:^1.0.0": + version: 1.1.0 + resolution: "is-network-error@npm:1.1.0" + checksum: 10/b2fe6aac07f814a9de275efd05934c832c129e7ba292d27614e9e8eec9e043b7a0bbeaeca5d0916b0f462edbec2aa2eaee974ee0a12ac095040e9515c222c251 + languageName: node + linkType: hard + "is-number-object@npm:^1.0.4": version: 1.0.7 resolution: "is-number-object@npm:1.0.7" @@ -10466,6 +10753,15 @@ __metadata: languageName: node linkType: hard +"is-wsl@npm:^3.1.0": + version: 3.1.0 + resolution: "is-wsl@npm:3.1.0" + dependencies: + is-inside-container: "npm:^1.0.0" + checksum: 10/f9734c81f2f9cf9877c5db8356bfe1ff61680f1f4c1011e91278a9c0564b395ae796addb4bf33956871041476ec82c3e5260ed57b22ac91794d4ae70a1d2f0a9 + languageName: node + linkType: hard + "isarray@npm:^2.0.5": version: 2.0.5 resolution: "isarray@npm:2.0.5" @@ -11476,7 +11772,7 @@ __metadata: languageName: node linkType: hard -"launch-editor@npm:^2.6.0": +"launch-editor@npm:^2.6.0, launch-editor@npm:^2.6.1": version: 2.8.0 resolution: "launch-editor@npm:2.8.0" dependencies: @@ -11999,6 +12295,18 @@ __metadata: languageName: node linkType: hard +"memfs@npm:^4.6.0": + version: 4.11.0 + resolution: "memfs@npm:4.11.0" + dependencies: + "@jsonjoy.com/json-pack": "npm:^1.0.3" + "@jsonjoy.com/util": "npm:^1.3.0" + tree-dump: "npm:^1.0.1" + tslib: "npm:^2.0.0" + checksum: 10/c648a75980c334ad08db19fa0e9c8c5c350917ea0a0ffcba8c059a474597736fd41557e815befa25d1db23fd846c7e7209362f268d87e2c92b5adc59154c15c8 + languageName: node + linkType: hard + "memoizerific@npm:^1.11.3": version: 1.11.3 resolution: "memoizerific@npm:1.11.3" @@ -12070,7 +12378,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": +"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:^2.1.35, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -12296,6 +12604,13 @@ __metadata: languageName: node linkType: hard +"mrmime@npm:^1.0.0": + version: 1.0.1 + resolution: "mrmime@npm:1.0.1" + checksum: 10/a157e833ffe76648ab2107319deeff024b80b136ec66c60fae9d339009a1bb72c57ec1feecfd6a905dfd3df29e2299e850bff84b69cad790cc9bd9ab075834d1 + languageName: node + linkType: hard + "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -12713,7 +13028,7 @@ __metadata: languageName: node linkType: hard -"on-finished@npm:2.4.1": +"on-finished@npm:2.4.1, on-finished@npm:^2.4.1": version: 2.4.1 resolution: "on-finished@npm:2.4.1" dependencies: @@ -12765,6 +13080,18 @@ __metadata: languageName: node linkType: hard +"open@npm:^10.0.3": + version: 10.1.0 + resolution: "open@npm:10.1.0" + dependencies: + default-browser: "npm:^5.2.1" + define-lazy-prop: "npm:^3.0.0" + is-inside-container: "npm:^1.0.0" + is-wsl: "npm:^3.1.0" + checksum: 10/a9c4105243a1b3c5312bf2aeb678f78d31f00618b5100088ee01eed2769963ea1f2dd464ac8d93cef51bba2d911e1a9c0c34a753ec7b91d6b22795903ea6647a + languageName: node + linkType: hard + "open@npm:^8.0.9, open@npm:^8.4.0": version: 8.4.2 resolution: "open@npm:8.4.2" @@ -12776,6 +13103,15 @@ __metadata: languageName: node linkType: hard +"opener@npm:^1.5.2": + version: 1.5.2 + resolution: "opener@npm:1.5.2" + bin: + opener: bin/opener-bin.js + checksum: 10/0504efcd6546e14c016a261f58a68acf9f2e5c23d84865d7d5470d5169788327ceaa5386253682f533b3fba4821748aa37ecb395f3dae7acb3261b9b22e36814 + languageName: node + linkType: hard + "optionator@npm:^0.8.1": version: 0.8.3 resolution: "optionator@npm:0.8.3" @@ -12931,6 +13267,17 @@ __metadata: languageName: node linkType: hard +"p-retry@npm:^6.2.0": + version: 6.2.0 + resolution: "p-retry@npm:6.2.0" + dependencies: + "@types/retry": "npm:0.12.2" + is-network-error: "npm:^1.0.0" + retry: "npm:^0.13.1" + checksum: 10/1a5ac16828c96c03c354f78d643dfc7aa8f8b998e1b60e27533da2c75e5cabfb1c7f88ce312e813e09a80b056011fbb372d384132e9c92d27d052bd7c282a978 + languageName: node + linkType: hard + "p-try@npm:^2.0.0": version: 2.2.0 resolution: "p-try@npm:2.2.0" @@ -13806,17 +14153,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.1.1": - version: 6.1.1 - resolution: "postcss-selector-parser@npm:6.1.1" - dependencies: - cssesc: "npm:^3.0.0" - util-deprecate: "npm:^1.0.2" - checksum: 10/ce2af36b56d9333a6873498d3b6ee858466ceb3e9560f998eeaf294e5c11cafffb122d307f3c2904ee8f87d12c71c5ab0b26ca4228b97b6c70b7d1e7cd9b5737 - languageName: node - linkType: hard - -"postcss-selector-parser@npm:^6.1.2": +"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.1.1, postcss-selector-parser@npm:^6.1.2": version: 6.1.2 resolution: "postcss-selector-parser@npm:6.1.2" dependencies: @@ -15045,6 +15382,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^5.0.5": + version: 5.0.9 + resolution: "rimraf@npm:5.0.9" + dependencies: + glob: "npm:^10.3.7" + bin: + rimraf: dist/esm/bin.mjs + checksum: 10/443669809ca3d402ca7565fd9f5b994b5669d8f8b33a23e3a00a66c3a2e4c529d8a5a47c9e7c42f2c7a0c70d21ff8bb1c86493b12027139a3de47fc33fe60084 + languageName: node + linkType: hard + "rimraf@npm:~2.6.2": version: 2.6.3 resolution: "rimraf@npm:2.6.3" @@ -15119,6 +15467,13 @@ __metadata: languageName: node linkType: hard +"run-applescript@npm:^7.0.0": + version: 7.0.0 + resolution: "run-applescript@npm:7.0.0" + checksum: 10/b02462454d8b182ad4117e5d4626e9e6782eb2072925c9fac582170b0627ae3c1ea92ee9b2df7daf84b5e9ffe14eb1cf5fb70bc44b15c8a0bfcdb47987e2410c + languageName: node + linkType: hard + "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -15267,7 +15622,7 @@ __metadata: languageName: node linkType: hard -"selfsigned@npm:^2.1.1": +"selfsigned@npm:^2.1.1, selfsigned@npm:^2.4.1": version: 2.4.1 resolution: "selfsigned@npm:2.4.1" dependencies: @@ -15516,6 +15871,17 @@ __metadata: languageName: node linkType: hard +"sirv@npm:^1.0.7": + version: 1.0.19 + resolution: "sirv@npm:1.0.19" + dependencies: + "@polka/url": "npm:^1.0.0-next.20" + mrmime: "npm:^1.0.0" + totalist: "npm:^1.0.0" + checksum: 10/b6833ab4d41f5e449ffcb4d89caac45d97de4b246f984f9b9fa86a0107689562c22d24788b533a58a10cf2cfcebb7e6c678ffa84ac7d3392fca9d18b1bd7ee05 + languageName: node + linkType: hard + "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -16530,6 +16896,15 @@ __metadata: languageName: node linkType: hard +"thingies@npm:^1.20.0": + version: 1.21.0 + resolution: "thingies@npm:1.21.0" + peerDependencies: + tslib: ^2 + checksum: 10/5c3954b67391d1432c252cb7089f29480e2164f06987a63d83c9747aa6999bfc313d6edfce71ed967316a3378dfcaf38f35ea77aaa5d423edaf776b8ff854f83 + languageName: node + linkType: hard + "thunky@npm:^1.0.2": version: 1.1.0 resolution: "thunky@npm:1.1.0" @@ -16617,6 +16992,13 @@ __metadata: languageName: node linkType: hard +"totalist@npm:^1.0.0": + version: 1.1.0 + resolution: "totalist@npm:1.1.0" + checksum: 10/dfab80c7104a1d170adc8c18782d6c04b7df08352dec452191208c66395f7ef2af7537ddfa2cf1decbdcfab1a47afbbf0dec6543ea191da98c1c6e1599f86adc + languageName: node + linkType: hard + "tough-cookie@npm:^4.1.2": version: 4.1.4 resolution: "tough-cookie@npm:4.1.4" @@ -16638,6 +17020,15 @@ __metadata: languageName: node linkType: hard +"tree-dump@npm:^1.0.1": + version: 1.0.2 + resolution: "tree-dump@npm:1.0.2" + peerDependencies: + tslib: 2 + checksum: 10/ddcde4da9ded8edc2fa77fc9153ef8d7fba9cd5f813db27c30c7039191b50e1512b7106f0f4fe7ccaa3aa69f85b4671eda7ed0b9f9d34781eb26ebe4593ad4eb + languageName: node + linkType: hard + "tree-kill@npm:^1.2.2": version: 1.2.2 resolution: "tree-kill@npm:1.2.2" @@ -16955,13 +17346,6 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.13.0": - version: 6.13.0 - resolution: "undici-types@npm:6.13.0" - checksum: 10/da52e37cbc6da3a75da86fa08dd795ca8924430deb91005eb884b840e46e19013ccd4c1c289f70018e8cf0c338add24a500e7c3acfcd49b1ffb27ff9f91e38b9 - languageName: node - linkType: hard - "undici-types@npm:~6.19.2": version: 6.19.6 resolution: "undici-types@npm:6.19.6" @@ -17447,6 +17831,25 @@ __metadata: languageName: node linkType: hard +"webpack-bundle-analyzer@npm:4.6.1": + version: 4.6.1 + resolution: "webpack-bundle-analyzer@npm:4.6.1" + dependencies: + acorn: "npm:^8.0.4" + acorn-walk: "npm:^8.0.0" + chalk: "npm:^4.1.0" + commander: "npm:^7.2.0" + gzip-size: "npm:^6.0.0" + lodash: "npm:^4.17.20" + opener: "npm:^1.5.2" + sirv: "npm:^1.0.7" + ws: "npm:^7.3.1" + bin: + webpack-bundle-analyzer: lib/bin/analyzer.js + checksum: 10/16c4807454b3617c5258b65ff34f9be262416fab804e40cba5140f88382c5e047d304f6faf225926a5f37e18137147ac7e5fd217a4ea77c4e2b6e3d257d3b22f + languageName: node + linkType: hard + "webpack-cli@npm:^5.1.4": version: 5.1.4 resolution: "webpack-cli@npm:5.1.4" @@ -17512,6 +17915,25 @@ __metadata: languageName: node linkType: hard +"webpack-dev-middleware@npm:^7.1.0, webpack-dev-middleware@npm:^7.3.0": + version: 7.3.0 + resolution: "webpack-dev-middleware@npm:7.3.0" + dependencies: + colorette: "npm:^2.0.10" + memfs: "npm:^4.6.0" + mime-types: "npm:^2.1.31" + on-finished: "npm:^2.4.1" + range-parser: "npm:^1.2.1" + schema-utils: "npm:^4.0.0" + peerDependencies: + webpack: ^5.0.0 + peerDependenciesMeta: + webpack: + optional: true + checksum: 10/813327ff3814569d43a6608c64503dc9c2b9f993f1ef57cb304afc9e2473c35115306e1e6b9d4f85798531441d11dea3695965bbb5d2782bfcf4a33c3212855f + languageName: node + linkType: hard + "webpack-dev-server@npm:^4.15.0": version: 4.15.2 resolution: "webpack-dev-server@npm:4.15.2" @@ -17559,6 +17981,53 @@ __metadata: languageName: node linkType: hard +"webpack-dev-server@npm:^5.0.4": + version: 5.0.4 + resolution: "webpack-dev-server@npm:5.0.4" + dependencies: + "@types/bonjour": "npm:^3.5.13" + "@types/connect-history-api-fallback": "npm:^1.5.4" + "@types/express": "npm:^4.17.21" + "@types/serve-index": "npm:^1.9.4" + "@types/serve-static": "npm:^1.15.5" + "@types/sockjs": "npm:^0.3.36" + "@types/ws": "npm:^8.5.10" + ansi-html-community: "npm:^0.0.8" + bonjour-service: "npm:^1.2.1" + chokidar: "npm:^3.6.0" + colorette: "npm:^2.0.10" + compression: "npm:^1.7.4" + connect-history-api-fallback: "npm:^2.0.0" + default-gateway: "npm:^6.0.3" + express: "npm:^4.17.3" + graceful-fs: "npm:^4.2.6" + html-entities: "npm:^2.4.0" + http-proxy-middleware: "npm:^2.0.3" + ipaddr.js: "npm:^2.1.0" + launch-editor: "npm:^2.6.1" + open: "npm:^10.0.3" + p-retry: "npm:^6.2.0" + rimraf: "npm:^5.0.5" + schema-utils: "npm:^4.2.0" + selfsigned: "npm:^2.4.1" + serve-index: "npm:^1.9.1" + sockjs: "npm:^0.3.24" + spdy: "npm:^4.0.2" + webpack-dev-middleware: "npm:^7.1.0" + ws: "npm:^8.16.0" + peerDependencies: + webpack: ^5.0.0 + peerDependenciesMeta: + webpack: + optional: true + webpack-cli: + optional: true + bin: + webpack-dev-server: bin/webpack-dev-server.js + checksum: 10/3896866abf15a1d5cc31ab4fc9c36aacf3431356837ad6debe25cde29289a70c58dcbe40914bbb275ff455463d37437532093d0e8d7744e7643ce1364491fdb4 + languageName: node + linkType: hard + "webpack-hot-middleware@npm:^2.25.1": version: 2.26.1 resolution: "webpack-hot-middleware@npm:2.26.1" @@ -17625,44 +18094,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5, webpack@npm:^5, webpack@npm:^5.91.0": - version: 5.92.1 - resolution: "webpack@npm:5.92.1" - dependencies: - "@types/eslint-scope": "npm:^3.7.3" - "@types/estree": "npm:^1.0.5" - "@webassemblyjs/ast": "npm:^1.12.1" - "@webassemblyjs/wasm-edit": "npm:^1.12.1" - "@webassemblyjs/wasm-parser": "npm:^1.12.1" - acorn: "npm:^8.7.1" - acorn-import-attributes: "npm:^1.9.5" - browserslist: "npm:^4.21.10" - chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.17.0" - es-module-lexer: "npm:^1.2.1" - eslint-scope: "npm:5.1.1" - events: "npm:^3.2.0" - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.11" - json-parse-even-better-errors: "npm:^2.3.1" - loader-runner: "npm:^4.2.0" - mime-types: "npm:^2.1.27" - neo-async: "npm:^2.6.2" - schema-utils: "npm:^3.2.0" - tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.10" - watchpack: "npm:^2.4.1" - webpack-sources: "npm:^3.2.3" - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 10/76fcfbebcc0719c4734c65a01dcef7a0f18f3f2647484e8a7e8606adbd128ac42756bb3a8b7e2d486fe97f6286ebdc7b937ccdf3cf1d21b4684134bb89bbed89 - languageName: node - linkType: hard - -"webpack@npm:^5.93.0": +"webpack@npm:5, webpack@npm:^5, webpack@npm:^5.91.0, webpack@npm:^5.93.0": version: 5.93.0 resolution: "webpack@npm:5.93.0" dependencies: @@ -17919,9 +18351,24 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.11.0, ws@npm:^8.13.0, ws@npm:^8.2.3": - version: 8.17.1 - resolution: "ws@npm:8.17.1" +"ws@npm:^7.3.1": + version: 7.5.10 + resolution: "ws@npm:7.5.10" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 10/9c796b84ba80ffc2c2adcdfc9c8e9a219ba99caa435c9a8d45f9ac593bba325563b3f83edc5eb067cc6d21b9a6bf2c930adf76dd40af5f58a5ca6859e81858f0 + languageName: node + linkType: hard + +"ws@npm:^8.11.0, ws@npm:^8.13.0, ws@npm:^8.16.0, ws@npm:^8.2.3": + version: 8.18.0 + resolution: "ws@npm:8.18.0" peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ">=5.0.2" @@ -17930,7 +18377,7 @@ __metadata: optional: true utf-8-validate: optional: true - checksum: 10/4264ae92c0b3e59c7e309001e93079b26937aab181835fb7af79f906b22cd33b6196d96556dafb4e985742dd401e99139572242e9847661fdbc96556b9e6902d + checksum: 10/70dfe53f23ff4368d46e4c0b1d4ca734db2c4149c6f68bc62cb16fc21f753c47b35fcc6e582f3bdfba0eaeb1c488cddab3c2255755a5c3eecb251431e42b3ff6 languageName: node linkType: hard @@ -18006,6 +18453,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:17.6.2": + version: 17.6.2 + resolution: "yargs@npm:17.6.2" + dependencies: + cliui: "npm:^8.0.1" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.3" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^21.1.1" + checksum: 10/77e4221b49867d50ce5ded87e91ff11f439b46aa4f01d2116f65402c3ac7dfba937d5bb29d50cecf4acda5aaf848d6ff4facd50b2428098c3990c46d58d5b539 + languageName: node + linkType: hard + "yargs@npm:^16.2.0": version: 16.2.0 resolution: "yargs@npm:16.2.0"