@module-federation/dts-plugin 0.0.0-next-20240725030707 → 0.0.0-next-20240725035430

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/core.js CHANGED
@@ -1738,7 +1738,7 @@ function getEffectiveRootDir(parsedCommandLine) {
1738
1738
  }
1739
1739
  __name(getEffectiveRootDir, "getEffectiveRootDir");
1740
1740
  var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiledTypesFolder, context, additionalFilesToCompile }, mapComponentsToExpose) => {
1741
- var _a3, _b;
1741
+ var _a3;
1742
1742
  const resolvedTsConfigPath = (0, import_path5.resolve)(context, tsConfigPath);
1743
1743
  const readResult = import_typescript.default.readConfigFile(resolvedTsConfigPath, import_typescript.default.sys.readFile);
1744
1744
  if (readResult.error) {
@@ -1758,10 +1758,8 @@ var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiled
1758
1758
  rawTsConfigJson.compilerOptions = rawTsConfigJson.compilerOptions || {};
1759
1759
  rawTsConfigJson.compilerOptions = __spreadValues(__spreadValues({}, rawTsConfigJson.compilerOptions), defaultCompilerOptions);
1760
1760
  (_a3 = rawTsConfigJson.compilerOptions) == null ? true : delete _a3.paths;
1761
- (_b = rawTsConfigJson.compilerOptions) == null ? true : delete _b.baseUrl;
1762
1761
  const filesToCompile = [
1763
1762
  ...Object.values(mapComponentsToExpose),
1764
- ...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
1765
1763
  ...additionalFilesToCompile
1766
1764
  ];
1767
1765
  rawTsConfigJson.include = [];
@@ -595,7 +595,7 @@ function getEffectiveRootDir(parsedCommandLine) {
595
595
  }
596
596
  __name(getEffectiveRootDir, "getEffectiveRootDir");
597
597
  var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiledTypesFolder, context, additionalFilesToCompile }, mapComponentsToExpose) => {
598
- var _a2, _b;
598
+ var _a2;
599
599
  const resolvedTsConfigPath = resolve2(context, tsConfigPath);
600
600
  const readResult = typescript.readConfigFile(resolvedTsConfigPath, typescript.sys.readFile);
601
601
  if (readResult.error) {
@@ -615,10 +615,8 @@ var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiled
615
615
  rawTsConfigJson.compilerOptions = rawTsConfigJson.compilerOptions || {};
616
616
  rawTsConfigJson.compilerOptions = __spreadValues(__spreadValues({}, rawTsConfigJson.compilerOptions), defaultCompilerOptions);
617
617
  (_a2 = rawTsConfigJson.compilerOptions) == null ? true : delete _a2.paths;
618
- (_b = rawTsConfigJson.compilerOptions) == null ? true : delete _b.baseUrl;
619
618
  const filesToCompile = [
620
619
  ...Object.values(mapComponentsToExpose),
621
- ...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
622
620
  ...additionalFilesToCompile
623
621
  ];
624
622
  rawTsConfigJson.include = [];
@@ -4,7 +4,7 @@ import {
4
4
  exposeRpc,
5
5
  getDTSManagerConstructor,
6
6
  isDebugMode
7
- } from "./chunk-LLHWMDX5.js";
7
+ } from "./chunk-7AXI7WOP.js";
8
8
  import {
9
9
  __async,
10
10
  __export,
package/dist/esm/core.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  consumeTypes,
4
4
  generateTypesInChildProcess,
5
5
  rpc_exports
6
- } from "./chunk-ODYC62N3.js";
6
+ } from "./chunk-VFGWGY54.js";
7
7
  import {
8
8
  DTSManager,
9
9
  HOST_API_TYPES_FILE_NAME,
@@ -19,7 +19,7 @@ import {
19
19
  retrieveTypesAssetsInfo,
20
20
  retrieveTypesZipPath,
21
21
  validateOptions
22
- } from "./chunk-LLHWMDX5.js";
22
+ } from "./chunk-7AXI7WOP.js";
23
23
  import "./chunk-HKRTV6ZH.js";
