@module-federation/dts-plugin 0.22.1 → 0.24.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @module-federation/dts-plugin
2
2
 
3
+ ## 0.24.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @module-federation/sdk@0.24.0
8
+ - @module-federation/managers@0.24.0
9
+ - @module-federation/third-party-dts-extractor@0.24.0
10
+ - @module-federation/error-codes@0.24.0
11
+
12
+ ## 0.23.0
13
+
14
+ ### Patch Changes
15
+
16
+ - 9373882: fix(dts-plugin): add default mf config value
17
+ - @module-federation/sdk@0.23.0
18
+ - @module-federation/managers@0.23.0
19
+ - @module-federation/third-party-dts-extractor@0.23.0
20
+ - @module-federation/error-codes@0.23.0
21
+
3
22
  ## 0.22.1
4
23
 
5
24
  ### Patch Changes
package/dist/core.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { T as TsConfigJson } from './DTSManager-b15Gfat3.js';
2
2
  export { D as DTSManager, r as retrieveRemoteConfig } from './DTSManager-b15Gfat3.js';
3
3
  import { H as HostOptions, R as RemoteInfo, a as RemoteOptions, D as DTSManagerOptions } from './DTSManagerOptions-QVchWb0x.js';
4
- export { g as getDTSManagerConstructor, i as isTSProject, r as retrieveTypesAssetsInfo, v as validateOptions } from './utils-DxGrqb9N.js';
4
+ export { g as getDTSManagerConstructor, i as isTSProject, r as retrieveTypesAssetsInfo, v as validateOptions } from './utils-C4sQemLR.js';
5
5
  import { R as RpcRemoteMethod, a as RpcCallMessage, b as RpcGMCallTypes, c as RpcMessage, d as RpcMethod, e as RpcRejectMessage, f as RpcResolveMessage, g as RpcWorker, h as createRpcWorker, i as getRpcWorkerData } from './DtsWorker-BrHsGz8C.js';
6
6
  export { D as DtsWorker } from './DtsWorker-BrHsGz8C.js';
7
7
  import { ChildProcess } from 'child_process';
package/dist/core.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { T as TsConfigJson } from './DTSManager-b15Gfat3.js';
2
2
  export { D as DTSManager, r as retrieveRemoteConfig } from './DTSManager-b15Gfat3.js';
3
3
  import { H as HostOptions, R as RemoteInfo, a as RemoteOptions, D as DTSManagerOptions } from './DTSManagerOptions-QVchWb0x.js';
4
- export { g as getDTSManagerConstructor, i as isTSProject, r as retrieveTypesAssetsInfo, v as validateOptions } from './utils-DxGrqb9N.js';
4
+ export { g as getDTSManagerConstructor, i as isTSProject, r as retrieveTypesAssetsInfo, v as validateOptions } from './utils-C4sQemLR.js';
5
5
  import { R as RpcRemoteMethod, a as RpcCallMessage, b as RpcGMCallTypes, c as RpcMessage, d as RpcMethod, e as RpcRejectMessage, f as RpcResolveMessage, g as RpcWorker, h as createRpcWorker, i as getRpcWorkerData } from './DtsWorker-BrHsGz8C.js';
6
6
  export { D as DtsWorker } from './DtsWorker-BrHsGz8C.js';
7
7
  import { ChildProcess } from 'child_process';
