@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 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 chain. Its single
67
- // responsibility now is to combine the workspace-local `paths` with the
68
- // canonical compiler options from @ws-test-realm/devkit/tsconfig.base.json.
69
- // Workspace tsconfig.json sits on top and extends THIS file.
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/devkit/tsconfig.base.json",
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-ng16",
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": {
@@ -1,7 +1,3 @@
1
1
  {
2
- "extends": "@ws-test-realm/devkit/tsconfig.base.json",
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./dist/out-tsc"
6
- }
2
+ "extends": "./tsconfig.federation.json"
7
3
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "@ws-test-realm/devkit/tsconfig.base.json",
4
+ "compilerOptions": {
5
+ "preserveSymlinks": true
6
+ }
7
+ }