24
24
  import "./chunk-6DND574L.js";
25
25
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rpc_exports
3
- } from "./chunk-ODYC62N3.js";
3
+ } from "./chunk-VFGWGY54.js";
4
4
  import {
5
5
  ModuleFederationDevServer,
6
6
  createKoaServer,
@@ -9,7 +9,7 @@ import {
9
9
  retrieveMfTypesPath,
10
10
  retrieveRemoteConfig,
11
11
  retrieveTypesZipPath
12
- } from "./chunk-LLHWMDX5.js";
12
+ } from "./chunk-7AXI7WOP.js";
13
13
  import {
14
14
  fileLog,
15
15
  getIPV4
@@ -2,7 +2,7 @@ import {
2
2
  RpcGMCallTypes,
3
3
  exposeRpc,
4
4
  generateTypes
5
- } from "./chunk-LLHWMDX5.js";
5
+ } from "./chunk-7AXI7WOP.js";
6
6
  import "./chunk-HKRTV6ZH.js";
7
7
  import {
8
8
  __async,
package/dist/esm/index.js CHANGED
@@ -2,14 +2,14 @@ import {
2
2
  consumeTypes,
3
3
  generateTypesInChildProcess,
4
4
  rpc_exports
5
- } from "./chunk-ODYC62N3.js";
5
+ } from "./chunk-VFGWGY54.js";
6
6
  import {
7
7
  cloneDeepOptions,
8
8
  generateTypes,
9
9
  isTSProject,
10
10
  retrieveTypesAssetsInfo,
11
11
  validateOptions
12
- } from "./chunk-LLHWMDX5.js";
12
+ } from "./chunk-7AXI7WOP.js";
13
13
  import {
14
14
  getIPV4
15
15
  } from "./chunk-HKRTV6ZH.js";
@@ -2194,7 +2194,7 @@ function getEffectiveRootDir(parsedCommandLine) {
2194
2194
  }
2195
2195
  __name(getEffectiveRootDir, "getEffectiveRootDir");
