@module-federation/third-party-dts-extractor 0.0.0-chore-bump-node-22-20260710161714
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 +319 -0
- package/dist/README.md +1 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1276 -0
- package/dist/index.mjs +206 -0
- package/dist/package.json +51 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-present zhanghang(2heal1)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @module-federation/third-party-dts-extractor
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
# @module-federation/third-party-dts-extractor
|
|
2
|
+
|
|
3
|
+
## 0.0.0-chore-bump-node-22-20260710161714
|
|
4
|
+
|
|
5
|
+
## 2.7.0
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- 2add9ef: chore(third-party-dts-extractor): replace `resolve` with `exsolve` (0 transitive deps, ~100KB smaller) for the single `package.json` lookup.
|
|
10
|
+
- a5f123a: chore: replace `find-pkg` with `empathic` (per [e18e replacements](https://e18e.dev/docs/replacements/find-pkg.html)). Removes unused `find-pkg` dependency from `@module-federation/manifest`.
|
|
11
|
+
- 8ec950c: Bump runtime dependencies: echarts 6.1.0 (devtools), hono 4.12.26 and @hono/node-server 1.19.13 (treeshake-server), lodash-es 4.18.1 (rspress-plugin), handlebars 4.7.9 (create-module-federation), resolve 1.22.12 (third-party-dts-extractor).
|
|
12
|
+
|
|
13
|
+
## 2.6.0
|
|
14
|
+
|
|
15
|
+
## 2.5.1
|
|
16
|
+
|
|
17
|
+
## 2.5.0
|
|
18
|
+
|
|
19
|
+
## 2.4.0
|
|
20
|
+
|
|
21
|
+
## 2.3.3
|
|
22
|
+
|
|
23
|
+
## 2.3.2
|
|
24
|
+
|
|
25
|
+
## 2.3.1
|
|
26
|
+
|
|
27
|
+
## 2.3.0
|
|
28
|
+
|
|
29
|
+
## 2.2.3
|
|
30
|
+
|
|
31
|
+
## 2.2.2
|
|
32
|
+
|
|
33
|
+
## 2.2.1
|
|
34
|
+
|
|
35
|
+
## 2.2.0
|
|
36
|
+
|
|
37
|
+
## 2.1.0
|
|
38
|
+
|
|
39
|
+
## 2.0.1
|
|
40
|
+
|
|
41
|
+
## 2.0.0
|
|
42
|
+
|
|
43
|
+
## 0.24.1
|
|
44
|
+
|
|
45
|
+
## 0.24.0
|
|
46
|
+
|
|
47
|
+
## 0.23.0
|
|
48
|
+
|
|
49
|
+
## 0.22.1
|
|
50
|
+
|
|
51
|
+
## 0.22.0
|
|
52
|
+
|
|
53
|
+
## 0.21.6
|
|
54
|
+
|
|
55
|
+
## 0.21.5
|
|
56
|
+
|
|
57
|
+
## 0.21.4
|
|
58
|
+
|
|
59
|
+
## 0.21.3
|
|
60
|
+
|
|
61
|
+
## 0.21.2
|
|
62
|
+
|
|
63
|
+
## 0.21.1
|
|
64
|
+
|
|
65
|
+
## 0.21.0
|
|
66
|
+
|
|
67
|
+
## 0.20.0
|
|
68
|
+
|
|
69
|
+
## 0.19.1
|
|
70
|
+
|
|
71
|
+
## 0.19.0
|
|
72
|
+
|
|
73
|
+
## 0.18.4
|
|
74
|
+
|
|
75
|
+
## 0.18.3
|
|
76
|
+
|
|
77
|
+
## 0.18.2
|
|
78
|
+
|
|
79
|
+
## 0.18.1
|
|
80
|
+
|
|
81
|
+
## 0.18.0
|
|
82
|
+
|
|
83
|
+
## 0.17.1
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- a7cf276: chore: upgrade NX to 21.2.3, Storybook to 9.0.9, and TypeScript to 5.8.3
|
|
88
|
+
- Upgraded NX from 21.0.3 to 21.2.3 with workspace configuration updates
|
|
89
|
+
- Migrated Storybook from 8.3.5 to 9.0.9 with updated configurations and automigrations
|
|
90
|
+
- Upgraded TypeScript from 5.7.3 to 5.8.3 with compatibility fixes
|
|
91
|
+
- Fixed package exports and type declaration paths across all packages
|
|
92
|
+
- Resolved module resolution issues and TypeScript compatibility problems
|
|
93
|
+
- Updated build configurations and dependencies to support latest versions
|
|
94
|
+
|
|
95
|
+
- d31a326: refactor: sink React packages from root to individual packages
|
|
96
|
+
- Removed React dependencies from root package.json and moved them to packages that actually need them
|
|
97
|
+
- Fixed rsbuild-plugin configuration to match workspace patterns
|
|
98
|
+
- Updated tests to handle platform-specific files
|
|
99
|
+
- This change improves dependency management by ensuring packages only have the dependencies they actually use
|
|
100
|
+
|
|
101
|
+
## 0.17.0
|
|
102
|
+
|
|
103
|
+
## 0.16.0
|
|
104
|
+
|
|
105
|
+
## 0.15.0
|
|
106
|
+
|
|
107
|
+
## 0.14.3
|
|
108
|
+
|
|
109
|
+
## 0.14.2
|
|
110
|
+
|
|
111
|
+
## 0.14.1
|
|
112
|
+
|
|
113
|
+
## 0.14.0
|
|
114
|
+
|
|
115
|
+
## 0.13.1
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- 723d0f8: fix(third-party-dts-extractor): correctly sets the source of the package types
|
|
120
|
+
|
|
121
|
+
## 0.13.0
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- 38f324f: Disable live bindings on cjs builds of the runtime packages
|
|
126
|
+
|
|
127
|
+
## 0.12.0
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- ef96c4d: feat(dts-plugin): support exclude extract specify third party dts
|
|
132
|
+
|
|
133
|
+
## 0.11.4
|
|
134
|
+
|
|
135
|
+
## 0.11.3
|
|
136
|
+
|
|
137
|
+
## 0.11.2
|
|
138
|
+
|
|
139
|
+
## 0.11.1
|
|
140
|
+
|
|
141
|
+
## 0.11.0
|
|
142
|
+
|
|
143
|
+
## 0.10.0
|
|
144
|
+
|
|
145
|
+
## 0.9.1
|
|
146
|
+
|
|
147
|
+
## 0.9.0
|
|
148
|
+
|
|
149
|
+
## 0.8.12
|
|
150
|
+
|
|
151
|
+
## 0.8.11
|
|
152
|
+
|
|
153
|
+
## 0.8.10
|
|
154
|
+
|
|
155
|
+
## 0.8.9
|
|
156
|
+
|
|
157
|
+
## 0.8.8
|
|
158
|
+
|
|
159
|
+
## 0.8.7
|
|
160
|
+
|
|
161
|
+
## 0.8.6
|
|
162
|
+
|
|
163
|
+
## 0.8.5
|
|
164
|
+
|
|
165
|
+
## 0.8.4
|
|
166
|
+
|
|
167
|
+
## 0.8.3
|
|
168
|
+
|
|
169
|
+
## 0.8.2
|
|
170
|
+
|
|
171
|
+
## 0.8.1
|
|
172
|
+
|
|
173
|
+
## 0.8.0
|
|
174
|
+
|
|
175
|
+
## 0.7.7
|
|
176
|
+
|
|
177
|
+
## 0.7.6
|
|
178
|
+
|
|
179
|
+
## 0.7.5
|
|
180
|
+
|
|
181
|
+
## 0.7.4
|
|
182
|
+
|
|
183
|
+
## 0.7.3
|
|
184
|
+
|
|
185
|
+
## 0.7.2
|
|
186
|
+
|
|
187
|
+
## 0.7.1
|
|
188
|
+
|
|
189
|
+
## 0.7.0
|
|
190
|
+
|
|
191
|
+
## 0.6.16
|
|
192
|
+
|
|
193
|
+
## 0.6.15
|
|
194
|
+
|
|
195
|
+
## 0.6.14
|
|
196
|
+
|
|
197
|
+
## 0.6.13
|
|
198
|
+
|
|
199
|
+
## 0.6.12
|
|
200
|
+
|
|
201
|
+
## 0.6.11
|
|
202
|
+
|
|
203
|
+
## 0.6.10
|
|
204
|
+
|
|
205
|
+
## 0.6.9
|
|
206
|
+
|
|
207
|
+
## 0.6.8
|
|
208
|
+
|
|
209
|
+
## 0.6.7
|
|
210
|
+
|
|
211
|
+
## 0.6.6
|
|
212
|
+
|
|
213
|
+
## 0.6.5
|
|
214
|
+
|
|
215
|
+
## 0.6.4
|
|
216
|
+
|
|
217
|
+
## 0.6.3
|
|
218
|
+
|
|
219
|
+
## 0.6.2
|
|
220
|
+
|
|
221
|
+
## 0.6.1
|
|
222
|
+
|
|
223
|
+
## 0.6.0
|
|
224
|
+
|
|
225
|
+
## 0.5.2
|
|
226
|
+
|
|
227
|
+
## 0.5.1
|
|
228
|
+
|
|
229
|
+
## 0.5.0
|
|
230
|
+
|
|
231
|
+
## 0.4.0
|
|
232
|
+
|
|
233
|
+
## 0.3.5
|
|
234
|
+
|
|
235
|
+
## 0.3.4
|
|
236
|
+
|
|
237
|
+
## 0.3.3
|
|
238
|
+
|
|
239
|
+
## 0.3.2
|
|
240
|
+
|
|
241
|
+
### Patch Changes
|
|
242
|
+
|
|
243
|
+
- 0de1c83: fix: do not collect node internal utils
|
|
244
|
+
|
|
245
|
+
## 0.3.1
|
|
246
|
+
|
|
247
|
+
## 0.3.0
|
|
248
|
+
|
|
249
|
+
## 0.2.8
|
|
250
|
+
|
|
251
|
+
## 0.2.7
|
|
252
|
+
|
|
253
|
+
### Patch Changes
|
|
254
|
+
|
|
255
|
+
- b00ef13: fix(dts-plugin): support compile vue@3 dts
|
|
256
|
+
|
|
257
|
+
## 0.2.6
|
|
258
|
+
|
|
259
|
+
## 0.2.5
|
|
260
|
+
|
|
261
|
+
## 0.2.4
|
|
262
|
+
|
|
263
|
+
## 0.2.3
|
|
264
|
+
|
|
265
|
+
## 0.2.2
|
|
266
|
+
|
|
267
|
+
## 0.2.1
|
|
268
|
+
|
|
269
|
+
## 0.2.0
|
|
270
|
+
|
|
271
|
+
## 0.1.21
|
|
272
|
+
|
|
273
|
+
## 0.1.20
|
|
274
|
+
|
|
275
|
+
### Patch Changes
|
|
276
|
+
|
|
277
|
+
- 685c607: feat: support dynamic remote type hints
|
|
278
|
+
|
|
279
|
+
## 0.1.19
|
|
280
|
+
|
|
281
|
+
## 0.1.18
|
|
282
|
+
|
|
283
|
+
## 0.1.17
|
|
284
|
+
|
|
285
|
+
## 0.1.16
|
|
286
|
+
|
|
287
|
+
## 0.1.15
|
|
288
|
+
|
|
289
|
+
## 0.1.14
|
|
290
|
+
|
|
291
|
+
## 0.1.13
|
|
292
|
+
|
|
293
|
+
### Patch Changes
|
|
294
|
+
|
|
295
|
+
- 677958c: fix: tsup configuration
|
|
296
|
+
|
|
297
|
+
## 0.1.12
|
|
298
|
+
|
|
299
|
+
## 0.1.11
|
|
300
|
+
|
|
301
|
+
## 0.1.10
|
|
302
|
+
|
|
303
|
+
## 0.1.9
|
|
304
|
+
|
|
305
|
+
## 0.1.8
|
|
306
|
+
|
|
307
|
+
## 0.1.7
|
|
308
|
+
|
|
309
|
+
## 0.1.6
|
|
310
|
+
|
|
311
|
+
### Patch Changes
|
|
312
|
+
|
|
313
|
+
- 72c7b80: chore: fix release tag
|
|
314
|
+
|
|
315
|
+
## 0.0.18
|
|
316
|
+
|
|
317
|
+
### Patch Changes
|
|
318
|
+
|
|
319
|
+
- c8c0ad2: feat: enhance type capability
|
package/dist/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @module-federation/third-party-dts-extractor
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type ThirdPartyExtractorOptions = {
|
|
2
|
+
destDir: string;
|
|
3
|
+
context?: string;
|
|
4
|
+
exclude?: Array<string | RegExp>;
|
|
5
|
+
};
|
|
6
|
+
declare class ThirdPartyExtractor {
|
|
7
|
+
pkgs: Record<string, string>;
|
|
8
|
+
pattern: RegExp;
|
|
9
|
+
context: string;
|
|
10
|
+
destDir: string;
|
|
11
|
+
exclude: Array<string | RegExp>;
|
|
12
|
+
constructor({ destDir, context, exclude, }: ThirdPartyExtractorOptions);
|
|
13
|
+
addPkgs(pkgName: string, dirName: string): void;
|
|
14
|
+
inferPkgDir(importPath: string): string | void;
|
|
15
|
+
collectTypeImports(str: string): string[];
|
|
16
|
+
collectPkgs(str: string): void;
|
|
17
|
+
copyDts(): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { ThirdPartyExtractor };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type ThirdPartyExtractorOptions = {
|
|
2
|
+
destDir: string;
|
|
3
|
+
context?: string;
|
|
4
|
+
exclude?: Array<string | RegExp>;
|
|
5
|
+
};
|
|
6
|
+
declare class ThirdPartyExtractor {
|
|
7
|
+
pkgs: Record<string, string>;
|
|
8
|
+
pattern: RegExp;
|
|
9
|
+
context: string;
|
|
10
|
+
destDir: string;
|
|
11
|
+
exclude: Array<string | RegExp>;
|
|
12
|
+
constructor({ destDir, context, exclude, }: ThirdPartyExtractorOptions);
|
|
13
|
+
addPkgs(pkgName: string, dirName: string): void;
|
|
14
|
+
inferPkgDir(importPath: string): string | void;
|
|
15
|
+
collectTypeImports(str: string): string[];
|
|
16
|
+
collectPkgs(str: string): void;
|
|
17
|
+
copyDts(): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { ThirdPartyExtractor };
|