@vc-shell/config-generator 2.0.0-alpha.32 → 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 +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.33](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.32...v2.0.0-alpha.33) (2026-04-14)
|
|
2
|
+
|
|
3
|
+
**Note:** Version bump only for package @vc-shell/config-generator
|
|
4
|
+
|
|
1
5
|
# [2.0.0-alpha.32](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2026-04-02)
|
|
2
6
|
|
|
3
7
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -12,10 +16,10 @@
|
|
|
12
16
|
|
|
13
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)
|
|
14
18
|
|
|
15
|
-
|
|
16
19
|
### Bug Fixes
|
|
17
20
|
|
|
18
|
-
|
|
21
|
+
- **vite-config:** fix named sub-entries for framework path resolution ([2e4cdd1](https://github.com/VirtoCommerce/vc-shell/commit/2e4cdd10d6afc7bef32562715eb89ea7a5a5d307))
|
|
22
|
+
|
|
19
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)
|
|
20
24
|
|
|
21
25
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -62,15 +66,14 @@
|
|
|
62
66
|
|
|
63
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)
|
|
64
68
|
|
|
65
|
-
|
|
66
69
|
### Bug Fixes
|
|
67
70
|
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
- **defineBlade:** register blade config at module scope, not setup time ([7d80498](https://github.com/VirtoCommerce/vc-shell/commit/7d804989ac285c1fb2d277e131c7e159292a5f41))
|
|
70
72
|
|
|
71
73
|
### Features
|
|
72
74
|
|
|
73
|
-
|
|
75
|
+
- **vite-config:** add viteBladePlugin for defineBlade macro transform ([adee11c](https://github.com/VirtoCommerce/vc-shell/commit/adee11ca10431eb3f7705fdf4129509f3b7710f7))
|
|
76
|
+
|
|
74
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)
|
|
75
78
|
|
|
76
79
|
**Note:** Version bump only for package @vc-shell/config-generator
|
|
@@ -97,29 +100,29 @@
|
|
|
97
100
|
|
|
98
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)
|
|
99
102
|
|
|
100
|
-
|
|
101
103
|
### Features
|
|
102
104
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
# [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))
|
|
106
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)
|
|
107
109
|
|
|
108
110
|
### Bug Fixes
|
|
109
111
|
|
|
110
|
-
|
|
111
|
-
# [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))
|
|
112
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)
|
|
113
115
|
|
|
114
116
|
### Features
|
|
115
117
|
|
|
116
|
-
|
|
117
|
-
# [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))
|
|
118
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)
|
|
119
121
|
|
|
120
122
|
### Bug Fixes
|
|
121
123
|
|
|
122
|
-
|
|
124
|
+
- remove duplicate changelog entries caused by multiline regex bug ([2f27d4c](https://github.com/VirtoCommerce/vc-shell/commit/2f27d4c2ca81452ddc1042af47a4648348e7e323))
|
|
125
|
+
|
|
123
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)
|
|
124
127
|
|
|
125
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.
|
|
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.
|
|
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",
|