@contractspec/lib.progressive-delivery
v34.0.13
Published
**Progressive delivery and canary release primitives. Provides strategy definitions and rollout logic for safe, incremental deployments.**
Downloads
2,793
Readme
@contractspec/lib.progressive-delivery
Progressive delivery and canary release primitives. Provides strategy definitions and rollout logic for safe, incremental deployments.
What It Provides
- Layer: lib.
- Consumers: bundles.
- Related ContractSpec packages include
@contractspec/lib.observability,@contractspec/tool.bun,@contractspec/tool.typescript. - Related ContractSpec packages include
@contractspec/lib.observability,@contractspec/tool.bun,@contractspec/tool.typescript.
Installation
npm install @contractspec/lib.progressive-delivery
or
bun add @contractspec/lib.progressive-delivery
Usage
Import the root entrypoint from @contractspec/lib.progressive-delivery, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/canary-analyzer.tsis part of the package's public or composition surface.src/canary-controller.tsis part of the package's public or composition surface.src/deployment-coordinator.tsis part of the package's public or composition surface.src/events.tsis package-level event definitions.src/feature-flags.tsis part of the package's public or composition surface.src/index.tsis the root public barrel and package entrypoint.src/rollback-manager.tsis 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— bun run prebuild && bun run build:bundle && bun run build:typesbun 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— tsc --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.
Notes
- Delivery strategies must be deterministic — same input must produce same rollout decision.
- Peer dependency on observability; ensure OTel integration stays aligned.
- Strategy interface changes affect all deployment pipelines consuming this lib.
