@module-federation/dts-plugin 0.1.14 → 0.1.16

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,25 @@
1
1
  # @module-federation/dts-plugin
2
2
 
3
+ ## 0.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - ea34795: optional vue-tsc
8
+ - Updated dependencies [cce5404]
9
+ - Updated dependencies [364f2bc]
10
+ - @module-federation/managers@0.1.16
11
+ - @module-federation/sdk@0.1.16
12
+ - @module-federation/third-party-dts-extractor@0.1.16
13
+
14
+ ## 0.1.15
15
+
16
+ ### Patch Changes
17
+
18
+ - 1227fd6: fix: Avoid the generation type order being affected by the loading timing so that every type occurs
19
+ - @module-federation/sdk@0.1.15
20
+ - @module-federation/managers@0.1.15
21
+ - @module-federation/third-party-dts-extractor@0.1.15
22
+
3
23
  ## 0.1.14
4
24
 
5
25
  ### Patch Changes
package/dist/core.js CHANGED
@@ -1292,7 +1292,7 @@ var DTSManager = class {
1292
1292
  }
1293
1293
  const packageTypes = [];
1294
1294
  const remoteKeys = [];
1295
- const importTypeStr = this.loadedRemoteAPIAlias.map((alias, index) => {
1295
+ const importTypeStr = this.loadedRemoteAPIAlias.sort().map((alias, index) => {
1296
1296
  const remoteKey = `RemoteKeys_${index}`;
1297
1297
  const packageType = `PackageType_${index}`;
1298
1298
  packageTypes.push(`T extends ${remoteKey} ? ${packageType}<T>`);
@@ -1852,7 +1852,7 @@ var DTSManager = class {
1852
1852
  }
1853
1853
  const packageTypes = [];
1854
1854
  const remoteKeys = [];
1855
- const importTypeStr = this.loadedRemoteAPIAlias.map((alias, index) => {
1855
+ const importTypeStr = this.loadedRemoteAPIAlias.sort().map((alias, index) => {
1856
1856
  const remoteKey = `RemoteKeys_${index}`;
1857
1857
  const packageType = `PackageType_${index}`;
1858
1858
  packageTypes.push(`T extends ${remoteKey} ? ${packageType}<T>`);
@@ -1430,7 +1430,7 @@ var DTSManager = class {
1430
1430
  }
1431
1431
  const packageTypes = [];
1432
1432
  const remoteKeys = [];
1433
- const importTypeStr = this.loadedRemoteAPIAlias.map((alias, index) => {
1433
+ const importTypeStr = this.loadedRemoteAPIAlias.sort().map((alias, index) => {
1434
1434
  const remoteKey = `RemoteKeys_${index}`;
1435
1435
  const packageType = `PackageType_${index}`;
1436
1436
  packageTypes.push(`T extends ${remoteKey} ? ${packageType}<T>`);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  (() => {
3
- // node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.5.0/node_modules/isomorphic-ws/browser.js
3
+ // node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.17.0/node_modules/isomorphic-ws/browser.js
4
4
  var ws = null;
5
5
  if (typeof WebSocket !== "undefined") {
6
6
  ws = WebSocket;
package/dist/index.js CHANGED
@@ -1282,7 +1282,7 @@ var DTSManager = class {
1282
1282
  }
1283
1283
  const packageTypes = [];
1284
1284
  const remoteKeys = [];
1285
- const importTypeStr = this.loadedRemoteAPIAlias.map((alias, index) => {
1285
+ const importTypeStr = this.loadedRemoteAPIAlias.sort().map((alias, index) => {
1286
1286
  const remoteKey = `RemoteKeys_${index}`;
1287
1287
  const packageType = `PackageType_${index}`;
1288
1288
  packageTypes.push(`T extends ${remoteKey} ? ${packageType}<T>`);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/dts-plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "author": "hanric <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -49,15 +49,20 @@
49
49
  "koa": "2.11.0",
50
50
  "log4js": "6.9.1",
51
51
  "node-schedule": "2.1.1",
52
- "ws": "8.5.0"
52
+ "ws": "8.17.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/ws": "8.5.3",
55
+ "@types/ws": "8.5.10",
56
56
  "@types/koa": "2.11.2",
57
57
  "@types/node-schedule": "2.1.7"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "typescript": "^4.9.0 || ^5.0.0",
61
61
  "vue-tsc": "^1.0.24"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "vue-tsc": {
65
+ "optional": true
66
+ }
62
67
  }
63
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/dts-plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "author": "hanric <hanric.zhang@gmail.com>",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -46,18 +46,23 @@
46
46
  "koa": "2.11.0",
47
47
  "log4js": "6.9.1",
48
48
  "node-schedule": "2.1.1",
49
- "ws": "8.5.0",
50
- "@module-federation/sdk": "0.1.14",
51
- "@module-federation/managers": "0.1.14",
52
- "@module-federation/third-party-dts-extractor": "0.1.14"
49
+ "ws": "8.17.0",
50
+ "@module-federation/sdk": "0.1.16",
51
+ "@module-federation/managers": "0.1.16",
52
+ "@module-federation/third-party-dts-extractor": "0.1.16"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/ws": "8.5.3",
55
+ "@types/ws": "8.5.10",
56
56
  "@types/koa": "2.11.2",
57
57
  "@types/node-schedule": "2.1.7"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "typescript": "^4.9.0 || ^5.0.0",
61
61
  "vue-tsc": "^1.0.24"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "vue-tsc": {
65
+ "optional": true
66
+ }
62
67
  }
63
68
  }