package/dist/esm/index.js CHANGED
@@ -261,7 +261,9 @@ var _DevPlugin = class _DevPlugin {
261
261
  this._devWorker = createDevWorker({
262
262
  name,
263
263
  remote,
264
- host: __spreadProps(__spreadValues({}, host), {
264
+ host: __spreadProps(__spreadValues({
265
+ moduleFederationConfig: {}
266
+ }, host), {
265
267
  remoteTypeUrls
266
268
  }),
267
269
  extraOptions,
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { moduleFederationPlugin } from '@module-federation/sdk';
2
2
  import { WebpackPluginInstance, Compiler } from 'webpack';
3
3
  import { D as DTSManagerOptions } from './DTSManagerOptions-QVchWb0x.js';
4
- export { i as isTSProject } from './utils-DxGrqb9N.js';
4
+ export { i as isTSProject } from './utils-C4sQemLR.js';
5
5
  import './DTSManager-b15Gfat3.js';
6
6
  import 'typescript';
7
7
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { moduleFederationPlugin } from '@module-federation/sdk';
2
2
  import { WebpackPluginInstance, Compiler } from 'webpack';
3
3
  import { D as DTSManagerOptions } from './DTSManagerOptions-QVchWb0x.js';
4
- export { i as isTSProject } from './utils-DxGrqb9N.js';
4
+ export { i as isTSProject } from './utils-C4sQemLR.js';
5
5
  import './DTSManager-b15Gfat3.js';
6
6
  import 'typescript';
7
7
 
package/dist/index.js CHANGED
@@ -2618,7 +2618,9 @@ var _DevPlugin = class _DevPlugin {
2618
2618
  this._devWorker = createDevWorker({
2619
2619
  name,
2620
2620
  remote,
2621
- host: __spreadProps(__spreadValues({}, host), {
2621
+ host: __spreadProps(__spreadValues({
2622
+ moduleFederationConfig: {}
2623
+ }, host), {
2622
2624
  remoteTypeUrls
2623
2625
  }),
2624
2626
  extraOptions,
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/dts-plugin",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "author": "hanric <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -48,32 +48,33 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
+ "@module-federation/error-codes": "workspace:*",
52
+ "@module-federation/managers": "workspace:*",
53
+ "@module-federation/sdk": "workspace:*",
54
+ "@module-federation/third-party-dts-extractor": "workspace:*",
51
55
  "adm-zip": "^0.5.10",
52
56
  "ansi-colors": "^4.1.3",
53
57
  "axios": "^1.12.0",
54
- "rambda": "^9.1.0",
55
- "@module-federation/sdk": "workspace:*",
56
- "@module-federation/managers": "workspace:*",
57
- "lodash.clonedeepwith": "4.5.0",
58
- "@module-federation/third-party-dts-extractor": "workspace:*",
59
- "@module-federation/error-codes": "workspace:*",
60
58
  "chalk": "3.0.0",
61
59
  "fs-extra": "9.1.0",
62
60
  "isomorphic-ws": "5.0.0",
63
61
  "koa": "3.0.3",
62
+ "lodash.clonedeepwith": "4.5.0",
64
63
  "log4js": "6.9.1",
65
64
  "node-schedule": "2.1.1",
65
+ "rambda": "^9.1.0",
66
66
  "ws": "8.18.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@types/ws": "8.5.12",
69
+ "@module-federation/runtime": "workspace:*",
70
70
  "@types/koa": "2.15.0",
71
71
  "@types/node-schedule": "2.1.7",
72
- "@module-federation/runtime": "workspace:*",
73
- "vue": "^3.5.13",
72
+ "@types/ws": "8.5.12",
74
73
  "@vue/tsconfig": "^0.7.0",
74
+ "rimraf": "~6.0.1",
75
+ "vue": "^3.5.13",
75
76
  "vue-tsc": "^2.2.10",
76
- "rimraf": "~6.0.1"
77
+ "webpack": "^5.98.0"
77
78
  },
78
79
  "peerDependencies": {
79
80
  "typescript": "^4.9.0 || ^5.0.0",
@@ -1,5 +1,5 @@
1
1
  import { moduleFederationPlugin } from '@module-federation/sdk';
2
- import { H as HostOptions, a as RemoteOptions } from './DTSManagerOptions-QVchWb0x.js';
2
+ import { a as RemoteOptions, H as HostOptions } from './DTSManagerOptions-QVchWb0x.js';
3
3
  import { D as DTSManager } from './DTSManager-b15Gfat3.js';
4
4
 
5
5
  declare function getDTSManagerConstructor(implementation?: string): typeof DTSManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/dts-plugin",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "author": "hanric <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -51,29 +51,30 @@
51
51
  "adm-zip": "^0.5.10",
52
52
  "ansi-colors": "^4.1.3",
53
53
  "axios": "^1.12.0",
54
- "rambda": "^9.1.0",
55
- "lodash.clonedeepwith": "4.5.0",
56
54
  "chalk": "3.0.0",
57
55
  "fs-extra": "9.1.0",
58
56
  "isomorphic-ws": "5.0.0",
59
57
  "koa": "3.0.3",
58
+ "lodash.clonedeepwith": "4.5.0",
60
59
  "log4js": "6.9.1",
61
60
  "node-schedule": "2.1.1",
61
+ "rambda": "^9.1.0",
62
62
  "ws": "8.18.0",
63
- "@module-federation/managers": "0.22.1",
64
- "@module-federation/third-party-dts-extractor": "0.22.1",
65
- "@module-federation/error-codes": "0.22.1",
66
- "@module-federation/sdk": "0.22.1"
63
+ "@module-federation/error-codes": "0.24.0",
64
+ "@module-federation/managers": "0.24.0",
65
+ "@module-federation/sdk": "0.24.0",
66
+ "@module-federation/third-party-dts-extractor": "0.24.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@types/ws": "8.5.12",
70
69
  "@types/koa": "2.15.0",
71
70
  "@types/node-schedule": "2.1.7",
72
- "vue": "^3.5.13",
71
+ "@types/ws": "8.5.12",
73
72
  "@vue/tsconfig": "^0.7.0",
74
- "vue-tsc": "^2.2.10",
75
73
  "rimraf": "~6.0.1",
76
- "@module-federation/runtime": "0.22.1"
74
+ "vue": "^3.5.13",
75
+ "vue-tsc": "^2.2.10",
76
+ "webpack": "^5.98.0",
77
+ "@module-federation/runtime": "0.24.0"
77
78
  },
78
79
  "peerDependencies": {
79
80
  "typescript": "^4.9.0 || ^5.0.0",