Repository for
@dever-labs/ngx-mfe-broker— an Angular library for sharing state across micro-frontends and browser tabs using Signals, BroadcastChannel, and localStorage.
For usage docs, installation, and API reference see the package README (also published to npm).
projects/
ngx-mfe-broker/ ← library source + package README (published to npm)
src/lib/
mfe-state.service.ts
config-repository.service.ts
provide-ngx-mfe-broker.ts
README.md ← consumer-facing docs
dist/ ← build output (gitignored)
- Node.js 20+
- npm 9+
npm ci| Command | Description |
|---|---|
npm run build |
Build the library (dist/ngx-mfe-broker) |
npm test |
Run Vitest tests via Angular CLI |
npx vitest run |
Run Vitest directly (no Angular CLI) |
npm run lint |
ESLint |
Releases are fully automated via GitHub Actions:
- Update
projects/ngx-mfe-broker/package.jsonversion - Add an entry to
CHANGELOG.md - Push a tag matching
v*(e.g.v0.2.0) — CI builds, tests, lints, and publishes to npm with provenance
- Fork and create a feature branch
- Make changes with tests
- Run lint + build + test before opening a PR
- All checks must pass on the PR before merge
MIT © Dever Labs