2196
2196
  var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiledTypesFolder, context, additionalFilesToCompile }, mapComponentsToExpose) => {
2197
- var _a3, _b;
2197
+ var _a3;
2198
2198
  const resolvedTsConfigPath = (0, import_path5.resolve)(context, tsConfigPath);
2199
2199
  const readResult = import_typescript.default.readConfigFile(resolvedTsConfigPath, import_typescript.default.sys.readFile);
2200
2200
  if (readResult.error) {
@@ -2214,10 +2214,8 @@ var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiled
2214
2214
  rawTsConfigJson.compilerOptions = rawTsConfigJson.compilerOptions || {};
2215
2215
  rawTsConfigJson.compilerOptions = __spreadValues(__spreadValues({}, rawTsConfigJson.compilerOptions), defaultCompilerOptions);
2216
2216
  (_a3 = rawTsConfigJson.compilerOptions) == null ? true : delete _a3.paths;
2217
- (_b = rawTsConfigJson.compilerOptions) == null ? true : delete _b.baseUrl;
2218
2217
  const filesToCompile = [
2219
2218
  ...Object.values(mapComponentsToExpose),
2220
- ...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
2221
2219
  ...additionalFilesToCompile
2222
2220
  ];
2223
2221
  rawTsConfigJson.include = [];
@@ -189,7 +189,7 @@ function getEffectiveRootDir(parsedCommandLine) {
189
189
  }
190
190
  __name(getEffectiveRootDir, "getEffectiveRootDir");
191
191
  var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiledTypesFolder, context, additionalFilesToCompile }, mapComponentsToExpose) => {
192
- var _a2, _b;
192
+ var _a2;
193
193
  const resolvedTsConfigPath = (0, import_path.resolve)(context, tsConfigPath);
194
194
  const readResult = import_typescript.default.readConfigFile(resolvedTsConfigPath, import_typescript.default.sys.readFile);
195
195
  if (readResult.error) {
@@ -209,10 +209,8 @@ var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiled
209
209
  rawTsConfigJson.compilerOptions = rawTsConfigJson.compilerOptions || {};
210
210
  rawTsConfigJson.compilerOptions = __spreadValues(__spreadValues({}, rawTsConfigJson.compilerOptions), defaultCompilerOptions);
211
211
  (_a2 = rawTsConfigJson.compilerOptions) == null ? true : delete _a2.paths;
212
- (_b = rawTsConfigJson.compilerOptions) == null ? true : delete _b.baseUrl;
213
212
  const filesToCompile = [
214
213
  ...Object.values(mapComponentsToExpose),
215
- ...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
216
214
  ...additionalFilesToCompile
217
215
  ];
218
216
  rawTsConfigJson.include = [];
package/dist/index.js CHANGED
@@ -1761,7 +1761,7 @@ function getEffectiveRootDir(parsedCommandLine) {
1761
1761
  }
1762
1762
  __name(getEffectiveRootDir, "getEffectiveRootDir");
1763
1763
  var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiledTypesFolder, context, additionalFilesToCompile }, mapComponentsToExpose) => {
1764
- var _a4, _b;
1764
+ var _a4;
1765
1765
  const resolvedTsConfigPath = (0, import_path5.resolve)(context, tsConfigPath);
1766
1766
  const readResult = import_typescript.default.readConfigFile(resolvedTsConfigPath, import_typescript.default.sys.readFile);
1767
1767
  if (readResult.error) {
@@ -1781,10 +1781,8 @@ var readTsConfig = /* @__PURE__ */ __name(({ tsConfigPath, typesFolder, compiled
1781
1781
  rawTsConfigJson.compilerOptions = rawTsConfigJson.compilerOptions || {};
1782
1782
  rawTsConfigJson.compilerOptions = __spreadValues(__spreadValues({}, rawTsConfigJson.compilerOptions), defaultCompilerOptions);
1783
1783
  (_a4 = rawTsConfigJson.compilerOptions) == null ? true : delete _a4.paths;
1784
- (_b = rawTsConfigJson.compilerOptions) == null ? true : delete _b.baseUrl;
1785
1784
  const filesToCompile = [
1786
1785
  ...Object.values(mapComponentsToExpose),
1787
- ...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
1788
1786
  ...additionalFilesToCompile
1789
1787
  ];
1790
1788
  rawTsConfigJson.include = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/dts-plugin",
3
- "version": "0.0.0-next-20240725030707",
3
+ "version": "0.0.0-next-20240725035430",
4
4
  "author": "hanric <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -55,9 +55,9 @@
55
55
  "log4js": "6.9.1",
56
56
  "node-schedule": "2.1.1",
57
57
  "ws": "8.17.1",
58
- "@module-federation/sdk": "0.0.0-next-20240725030707",
59
- "@module-federation/third-party-dts-extractor": "0.0.0-next-20240725030707",
60
- "@module-federation/managers": "0.0.0-next-20240725030707"
58
+ "@module-federation/sdk": "0.0.0-next-20240725035430",
59
+ "@module-federation/managers": "0.0.0-next-20240725035430",
60
+ "@module-federation/third-party-dts-extractor": "0.0.0-next-20240725035430"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/ws": "8.5.10",
@@ -66,7 +66,7 @@
66
66
  "vue": "^3.4.29",
67
67
  "@vue/tsconfig": "^0.5.1",
68
68
  "vue-tsc": "^2.0.26",
69
- "@module-federation/runtime": "0.0.0-next-20240725030707"
69
+ "@module-federation/runtime": "0.0.0-next-20240725035430"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "typescript": "^4.9.0 || ^5.0.0",