@module-federation/dts-plugin 0.0.0-next-20240725035430 → 0.0.0-next-20240725061440
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 +3 -1
- package/dist/esm/{chunk-7AXI7WOP.js → chunk-LLHWMDX5.js} +3 -1
- package/dist/esm/{chunk-VFGWGY54.js → chunk-ODYC62N3.js} +1 -1
- package/dist/esm/core.js +2 -2
- package/dist/esm/fork-dev-worker.js +2 -2
- package/dist/esm/fork-generate-dts.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/fork-dev-worker.js +3 -1
- package/dist/fork-generate-dts.js +3 -1
- package/dist/index.js +3 -1
- package/package.json +5 -5
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;
|
|
1741
|
+
var _a3, _b;
|
|
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,8 +1758,10 @@ 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;
|
|
1761
1762
|
const filesToCompile = [
|
|
1762
1763
|
...Object.values(mapComponentsToExpose),
|
|
1764
|
+
...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
|
|
1763
1765
|
...additionalFilesToCompile
|
|
1764
1766
|
];
|
|
1765
1767
|
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;
|
|
598
|
+
var _a2, _b;
|
|
599
599
|
const resolvedTsConfigPath = resolve2(context, tsConfigPath);
|
|
600
600
|
const readResult = typescript.readConfigFile(resolvedTsConfigPath, typescript.sys.readFile);
|
|
601
601
|
if (readResult.error) {
|
|
@@ -615,8 +615,10 @@ 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;
|
|
618
619
|
const filesToCompile = [
|
|
619
620
|
...Object.values(mapComponentsToExpose),
|
|
621
|
+
...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
|
|
620
622
|
...additionalFilesToCompile
|
|
621
623
|
];
|
|
622
624
|
rawTsConfigJson.include = [];
|
package/dist/esm/core.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
consumeTypes,
|
|
4
4
|
generateTypesInChildProcess,
|
|
5
5
|
rpc_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ODYC62N3.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-
|
|
22
|
+
} from "./chunk-LLHWMDX5.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-
|
|
3
|
+
} from "./chunk-ODYC62N3.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-
|
|
12
|
+
} from "./chunk-LLHWMDX5.js";
|
|
13
13
|
import {
|
|
14
14
|
fileLog,
|
|
15
15
|
getIPV4
|
package/dist/esm/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
consumeTypes,
|
|
3
3
|
generateTypesInChildProcess,
|
|
4
4
|
rpc_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ODYC62N3.js";
|
|
6
6
|
import {
|
|
7
7
|
cloneDeepOptions,
|
|
8
8
|
generateTypes,
|
|
9
9
|
isTSProject,
|
|
10
10
|
retrieveTypesAssetsInfo,
|
|
11
11
|
validateOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LLHWMDX5.js";
|
|
13
13
|
import {
|
|
14
14
|
getIPV4
|
|
15
15
|
} from "./chunk-HKRTV6ZH.js";
|
package/dist/fork-dev-worker.js
CHANGED
|
@@ -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;
|
|
2197
|
+
var _a3, _b;
|
|
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,8 +2214,10 @@ 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;
|
|
2217
2218
|
const filesToCompile = [
|
|
2218
2219
|
...Object.values(mapComponentsToExpose),
|
|
2220
|
+
...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
|
|
2219
2221
|
...additionalFilesToCompile
|
|
2220
2222
|
];
|
|
2221
2223
|
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;
|
|
192
|
+
var _a2, _b;
|
|
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,8 +209,10 @@ 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;
|
|
212
213
|
const filesToCompile = [
|
|
213
214
|
...Object.values(mapComponentsToExpose),
|
|
215
|
+
...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
|
|
214
216
|
...additionalFilesToCompile
|
|
215
217
|
];
|
|
216
218
|
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;
|
|
1764
|
+
var _a4, _b;
|
|
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,8 +1781,10 @@ 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;
|
|
1784
1785
|
const filesToCompile = [
|
|
1785
1786
|
...Object.values(mapComponentsToExpose),
|
|
1787
|
+
...configContent.fileNames.filter((filename) => filename.endsWith(".d.ts")),
|
|
1786
1788
|
...additionalFilesToCompile
|
|
1787
1789
|
];
|
|
1788
1790
|
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-
|
|
3
|
+
"version": "0.0.0-next-20240725061440",
|
|
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-
|
|
59
|
-
"@module-federation/managers": "0.0.0-next-
|
|
60
|
-
"@module-federation/third-party-dts-extractor": "0.0.0-next-
|
|
58
|
+
"@module-federation/sdk": "0.0.0-next-20240725061440",
|
|
59
|
+
"@module-federation/managers": "0.0.0-next-20240725061440",
|
|
60
|
+
"@module-federation/third-party-dts-extractor": "0.0.0-next-20240725061440"
|
|
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-
|
|
69
|
+
"@module-federation/runtime": "0.0.0-next-20240725061440"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"typescript": "^4.9.0 || ^5.0.0",
|