npm.io
0.2.0 • Published 3d ago

@mj-biz-apps/sonar-ng

Licence
ISC
Version
0.2.0
Deps
1
Size
3.9 MB
Vulns
0
Weekly
0
Stars
1

@mj-biz-apps/sonar-ng

Angular bootstrap package for the Sonar Open App — the client-side entry point loaded by MJ Explorer.

What this package contains

  • public-api.ts — the bootstrap surface. Exports LoadSonarClient() (the startupExport declared in mj-app.json), plus the generated/custom form modules and the class-registrations manifest.
  • src/lib/generated/ — CodeGen-owned form components and the tree-shaking-prevention manifest. Never edit by hand; regenerated by npm run mj:codegen / mj codegen manifest.
  • src/lib/custom/ — hand-written form components that override generated forms via @RegisterClass priority (must extend the generated form component and be imported after the generated module).

Sonar surfaces (planned)

The Sonar UI surfaces described in /plans/plan.md §9 — Model Builder, Engagement Manager, Admin/Ops, Executive — will be built here (or in dedicated sonar-ng-* packages as they grow), registered as BaseResourceComponent driver classes and exposed through application nav items in /metadata.

Build

cd packages/Angular && npm run build   # ngc