@module-federation/enhanced 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +20 -0
- package/dist/rstestmigrate.md +2 -2
- package/package.json +17 -16
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @module-federation/enhanced
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [a7351f3]
|
|
8
|
+
- Updated dependencies [dcc640b]
|
|
9
|
+
- Updated dependencies [9958086]
|
|
10
|
+
- Updated dependencies [a5f123a]
|
|
11
|
+
- @module-federation/dts-plugin@2.7.0
|
|
12
|
+
- @module-federation/sdk@2.7.0
|
|
13
|
+
- @module-federation/managers@2.7.0
|
|
14
|
+
- @module-federation/manifest@2.7.0
|
|
15
|
+
- @module-federation/cli@2.7.0
|
|
16
|
+
- @module-federation/rspack@2.7.0
|
|
17
|
+
- @module-federation/bridge-react-webpack-plugin@2.7.0
|
|
18
|
+
- @module-federation/webpack-bundler-runtime@2.7.0
|
|
19
|
+
- @module-federation/runtime-tools@2.7.0
|
|
20
|
+
- @module-federation/inject-external-runtime-core-plugin@2.7.0
|
|
21
|
+
- @module-federation/error-codes@2.7.0
|
|
22
|
+
|
|
3
23
|
## 2.6.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/rstestmigrate.md
CHANGED
|
@@ -24,11 +24,11 @@ Rstest docs listed in the references section.
|
|
|
24
24
|
|
|
25
25
|
### 1) Update scripts and Nx targets
|
|
26
26
|
- Switch `packages/enhanced/project.json` `test` target to Rstest:
|
|
27
|
-
`rstest
|
|
27
|
+
`rstest -c packages/enhanced/rstest.config.ts` (match CLI usage).
|
|
28
28
|
- Replace or remove `test:jest` and `test:experiments` targets, or rewrite
|
|
29
29
|
them as Rstest equivalents (for example, separate includes/projects).
|
|
30
30
|
- Keep `enhanced:rstest` in the root `package.json` as the user-facing entry
|
|
31
|
-
point and ensure it uses `rstest
|
|
31
|
+
point and ensure it uses `rstest` consistently.
|
|
32
32
|
|
|
33
33
|
### 2) Expand `rstest.config.ts` coverage
|
|
34
34
|
- Include unit and compiler tests (not just ConfigTestCases):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/enhanced",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"main": "./dist/src/index.js",
|
|
5
5
|
"types": "./dist/src/index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"typescript": "^4.9.0 || ^5.0.0",
|
|
24
|
+
"typescript": "^4.9.0 || ^5.0.0 || ^6.0.0",
|
|
25
25
|
"vue-tsc": ">=1.0.24",
|
|
26
26
|
"webpack": "^5.0.0"
|
|
27
27
|
},
|
|
@@ -77,31 +77,32 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"ajv": "^8.18.0",
|
|
79
79
|
"enhanced-resolve": "^5.0.0",
|
|
80
|
-
"terser": "^5.37.0",
|
|
81
80
|
"fast-glob": "3.3.3",
|
|
82
|
-
"memfs": "4.46.0"
|
|
81
|
+
"memfs": "4.46.0",
|
|
82
|
+
"terser": "^5.37.0",
|
|
83
|
+
"typescript": "6.0.3"
|
|
83
84
|
},
|
|
84
85
|
"dependencies": {
|
|
85
86
|
"upath": "2.0.1",
|
|
86
87
|
"schema-utils": "4.3.0",
|
|
87
88
|
"tapable": "2.3.0",
|
|
88
|
-
"@module-federation/webpack-bundler-runtime": "2.
|
|
89
|
-
"@module-federation/bridge-react-webpack-plugin": "2.
|
|
90
|
-
"@module-federation/
|
|
91
|
-
"@module-federation/
|
|
92
|
-
"@module-federation/
|
|
93
|
-
"@module-federation/
|
|
94
|
-
"@module-federation/
|
|
95
|
-
"@module-federation/
|
|
96
|
-
"@module-federation/
|
|
97
|
-
"@module-federation/sdk": "2.
|
|
98
|
-
"@module-federation/cli": "2.
|
|
89
|
+
"@module-federation/webpack-bundler-runtime": "2.7.0",
|
|
90
|
+
"@module-federation/bridge-react-webpack-plugin": "2.7.0",
|
|
91
|
+
"@module-federation/dts-plugin": "2.7.0",
|
|
92
|
+
"@module-federation/managers": "2.7.0",
|
|
93
|
+
"@module-federation/error-codes": "2.7.0",
|
|
94
|
+
"@module-federation/inject-external-runtime-core-plugin": "2.7.0",
|
|
95
|
+
"@module-federation/manifest": "2.7.0",
|
|
96
|
+
"@module-federation/runtime-tools": "2.7.0",
|
|
97
|
+
"@module-federation/rspack": "2.7.0",
|
|
98
|
+
"@module-federation/sdk": "2.7.0",
|
|
99
|
+
"@module-federation/cli": "2.7.0"
|
|
99
100
|
},
|
|
100
101
|
"scripts": {
|
|
101
102
|
"generate:schema": "node src/scripts/compile-schema.js && node src/scripts/generate-sdk-types.js",
|
|
102
103
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && pnpm -C . exec tsdown --config tsdown.config.mts && cp *.md dist && node -e \"const fs=require('fs');const path=require('path');const src='src';const dst='dist/src';(function w(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory())w(p);else if(e.name.endsWith('.d.ts')){const rel=path.relative(src,p);const out=path.join(dst,rel);fs.mkdirSync(path.dirname(out),{recursive:true});fs.copyFileSync(p,out);}}})(src);\"",
|
|
103
104
|
"lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\"",
|
|
104
|
-
"test": "node test/scripts/ensure-reshake-fixtures.js && NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=24576\" npx rstest
|
|
105
|
+
"test": "node test/scripts/ensure-reshake-fixtures.js && NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=24576\" npx rstest && NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=24576\" npx rstest -c rstest.treeshake.serial.config.ts",
|
|
105
106
|
"pre-release": "pnpm run test && pnpm run build"
|
|
106
107
|
}
|
|
107
108
|
}
|