@module-federation/manifest 0.16.0 → 0.17.1
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/index.cjs.js +33 -64
- package/dist/index.esm.js +33 -64
- package/dist/src/StatsManager.d.ts +2 -2
- package/package.json +7 -7
- package/dist/index.esm.d.ts +0 -1
- /package/dist/{index.cjs.d.ts → index.d.ts} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -23,7 +23,7 @@ function _array_with_holes$2(arr) {
|
|
|
23
23
|
function _array_without_holes$1(arr) {
|
|
24
24
|
if (Array.isArray(arr)) return _array_like_to_array$2(arr);
|
|
25
25
|
}
|
|
26
|
-
function _define_property$
|
|
26
|
+
function _define_property$2(obj, key, value) {
|
|
27
27
|
if (key in obj) {
|
|
28
28
|
Object.defineProperty(obj, key, {
|
|
29
29
|
value: value,
|
|
@@ -79,7 +79,7 @@ function _object_spread$2(target) {
|
|
|
79
79
|
}));
|
|
80
80
|
}
|
|
81
81
|
ownKeys.forEach(function(key) {
|
|
82
|
-
_define_property$
|
|
82
|
+
_define_property$2(target, key, source[key]);
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
return target;
|
|
@@ -452,19 +452,6 @@ function _create_class$3(Constructor, protoProps, staticProps) {
|
|
|
452
452
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
453
453
|
return Constructor;
|
|
454
454
|
}
|
|
455
|
-
function _define_property$3(obj, key, value) {
|
|
456
|
-
if (key in obj) {
|
|
457
|
-
Object.defineProperty(obj, key, {
|
|
458
|
-
value: value,
|
|
459
|
-
enumerable: true,
|
|
460
|
-
configurable: true,
|
|
461
|
-
writable: true
|
|
462
|
-
});
|
|
463
|
-
} else {
|
|
464
|
-
obj[key] = value;
|
|
465
|
-
}
|
|
466
|
-
return obj;
|
|
467
|
-
}
|
|
468
455
|
function _ts_generator$2(thisArg, body) {
|
|
469
456
|
var f, y, t, g, _ = {
|
|
470
457
|
label: 0,
|
|
@@ -563,8 +550,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
563
550
|
var ManifestManager = /*#__PURE__*/ function() {
|
|
564
551
|
function ManifestManager() {
|
|
565
552
|
_class_call_check$3(this, ManifestManager);
|
|
566
|
-
|
|
567
|
-
_define_property$3(this, "_manifest", void 0);
|
|
553
|
+
this._options = {};
|
|
568
554
|
}
|
|
569
555
|
_create_class$3(ManifestManager, [
|
|
570
556
|
{
|
|
@@ -717,7 +703,7 @@ function _create_class$2(Constructor, protoProps, staticProps) {
|
|
|
717
703
|
if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
718
704
|
return Constructor;
|
|
719
705
|
}
|
|
720
|
-
function _define_property$
|
|
706
|
+
function _define_property$1(obj, key, value) {
|
|
721
707
|
if (key in obj) {
|
|
722
708
|
Object.defineProperty(obj, key, {
|
|
723
709
|
value: value,
|
|
@@ -767,7 +753,7 @@ function _object_spread$1(target) {
|
|
|
767
753
|
}));
|
|
768
754
|
}
|
|
769
755
|
ownKeys.forEach(function(key) {
|
|
770
|
-
_define_property$
|
|
756
|
+
_define_property$1(target, key, source[key]);
|
|
771
757
|
});
|
|
772
758
|
}
|
|
773
759
|
return target;
|
|
@@ -831,11 +817,9 @@ var ModuleHandler = /*#__PURE__*/ function() {
|
|
|
831
817
|
function ModuleHandler(options, modules, param) {
|
|
832
818
|
var bundler = param.bundler;
|
|
833
819
|
_class_call_check$2(this, ModuleHandler);
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
_define_property$2(this, "_remoteManager", new managers.RemoteManager());
|
|
838
|
-
_define_property$2(this, "_sharedManager", new managers.SharedManager());
|
|
820
|
+
this._bundler = 'webpack';
|
|
821
|
+
this._remoteManager = new managers.RemoteManager();
|
|
822
|
+
this._sharedManager = new managers.SharedManager();
|
|
839
823
|
this._options = options;
|
|
840
824
|
this._modules = modules;
|
|
841
825
|
this._bundler = bundler;
|
|
@@ -1160,7 +1144,7 @@ function _create_class$1(Constructor, protoProps, staticProps) {
|
|
|
1160
1144
|
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
1161
1145
|
return Constructor;
|
|
1162
1146
|
}
|
|
1163
|
-
function _define_property
|
|
1147
|
+
function _define_property(obj, key, value) {
|
|
1164
1148
|
if (key in obj) {
|
|
1165
1149
|
Object.defineProperty(obj, key, {
|
|
1166
1150
|
value: value,
|
|
@@ -1216,7 +1200,7 @@ function _object_spread(target) {
|
|
|
1216
1200
|
}));
|
|
1217
1201
|
}
|
|
1218
1202
|
ownKeys.forEach(function(key) {
|
|
1219
|
-
_define_property
|
|
1203
|
+
_define_property(target, key, source[key]);
|
|
1220
1204
|
});
|
|
1221
1205
|
}
|
|
1222
1206
|
return target;
|
|
@@ -1356,22 +1340,21 @@ function _ts_generator$1(thisArg, body) {
|
|
|
1356
1340
|
var StatsManager = /*#__PURE__*/ function() {
|
|
1357
1341
|
function StatsManager() {
|
|
1358
1342
|
_class_call_check$1(this, StatsManager);
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
_define_property$1(this, "_sharedManager", new managers.SharedManager());
|
|
1366
|
-
_define_property$1(this, "_pkgJsonManager", new managers.PKGJsonManager());
|
|
1343
|
+
this._options = {};
|
|
1344
|
+
this._bundler = 'webpack';
|
|
1345
|
+
this._containerManager = new managers.ContainerManager();
|
|
1346
|
+
this._remoteManager = new managers.RemoteManager();
|
|
1347
|
+
this._sharedManager = new managers.SharedManager();
|
|
1348
|
+
this._pkgJsonManager = new managers.PKGJsonManager();
|
|
1367
1349
|
}
|
|
1368
1350
|
_create_class$1(StatsManager, [
|
|
1369
1351
|
{
|
|
1370
|
-
key: "
|
|
1371
|
-
|
|
1372
|
-
var
|
|
1352
|
+
key: "getBuildInfo",
|
|
1353
|
+
value: function getBuildInfo(context) {
|
|
1354
|
+
var rootPath = context || process.cwd();
|
|
1355
|
+
var pkg = this._pkgJsonManager.readPKGJson(rootPath);
|
|
1373
1356
|
return {
|
|
1374
|
-
buildVersion: managers.utils.getBuildVersion(),
|
|
1357
|
+
buildVersion: managers.utils.getBuildVersion(rootPath),
|
|
1375
1358
|
buildName: managers.utils.getBuildName() || pkg['name']
|
|
1376
1359
|
};
|
|
1377
1360
|
}
|
|
@@ -1388,7 +1371,8 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1388
1371
|
var _this = this;
|
|
1389
1372
|
var _this__options_library, _this__options;
|
|
1390
1373
|
var context = compiler.options.context;
|
|
1391
|
-
var _this1 = this, name = _this1._options.name
|
|
1374
|
+
var _this1 = this, name = _this1._options.name;
|
|
1375
|
+
var buildInfo = this.getBuildInfo(context);
|
|
1392
1376
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
1393
1377
|
var getRemoteEntryName = function() {
|
|
1394
1378
|
if (!_this._containerManager.enable) {
|
|
@@ -1531,8 +1515,8 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1531
1515
|
}
|
|
1532
1516
|
};
|
|
1533
1517
|
Object.keys(manifestOverrideChunkIDMap).forEach(function(override) {
|
|
1534
|
-
var asyncAssets = getAssetsByChunkIDs(compilation, _define_property
|
|
1535
|
-
var syncAssets = getAssetsByChunkIDs(compilation, _define_property
|
|
1518
|
+
var asyncAssets = getAssetsByChunkIDs(compilation, _define_property({}, override, manifestOverrideChunkIDMap[override].async));
|
|
1519
|
+
var syncAssets = getAssetsByChunkIDs(compilation, _define_property({}, override, manifestOverrideChunkIDMap[override].sync));
|
|
1536
1520
|
assets[override] = {
|
|
1537
1521
|
js: {
|
|
1538
1522
|
async: asyncAssets[override].js,
|
|
@@ -1943,19 +1927,6 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
1943
1927
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1944
1928
|
return Constructor;
|
|
1945
1929
|
}
|
|
1946
|
-
function _define_property(obj, key, value) {
|
|
1947
|
-
if (key in obj) {
|
|
1948
|
-
Object.defineProperty(obj, key, {
|
|
1949
|
-
value: value,
|
|
1950
|
-
enumerable: true,
|
|
1951
|
-
configurable: true,
|
|
1952
|
-
writable: true
|
|
1953
|
-
});
|
|
1954
|
-
} else {
|
|
1955
|
-
obj[key] = value;
|
|
1956
|
-
}
|
|
1957
|
-
return obj;
|
|
1958
|
-
}
|
|
1959
1930
|
function _instanceof(left, right) {
|
|
1960
1931
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
1961
1932
|
return !!right[Symbol.hasInstance](left);
|
|
@@ -2066,15 +2037,12 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2066
2037
|
function StatsPlugin(options, param) {
|
|
2067
2038
|
var pluginVersion = param.pluginVersion, bundler = param.bundler;
|
|
2068
2039
|
_class_call_check(this, StatsPlugin);
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
_define_property(this, "statsInfo", void 0);
|
|
2076
|
-
_define_property(this, "manifestInfo", void 0);
|
|
2077
|
-
_define_property(this, "disableEmit", void 0);
|
|
2040
|
+
this.name = 'StatsPlugin';
|
|
2041
|
+
this._options = {};
|
|
2042
|
+
this._statsManager = new StatsManager();
|
|
2043
|
+
this._manifestManager = new ManifestManager();
|
|
2044
|
+
this._enable = true;
|
|
2045
|
+
this._bundler = 'webpack';
|
|
2078
2046
|
try {
|
|
2079
2047
|
this._options = options;
|
|
2080
2048
|
this._bundler = bundler;
|
|
@@ -2163,7 +2131,8 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2163
2131
|
}
|
|
2164
2132
|
]);
|
|
2165
2133
|
return StatsPlugin;
|
|
2166
|
-
}
|
|
2134
|
+
}
|
|
2135
|
+
();
|
|
2167
2136
|
|
|
2168
2137
|
exports.ManifestManager = ManifestManager;
|
|
2169
2138
|
exports.StatsManager = StatsManager;
|
package/dist/index.esm.js
CHANGED
|
@@ -21,7 +21,7 @@ function _array_with_holes$2(arr) {
|
|
|
21
21
|
function _array_without_holes$1(arr) {
|
|
22
22
|
if (Array.isArray(arr)) return _array_like_to_array$2(arr);
|
|
23
23
|
}
|
|
24
|
-
function _define_property$
|
|
24
|
+
function _define_property$2(obj, key, value) {
|
|
25
25
|
if (key in obj) {
|
|
26
26
|
Object.defineProperty(obj, key, {
|
|
27
27
|
value: value,
|
|
@@ -77,7 +77,7 @@ function _object_spread$2(target) {
|
|
|
77
77
|
}));
|
|
78
78
|
}
|
|
79
79
|
ownKeys.forEach(function(key) {
|
|
80
|
-
_define_property$
|
|
80
|
+
_define_property$2(target, key, source[key]);
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
return target;
|
|
@@ -450,19 +450,6 @@ function _create_class$3(Constructor, protoProps, staticProps) {
|
|
|
450
450
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
451
451
|
return Constructor;
|
|
452
452
|
}
|
|
453
|
-
function _define_property$3(obj, key, value) {
|
|
454
|
-
if (key in obj) {
|
|
455
|
-
Object.defineProperty(obj, key, {
|
|
456
|
-
value: value,
|
|
457
|
-
enumerable: true,
|
|
458
|
-
configurable: true,
|
|
459
|
-
writable: true
|
|
460
|
-
});
|
|
461
|
-
} else {
|
|
462
|
-
obj[key] = value;
|
|
463
|
-
}
|
|
464
|
-
return obj;
|
|
465
|
-
}
|
|
466
453
|
function _ts_generator$2(thisArg, body) {
|
|
467
454
|
var f, y, t, g, _ = {
|
|
468
455
|
label: 0,
|
|
@@ -561,8 +548,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
561
548
|
var ManifestManager = /*#__PURE__*/ function() {
|
|
562
549
|
function ManifestManager() {
|
|
563
550
|
_class_call_check$3(this, ManifestManager);
|
|
564
|
-
|
|
565
|
-
_define_property$3(this, "_manifest", void 0);
|
|
551
|
+
this._options = {};
|
|
566
552
|
}
|
|
567
553
|
_create_class$3(ManifestManager, [
|
|
568
554
|
{
|
|
@@ -715,7 +701,7 @@ function _create_class$2(Constructor, protoProps, staticProps) {
|
|
|
715
701
|
if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
716
702
|
return Constructor;
|
|
717
703
|
}
|
|
718
|
-
function _define_property$
|
|
704
|
+
function _define_property$1(obj, key, value) {
|
|
719
705
|
if (key in obj) {
|
|
720
706
|
Object.defineProperty(obj, key, {
|
|
721
707
|
value: value,
|
|
@@ -765,7 +751,7 @@ function _object_spread$1(target) {
|
|
|
765
751
|
}));
|
|
766
752
|
}
|
|
767
753
|
ownKeys.forEach(function(key) {
|
|
768
|
-
_define_property$
|
|
754
|
+
_define_property$1(target, key, source[key]);
|
|
769
755
|
});
|
|
770
756
|
}
|
|
771
757
|
return target;
|
|
@@ -829,11 +815,9 @@ var ModuleHandler = /*#__PURE__*/ function() {
|
|
|
829
815
|
function ModuleHandler(options, modules, param) {
|
|
830
816
|
var bundler = param.bundler;
|
|
831
817
|
_class_call_check$2(this, ModuleHandler);
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
_define_property$2(this, "_remoteManager", new RemoteManager());
|
|
836
|
-
_define_property$2(this, "_sharedManager", new SharedManager());
|
|
818
|
+
this._bundler = 'webpack';
|
|
819
|
+
this._remoteManager = new RemoteManager();
|
|
820
|
+
this._sharedManager = new SharedManager();
|
|
837
821
|
this._options = options;
|
|
838
822
|
this._modules = modules;
|
|
839
823
|
this._bundler = bundler;
|
|
@@ -1158,7 +1142,7 @@ function _create_class$1(Constructor, protoProps, staticProps) {
|
|
|
1158
1142
|
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
1159
1143
|
return Constructor;
|
|
1160
1144
|
}
|
|
1161
|
-
function _define_property
|
|
1145
|
+
function _define_property(obj, key, value) {
|
|
1162
1146
|
if (key in obj) {
|
|
1163
1147
|
Object.defineProperty(obj, key, {
|
|
1164
1148
|
value: value,
|
|
@@ -1214,7 +1198,7 @@ function _object_spread(target) {
|
|
|
1214
1198
|
}));
|
|
1215
1199
|
}
|
|
1216
1200
|
ownKeys.forEach(function(key) {
|
|
1217
|
-
_define_property
|
|
1201
|
+
_define_property(target, key, source[key]);
|
|
1218
1202
|
});
|
|
1219
1203
|
}
|
|
1220
1204
|
return target;
|
|
@@ -1354,22 +1338,21 @@ function _ts_generator$1(thisArg, body) {
|
|
|
1354
1338
|
var StatsManager = /*#__PURE__*/ function() {
|
|
1355
1339
|
function StatsManager() {
|
|
1356
1340
|
_class_call_check$1(this, StatsManager);
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
_define_property$1(this, "_sharedManager", new SharedManager());
|
|
1364
|
-
_define_property$1(this, "_pkgJsonManager", new PKGJsonManager());
|
|
1341
|
+
this._options = {};
|
|
1342
|
+
this._bundler = 'webpack';
|
|
1343
|
+
this._containerManager = new ContainerManager();
|
|
1344
|
+
this._remoteManager = new RemoteManager();
|
|
1345
|
+
this._sharedManager = new SharedManager();
|
|
1346
|
+
this._pkgJsonManager = new PKGJsonManager();
|
|
1365
1347
|
}
|
|
1366
1348
|
_create_class$1(StatsManager, [
|
|
1367
1349
|
{
|
|
1368
|
-
key: "
|
|
1369
|
-
|
|
1370
|
-
var
|
|
1350
|
+
key: "getBuildInfo",
|
|
1351
|
+
value: function getBuildInfo(context) {
|
|
1352
|
+
var rootPath = context || process.cwd();
|
|
1353
|
+
var pkg = this._pkgJsonManager.readPKGJson(rootPath);
|
|
1371
1354
|
return {
|
|
1372
|
-
buildVersion: utils.getBuildVersion(),
|
|
1355
|
+
buildVersion: utils.getBuildVersion(rootPath),
|
|
1373
1356
|
buildName: utils.getBuildName() || pkg['name']
|
|
1374
1357
|
};
|
|
1375
1358
|
}
|
|
@@ -1386,7 +1369,8 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1386
1369
|
var _this = this;
|
|
1387
1370
|
var _this__options_library, _this__options;
|
|
1388
1371
|
var context = compiler.options.context;
|
|
1389
|
-
var _this1 = this, name = _this1._options.name
|
|
1372
|
+
var _this1 = this, name = _this1._options.name;
|
|
1373
|
+
var buildInfo = this.getBuildInfo(context);
|
|
1390
1374
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
1391
1375
|
var getRemoteEntryName = function() {
|
|
1392
1376
|
if (!_this._containerManager.enable) {
|
|
@@ -1529,8 +1513,8 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1529
1513
|
}
|
|
1530
1514
|
};
|
|
1531
1515
|
Object.keys(manifestOverrideChunkIDMap).forEach(function(override) {
|
|
1532
|
-
var asyncAssets = getAssetsByChunkIDs(compilation, _define_property
|
|
1533
|
-
var syncAssets = getAssetsByChunkIDs(compilation, _define_property
|
|
1516
|
+
var asyncAssets = getAssetsByChunkIDs(compilation, _define_property({}, override, manifestOverrideChunkIDMap[override].async));
|
|
1517
|
+
var syncAssets = getAssetsByChunkIDs(compilation, _define_property({}, override, manifestOverrideChunkIDMap[override].sync));
|
|
1534
1518
|
assets[override] = {
|
|
1535
1519
|
js: {
|
|
1536
1520
|
async: asyncAssets[override].js,
|
|
@@ -1941,19 +1925,6 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
1941
1925
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1942
1926
|
return Constructor;
|
|
1943
1927
|
}
|
|
1944
|
-
function _define_property(obj, key, value) {
|
|
1945
|
-
if (key in obj) {
|
|
1946
|
-
Object.defineProperty(obj, key, {
|
|
1947
|
-
value: value,
|
|
1948
|
-
enumerable: true,
|
|
1949
|
-
configurable: true,
|
|
1950
|
-
writable: true
|
|
1951
|
-
});
|
|
1952
|
-
} else {
|
|
1953
|
-
obj[key] = value;
|
|
1954
|
-
}
|
|
1955
|
-
return obj;
|
|
1956
|
-
}
|
|
1957
1928
|
function _instanceof(left, right) {
|
|
1958
1929
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
1959
1930
|
return !!right[Symbol.hasInstance](left);
|
|
@@ -2064,15 +2035,12 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2064
2035
|
function StatsPlugin(options, param) {
|
|
2065
2036
|
var pluginVersion = param.pluginVersion, bundler = param.bundler;
|
|
2066
2037
|
_class_call_check(this, StatsPlugin);
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
_define_property(this, "statsInfo", void 0);
|
|
2074
|
-
_define_property(this, "manifestInfo", void 0);
|
|
2075
|
-
_define_property(this, "disableEmit", void 0);
|
|
2038
|
+
this.name = 'StatsPlugin';
|
|
2039
|
+
this._options = {};
|
|
2040
|
+
this._statsManager = new StatsManager();
|
|
2041
|
+
this._manifestManager = new ManifestManager();
|
|
2042
|
+
this._enable = true;
|
|
2043
|
+
this._bundler = 'webpack';
|
|
2076
2044
|
try {
|
|
2077
2045
|
this._options = options;
|
|
2078
2046
|
this._bundler = bundler;
|
|
@@ -2161,6 +2129,7 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2161
2129
|
}
|
|
2162
2130
|
]);
|
|
2163
2131
|
return StatsPlugin;
|
|
2164
|
-
}
|
|
2132
|
+
}
|
|
2133
|
+
();
|
|
2165
2134
|
|
|
2166
2135
|
export { ManifestManager, StatsManager, StatsPlugin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { moduleFederationPlugin } from '@module-federation/sdk';
|
|
2
2
|
import { Compilation, Compiler } from 'webpack';
|
|
3
3
|
import { StatsInfo } from './types';
|
|
4
4
|
declare class StatsManager {
|
|
@@ -10,7 +10,7 @@ declare class StatsManager {
|
|
|
10
10
|
private _remoteManager;
|
|
11
11
|
private _sharedManager;
|
|
12
12
|
private _pkgJsonManager;
|
|
13
|
-
|
|
13
|
+
private getBuildInfo;
|
|
14
14
|
get fileName(): string;
|
|
15
15
|
private _getMetaData;
|
|
16
16
|
private _getFilteredModules;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/manifest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide manifest/stats for webpack/rspack MF project .",
|
|
6
6
|
"keywords": [
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"main": "./dist/index.cjs.js",
|
|
27
27
|
"module": "./dist/index.esm.js",
|
|
28
|
-
"types": "./dist/index.
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"find-pkg": "2.0.0",
|
|
31
31
|
"chalk": "3.0.0",
|
|
32
|
-
"@module-federation/sdk": "0.
|
|
33
|
-
"@module-federation/dts-plugin": "0.
|
|
34
|
-
"@module-federation/managers": "0.
|
|
32
|
+
"@module-federation/sdk": "0.17.1",
|
|
33
|
+
"@module-federation/dts-plugin": "0.17.1",
|
|
34
|
+
"@module-federation/managers": "0.17.1"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
-
"types": "./dist/index.
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
39
|
"import": "./dist/index.esm.js",
|
|
40
40
|
"require": "./dist/index.cjs.js"
|
|
41
41
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typesVersions": {
|
|
44
44
|
"*": {
|
|
45
45
|
".": [
|
|
46
|
-
"./dist/index.
|
|
46
|
+
"./dist/index.d.ts"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|
package/dist/index.esm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./src/index";
|
|
File without changes
|