@module-federation/dts-plugin 0.0.0-docs-remove-invalid-lark-link-20251205062649
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/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/CHANGELOG.md +1136 -0
- package/dist/DTSManager-b15Gfat3.d.ts +53 -0
- package/dist/DTSManagerOptions-QVchWb0x.d.ts +32 -0
- package/dist/DtsWorker-BrHsGz8C.d.ts +56 -0
- package/dist/README.md +1 -0
- package/dist/core.d.mts +68 -0
- package/dist/core.d.ts +68 -0
- package/dist/core.js +2382 -0
- package/dist/dynamic-remote-type-hints-plugin.d.mts +5 -0
- package/dist/dynamic-remote-type-hints-plugin.d.ts +5 -0
- package/dist/dynamic-remote-type-hints-plugin.js +196 -0
- package/dist/esm/chunk-647HGGGS.js +241 -0
- package/dist/esm/chunk-G65LOFTY.js +24 -0
- package/dist/esm/chunk-N7GTIQUA.js +282 -0
- package/dist/esm/chunk-RWXNVNFM.js +1579 -0
- package/dist/esm/chunk-WWV5RWOP.js +902 -0
- package/dist/esm/core.js +44 -0
- package/dist/esm/dynamic-remote-type-hints-plugin.js +73 -0
- package/dist/esm/fork-dev-worker.js +145 -0
- package/dist/esm/fork-generate-dts.js +27 -0
- package/dist/esm/index.js +644 -0
- package/dist/esm/start-broker.js +36 -0
- package/dist/fork-dev-worker.d.mts +15 -0
- package/dist/fork-dev-worker.d.ts +15 -0
- package/dist/fork-dev-worker.js +2873 -0
- package/dist/fork-generate-dts.d.mts +10 -0
- package/dist/fork-generate-dts.d.ts +10 -0
- package/dist/fork-generate-dts.js +2044 -0
- package/dist/iife/launch-web-client.js +152 -0
- package/dist/index.d.mts +56 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +3002 -0
- package/dist/package.json +87 -0
- package/dist/start-broker.d.mts +42 -0
- package/dist/start-broker.d.ts +42 -0
- package/dist/start-broker.js +958 -0
- package/dist/utils-DxGrqb9N.d.ts +15 -0
- package/package.json +87 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { moduleFederationPlugin } from '@module-federation/sdk';
|
|
2
|
+
import { H as HostOptions, a as RemoteOptions } from './DTSManagerOptions-QVchWb0x.js';
|
|
3
|
+
import { D as DTSManager } from './DTSManager-b15Gfat3.js';
|
|
4
|
+
|
|
5
|
+
declare function getDTSManagerConstructor(implementation?: string): typeof DTSManager;
|
|
6
|
+
declare const validateOptions: (options: HostOptions) => void;
|
|
7
|
+
declare function retrieveTypesAssetsInfo(options: RemoteOptions): {
|
|
8
|
+
apiTypesPath: string;
|
|
9
|
+
zipTypesPath: string;
|
|
10
|
+
zipName: string;
|
|
11
|
+
apiFileName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const isTSProject: (dtsOptions: moduleFederationPlugin.ModuleFederationPluginOptions["dts"], context?: string) => boolean;
|
|
14
|
+
|
|
15
|
+
export { getDTSManagerConstructor as g, isTSProject as i, retrieveTypesAssetsInfo as r, validateOptions as v };
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@module-federation/dts-plugin",
|
|
3
|
+
"version": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
|
|
4
|
+
"author": "hanric <hanric.zhang@gmail.com>",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/module-federation/core.git",
|
|
12
|
+
"directory": "packages/dts-plugin"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"require": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./core": {
|
|
27
|
+
"import": "./dist/core.js",
|
|
28
|
+
"require": "./dist/core.js"
|
|
29
|
+
},
|
|
30
|
+
"./dynamic-remote-type-hints-plugin": {
|
|
31
|
+
"types": "./dist/dynamic-remote-type-hints-plugin.d.ts",
|
|
32
|
+
"import": "./dist/esm/dynamic-remote-type-hints-plugin.js",
|
|
33
|
+
"require": "./dist/dynamic-remote-type-hints-plugin.js"
|
|
34
|
+
},
|
|
35
|
+
"./*": "./*"
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"*": {
|
|
39
|
+
".": [
|
|
40
|
+
"./dist/index.d.ts"
|
|
41
|
+
],
|
|
42
|
+
"core": [
|
|
43
|
+
"./dist/core.d.ts"
|
|
44
|
+
],
|
|
45
|
+
"dynamic-remote-type-hints-plugin": [
|
|
46
|
+
"./dist/dynamic-remote-type-hints-plugin.d.ts"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"adm-zip": "^0.5.10",
|
|
52
|
+
"ansi-colors": "^4.1.3",
|
|
53
|
+
"axios": "^1.12.0",
|
|
54
|
+
"rambda": "^9.1.0",
|
|
55
|
+
"lodash.clonedeepwith": "4.5.0",
|
|
56
|
+
"chalk": "3.0.0",
|
|
57
|
+
"fs-extra": "9.1.0",
|
|
58
|
+
"isomorphic-ws": "5.0.0",
|
|
59
|
+
"koa": "3.0.3",
|
|
60
|
+
"log4js": "6.9.1",
|
|
61
|
+
"node-schedule": "2.1.1",
|
|
62
|
+
"ws": "8.18.0",
|
|
63
|
+
"@module-federation/sdk": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
|
|
64
|
+
"@module-federation/managers": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
|
|
65
|
+
"@module-federation/third-party-dts-extractor": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
|
|
66
|
+
"@module-federation/error-codes": "0.0.0-docs-remove-invalid-lark-link-20251205062649"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@types/ws": "8.5.12",
|
|
70
|
+
"@types/koa": "2.15.0",
|
|
71
|
+
"@types/node-schedule": "2.1.7",
|
|
72
|
+
"vue": "^3.5.13",
|
|
73
|
+
"@vue/tsconfig": "^0.7.0",
|
|
74
|
+
"vue-tsc": "^2.2.10",
|
|
75
|
+
"rimraf": "~6.0.1",
|
|
76
|
+
"@module-federation/runtime": "0.0.0-docs-remove-invalid-lark-link-20251205062649"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"typescript": "^4.9.0 || ^5.0.0",
|
|
80
|
+
"vue-tsc": ">=1.0.24"
|
|
81
|
+
},
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"vue-tsc": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|