@module-federation/manifest 0.1.10 → 0.1.12

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 CHANGED
@@ -410,7 +410,7 @@ function getTypesMetaInfo(pluginOptions, context) {
410
410
  api: ""
411
411
  };
412
412
  try {
413
- var normalizedDtsOptions = sdk.normalizeOptions(true, {
413
+ var normalizedDtsOptions = sdk.normalizeOptions(core.isTSProject(pluginOptions.dts, context), {
414
414
  generateTypes: defaultRemoteOptions,
415
415
  consumeTypes: {}
416
416
  }, "mfOptions.dts")(pluginOptions.dts);
package/dist/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import chalk from 'chalk';
2
2
  import path from 'path';
3
3
  import { StatsFileName, ManifestFileName, simpleJoinRemoteEntry, normalizeOptions } from '@module-federation/sdk';
4
- import { retrieveTypesAssetsInfo } from '@module-federation/dts-plugin/core';
4
+ import { isTSProject, retrieveTypesAssetsInfo } from '@module-federation/dts-plugin/core';
5
5
  import { RemoteManager, SharedManager, ContainerManager, PKGJsonManager, utils } from '@module-federation/managers';
6
6
 
7
7
  var PLUGIN_IDENTIFIER = "Module Federation Manifest Plugin";
@@ -401,7 +401,7 @@ function getTypesMetaInfo(pluginOptions, context) {
401
401
  api: ""
402
402
  };
403
403
  try {
404
- var normalizedDtsOptions = normalizeOptions(true, {
404
+ var normalizedDtsOptions = normalizeOptions(isTSProject(pluginOptions.dts, context), {
405
405
  generateTypes: defaultRemoteOptions,
406
406
  consumeTypes: {}
407
407
  }, "mfOptions.dts")(pluginOptions.dts);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "license": "MIT",
5
5
  "description": "Provide manifest/stats for webpack/rspack MF project .",
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "license": "MIT",
5
5
  "description": "Provide manifest/stats for webpack/rspack MF project .",
6
6
  "keywords": [
@@ -24,9 +24,9 @@
24
24
  "dependencies": {
25
25
  "find-pkg": "2.0.0",
26
26
  "chalk": "3.0.0",
27
- "@module-federation/sdk": "0.1.10",
28
- "@module-federation/dts-plugin": "0.1.10",
29
- "@module-federation/managers": "0.1.10"
27
+ "@module-federation/sdk": "0.1.12",
28
+ "@module-federation/dts-plugin": "0.1.12",
29
+ "@module-federation/managers": "0.1.12"
30
30
  },
31
31
  "exports": {
32
32
  ".": {