@vc-shell/config-generator 2.0.0-alpha.33 → 2.0.0-alpha.34
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 +18 -15
- package/README.md +7 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# [2.0.0-alpha.34](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2026-04-22)
|
|
2
|
+
|
|
3
|
+
**Note:** Version bump only for package @vc-shell/config-generator
|
|
4
|
+
|
|
1
5
|
# [2.0.0-alpha.33](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.32...v2.0.0-alpha.33) (2026-04-14)
|
|
2
6
|
|
|
3
7
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -16,10 +20,10 @@
|
|
|
16
20
|
|
|
17
21
|
# [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
22
|
|
|
19
|
-
|
|
20
23
|
### Bug Fixes
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
- **vite-config:** fix named sub-entries for framework path resolution ([2e4cdd1](https://github.com/VirtoCommerce/vc-shell/commit/2e4cdd10d6afc7bef32562715eb89ea7a5a5d307))
|
|
26
|
+
|
|
23
27
|
# [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
28
|
|
|
25
29
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -66,15 +70,14 @@
|
|
|
66
70
|
|
|
67
71
|
# [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
72
|
|
|
69
|
-
|
|
70
73
|
### Bug Fixes
|
|
71
74
|
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
- **defineBlade:** register blade config at module scope, not setup time ([7d80498](https://github.com/VirtoCommerce/vc-shell/commit/7d804989ac285c1fb2d277e131c7e159292a5f41))
|
|
74
76
|
|
|
75
77
|
### Features
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
- **vite-config:** add viteBladePlugin for defineBlade macro transform ([adee11c](https://github.com/VirtoCommerce/vc-shell/commit/adee11ca10431eb3f7705fdf4129509f3b7710f7))
|
|
80
|
+
|
|
78
81
|
# [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
82
|
|
|
80
83
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -101,29 +104,29 @@
|
|
|
101
104
|
|
|
102
105
|
# [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
106
|
|
|
104
|
-
|
|
105
107
|
### Features
|
|
106
108
|
|
|
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)
|
|
109
|
+
- **mf-host:** add mfHostConfig() vite helper for optimizeDeps ([501841d](https://github.com/VirtoCommerce/vc-shell/commit/501841d457ad9f3c671c41723b65045fae075d28))
|
|
110
|
+
- **mf-host:** import shared deps from mf-config instead of duplicating ([51d2df1](https://github.com/VirtoCommerce/vc-shell/commit/51d2df126ac45ca388c7eb5ce8943fc324938a25))
|
|
110
111
|
|
|
112
|
+
# [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
113
|
|
|
112
114
|
### Bug Fixes
|
|
113
115
|
|
|
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)
|
|
116
|
+
- topological build order, deprecation fixes, and dependency updates ([bf01eaf](https://github.com/VirtoCommerce/vc-shell/commit/bf01eaf7574eda5ae393941b553cbea5918a768f))
|
|
116
117
|
|
|
118
|
+
# [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
119
|
|
|
118
120
|
### Features
|
|
119
121
|
|
|
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)
|
|
122
|
+
- **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
123
|
|
|
124
|
+
# [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
125
|
|
|
124
126
|
### Bug Fixes
|
|
125
127
|
|
|
126
|
-
|
|
128
|
+
- remove duplicate changelog entries caused by multiline regex bug ([2f27d4c](https://github.com/VirtoCommerce/vc-shell/commit/2f27d4c2ca81452ddc1042af47a4648348e7e323))
|
|
129
|
+
|
|
127
130
|
# [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
131
|
|
|
129
132
|
### 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.
|
|
4
|
+
"version": "2.0.0-alpha.34",
|
|
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.
|
|
25
|
+
"@vc-shell/ts-config": "2.0.0-alpha.34",
|
|
26
26
|
"http-proxy-middleware": "^3.0.2",
|
|
27
27
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
28
28
|
"tsc-alias": "^1.8.8",
|