@vc-shell/config-generator 2.0.0-alpha.33 → 2.0.0-alpha.33-pr220.455e322
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/CHANGELOG.md +14 -15
- package/README.md +7 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
|
|
17
17
|
# [2.0.0-alpha.29](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2026-03-26)
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
### Bug Fixes
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
- **vite-config:** fix named sub-entries for framework path resolution ([2e4cdd1](https://github.com/VirtoCommerce/vc-shell/commit/2e4cdd10d6afc7bef32562715eb89ea7a5a5d307))
|
|
22
|
+
|
|
23
23
|
# [2.0.0-alpha.28](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2026-03-26)
|
|
24
24
|
|
|
25
25
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -66,15 +66,14 @@
|
|
|
66
66
|
|
|
67
67
|
# [2.0.0-alpha.17](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2026-03-23)
|
|
68
68
|
|
|
69
|
-
|
|
70
69
|
### Bug Fixes
|
|
71
70
|
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
- **defineBlade:** register blade config at module scope, not setup time ([7d80498](https://github.com/VirtoCommerce/vc-shell/commit/7d804989ac285c1fb2d277e131c7e159292a5f41))
|
|
74
72
|
|
|
75
73
|
### Features
|
|
76
74
|
|
|
77
|
-
|
|
75
|
+
- **vite-config:** add viteBladePlugin for defineBlade macro transform ([adee11c](https://github.com/VirtoCommerce/vc-shell/commit/adee11ca10431eb3f7705fdf4129509f3b7710f7))
|
|
76
|
+
|
|
78
77
|
# [2.0.0-alpha.16](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2026-03-20)
|
|
79
78
|
|
|
80
79
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -101,29 +100,29 @@
|
|
|
101
100
|
|
|
102
101
|
# [2.0.0-alpha.10](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2026-03-13)
|
|
103
102
|
|
|
104
|
-
|
|
105
103
|
### Features
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
# [2.0.0-alpha.9](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2026-03-12)
|
|
105
|
+
- **mf-host:** add mfHostConfig() vite helper for optimizeDeps ([501841d](https://github.com/VirtoCommerce/vc-shell/commit/501841d457ad9f3c671c41723b65045fae075d28))
|
|
106
|
+
- **mf-host:** import shared deps from mf-config instead of duplicating ([51d2df1](https://github.com/VirtoCommerce/vc-shell/commit/51d2df126ac45ca388c7eb5ce8943fc324938a25))
|
|
110
107
|
|
|
108
|
+
# [2.0.0-alpha.9](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2026-03-12)
|
|
111
109
|
|
|
112
110
|
### Bug Fixes
|
|
113
111
|
|
|
114
|
-
|
|
115
|
-
# [2.0.0-alpha.8](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2026-03-12)
|
|
112
|
+
- topological build order, deprecation fixes, and dependency updates ([bf01eaf](https://github.com/VirtoCommerce/vc-shell/commit/bf01eaf7574eda5ae393941b553cbea5918a768f))
|
|
116
113
|
|
|
114
|
+
# [2.0.0-alpha.8](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2026-03-12)
|
|
117
115
|
|
|
118
116
|
### Features
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
# [2.0.0-alpha.7](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2026-03-11)
|
|
118
|
+
- **mf:** extract Module Federation loader into @vc-shell/mf-config and @vc-shell/mf-host ([9b079c2](https://github.com/VirtoCommerce/vc-shell/commit/9b079c27bc1497d89849b909f62c1403eff0c9b4))
|
|
122
119
|
|
|
120
|
+
# [2.0.0-alpha.7](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2026-03-11)
|
|
123
121
|
|
|
124
122
|
### Bug Fixes
|
|
125
123
|
|
|
126
|
-
|
|
124
|
+
- remove duplicate changelog entries caused by multiline regex bug ([2f27d4c](https://github.com/VirtoCommerce/vc-shell/commit/2f27d4c2ca81452ddc1042af47a4648348e7e323))
|
|
125
|
+
|
|
127
126
|
# [2.0.0-alpha.6](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2026-03-10)
|
|
128
127
|
|
|
129
128
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -29,10 +29,7 @@ Adds Module Federation to a host application. Merge with your application config
|
|
|
29
29
|
import { getApplicationConfiguration, getHostFederationConfig } from "@vc-shell/config-generator";
|
|
30
30
|
import { mergeConfig } from "vite";
|
|
31
31
|
|
|
32
|
-
export default mergeConfig(
|
|
33
|
-
getApplicationConfiguration(),
|
|
34
|
-
getHostFederationConfig(),
|
|
35
|
-
);
|
|
32
|
+
export default mergeConfig(getApplicationConfiguration(), getHostFederationConfig());
|
|
36
33
|
```
|
|
37
34
|
|
|
38
35
|
Custom shared dependencies:
|
|
@@ -58,12 +55,12 @@ export default getDynamicModuleConfiguration({
|
|
|
58
55
|
});
|
|
59
56
|
```
|
|
60
57
|
|
|
61
|
-
| Option
|
|
62
|
-
|
|
63
|
-
| `entry`
|
|
64
|
-
| `exposes`
|
|
65
|
-
| `compatibility.framework` | `string`
|
|
66
|
-
| `compatibility.modules`
|
|
58
|
+
| Option | Type | Default | Description |
|
|
59
|
+
| ------------------------- | ------------------------ | -------------------------- | --------------------------------- |
|
|
60
|
+
| `entry` | `string` | `"./src/modules/index.ts"` | Module entry point |
|
|
61
|
+
| `exposes` | `Record<string, string>` | `{ "./module": entry }` | MF exposes map |
|
|
62
|
+
| `compatibility.framework` | `string` | -- | Compatible framework semver range |
|
|
63
|
+
| `compatibility.modules` | `Record<string, string>` | -- | Compatible module version ranges |
|
|
67
64
|
|
|
68
65
|
The module produces a `remoteEntry.js` file that the host loads at runtime.
|
|
69
66
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/config-generator",
|
|
3
3
|
"description": "Generate Vite configurations",
|
|
4
|
-
"version": "2.0.0-alpha.33",
|
|
4
|
+
"version": "2.0.0-alpha.33-pr220.455e322",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"vue": "^3.5.30"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@vc-shell/ts-config": "2.0.0-alpha.33",
|
|
25
|
+
"@vc-shell/ts-config": "2.0.0-alpha.33-pr220.455e322",
|
|
26
26
|
"http-proxy-middleware": "^3.0.2",
|
|
27
27
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
28
28
|
"tsc-alias": "^1.8.8",
|