diff --git a/src/index.ts b/src/index.ts index c28f5d7..3db45b5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,4 +16,4 @@ export * from './resources'; export * from './types'; export * from './context'; export * from './handlers'; -export * from './lifecycle'; +export { Lifecycle } from './lifecycle'; diff --git a/src/lifecycle/lifecycle.ts b/src/lifecycle/lifecycle.ts index 584f7e1..1938cec 100644 --- a/src/lifecycle/lifecycle.ts +++ b/src/lifecycle/lifecycle.ts @@ -16,7 +16,7 @@ const NITRIC_ENVIRONMENT = 'NITRIC_ENVIRONMENT'; // Possible nitric execution environments -enum LifecycleStage { +export enum LifecycleStage { // Local development run (using nitric run/start) LocalRun = 'run', // Local development requirements building/collection (using nitric up)