module.lifecycle-core
Core lifecycle stage definitions and transitions
platformmodulev5.0.4stableservernode
@lssm-tech/module.lifecycle-corebun add @lssm-tech/module.lifecycle-coreManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Website: https://contractspec.io
Core lifecycle stage definitions and transitions.
What It Provides
- Layer: module.
- Consumers: modules (lifecycle-advisor), bundles (library, contractspec-studio), apps (web-landing, cli).
src/adapters/contains runtime, provider, or environment-specific adapters.- Related ContractSpec packages include
@lssm-tech/lib.contracts-spec,@lssm-tech/lib.lifecycle,@lssm-tech/tool.bun,@lssm-tech/tool.typescript. src/adapters/contains runtime, provider, or environment-specific adapters.
Installation
npm install @lssm-tech/module.lifecycle-core
or
bun add @lssm-tech/module.lifecycle-core
Usage
Import the root entrypoint from @lssm-tech/module.lifecycle-core, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/adapters/contains runtime, provider, or environment-specific adapters.src/collectorsis part of the package's public or composition surface.src/data/contains static content, registries, and package-local datasets.src/i18nis part of the package's public or composition surface.src/index.tsis the root public barrel and package entrypoint.src/orchestratoris part of the package's public or composition surface.src/planningis part of the package's public or composition surface.
Public Entry Points
- Export
.resolves through./src/index.ts.
Local Commands
bun run dev— contractspec-bun-build devbun run build— contractspec-bun-build buildbun run test— bun testbun run lint— bun lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsgo --noEmitbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rimraf dist .turbobun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
- Resolve lint/test regressions after voice capability updates.
- Add full i18n support across all 10 packages (en/fr/es, 460 keys).
Notes
- Depends on
lib.lifecyclefor foundational types -- this module adds orchestration on top. - Stage transition rules are the source of truth; changes here cascade to lifecycle-advisor and all consuming bundles.
- Stage data in
src/data/must remain backward-compatible to avoid breaking persisted project states.
Relationships
THIS PACKAGEmodule.lifecycle-core1 import paths
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
3 declarations
@lssm-tech/lib.lifecycleworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.translation-runtimeworkspace:^
Read the package manual ↗
Declared capabilities
Module Lifecycle Core
Core lifecycle stage definitions and transitions
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .lint:checknode ../../../../scripts/biome.cjs check .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit