@nx/angular 21.4.0-canary.20250801-e0a3829 → 21.4.0-canary.20250802-b88664f
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"setup-tspath-for-remote.d.ts","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/setup-mf/lib/setup-tspath-for-remote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;
|
1
|
+
{"version":3,"file":"setup-tspath-for-remote.d.ts","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/setup-mf/lib/setup-tspath-for-remote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAKnD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,QAc1E"}
|
@@ -3,13 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.setupTspathForRemote = setupTspathForRemote;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const js_1 = require("@nx/js");
|
6
|
+
const module_federation_1 = require("@nx/module-federation");
|
6
7
|
function setupTspathForRemote(tree, options) {
|
7
8
|
const project = (0, devkit_1.readProjectConfiguration)(tree, options.appName);
|
8
9
|
const exportPath = options.standalone
|
9
10
|
? `./src/app/remote-entry/entry.routes.ts`
|
10
11
|
: `./src/app/remote-entry/${options.entryModuleFileName}.ts`;
|
11
12
|
const exportName = options.standalone ? 'Routes' : 'Module';
|
12
|
-
(0, js_1.addTsConfigPath)(tree, `${
|
13
|
-
(0, devkit_1.joinPathFragments)(project.root, exportPath),
|
14
|
-
]);
|
13
|
+
(0, js_1.addTsConfigPath)(tree, `${(0, module_federation_1.normalizeProjectName)(options.appName)}/${exportName}`, [(0, devkit_1.joinPathFragments)(project.root, exportPath)]);
|
15
14
|
}
|