@ws-test-realm/admin-kit 0.2.3-ng16 → 0.2.4-ng16
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/lib/wire-host.js +9 -5
- package/package.json +2 -1
- package/template/tsconfig.json +1 -5
- package/tsconfig.workspace.json +7 -0
package/lib/wire-host.js
CHANGED
|
@@ -63,12 +63,16 @@ function rebuildFederationTsconfig(workspaceDir) {
|
|
|
63
63
|
// node_modules regardless of where the .d.ts lives. Must come AFTER
|
|
64
64
|
// specific paths so they win on prefix match.
|
|
65
65
|
paths["*"] = ["./node_modules/*"];
|
|
66
|
-
// tsconfig.federation.json is the leaf of the extends
|
|
67
|
-
// responsibility
|
|
68
|
-
// canonical
|
|
69
|
-
//
|
|
66
|
+
// tsconfig.federation.json is the leaf of the workspace-local extends
|
|
67
|
+
// chain. Its sole responsibility is to layer workspace-specific `paths`
|
|
68
|
+
// onto the canonical workspace tsconfig shipped by admin-kit. The shipped
|
|
69
|
+
// file (@ws-test-realm/admin-kit/tsconfig.workspace.json) carries the
|
|
70
|
+
// federation-canonical compiler options (preserveSymlinks: true + the
|
|
71
|
+
// devkit base inheritance). Workspace tsconfig.json sits on top and
|
|
72
|
+
// extends THIS file. Workspaces pick up changes to the canonical settings
|
|
73
|
+
// by bumping admin-kit, no local file edits required.
|
|
70
74
|
const config = {
|
|
71
|
-
extends: "@ws-test-realm/
|
|
75
|
+
extends: "@ws-test-realm/admin-kit/tsconfig.workspace.json",
|
|
72
76
|
compilerOptions: { paths },
|
|
73
77
|
};
|
|
74
78
|
const file = path.join(workspaceDir, "tsconfig.federation.json");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-test-realm/admin-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-ng16",
|
|
4
4
|
"description": "Workflow CLI + scaffolding for Wiresphere admin-modules workspaces (Angular 16 + native-federation line). Ships `ws-init-workspace`, `ws-modules` (build+deploy driver), `ws-generate-module`/`ws-drop-module`, `ws-wire-host`, `ws-wire-pom`, `ws-sync-paths`, and `ws-purge`. Depends on @ws-test-realm/devkit (toolchain BOM) + @ws-test-realm/shared (runtime BOM + native-federation share map).",
|
|
5
5
|
"license": "Artistic-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"lib",
|
|
23
23
|
"template",
|
|
24
24
|
"template-module",
|
|
25
|
+
"tsconfig.workspace.json",
|
|
25
26
|
"README.md"
|
|
26
27
|
],
|
|
27
28
|
"dependencies": {
|
package/template/tsconfig.json
CHANGED