Skip to content
ContractSpec
Start here

Package manual · domains

·Communication and notifications

module.notifications

Notification center module for ContractSpec applications

domainsmodulev5.0.4stableservernode
@lssm-tech/module.notifications
bun add @lssm-tech/module.notifications
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Compatibility shim for the former notification module package.

Canonical notification contracts now live under @lssm-tech/lib.contracts-spec/notifications. Reusable notification entities, schema contributions, channels, templates, and i18n live in @lssm-tech/lib.notification.

Migration

Prefer new imports for new code:

ts
import { NotificationsFeature } from "@lssm-tech/lib.contracts-spec/notifications";
import { createChannelRegistry } from "@lssm-tech/lib.notification/channels";
import { notificationsSchemaContribution } from "@lssm-tech/lib.notification/entities";

Existing imports from @lssm-tech/module.notifications remain supported during the compatibility window. The module shim intentionally preserves:

  • notificationsSchemaContribution.moduleId === "@lssm-tech/module.notifications".
  • NotificationsFeature.meta.key === "modules.notifications".
  • Existing export subpaths including ./channels, ./contracts, ./entities, ./i18n, ./i18n/catalogs/*, ./notifications.capability, ./notifications.feature, and ./templates.

Local Commands

  • bun run test
  • bun run typecheck
  • bun run lint:check
  • bun run build

Relationships

THIS PACKAGEmodule.notifications18 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

3 declarations

Declared capabilities

Module Notifications

Notification center module for ContractSpec applications

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrimraf dist .turbo
  • lintbun lint:fix
  • lint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .
  • lint:checknode ../../../../scripts/biome.cjs check .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit