From dc553a2a5543aef4dc0849b320a2dd0c7853fbd5 Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Wed, 20 Dec 2023 23:27:48 +0800 Subject: [PATCH] chore: bump rspack to 0.4.4 --- .changeset/honest-cameras-melt.md | 8 ++ .../builder-rspack-provider/package.json | 6 +- packages/storybook/builder/package.json | 2 +- pnpm-lock.yaml | 107 +++++++++++++----- 4 files changed, 88 insertions(+), 35 deletions(-) create mode 100644 .changeset/honest-cameras-melt.md diff --git a/.changeset/honest-cameras-melt.md b/.changeset/honest-cameras-melt.md new file mode 100644 index 000000000000..059430bb9b42 --- /dev/null +++ b/.changeset/honest-cameras-melt.md @@ -0,0 +1,8 @@ +--- +'@modern-js/builder-rspack-provider': patch +'@modern-js/storybook-builder': patch +--- + +chore: bump rspack to 0.4.4 + +chore: 升级 rspack 到 0.4.4 diff --git a/packages/builder/builder-rspack-provider/package.json b/packages/builder/builder-rspack-provider/package.json index d5d4b55cae4f..b293df8d6683 100644 --- a/packages/builder/builder-rspack-provider/package.json +++ b/packages/builder/builder-rspack-provider/package.json @@ -56,9 +56,9 @@ "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", "@babel/preset-typescript": "^7.22.15", - "@rspack/core": "0.4.4-canary-f94b142-20231219112633", - "@rspack/plugin-react-refresh": "0.4.4-canary-f94b142-20231219112633", - "@rspack/plugin-html": "0.4.4-canary-f94b142-20231219112633", + "@rspack/core": "0.4.4", + "@rspack/plugin-react-refresh": "0.4.4", + "@rspack/plugin-html": "0.4.4", "@swc/helpers": "0.5.3", "rspack-manifest-plugin": "5.0.0-alpha0", "caniuse-lite": "^1.0.30001520", diff --git a/packages/storybook/builder/package.json b/packages/storybook/builder/package.json index cfcc2014db8d..c3a62aca2cbb 100644 --- a/packages/storybook/builder/package.json +++ b/packages/storybook/builder/package.json @@ -61,7 +61,7 @@ "@modern-js/core": "workspace:*", "@modern-js/runtime": "workspace:*", "@modern-js/utils": "workspace:*", - "@rspack/plugin-react-refresh": "0.4.4-canary-f94b142-20231219112633", + "@rspack/plugin-react-refresh": "0.4.4", "@storybook/components": "~7.6.1", "@storybook/core-common": "~7.6.1", "@storybook/csf-plugin": "~7.6.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5af16732dbe1..4a7f6c612a84 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -174,14 +174,14 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/core': - specifier: 0.4.4-canary-f94b142-20231219112633 - version: 0.4.4-canary-f94b142-20231219112633 + specifier: 0.4.4 + version: 0.4.4 '@rspack/plugin-html': - specifier: 0.4.4-canary-f94b142-20231219112633 - version: 0.4.4-canary-f94b142-20231219112633(@rspack/core@0.4.4-canary-f94b142-20231219112633) + specifier: 0.4.4 + version: 0.4.4(@rspack/core@0.4.4) '@rspack/plugin-react-refresh': - specifier: 0.4.4-canary-f94b142-20231219112633 - version: 0.4.4-canary-f94b142-20231219112633(react-refresh@0.14.0) + specifier: 0.4.4 + version: 0.4.4(react-refresh@0.14.0) '@swc/helpers': specifier: 0.5.3 version: 0.5.3 @@ -4969,8 +4969,8 @@ importers: specifier: workspace:* version: link:../../toolkit/utils '@rspack/plugin-react-refresh': - specifier: 0.4.4-canary-f94b142-20231219112633 - version: 0.4.4-canary-f94b142-20231219112633(react-refresh@0.14.0) + specifier: 0.4.4 + version: 0.4.4(react-refresh@0.14.0) '@storybook/components': specifier: ~7.6.1 version: 7.6.3(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) @@ -14727,8 +14727,8 @@ packages: requiresBuild: true optional: true - /@rspack/binding-darwin-arm64@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-pJpYdvXGIXmrEmWuK2+b8HfA7ZcRNbxI/qOeECBB28S1KPoqaWMoPrrrB8lf9wMONCEZV1EgPuBhFZM5MPt0ug==} + /@rspack/binding-darwin-arm64@0.4.4: + resolution: {integrity: sha512-40HUmnT/zHBcajcdTtIzorI1zpGZCpJBnis2rR3DzmBnD1fDLgu7PcW7iE11/MPmdwOYAZbCSzTZwe8hv0Skxw==} cpu: [arm64] os: [darwin] requiresBuild: true @@ -14750,8 +14750,8 @@ packages: requiresBuild: true optional: true - /@rspack/binding-darwin-x64@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-/hOv45tCMThYGN8LUBroK9Afk8sljS4J/K4GSTd2psvMKE/qR3PZvN25AbGOW5BDZRFI5C70lXmmN5UrEN21Ew==} + /@rspack/binding-darwin-x64@0.4.4: + resolution: {integrity: sha512-8vXoqA0S+D7LnwGAsO5dEpxKV3np/iONPvwRhVl2cBtsFKYmnh3jG0oxtDamCUUw38Jc3VZQTeH7kUt5F8HB5g==} cpu: [x64] os: [darwin] requiresBuild: true @@ -14773,6 +14773,14 @@ packages: requiresBuild: true optional: true + /@rspack/binding-linux-arm64-gnu@0.4.4: + resolution: {integrity: sha512-lmLy9W14WcVjI1PuZVeq0TAGNFoeYjQswQHl0KCDURcxaBbVqGcNjPovhbib+5w9Gj4jQqqnVIUHs86vIqDwHQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@rspack/binding-linux-arm64-musl@0.4.2: resolution: {integrity: sha512-k5JhGPYjeZYDV819eNVrA1ajr/q+dBOb1mAwzuzgDJn38sMPLjj589XjlopuzY+JrpsQtP0p2iC/Yi+HPyYRmw==} cpu: [arm64] @@ -14788,6 +14796,14 @@ packages: requiresBuild: true optional: true + /@rspack/binding-linux-arm64-musl@0.4.4: + resolution: {integrity: sha512-wnranY+QPbGzrkfNneZkq839imrt+pfup1RpynfgrvjiWApDwvagTi9S8M7Og3u9m1CmJDrBq6yXgy4ffweygQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@rspack/binding-linux-x64-gnu@0.4.2: resolution: {integrity: sha512-Su5AgvdSg4QNHeem3mFNY9VlaRKyK+sHjK+/RefP/l3sCRKUcGDLXcf8wUBy8//Mt/yJ88Z6jzB38vpFlnwsCA==} cpu: [x64] @@ -14803,8 +14819,8 @@ packages: requiresBuild: true optional: true - /@rspack/binding-linux-x64-gnu@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-Vr5TWMy2p0HnBS8swu4KeX+AlvQ3ApglFcIAG+z0ukmOwdRm64zwbKjS8OQrpJXZGZ9NdSg5tXza2jraYJhJ1w==} + /@rspack/binding-linux-x64-gnu@0.4.4: + resolution: {integrity: sha512-J0n+91NL9quEWYaStFitXC3+rbM+wklxCEHvkwfuzC46fGcG9673aTVfcrod1fx2jTHHaftXKb5Hpru77W0JAA==} cpu: [x64] os: [linux] requiresBuild: true @@ -14826,6 +14842,14 @@ packages: requiresBuild: true optional: true + /@rspack/binding-linux-x64-musl@0.4.4: + resolution: {integrity: sha512-ulIhvLzimHB5Ggp9TRJEFvyak/7OPzeVxFdP8nYNBHzPoYiqnK2MQUVOK7CT2hTpco1QJbh3jZTZxzdKIY5asw==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@rspack/binding-win32-arm64-msvc@0.4.2: resolution: {integrity: sha512-7iKlOtp2AQjPEA81tSxf9rKu1gE7b+rkMiJnnlzqfDjUvUk4zD71F6BdY9jXXiPjCTUfL5Oym8f1OMkjZsrjDA==} cpu: [arm64] @@ -14841,6 +14865,14 @@ packages: requiresBuild: true optional: true + /@rspack/binding-win32-arm64-msvc@0.4.4: + resolution: {integrity: sha512-t4u3jlx+0LDOY7Y8m9tLDHAsPN9aiyz/5NDHKqdDeke5NJZ2A4jbv+h/dvcyGH+Nxj056XW1aa9wzvzT9jb//A==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@rspack/binding-win32-ia32-msvc@0.4.2: resolution: {integrity: sha512-XXy3/I/TqpLTrHPqrfWkqzZC53gGqJ6BHuPkCRJQFVgJI9zdBADqumj7A2s7VuH411zZQrCQVa/YBWxXWlScxA==} cpu: [ia32] @@ -14856,6 +14888,14 @@ packages: requiresBuild: true optional: true + /@rspack/binding-win32-ia32-msvc@0.4.4: + resolution: {integrity: sha512-ijw4bmB8Zh8BkawPqIc8Q7VWr6bSw9trMqTtXwHrXAyKYCdyXMCYsGnj7Rc6CKKrV6D6nsDXtA8ANFqoKCuvyw==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@rspack/binding-win32-x64-msvc@0.4.2: resolution: {integrity: sha512-OIMbPhhlGxwr6j4hQ7zeQAGMu217ZeV+/2PY+yQddgHUv/eFwH9MFhBZQc+k5Ad8+hurdyrLwOHGqjvo00ri/Q==} cpu: [x64] @@ -14871,8 +14911,8 @@ packages: requiresBuild: true optional: true - /@rspack/binding-win32-x64-msvc@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-Pxl1Ex4SEHsI+Cy7geBf8aEpuHNWlq4YyDWp3o+3K4A4HDWvCKcVcQsNpPMG+/kk+n1JGiFNUXn8GrF4AW7ovw==} + /@rspack/binding-win32-x64-msvc@0.4.4: + resolution: {integrity: sha512-jpJPjfNTEbHBCOuZotXhpBpR0C1jTvHh6wlgPjP286JXaAhGv/PEzriuRdXw0RSet1tf1vqn/V4lFU5hZbXZIA==} cpu: [x64] os: [win32] requiresBuild: true @@ -14906,13 +14946,18 @@ packages: '@rspack/binding-win32-ia32-msvc': 0.4.3 '@rspack/binding-win32-x64-msvc': 0.4.3 - /@rspack/binding@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-+RnrBm++L1HdBgDg0noOB5rZC+ra0srvsPYhGfvDKR9aizauG3eRStKbjLJbpPvn7ww4jmGvz1v/M2/5Q1J7wA==} + /@rspack/binding@0.4.4: + resolution: {integrity: sha512-CrZH2Vpf4Axi23GlD8qesyxmpplkYo6o5MlPuUtqNGrIA3JpPSRtBVLOE1NsMZ3+hnDHJ5GWtWoWkEB0p3beBA==} optionalDependencies: - '@rspack/binding-darwin-arm64': 0.4.4-canary-f94b142-20231219112633 - '@rspack/binding-darwin-x64': 0.4.4-canary-f94b142-20231219112633 - '@rspack/binding-linux-x64-gnu': 0.4.4-canary-f94b142-20231219112633 - '@rspack/binding-win32-x64-msvc': 0.4.4-canary-f94b142-20231219112633 + '@rspack/binding-darwin-arm64': 0.4.4 + '@rspack/binding-darwin-x64': 0.4.4 + '@rspack/binding-linux-arm64-gnu': 0.4.4 + '@rspack/binding-linux-arm64-musl': 0.4.4 + '@rspack/binding-linux-x64-gnu': 0.4.4 + '@rspack/binding-linux-x64-musl': 0.4.4 + '@rspack/binding-win32-arm64-msvc': 0.4.4 + '@rspack/binding-win32-ia32-msvc': 0.4.4 + '@rspack/binding-win32-x64-msvc': 0.4.4 dev: false /@rspack/core@0.4.2: @@ -14958,11 +15003,11 @@ packages: zod: 3.22.3 zod-validation-error: 1.3.1(zod@3.22.3) - /@rspack/core@0.4.4-canary-f94b142-20231219112633: - resolution: {integrity: sha512-NoF4iMBrRMftyLrjfclqpfdAiO0kRwyB41qdk55Do9AwjaaojP7tqFDix/7Ce5XTB3zxDS+WhgI57yQ5sHn1Wg==} + /@rspack/core@0.4.4: + resolution: {integrity: sha512-SL6g6ZPPOqPI1wuQrZlSXD73HUg7GO5+wFRSATRak9hZ3wzSvYmD0kRGSCc6Kpndn21pmMLeOXNHbk2bL+x37g==} engines: {node: '>=16.0.0'} dependencies: - '@rspack/binding': 0.4.4-canary-f94b142-20231219112633 + '@rspack/binding': 0.4.4 '@swc/helpers': 0.5.1 browserslist: 4.22.2 compare-versions: 6.0.0-rc.1 @@ -14979,15 +15024,15 @@ packages: zod-validation-error: 1.3.1(zod@3.22.3) dev: false - /@rspack/plugin-html@0.4.4-canary-f94b142-20231219112633(@rspack/core@0.4.4-canary-f94b142-20231219112633): - resolution: {integrity: sha512-7ltc+jQ0AhcgcF3m7XMwWobyfrbTRb8wMjOYbYNmqTXnHsrl8GZkqvGnXMZOj+wTDDtAyUpE8QuR7XNqNrlAMg==} + /@rspack/plugin-html@0.4.4(@rspack/core@0.4.4): + resolution: {integrity: sha512-vEz1fn5uNromNH34u5uR0FddSrocOA1ggUg0PZ+ro+h/md1TBPDOlTuWtpZfFcIsOWrNHRdNqeeyDOWgAK8+Nw==} peerDependencies: - '@rspack/core': 0.4.4-canary-f94b142-20231219112633 + '@rspack/core': 0.4.4 peerDependenciesMeta: '@rspack/core': optional: true dependencies: - '@rspack/core': 0.4.4-canary-f94b142-20231219112633 + '@rspack/core': 0.4.4 html-minifier-terser: 7.0.0 lodash.template: 4.5.0 parse5: 7.1.1 @@ -15015,8 +15060,8 @@ packages: dependencies: react-refresh: 0.14.0 - /@rspack/plugin-react-refresh@0.4.4-canary-f94b142-20231219112633(react-refresh@0.14.0): - resolution: {integrity: sha512-l+NP2WbXoBTBt4zShZLrvAyIOgDKVtov/vFumCnR/D+jM8Bkuym9NgfIZbaxG5v+NLdlKX+rpAy3/Kv9IHoBsQ==} + /@rspack/plugin-react-refresh@0.4.4(react-refresh@0.14.0): + resolution: {integrity: sha512-AWC1VirWqKalVJpUi0i09cjYf7bfSG0qCoMNOym45bs9D2Hi3mxqrGEaMupTfkaSDdmJ/9VsUgUCHpgxAshJuw==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: