Skip to content

Commit c4a9cb5

Browse files
chore: fix conflicts
1 parent 6d25c2e commit c4a9cb5

File tree

10 files changed

+4690
-1343
lines changed

10 files changed

+4690
-1343
lines changed

apps/website-new/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@
88
"preview": "rspress preview"
99
},
1010
"dependencies": {
11-
"framer-motion": "^10.0.0",
12-
"rspress": "2.0.0-beta.20",
13-
"tailwindcss": "^3.2.7",
14-
"xgplayer": "^3.0.16",
15-
"rspress-plugin-annotation-words": "0.0.1",
16-
"@rsbuild/plugin-sass": "^1.3.2",
11+
"@builder.io/qwik": "^1.15.0",
1712
"@module-federation/error-codes": "workspace:*",
18-
"@rspress/plugin-llms": "2.0.0-beta.20",
1913
"@module-federation/rspress-plugin": "workspace:*",
14+
"@rsbuild/plugin-sass": "^1.3.2",
15+
"@rspress/plugin-llms": "2.0.0-beta.20",
16+
"framer-motion": "^10.0.0",
2017
"react": "^19.1.0",
21-
"react-dom": "^19.1.0"
18+
"react-dom": "^19.1.0",
19+
"rspress": "2.0.0-beta.20",
20+
"rspress-plugin-annotation-words": "0.0.1",
21+
"tailwindcss": "^3.2.7",
22+
"xgplayer": "^3.0.16"
2223
},
2324
"devDependencies": {
2425
"@types/node": "^20",

packages/chrome-devtools/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"@types/dagre": "^0.7.52",
7777
"@types/jest": "~29.2.4",
7878
"@types/node": "~20.12.12",
79-
"@types/react": "~18.2.0",
80-
"@types/react-dom": "~18.3.0",
79+
"@types/react": "~18.3.23",
80+
"@types/react-dom": "~18.3.7",
8181
"lint-staged": "~13.1.0",
8282
"prettier": "~3.3.3",
8383
"rimraf": "~6.0.1",

packages/chrome-devtools/tsconfig.base.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"@/*": ["./src/*"],
99
"@shared/*": ["./shared/*"]
1010
},
11-
"allowJs": false
11+
"allowJs": false,
12+
"skipLibCheck": true
1213
},
1314
"exclude": ["**/node_modules"]
1415
}

packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ it('should be able to consume different shared module version depending on conte
4848
),
4949
).toBe(true);
5050
expect(() => require('my-module3')).toThrowError(
51-
'Invalid loadShareSync function',
51+
'loadShareSync failed! The function should not be called unless you set "eager:true"',
5252
);
5353
expect(require('my-module4')).toBe('[email protected]');
5454
// expectWarning();

packages/enhanced/test/configCases/sharing/consume-multiple-versions/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ it('should be able to consume different shared module version depending on conte
171171
),
172172
).toBe(true);
173173
expect(() => require('my-module3')).toThrowError(
174-
'Invalid loadShareSync function',
174+
'loadShareSync failed! The function should not be called unless you set "eager:true"',
175175
);
176176
expect(require('my-module4')).toBe('[email protected]');
177177
// expectWarning();

packages/enhanced/test/configCases/sharing/consume-multiple-versions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ it('should be able to consume different shared module version depending on conte
171171
),
172172
).toBe(true);
173173
expect(() => require('my-module3')).toThrowError(
174-
'Invalid loadShareSync function',
174+
'loadShareSync failed! The function should not be called unless you set "eager:true"',
175175
);
176176
expect(require('my-module4')).toBe('[email protected]');
177177
// expectWarning();

packages/enhanced/test/configCases/sharing/layers-consume-loader/tests/prefixed-share.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
it('should consume thing1 from multi-pkg with multi-pkg-layer', async () => {
55
const { version, layer } = await import('multi-pkg/thing1');
66
expect(version).toBe('2.0.0');
7-
expect(layer).toBeUndefined();
7+
expect(layer).toBe('multi-pkg-layer');
88
});
99

1010
it('should consume thing2 from multi-pkg with multi-pkg-layer', async () => {
1111
const { version, layer } = await import('multi-pkg/thing2');
1212
expect(version).toBe('2.0.0');
13-
expect(layer).toBeUndefined();
13+
expect(layer).toBe('multi-pkg-layer');
1414
});

packages/enhanced/test/unit/sharing/ConsumeSharedPlugin/ConsumeSharedPlugin.filtering.test.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @jest-environment node
33
*/
44

5-
import ConsumeSharedPlugin from '../../../src/lib/sharing/ConsumeSharedPlugin';
6-
import ConsumeSharedModule from '../../../src/lib/sharing/ConsumeSharedModule';
5+
import ConsumeSharedPlugin from '../../../../src/lib/sharing/ConsumeSharedPlugin';
6+
import ConsumeSharedModule from '../../../../src/lib/sharing/ConsumeSharedModule';
77
// Import removed as we define them locally
88
import path from 'path';
99
import { vol } from 'memfs';
@@ -13,11 +13,14 @@ jest.mock('fs', () => require('memfs').fs);
1313
jest.mock('fs/promises', () => require('memfs').fs.promises);
1414

1515
// Mock FederationRuntimePlugin to avoid complex dependencies
16-
jest.mock('../../../src/lib/container/runtime/FederationRuntimePlugin', () => {
17-
return jest.fn().mockImplementation(() => ({
18-
apply: jest.fn(),
19-
}));
20-
});
16+
jest.mock(
17+
'../../../../src/lib/container/runtime/FederationRuntimePlugin',
18+
() => {
19+
return jest.fn().mockImplementation(() => ({
20+
apply: jest.fn(),
21+
}));
22+
},
23+
);
2124

2225
// Mock webpack internals for file system operations
2326
jest.mock('@module-federation/sdk/normalize-webpack-path', () => ({

packages/managers/__tests__/__snapshots__/SharedManager.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ exports[`SharedManager normalizedOptions 1`] = `
77
"requiredVersion": "^18.0.0",
88
"shareScope": "default",
99
"singleton": false,
10-
"version": "18.3.1",
10+
"version": "19.0.0",
1111
}
1212
`;

0 commit comments

Comments
 (0)