@vc-shell/mf-config 2.5.0 → 2.6.0-pr370.de147ea
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/shared-deps.d.ts
CHANGED
|
@@ -5,13 +5,10 @@ export interface SharedDepConfig {
|
|
|
5
5
|
import?: false | string;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Base shared dependency definitions for Module Federation
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* Federation matches `shared` by exact import specifier — without them, every
|
|
13
|
-
* `from "@vc-shell/framework/ui"` import gets bundled into the remote chunk,
|
|
14
|
-
* producing duplicate framework copies and breaking provide/inject DI.
|
|
8
|
+
* Base shared dependency definitions for Module Federation; host and remote use the same
|
|
9
|
+
* list with singleton negotiation. Subpath entries (e.g. "@vc-shell/framework/ui") are
|
|
10
|
+
* required because Module Federation matches `shared` by exact import specifier: without
|
|
11
|
+
* them those imports land in the remote chunk, duplicating the framework and breaking DI.
|
|
15
12
|
*/
|
|
16
13
|
export declare const SHARED_DEPS_BASE: Record<string, Omit<SharedDepConfig, "import">>;
|
|
17
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-deps.d.ts","sourceRoot":"","sources":["../src/shared-deps.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACzB;AAED
|
|
1
|
+
{"version":3,"file":"shared-deps.d.ts","sourceRoot":"","sources":["../src/shared-deps.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAW5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAoC,aAAa,CAC1E,KAAK,GACL,YAAY,GACZ,UAAU,GACV,cAAc,GACd,WAAW,GACX,cAAc,GACd,qBAAqB,GACrB,wBAAwB,GACxB,8BAA8B,GAC9B,gCAAgC,CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAA2B,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAEzD,CAAC"}
|
package/dist/shared-deps.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Base shared dependency definitions for Module Federation
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Federation matches `shared` by exact import specifier — without them, every
|
|
7
|
-
* `from "@vc-shell/framework/ui"` import gets bundled into the remote chunk,
|
|
8
|
-
* producing duplicate framework copies and breaking provide/inject DI.
|
|
2
|
+
* Base shared dependency definitions for Module Federation; host and remote use the same
|
|
3
|
+
* list with singleton negotiation. Subpath entries (e.g. "@vc-shell/framework/ui") are
|
|
4
|
+
* required because Module Federation matches `shared` by exact import specifier: without
|
|
5
|
+
* them those imports land in the remote chunk, duplicating the framework and breaking DI.
|
|
9
6
|
*/
|
|
10
7
|
export const SHARED_DEPS_BASE = {
|
|
11
8
|
vue: { singleton: true, requiredVersion: "^3.4.0" },
|
package/dist/shared-deps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-deps.js","sourceRoot":"","sources":["../src/shared-deps.ts"],"names":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C,GAAG,EAAE,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,KAAc,EAAE,CAAC,CAAC,CACtG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/mf-config",
|
|
3
3
|
"description": "Module Federation shared dependency catalog for VC Shell",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.6.0-pr370.de147ea",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build": "echo 'Building @vc-shell/mf-config...' && tsc -b --clean && tsc && tsc-alias && echo '@vc-shell/mf-config built.'"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@vc-shell/ts-config": "2.
|
|
15
|
+
"@vc-shell/ts-config": "2.6.0-pr370.de147ea",
|
|
16
16
|
"tsc-alias": "^1.8.8",
|
|
17
17
|
"typescript": "^5.8.3"
|
|
18
18
|
},
|