From 5c3b783448272924d4f70dae70bf1c346c6d3943 Mon Sep 17 00:00:00 2001 From: fi3ework Date: Fri, 12 Jul 2024 00:55:41 +0800 Subject: [PATCH] feat: bump rsbuild to 1.0.0-alpha.9 --- packages/builder-rsbuild/package.json | 7 +- .../src/preview/iframe-rsbuild.config.ts | 26 +- packages/react-rsbuild/package.json | 4 +- packages/vue3-rsbuild/package.json | 4 +- pnpm-lock.yaml | 485 ++++++++++-------- sandboxes/react-rsbuild/package.json | 4 +- sandboxes/vue3-rsbuild/package.json | 4 +- 7 files changed, 295 insertions(+), 239 deletions(-) diff --git a/packages/builder-rsbuild/package.json b/packages/builder-rsbuild/package.json index 2491035..61fb9c4 100644 --- a/packages/builder-rsbuild/package.json +++ b/packages/builder-rsbuild/package.json @@ -60,7 +60,7 @@ "prep": "node --loader ../../scripts/node_modules/esbuild-register/loader.js -r ../../scripts/node_modules/esbuild-register/register.js ../../scripts/prepare/bundle.ts" }, "dependencies": { - "@rsbuild/plugin-type-check": "0.7.9", + "@rsbuild/plugin-type-check": "1.0.0-alpha.9", "@storybook/addon-docs": "^8.0.10", "@storybook/channels": "^8.0.10", "@storybook/client-logger": "^8.0.10", @@ -83,6 +83,7 @@ "magic-string": "^0.30.5", "path-browserify": "^1.0.1", "process": "^0.11.10", + "rsbuild-plugin-html-minifier-terser": "^1.0.0", "style-loader": "^3.3.1", "ts-dedent": "^2.2.0", "url": "^0.11.0", @@ -90,7 +91,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@rsbuild/core": "0.7.9", + "@rsbuild/core": "1.0.0-alpha.9", "@types/express": "^4.17.21", "@types/fs-extra": "^11.0.4", "@types/node": "^18.0.0", @@ -101,7 +102,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { - "@rsbuild/core": ">= 0.7.0" + "@rsbuild/core": ">= 1.0.0-alpha.9" }, "peerDependenciesMeta": { "typescript": { diff --git a/packages/builder-rsbuild/src/preview/iframe-rsbuild.config.ts b/packages/builder-rsbuild/src/preview/iframe-rsbuild.config.ts index 05c4c4e..1977bb0 100644 --- a/packages/builder-rsbuild/src/preview/iframe-rsbuild.config.ts +++ b/packages/builder-rsbuild/src/preview/iframe-rsbuild.config.ts @@ -17,6 +17,7 @@ import type { RsbuildConfig } from '@rsbuild/core' import { webpack as docsWebpack } from '@storybook/addon-docs/dist/preset' import { pluginTypeCheck } from '@rsbuild/plugin-type-check' import type { TypescriptOptions } from '../types' +import { pluginHtmlMinifierTerser } from 'rsbuild-plugin-html-minifier-terser' const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any @@ -211,9 +212,10 @@ export default async ( }, }, }, - plugins: [shouldCheckTs ? pluginTypeCheck(tsCheckOptions) : null].filter( - Boolean, - ), + plugins: [ + shouldCheckTs ? pluginTypeCheck(tsCheckOptions) : null, + pluginHtmlMinifierTerser(), + ].filter(Boolean), tools: { rspack: (config, { addRules, appendPlugins, rspack, mergeConfig }) => { // TODO: Rspack doesn't support `unknownContextCritical` yet @@ -310,14 +312,16 @@ export default async ( headHtmlSnippet, bodyHtmlSnippet, }, - minify: { - collapseWhitespace: true, - removeComments: true, - removeRedundantAttributes: true, - removeScriptTypeAttributes: false, - removeStyleLinkTypeAttributes: true, - useShortDoctype: true, - }, + // FIXME: rsbuild stop supporting html minimizing since https://github.com/web-infra-dev/rsbuild/commit/848a57c9e213c612a9b196899af10ec40907820f + // Track in https://github.com/rspack-contrib/rsbuild-plugin-html-minifier-terser/pull/1 + // minify: { + // collapseWhitespace: true, + // removeComments: true, + // removeRedundantAttributes: true, + // removeScriptTypeAttributes: false, + // removeStyleLinkTypeAttributes: true, + // useShortDoctype: true, + // }, }, }, }) diff --git a/packages/react-rsbuild/package.json b/packages/react-rsbuild/package.json index 91705f8..eb93a2e 100644 --- a/packages/react-rsbuild/package.json +++ b/packages/react-rsbuild/package.json @@ -66,14 +66,14 @@ "tsconfig-paths": "^4.2.0" }, "devDependencies": { - "@rsbuild/core": "0.7.9", + "@rsbuild/core": "1.0.0-alpha.9", "@storybook/types": "^8.0.10", "@types/resolve": "^1.20.6", "add": "^2.0.6", "typescript": "^5.3.2" }, "peerDependencies": { - "@rsbuild/core": ">= 0.7.0", + "@rsbuild/core": ">= 1.0.0-alpha.9", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", "typescript": ">= 4.2.x" diff --git a/packages/vue3-rsbuild/package.json b/packages/vue3-rsbuild/package.json index e5c24e1..2b9e667 100644 --- a/packages/vue3-rsbuild/package.json +++ b/packages/vue3-rsbuild/package.json @@ -56,12 +56,12 @@ "vue-docgen-loader": "^1.5.1" }, "devDependencies": { - "@rsbuild/core": "0.7.9", + "@rsbuild/core": "1.0.0-alpha.9", "@types/node": "^18.0.0", "typescript": "^5.3.2" }, "peerDependencies": { - "@rsbuild/core": ">= 0.7.0" + "@rsbuild/core": ">= 1.0.0-alpha.9" }, "peerDependenciesMeta": { "typescript": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9da0f61..1771d31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ importers: packages/builder-rsbuild: dependencies: '@rsbuild/plugin-type-check': - specifier: 0.7.9 - version: 0.7.9(@rsbuild/core@0.7.9)(esbuild@0.20.2)(typescript@5.4.5) + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9)(esbuild@0.20.2)(typescript@5.4.5) '@storybook/addon-docs': specifier: ^8.0.10 version: 8.0.10 @@ -82,7 +82,7 @@ importers: version: 1.0.0 css-loader: specifier: ^6.7.1 - version: 6.11.0(webpack@5.91.0) + version: 6.11.0(webpack@5.92.1) es-module-lexer: specifier: ^1.5.0 version: 1.5.2 @@ -101,9 +101,12 @@ importers: process: specifier: ^0.11.10 version: 0.11.10 + rsbuild-plugin-html-minifier-terser: + specifier: ^1.0.0 + version: 1.0.0(@rsbuild/core@1.0.0-alpha.9) style-loader: specifier: ^3.3.1 - version: 3.3.4(webpack@5.91.0) + version: 3.3.4(webpack@5.92.1) ts-dedent: specifier: ^2.2.0 version: 2.2.0 @@ -118,8 +121,8 @@ importers: version: 1.0.2 devDependencies: '@rsbuild/core': - specifier: 0.7.9 - version: 0.7.9 + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9 '@types/express': specifier: ^4.17.21 version: 4.17.21 @@ -158,7 +161,7 @@ importers: version: 8.1.1(prettier@3.2.5)(react-dom@18.3.1)(react@18.3.1)(typescript@5.4.5) '@storybook/react-docgen-typescript-plugin': specifier: ^1.0.1 - version: 1.0.1(typescript@5.4.5)(webpack@5.91.0) + version: 1.0.1(typescript@5.4.5)(webpack@5.92.1) '@types/node': specifier: ^18.0.0 version: 18.19.33 @@ -188,8 +191,8 @@ importers: version: 4.2.0 devDependencies: '@rsbuild/core': - specifier: 0.7.9 - version: 0.7.9 + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9 '@storybook/types': specifier: ^8.0.10 version: 8.1.1 @@ -219,11 +222,11 @@ importers: version: link:../builder-rsbuild vue-docgen-loader: specifier: ^1.5.1 - version: 1.5.1(@babel/preset-env@7.24.5)(vue-docgen-api@4.78.0)(webpack@5.91.0) + version: 1.5.1(@babel/preset-env@7.24.5)(vue-docgen-api@4.78.0)(webpack@5.92.1) devDependencies: '@rsbuild/core': - specifier: 0.7.9 - version: 0.7.9 + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9 '@types/node': specifier: ^18.0.0 version: 18.19.33 @@ -244,11 +247,11 @@ importers: specifier: ^1.4.0 version: 1.4.0(react@18.3.1) '@rsbuild/core': - specifier: 0.7.9 - version: 0.7.9 + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9 '@rsbuild/plugin-react': - specifier: 0.7.9 - version: 0.7.9(@rsbuild/core@0.7.9) + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9) '@storybook/addon-essentials': specifier: 8.1.1 version: 8.1.1(@types/react-dom@18.3.0)(@types/react@18.3.2)(prettier@3.2.5)(react-dom@18.3.1)(react@18.3.1) @@ -296,11 +299,11 @@ importers: specifier: ^1.4.0 version: 1.4.0(react@18.3.1) '@rsbuild/core': - specifier: 0.7.9 - version: 0.7.9 + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9 '@rsbuild/plugin-vue': - specifier: 0.7.9 - version: 0.7.9(@rsbuild/core@0.7.9)(esbuild@0.20.2)(vue@3.4.27) + specifier: 1.0.0-alpha.9 + version: 1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9)(esbuild@0.20.2)(vue@3.4.27) '@storybook/addon-essentials': specifier: 8.1.1 version: 8.1.1(@types/react-dom@18.3.0)(@types/react@18.3.2)(prettier@3.2.5)(react-dom@18.3.1)(react@18.3.1) @@ -373,7 +376,7 @@ importers: version: 10.8.0 ts-loader: specifier: ^9.4.2 - version: 9.5.1(typescript@5.4.5)(webpack@5.91.0) + version: 9.5.1(typescript@5.4.5)(webpack@5.92.1) verdaccio: specifier: ^5.19.1 version: 5.31.0(typanion@3.14.0) @@ -2308,25 +2311,25 @@ packages: '@types/react': 18.3.2 react: 18.3.1 - /@module-federation/runtime-tools@0.1.6: - resolution: {integrity: sha512-7ILVnzMIa0Dlc0Blck5tVZG1tnk1MmLnuZpLOMpbdW+zl+N6wdMjjHMjEZFCUAJh2E5XJ3BREwfX8Ets0nIkLg==} + /@module-federation/runtime-tools@0.2.3: + resolution: {integrity: sha512-capN8CVTCEqNAjnl102girrkevczoQfnQYyiYC4WuyKsg7+LUqfirIe1Eiyv6VSE2UgvOTZDnqvervA6rBOlmg==} dependencies: - '@module-federation/runtime': 0.1.6 - '@module-federation/webpack-bundler-runtime': 0.1.6 + '@module-federation/runtime': 0.2.3 + '@module-federation/webpack-bundler-runtime': 0.2.3 - /@module-federation/runtime@0.1.6: - resolution: {integrity: sha512-nj6a+yJ+QxmcE89qmrTl4lphBIoAds0PFPVGnqLRWflwAP88jrCcrrTqRhARegkFDL+wE9AE04+h6jzlbIfMKg==} + /@module-federation/runtime@0.2.3: + resolution: {integrity: sha512-N+ZxBUb1mkmfO9XT1BwgYQgShtUTlijHbukqQ4afFka5lRAT+ayC7RKfHJLz0HbuexKPCmPBDfdmCnErR5WyTQ==} dependencies: - '@module-federation/sdk': 0.1.6 + '@module-federation/sdk': 0.2.3 - /@module-federation/sdk@0.1.6: - resolution: {integrity: sha512-qifXpyYLM7abUeEOIfv0oTkguZgRZuwh89YOAYIZJlkP6QbRG7DJMQvtM8X2yHXm9PTk0IYNnOJH0vNQCo6auQ==} + /@module-federation/sdk@0.2.3: + resolution: {integrity: sha512-W9zrPchLocyCBc/B8CW21akcfJXLl++9xBe1L1EtgxZGfj/xwHt0GcBWE/y+QGvYTL2a1iZjwscbftbUhxgxXg==} - /@module-federation/webpack-bundler-runtime@0.1.6: - resolution: {integrity: sha512-K5WhKZ4RVNaMEtfHsd/9CNCgGKB0ipbm/tgweNNeC11mEuBTNxJ09Y630vg3WPkKv9vfMCuXg2p2Dk+Q/KWTSA==} + /@module-federation/webpack-bundler-runtime@0.2.3: + resolution: {integrity: sha512-L/jt2uJ+8dwYiyn9GxryzDR6tr/Wk8rpgvelM2EBeLIhu7YxCHSmSjQYhw3BTux9zZIr47d1K9fGjBFsVRd/SQ==} dependencies: - '@module-federation/runtime': 0.1.6 - '@module-federation/sdk': 0.1.6 + '@module-federation/runtime': 0.2.3 + '@module-federation/sdk': 0.2.3 /@ndelangen/get-tarball@3.0.9: resolution: {integrity: sha512-9JKTEik4vq+yGosHYhZ1tiH/3WpUS0Nh0kej4Agndhox8pAdWhEx5knFVRcb/ya9knCRCs1rPxNrSXTDdfVqpA==} @@ -2768,62 +2771,59 @@ packages: dev: true optional: true - /@rsbuild/core@0.7.9: - resolution: {integrity: sha512-g29A68ZtrydLbWJgGlKUywyYi5ELnmuCM8CJWTxKa9itoIxAZG5h9NZ+P3VVBCaSfsY7DtFKMJ4D5cxvwJtVuw==} - engines: {node: '>=16.0.0'} + /@rsbuild/core@1.0.0-alpha.9: + resolution: {integrity: sha512-NiwBqW6sxoacX6MLy45aeNKjHtKW7wZR3hy0X1Eg/IpUTNSJJkKX9TG92SVcj6RyR8CO+76AXfdEs585Iw4FWg==} + engines: {node: '>=16.7.0'} hasBin: true dependencies: - '@rsbuild/shared': 0.7.9(@swc/helpers@0.5.3) - '@rspack/core': 0.7.4(@swc/helpers@0.5.3) - '@swc/helpers': 0.5.3 - core-js: 3.36.1 - html-webpack-plugin: /html-rspack-plugin@5.7.2(@rspack/core@0.7.4) - postcss: 8.4.38 + '@rspack/core': 1.0.0-alpha.3(@swc/helpers@0.5.11) + '@rspack/lite-tapable': 1.0.0-alpha.3 + '@swc/helpers': 0.5.11 + caniuse-lite: 1.0.30001640 + core-js: 3.37.1 + postcss: 8.4.39 + optionalDependencies: + fsevents: 2.3.3 - /@rsbuild/plugin-react@0.7.9(@rsbuild/core@0.7.9): - resolution: {integrity: sha512-mGwZP3urvMlwwjlopIMfig5ER0huIRCAq8ZujHeCE9xp8ZZOQt7rAkNUwEsOrcvuL/1tbpgoxkGWBioiis7g9A==} + /@rsbuild/plugin-react@1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9): + resolution: {integrity: sha512-a666TIcFUP1FShaisnI5OiHpbUxJG9+3+WWr7XUteMFyCXo/x+1w7/XKCkkhnVxDS5rrYGNnkRu9RsNoPgcGCg==} peerDependencies: - '@rsbuild/core': ^0.7.9 + '@rsbuild/core': ^1.0.0-alpha.9 dependencies: - '@rsbuild/core': 0.7.9 - '@rsbuild/shared': 0.7.9(@swc/helpers@0.5.3) - '@rspack/plugin-react-refresh': 0.7.4(react-refresh@0.14.2) + '@rsbuild/core': 1.0.0-alpha.9 + '@rspack/plugin-react-refresh': 1.0.0-alpha.3(react-refresh@0.14.2) react-refresh: 0.14.2 - transitivePeerDependencies: - - '@swc/helpers' dev: true - /@rsbuild/plugin-type-check@0.7.9(@rsbuild/core@0.7.9)(esbuild@0.20.2)(typescript@5.4.5): - resolution: {integrity: sha512-5MqBmPIzaNfBytf4lw+WQE9rurwDWTkd2WzPprutidKaeW3p4nRnsC/w52M4ft7k9wyUzjlTSCyI/ERMus6ABQ==} + /@rsbuild/plugin-type-check@1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9)(esbuild@0.20.2)(typescript@5.4.5): + resolution: {integrity: sha512-y1tgukEAynf1nBhpELY99cfY3qluT9ytM/OAyDMSYZ9i1BgFN0mJYDajal9p+xvqnFHGVf/1K0JFfwNP7cI7Xw==} peerDependencies: - '@rsbuild/core': ^0.7.9 + '@rsbuild/core': ^1.0.0-alpha.9 dependencies: - '@rsbuild/core': 0.7.9 - '@rsbuild/shared': 0.7.9(@swc/helpers@0.5.3) + '@rsbuild/core': 1.0.0-alpha.9 + deepmerge: 4.3.1 fork-ts-checker-webpack-plugin: 9.0.2(typescript@5.4.5)(webpack@5.92.1) json5: 2.2.3 + reduce-configs: 1.0.0 webpack: 5.92.1(esbuild@0.20.2) transitivePeerDependencies: - '@swc/core' - - '@swc/helpers' - esbuild - typescript - uglify-js - webpack-cli dev: false - /@rsbuild/plugin-vue@0.7.9(@rsbuild/core@0.7.9)(esbuild@0.20.2)(vue@3.4.27): - resolution: {integrity: sha512-cvoLn8GGb9pjsYTgPsSxKZkxpFrF/dwZVZKGa8TFipCO130NJI4Z/qhcktUveYnqUZU+Ckz4a7V/vWiDF/d97w==} + /@rsbuild/plugin-vue@1.0.0-alpha.9(@rsbuild/core@1.0.0-alpha.9)(esbuild@0.20.2)(vue@3.4.27): + resolution: {integrity: sha512-9NL1+zU+Sl96vYFzK4Xaqc9JQX/5yhmjYxwUH/YL2AJsxTX/mqElI8Kpn4dO6amn3aculnFhlfWr9utLgEdNRQ==} peerDependencies: - '@rsbuild/core': ^0.7.9 + '@rsbuild/core': ^1.0.0-alpha.9 dependencies: - '@rsbuild/core': 0.7.9 - '@rsbuild/shared': 0.7.9(@swc/helpers@0.5.3) + '@rsbuild/core': 1.0.0-alpha.9 vue-loader: 17.4.2(vue@3.4.27)(webpack@5.92.1) webpack: 5.92.1(esbuild@0.20.2) transitivePeerDependencies: - '@swc/core' - - '@swc/helpers' - '@vue/compiler-sfc' - esbuild - uglify-js @@ -2831,96 +2831,84 @@ packages: - webpack-cli dev: true - /@rsbuild/shared@0.7.9(@swc/helpers@0.5.3): - resolution: {integrity: sha512-g/xQoa1PJR5305EXqXW5v+gFaYjzlwFvOzv0hOrmF0n2tEO1gO5PD/dwdWw1F3I9I79OshCZk0ru0XLshg/waQ==} - dependencies: - '@rspack/core': 0.7.4(@swc/helpers@0.5.3) - caniuse-lite: 1.0.30001636 - html-webpack-plugin: /html-rspack-plugin@5.7.2(@rspack/core@0.7.4) - postcss: 8.4.38 - optionalDependencies: - fsevents: 2.3.3 - transitivePeerDependencies: - - '@swc/helpers' - - /@rspack/binding-darwin-arm64@0.7.4: - resolution: {integrity: sha512-K78fUe9OhFTV61kHYCuahNkBXCFJMmqSGyIgNtLR9Psk82IVCHkvxY5565An1Quvo1UmgVh5R2YmylKE81mwiw==} + /@rspack/binding-darwin-arm64@1.0.0-alpha.3: + resolution: {integrity: sha512-PZLdp0tgoti/skzIMijNr2jedKa8LGbhtPs6a0jgIuLY1g0fj/aL3LLGMo4rwoy/zGXeZf40PIJQB8b+w0qt7g==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rspack/binding-darwin-x64@0.7.4: - resolution: {integrity: sha512-EQriu7oE+tZv25g5VJH6Ael74U42fmpb4zGs7wLmWyKfCtO6SegL3tJ8Jc6mMmp+vg949dVvkw7uB6TJjOqx2g==} + /@rspack/binding-darwin-x64@1.0.0-alpha.3: + resolution: {integrity: sha512-NrNfjzsWo3kFh37tpCxNw75xuSGHdGCHIRCjKnvxHQ46aB+Y2wiOdGgSk7SnZHsRWpZyDFw3aBJCayiXlfgdTw==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rspack/binding-linux-arm64-gnu@0.7.4: - resolution: {integrity: sha512-yhJLkU1zEXMyHNWhh8pBEaK6cRAjFzRK2hqejhhZ0K+lqC0Af9bKvZyXXGrMfmmHlsh1VJ9VVmi21qcXr/kdzg==} + /@rspack/binding-linux-arm64-gnu@1.0.0-alpha.3: + resolution: {integrity: sha512-EjzyZWZSjo02ReGUzQPt8sY1hEx2V9lEbg1cqgnE1NpSOS77ratNoAvS3gAzXL6NGWRhYrIH2yaN+6OB9olt/g==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rspack/binding-linux-arm64-musl@0.7.4: - resolution: {integrity: sha512-6GV3Ztl6Q1zdJmNo+dwHiJd2Y/IEH9qWOh4YHiyzYGbQQYpfhhLYwKexalWaAAhdMm6KKoeqzklgHImCINImEg==} + /@rspack/binding-linux-arm64-musl@1.0.0-alpha.3: + resolution: {integrity: sha512-HJQ52KWNnMOFqbXhaIHTAr54ES5LSunJF6SLnIMgElReC39WvUNDmHhCA5yPebkXgY2SDrLIKDmqxouZmYWulQ==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rspack/binding-linux-x64-gnu@0.7.4: - resolution: {integrity: sha512-KFdAEIZ7mPnT0y198xVOa8vIT9tgpEFVidCSIlxdk65UGC59g6UxEQq1EVAbcBi1Ou6Zza/UtxIlzk6Ev6KDkQ==} + /@rspack/binding-linux-x64-gnu@1.0.0-alpha.3: + resolution: {integrity: sha512-VcpKLI2AZmFOTec8C9YJTdMrgZMrgsQkMeQzTY1uOQuIaAaNCuPBFRdlJaRSTAG0t4aaxaVfR1c3JY8GITacfA==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rspack/binding-linux-x64-musl@0.7.4: - resolution: {integrity: sha512-qekcXkv12oWRztZHXGzNAI92/O/+abU35/nGDycZmMtr+Qt2XS5hE1T9oBQ54yecIzUVDGNcYwhIMWBX6E2dmQ==} + /@rspack/binding-linux-x64-musl@1.0.0-alpha.3: + resolution: {integrity: sha512-FypR+RqONTvrgX+SI8sJqhVqv8uhTdq3OHew4ZaL3VN0dp2thmpMX5cJ+XQAsU414OLRTgREU9go2j78n7kvUA==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rspack/binding-win32-arm64-msvc@0.7.4: - resolution: {integrity: sha512-D1BccimBVeA/k2ty/28ER/j3s/c0n0MtN4kpyjYwgRILVLRSr+rfbC75i8wYh8r8AXjhNWNG88LmrFN9e9i7Ug==} + /@rspack/binding-win32-arm64-msvc@1.0.0-alpha.3: + resolution: {integrity: sha512-aAGQE2TJOhlK6jGYXZyon0JKTP5t2o51/exsSzyH6BSqFce/Qd5w1fqgm6FONTuosrwaBxHSz1pprNq6vx87kA==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rspack/binding-win32-ia32-msvc@0.7.4: - resolution: {integrity: sha512-5//TZH0Y4fRuTQ/ZmNOVaIfPIQXtgNAI78QxvF8Amygk4Uqklpo3ceHGP+yZfZgjh3mzjoUK+22fWbq/cUmW0w==} + /@rspack/binding-win32-ia32-msvc@1.0.0-alpha.3: + resolution: {integrity: sha512-OouAliQG6dONL9B+Jy237fhs6bScloAT3uphkDumsiAmH1926MYeSKhsmYU4j8b352iGtZVXaH/wR5svLTUCVQ==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rspack/binding-win32-x64-msvc@0.7.4: - resolution: {integrity: sha512-C3ZxIEYKvnjQbV19FfQE6CGO6vcGp2JcvSQCc6SHwU/KNxLDrI1pA7XUG5TKoGSsqVEDZN6H8fJxLUYPQBjJcg==} + /@rspack/binding-win32-x64-msvc@1.0.0-alpha.3: + resolution: {integrity: sha512-CLh3p5a15wPQE8zOyBjBjVBrbdaDvAfacXkmCQK4I6lBc3HetkJNyjS8Fntf1CV9sWgJhwABUWHn7kMQeLY9RQ==} cpu: [x64] os: [win32] requiresBuild: true optional: true - /@rspack/binding@0.7.4: - resolution: {integrity: sha512-H1rTtYxbxe40miV2gYLPwIxEn2yMY6+bq+fjfiRu61kTvllexPMBYgFpKqSAc5Qyyto9j9uCkR4MJEYj2R/SQQ==} + /@rspack/binding@1.0.0-alpha.3: + resolution: {integrity: sha512-S/JjBWr8PE/l7+2xsk1m77CZnKwQNk+39uIsvHQhoRs+DL9SUDjjkUO4yqjCw6ZUGqEaTv4U/TL9TAmbrTth7g==} optionalDependencies: - '@rspack/binding-darwin-arm64': 0.7.4 - '@rspack/binding-darwin-x64': 0.7.4 - '@rspack/binding-linux-arm64-gnu': 0.7.4 - '@rspack/binding-linux-arm64-musl': 0.7.4 - '@rspack/binding-linux-x64-gnu': 0.7.4 - '@rspack/binding-linux-x64-musl': 0.7.4 - '@rspack/binding-win32-arm64-msvc': 0.7.4 - '@rspack/binding-win32-ia32-msvc': 0.7.4 - '@rspack/binding-win32-x64-msvc': 0.7.4 - - /@rspack/core@0.7.4(@swc/helpers@0.5.3): - resolution: {integrity: sha512-HECQ0WL8iVS1Mwq2W2hfrStZZbtTPl/GjDdAZDMToPqWtSVGww99UDGIYTHW8G6kawQ3GY6wa86WTQNfXEpSCA==} + '@rspack/binding-darwin-arm64': 1.0.0-alpha.3 + '@rspack/binding-darwin-x64': 1.0.0-alpha.3 + '@rspack/binding-linux-arm64-gnu': 1.0.0-alpha.3 + '@rspack/binding-linux-arm64-musl': 1.0.0-alpha.3 + '@rspack/binding-linux-x64-gnu': 1.0.0-alpha.3 + '@rspack/binding-linux-x64-musl': 1.0.0-alpha.3 + '@rspack/binding-win32-arm64-msvc': 1.0.0-alpha.3 + '@rspack/binding-win32-ia32-msvc': 1.0.0-alpha.3 + '@rspack/binding-win32-x64-msvc': 1.0.0-alpha.3 + + /@rspack/core@1.0.0-alpha.3(@swc/helpers@0.5.11): + resolution: {integrity: sha512-TcZZNMpyTjEIBP4zMCpLwXBiATEQ2QG3jKsV+mq55ZGKfqd/l86Zr3SboF15GOQip1wDHlSpA1bvrT18f9h0sw==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -2928,21 +2916,26 @@ packages: '@swc/helpers': optional: true dependencies: - '@module-federation/runtime-tools': 0.1.6 - '@rspack/binding': 0.7.4 - '@swc/helpers': 0.5.3 - caniuse-lite: 1.0.30001618 - tapable: 2.2.1 - webpack-sources: 3.2.3 + '@module-federation/runtime-tools': 0.2.3 + '@rspack/binding': 1.0.0-alpha.3 + '@rspack/lite-tapable': 1.0.0-alpha.3 + '@swc/helpers': 0.5.11 + caniuse-lite: 1.0.30001640 - /@rspack/plugin-react-refresh@0.7.4(react-refresh@0.14.2): - resolution: {integrity: sha512-9tAJdG/xZ6hUtD5K5OVpwAl2yV2HFnNl5fU5aOR5VJ5Pk0rCsYwbEZRbRnmSZwzMWIKDnowhoTi+4Ha3JV3aeQ==} + /@rspack/lite-tapable@1.0.0-alpha.3: + resolution: {integrity: sha512-oQJ1iYxfBHcuutAva2HP1dqi9Aka/70PB3Vbq4nI+iAhHErtzaRslI/OcqhEbbmBgYf+Xu6g5vvN6Gxfq69gag==} + engines: {node: '>=16.0.0'} + + /@rspack/plugin-react-refresh@1.0.0-alpha.3(react-refresh@0.14.2): + resolution: {integrity: sha512-gYPKkON3uhdj33J5tO+Z31JknAKeWeBVlTyDFz/2w+eIj8V1CIsAgeYO13mednPxVjfy1Tw8Qg7hfUnnVBoRFw==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true dependencies: + error-stack-parser: 2.1.4 + html-entities: 2.5.2 react-refresh: 0.14.2 dev: true @@ -3777,7 +3770,7 @@ packages: resolution: {integrity: sha512-op7gZqop8PSFyPA4tc1Zds8jG6VnskwpYUUsa44pZoEez9PKEFCf4jE+7AQwbBS3hnuCb0CKBfASN8GRyoznbw==} dev: false - /@storybook/react-docgen-typescript-plugin@1.0.1(typescript@5.4.5)(webpack@5.91.0): + /@storybook/react-docgen-typescript-plugin@1.0.1(typescript@5.4.5)(webpack@5.92.1): resolution: {integrity: sha512-dqbHa+5gaxaklFCuV1WTvljVPTo3QIJgpW4Ln+QeME7osPZUnUhjN2/djvo+sxrWUrTTuqX5jkn291aDngu9Tw==} peerDependencies: typescript: '>= 3.x' @@ -3791,7 +3784,7 @@ packages: react-docgen-typescript: 2.2.2(typescript@5.4.5) tslib: 2.6.2 typescript: 5.4.5 - webpack: 5.91.0(esbuild@0.20.2) + webpack: 5.92.1(esbuild@0.20.2) transitivePeerDependencies: - supports-color dev: false @@ -3977,14 +3970,14 @@ packages: ts-dedent: 2.2.0 type-fest: 2.19.0 vue: 3.4.27(typescript@5.4.5) - vue-component-type-helpers: 2.0.22 + vue-component-type-helpers: 2.0.26 transitivePeerDependencies: - encoding - prettier - supports-color - /@swc/helpers@0.5.3: - resolution: {integrity: sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==} + /@swc/helpers@0.5.11: + resolution: {integrity: sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==} dependencies: tslib: 2.6.2 @@ -4163,6 +4156,10 @@ packages: dependencies: '@types/unist': 3.0.2 + /@types/html-minifier-terser@7.0.2: + resolution: {integrity: sha512-mm2HqV22l8lFQh4r2oSsOEVea+m0qqxEmwpc9kC1p/XzmjLWrReR9D/GRs8Pex2NX/imyEH9c5IU/7tMBQCHOA==} + dev: false + /@types/http-errors@2.0.4: resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} @@ -4787,14 +4784,6 @@ packages: mime-types: 2.1.35 negotiator: 0.6.3 - /acorn-import-assertions@1.9.0(acorn@8.11.3): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} - peerDependencies: - acorn: ^8 - dependencies: - acorn: 8.11.3 - dev: false - /acorn-import-attributes@1.9.5(acorn@8.11.3): resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} peerDependencies: @@ -5331,6 +5320,16 @@ packages: node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) + /browserslist@4.23.1: + resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001640 + electron-to-chromium: 1.4.820 + node-releases: 2.0.14 + update-browserslist-db: 1.0.16(browserslist@4.23.1) + /buffer-equal-constant-time@1.0.1: resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} requiresBuild: true @@ -5409,6 +5408,13 @@ packages: engines: {node: '>=6'} dev: false + /camel-case@4.1.2: + resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} + dependencies: + pascal-case: 3.1.2 + tslib: 2.6.2 + dev: false + /camelcase-keys@6.2.2: resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} engines: {node: '>=8'} @@ -5426,8 +5432,8 @@ packages: /caniuse-lite@1.0.30001618: resolution: {integrity: sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==} - /caniuse-lite@1.0.30001636: - resolution: {integrity: sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==} + /caniuse-lite@1.0.30001640: + resolution: {integrity: sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA==} /case-sensitive-paths-webpack-plugin@2.4.0: resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==} @@ -5557,6 +5563,13 @@ packages: static-extend: 0.1.2 dev: false + /clean-css@5.3.3: + resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==} + engines: {node: '>= 10.0'} + dependencies: + source-map: 0.6.1 + dev: false + /clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -5667,6 +5680,11 @@ packages: dev: false optional: true + /commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + dev: false + /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -5774,8 +5792,8 @@ packages: dev: false optional: true - /core-js@3.36.1: - resolution: {integrity: sha512-BTvUrwxVBezj5SZ3f10ImnX2oRByMxql3EimVqMysepbC9EeMUOpLwdy6Eoili2x6E4kf+ZUB5k/+Jv55alPfA==} + /core-js@3.37.1: + resolution: {integrity: sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==} requiresBuild: true /core-util-is@1.0.2: @@ -5834,7 +5852,7 @@ packages: resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} engines: {node: '>=8'} - /css-loader@6.11.0(webpack@5.91.0): + /css-loader@6.11.0(webpack@5.92.1): resolution: {integrity: sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==} engines: {node: '>= 12.13.0'} peerDependencies: @@ -5854,7 +5872,7 @@ packages: postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 semver: 7.6.2 - webpack: 5.91.0(esbuild@0.20.2) + webpack: 5.92.1(esbuild@0.20.2) dev: false /css.escape@1.5.1: @@ -6177,6 +6195,13 @@ packages: resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==} dev: true + /dot-case@3.0.4: + resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + dev: false + /dotenv-expand@10.0.0: resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} @@ -6239,6 +6264,9 @@ packages: /electron-to-chromium@1.4.767: resolution: {integrity: sha512-nzzHfmQqBss7CE3apQHkHjXW77+8w3ubGCIoEijKCJebPufREaFETgGXWTkh32t259F3Kcq+R8MZdFdOJROgYw==} + /electron-to-chromium@1.4.820: + resolution: {integrity: sha512-kK/4O/YunacfboFEk/BDf7VO1HoPmDudLTJAU9NmXIOSjsV7qVIX3OrI4REZo0VmdqhcpUcncQc6N8Q3aEXlHg==} + /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -6270,10 +6298,12 @@ packages: /enhanced-resolve@5.16.1: resolution: {integrity: sha512-4U5pNsuDl0EhuZpq46M5xPslstkviJuhrdobaRDBk2Jy2KO37FDAJl4lb2KlNabxT0m4MTK2UHNrsAcphE8nyw==} engines: {node: '>=10.13.0'} + requiresBuild: true dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 dev: false + optional: true /enhanced-resolve@5.17.0: resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==} @@ -6304,6 +6334,12 @@ packages: dependencies: is-arrayish: 0.2.1 + /error-stack-parser@2.1.4: + resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} + dependencies: + stackframe: 1.3.4 + dev: true + /es-abstract@1.23.3: resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} engines: {node: '>= 0.4'} @@ -7383,16 +7419,23 @@ packages: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} dev: true - /html-rspack-plugin@5.7.2(@rspack/core@0.7.4): - resolution: {integrity: sha512-uVXGYq19bcsX7Q/53VqXQjCKXw0eUMHlFGDLTaqzgj/ckverfhZQvXyA6ecFBaF9XUH16jfCTCyALYi0lJcagg==} - engines: {node: '>=10.13.0'} - peerDependencies: - '@rspack/core': 0.x || 1.x - peerDependenciesMeta: - '@rspack/core': - optional: true + /html-entities@2.5.2: + resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} + dev: true + + /html-minifier-terser@7.2.0: + resolution: {integrity: sha512-tXgn3QfqPIpGl9o+K5tpcj3/MN4SfLtsx2GWwBC3SSd0tXQGyF3gsSqad8loJgKZGM3ZxbYDd5yhiBIdWpmvLA==} + engines: {node: ^14.13.1 || >=16.0.0} + hasBin: true dependencies: - '@rspack/core': 0.7.4(@swc/helpers@0.5.3) + camel-case: 4.1.2 + clean-css: 5.3.3 + commander: 10.0.1 + entities: 4.5.0 + param-case: 3.0.4 + relateurl: 0.2.7 + terser: 5.31.0 + dev: false /html-tags@3.3.1: resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==} @@ -8345,6 +8388,12 @@ packages: dev: false optional: true + /lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + dependencies: + tslib: 2.6.2 + dev: false + /lru-cache@10.2.2: resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==} engines: {node: 14 || >=16.14} @@ -8739,6 +8788,13 @@ packages: /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + /no-case@3.0.4: + resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + dependencies: + lower-case: 2.0.2 + tslib: 2.6.2 + dev: false + /node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} dev: false @@ -9013,6 +9069,13 @@ packages: resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==} dev: true + /param-case@3.0.4: + resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} + dependencies: + dot-case: 3.0.4 + tslib: 2.6.2 + dev: false + /parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -9033,6 +9096,13 @@ packages: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} + /pascal-case@3.1.2: + resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + dev: false + /pascalcase@0.1.1: resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} engines: {node: '>=0.10.0'} @@ -9321,6 +9391,14 @@ packages: picocolors: 1.0.1 source-map-js: 1.2.0 + /postcss@8.4.39: + resolution: {integrity: sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + /preferred-pm@3.1.3: resolution: {integrity: sha512-MkXsENfftWSRpzCzImcp4FRsCc3y1opwB73CfCNWyzMqArju2CrlMHlqB7VexKiPEOjGMbttv1r9fSCn5S610w==} engines: {node: '>=10'} @@ -9870,6 +9948,12 @@ packages: strip-indent: 3.0.0 dev: true + /reduce-configs@1.0.0: + resolution: {integrity: sha512-/JCYSgL/QeXXsq0Lv/7kOZfqvof7vyzHWfyNQPt3c6vc73mU4WRyT8RJ6ZH5Ci08vUOqXwk7jkZy6BycHTDD9w==} + dependencies: + browserslist: 4.23.1 + dev: false + /regenerate-unicode-properties@10.1.1: resolution: {integrity: sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==} engines: {node: '>=4'} @@ -9941,6 +10025,11 @@ packages: hast-util-to-string: 3.0.0 unist-util-visit: 5.0.0 + /relateurl@0.2.7: + resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==} + engines: {node: '>= 0.10'} + dev: false + /repeat-element@1.1.4: resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} engines: {node: '>=0.10.0'} @@ -10075,6 +10164,19 @@ packages: fsevents: 2.3.3 dev: true + /rsbuild-plugin-html-minifier-terser@1.0.0(@rsbuild/core@1.0.0-alpha.9): + resolution: {integrity: sha512-qMAlq5OHSlufj7blMRq6UcTVti9dr7kMcHHgnmLa+jy18KaLAfvKRAWQxyv0TkmBSvEtzgjvMvYen6IoluE4qg==} + peerDependencies: + '@rsbuild/core': 1.x + peerDependenciesMeta: + '@rsbuild/core': + optional: true + dependencies: + '@rsbuild/core': 1.0.0-alpha.9 + '@types/html-minifier-terser': 7.0.2 + html-minifier-terser: 7.2.0 + dev: false + /run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: @@ -10511,6 +10613,10 @@ packages: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} dev: true + /stackframe@1.3.4: + resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} + dev: true + /static-extend@0.1.2: resolution: {integrity: sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==} engines: {node: '>=0.10.0'} @@ -10673,13 +10779,13 @@ packages: js-tokens: 9.0.0 dev: true - /style-loader@3.3.4(webpack@5.91.0): + /style-loader@3.3.4(webpack@5.92.1): resolution: {integrity: sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 dependencies: - webpack: 5.91.0(esbuild@0.20.2) + webpack: 5.92.1(esbuild@0.20.2) dev: false /sucrase@3.35.0: @@ -10784,31 +10890,6 @@ packages: engines: {node: '>=8'} dev: true - /terser-webpack-plugin@5.3.10(esbuild@0.20.2)(webpack@5.91.0): - resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - esbuild: 0.20.2 - jest-worker: 27.5.1 - schema-utils: 3.3.0 - serialize-javascript: 6.0.2 - terser: 5.31.0 - webpack: 5.91.0(esbuild@0.20.2) - dev: false - /terser-webpack-plugin@5.3.10(esbuild@0.20.2)(webpack@5.92.1): resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} engines: {node: '>= 10.13.0'} @@ -11001,7 +11082,7 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: false - /ts-loader@9.5.1(typescript@5.4.5)(webpack@5.91.0): + /ts-loader@9.5.1(typescript@5.4.5)(webpack@5.92.1): resolution: {integrity: sha512-rNH3sK9kGZcH9dYzC7CewQm4NtxJTjSEVRJ2DyBZR7f8/wcta+iV44UPCXc5+nzDzivKtlzV6c9P4e+oFhDLYg==} engines: {node: '>=12.0.0'} requiresBuild: true @@ -11015,7 +11096,7 @@ packages: semver: 7.6.2 source-map: 0.7.4 typescript: 5.4.5 - webpack: 5.91.0(esbuild@0.20.2) + webpack: 5.92.1(esbuild@0.20.2) dev: false optional: true @@ -11334,6 +11415,16 @@ packages: escalade: 3.1.2 picocolors: 1.0.1 + /update-browserslist-db@1.0.16(browserslist@4.23.1): + resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.23.1 + escalade: 3.1.2 + picocolors: 1.0.1 + /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: @@ -11670,8 +11761,8 @@ packages: engines: {node: '>=0.10.0'} dev: false - /vue-component-type-helpers@2.0.22: - resolution: {integrity: sha512-gPr2Ba7efUwy/Vfbuf735bHSVdN4ycoZUCHfypkI33M9DUH+ieRblLLVM2eImccFYaWNWwEzURx02EgoXDBmaQ==} + /vue-component-type-helpers@2.0.26: + resolution: {integrity: sha512-sO9qQ8oC520SW6kqlls0iqDak53gsTVSrYylajgjmkt1c0vcgjsGSy1KzlDrbEx8pm02IEYhlUkU5hCYf8rwtg==} /vue-docgen-api@4.78.0(vue@3.4.27): resolution: {integrity: sha512-RsZf+qzTttCCAN9v7AKmBykc2QWmO8csVk1c2aXeOktomSOu0NA7sgK4ObuRB5lpmtOvTnwuxssyYmxXxABr+A==} @@ -11693,7 +11784,7 @@ packages: vue-inbrowser-compiler-independent-utils: 4.71.1(vue@3.4.27) dev: false - /vue-docgen-loader@1.5.1(@babel/preset-env@7.24.5)(vue-docgen-api@4.78.0)(webpack@5.91.0): + /vue-docgen-loader@1.5.1(@babel/preset-env@7.24.5)(vue-docgen-api@4.78.0)(webpack@5.92.1): resolution: {integrity: sha512-coMmQYsg+fy18SVtBNU7/tztdqEyrneFfwQFLmx8O7jaJ11VZ//9tRWXlwGzJM07cPRwMHDKMlAdWrpuw3U46A==} engines: {node: '>= 8.16'} peerDependencies: @@ -11705,7 +11796,7 @@ packages: loader-utils: 1.4.2 querystring: 0.2.1 vue-docgen-api: 4.78.0(vue@3.4.27) - webpack: 5.91.0(esbuild@0.20.2) + webpack: 5.92.1(esbuild@0.20.2) transitivePeerDependencies: - '@babel/preset-env' - supports-color @@ -11781,46 +11872,6 @@ packages: /webpack-virtual-modules@0.6.1: resolution: {integrity: sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==} - /webpack@5.91.0(esbuild@0.20.2): - resolution: {integrity: sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - webpack-cli: '*' - peerDependenciesMeta: - webpack-cli: - optional: true - dependencies: - '@types/eslint-scope': 3.7.7 - '@types/estree': 1.0.5 - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/wasm-edit': 1.12.1 - '@webassemblyjs/wasm-parser': 1.12.1 - acorn: 8.11.3 - acorn-import-assertions: 1.9.0(acorn@8.11.3) - browserslist: 4.23.0 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.16.1 - es-module-lexer: 1.5.2 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.20.2)(webpack@5.91.0) - watchpack: 2.4.1 - webpack-sources: 3.2.3 - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - dev: false - /webpack@5.92.1(esbuild@0.20.2): resolution: {integrity: sha512-JECQ7IwJb+7fgUFBlrJzbyu3GEuNBcdqr1LD7IbSzwkSmIevTm8PF+wej3Oxuz/JFBUZ6O1o43zsPkwm1C4TmA==} engines: {node: '>=10.13.0'} @@ -11838,7 +11889,7 @@ packages: '@webassemblyjs/wasm-parser': 1.12.1 acorn: 8.11.3 acorn-import-attributes: 1.9.5(acorn@8.11.3) - browserslist: 4.23.0 + browserslist: 4.23.1 chrome-trace-event: 1.0.3 enhanced-resolve: 5.17.0 es-module-lexer: 1.5.2 diff --git a/sandboxes/react-rsbuild/package.json b/sandboxes/react-rsbuild/package.json index 153daa3..576f477 100644 --- a/sandboxes/react-rsbuild/package.json +++ b/sandboxes/react-rsbuild/package.json @@ -18,8 +18,8 @@ }, "devDependencies": { "@chromatic-com/storybook": "^1.4.0", - "@rsbuild/core": "0.7.9", - "@rsbuild/plugin-react": "0.7.9", + "@rsbuild/core": "1.0.0-alpha.9", + "@rsbuild/plugin-react": "1.0.0-alpha.9", "@storybook/addon-essentials": "8.1.1", "@storybook/addon-interactions": "8.1.1", "@storybook/addon-links": "8.1.1", diff --git a/sandboxes/vue3-rsbuild/package.json b/sandboxes/vue3-rsbuild/package.json index 3f1ac0c..2f53141 100644 --- a/sandboxes/vue3-rsbuild/package.json +++ b/sandboxes/vue3-rsbuild/package.json @@ -14,8 +14,8 @@ }, "devDependencies": { "@chromatic-com/storybook": "^1.4.0", - "@rsbuild/core": "0.7.9", - "@rsbuild/plugin-vue": "0.7.9", + "@rsbuild/core": "1.0.0-alpha.9", + "@rsbuild/plugin-vue": "1.0.0-alpha.9", "@storybook/addon-essentials": "8.1.1", "@storybook/addon-interactions": "8.1.1", "@storybook/addon-links": "8.1.1",