@ws-test-realm/admin-kit 0.6.4-ng20 → 0.6.5-ng20

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.
Files changed (2) hide show
  1. package/lib/bom-shape.js +9 -1
  2. package/package.json +1 -1
package/lib/bom-shape.js CHANGED
@@ -129,7 +129,15 @@ export class ${className}Module {}
129
129
  }
130
130
 
131
131
  function publicApiSource(name) {
132
- return `export * from './lib/${name}-module';\n`;
132
+ // ng-packagr's NG3001 requires every class declared by a re-exported
133
+ // module to be reachable from public-api too. Re-exporting the component
134
+ // satisfies that. (This also doubles as the DCE-protection convention
135
+ // for any @ExpansionEntry-decorated components the dev adds later — they
136
+ // just need to be exported by name from the component file, which `export
137
+ // *` covers automatically.)
138
+ return `export * from './lib/${name}-module';
139
+ export * from './lib/${name}';
140
+ `;
133
141
  }
134
142
 
135
143
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ws-test-realm/admin-kit",
3
- "version": "0.6.4-ng20",
3
+ "version": "0.6.5-ng20",
4
4
  "description": "Workflow CLI + scaffolding for Wiresphere admin-modules workspaces (Angular 20 + 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": {