Skip to content

Commit

Permalink
feat: bump rsbuild 1.1.0-beta (#6472)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Nov 1, 2024
1 parent b6acb98 commit ff24952
Show file tree
Hide file tree
Showing 12 changed files with 256 additions and 140 deletions.
2 changes: 1 addition & 1 deletion packages/cli/plugin-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@rsbuild/plugin-webpack-swc": "~1.0.3",
"@swc/helpers": "0.5.13"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/rsbuild-plugin-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"webpack": "^5.95.0"
},
"devDependencies": {
"@rsbuild/core": "~1.0.11",
"@rsbuild/webpack": "~1.0.9",
"@rsbuild/core": "~1.1.0-beta.0",
"@rsbuild/webpack": "~1.1.0-beta.0",
"@scripts/build": "workspace:*",
"typescript": "^5.4.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/uni-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@modern-js/babel-preset": "workspace:*",
"@modern-js/utils": "workspace:*",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@rsbuild/plugin-assets-retry": "~1.0.1",
"@rsbuild/plugin-babel": "~1.0.1",
"@rsbuild/plugin-check-syntax": "~1.0.1",
Expand All @@ -51,7 +51,7 @@
"@rsbuild/plugin-type-check": "~1.0.1",
"@rsbuild/plugin-typed-css-modules": "~1.0.2",
"@rsbuild/plugin-yaml": "~1.0.2",
"@rsbuild/webpack": "~1.0.9",
"@rsbuild/webpack": "~1.1.0-beta.0",
"@swc/helpers": "0.5.13",
"autoprefixer": "10.4.20",
"babel-loader": "9.1.3",
Expand Down
14 changes: 5 additions & 9 deletions packages/cli/uni-builder/src/shared/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import type { Rspack } from '@rsbuild/core';
import type { ManifestPluginOptions } from 'rspack-manifest-plugin';

export const generateManifest = (
seed: Record<string, any>,
files: Array<{
chunk?: Rspack.Chunk;
name: string;
path: string;
}>,
entries: Record<string, string[]>,
export const generateManifest: ManifestPluginOptions['generate'] = (
seed,
files,
entries,
) => {
const manifestFiles = files.reduce((manifest, file) => {
manifest[file.name] = file.path;
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/themes": "^3.0.5",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@scripts/jest-config": "workspace:*",
"@types/jest": "^29",
"@types/lodash": "^4.14.202",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@modern-js/server-core": "workspace:*",
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@scripts/build": "workspace:*",
"@swc/helpers": "0.5.13",
"@types/node": "^14",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/plugin-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"@modern-js/app-tools": "workspace:*",
"@modern-js/core": "workspace:*",
"@remix-run/web-fetch": "^4.1.3",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@testing-library/react": "^13.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/solutions/app-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@rsbuild/plugin-node-polyfill": "~1.2.0",
"@swc/helpers": "0.5.13",
"@vercel/nft": "^0.26.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/solutions/module-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"devDependencies": {
"@modern-js/self": "workspace:@modern-js/module-tools@*",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@scripts/build": "workspace:*",
"@scripts/vitest-config": "workspace:*",
"@types/convert-source-map": "1.5.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@modern-js/runtime": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "~1.0.11",
"@rsbuild/core": "~1.1.0-beta.0",
"@storybook/components": "~7.6.12",
"@storybook/core-common": "~7.6.12",
"@storybook/csf-plugin": "~7.6.12",
Expand Down
Loading

0 comments on commit ff24952

Please sign in to comment.