@lssm/module.lifecycle-advisor 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060433

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ import { LifecycleRecommendation, LifecycleStage } from "@lssm/lib.lifecycle";
2
+
3
+ //#region src/ceremony/ceremony-designer.d.ts
4
+ type CeremonyConfig = NonNullable<LifecycleRecommendation['ceremony']>;
5
+ interface PlaybookCeremonyEntry {
6
+ stage: LifecycleStage;
7
+ ceremony?: CeremonyConfig;
8
+ }
9
+ declare class LifecycleCeremonyDesigner {
10
+ private readonly ceremonies;
11
+ constructor(overrides?: PlaybookCeremonyEntry[]);
12
+ design(stage: LifecycleStage): CeremonyConfig | undefined;
13
+ }
14
+ //#endregion
15
+ export { LifecycleCeremonyDesigner };
@@ -0,0 +1,10 @@
1
+ import { LibraryRecommendation } from "../recommendations/library-recommender.js";
2
+ import { LifecycleStage } from "@lssm/lib.lifecycle";
3
+
4
+ //#region src/data/library-stage-map.d.ts
5
+ interface LibraryStageEntry {
6
+ stage: LifecycleStage;
7
+ items: LibraryRecommendation[];
8
+ }
9
+ //#endregion
10
+ export { LibraryStageEntry };
@@ -0,0 +1,11 @@
1
+ import { LifecycleAction, LifecycleRecommendation, LifecycleStage } from "@lssm/lib.lifecycle";
2
+
3
+ //#region src/data/stage-playbooks.d.ts
4
+ interface StagePlaybookData {
5
+ stage: LifecycleStage;
6
+ focusAreas: string[];
7
+ actions: LifecycleAction[];
8
+ ceremony?: LifecycleRecommendation['ceremony'];
9
+ }
10
+ //#endregion
11
+ export { StagePlaybookData };
@@ -0,0 +1,4 @@
1
+ import { LifecycleRecommendationEngine, RecommendationOptions } from "./recommendations/recommendation-engine.js";
2
+ import { ContractSpecLibraryRecommender, LibraryRecommendation } from "./recommendations/library-recommender.js";
3
+ import { LifecycleCeremonyDesigner } from "./ceremony/ceremony-designer.js";
4
+ export { ContractSpecLibraryRecommender, LibraryRecommendation, LifecycleCeremonyDesigner, LifecycleRecommendationEngine, RecommendationOptions };
@@ -0,0 +1,16 @@
1
+ import { LibraryStageEntry } from "../data/library-stage-map.js";
2
+ import { LifecycleStage } from "@lssm/lib.lifecycle";
3
+
4
+ //#region src/recommendations/library-recommender.d.ts
5
+ interface LibraryRecommendation {
6
+ id: string;
7
+ type: 'library' | 'module' | 'bundle';
8
+ description: string;
9
+ }
10
+ declare class ContractSpecLibraryRecommender {
11
+ private readonly mapping;
12
+ constructor(overrides?: LibraryStageEntry[]);
13
+ recommend(stage: LifecycleStage, limit?: number): LibraryRecommendation[];
14
+ }
15
+ //#endregion
16
+ export { ContractSpecLibraryRecommender, LibraryRecommendation };
@@ -0,0 +1,16 @@
1
+ import { StagePlaybookData } from "../data/stage-playbooks.js";
2
+ import { LifecycleAssessment, LifecycleMilestone, LifecycleRecommendation } from "@lssm/lib.lifecycle";
3
+
4
+ //#region src/recommendations/recommendation-engine.d.ts
5
+ type StagePlaybook = StagePlaybookData;
6
+ interface RecommendationOptions {
7
+ limit?: number;
8
+ upcomingMilestones?: LifecycleMilestone[];
9
+ }
10
+ declare class LifecycleRecommendationEngine {
11
+ private readonly playbooks;
12
+ constructor(overrides?: StagePlaybook[]);
13
+ generate(assessment: LifecycleAssessment, options?: RecommendationOptions): LifecycleRecommendation;
14
+ }
15
+ //#endregion
16
+ export { LifecycleRecommendationEngine, RecommendationOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/module.lifecycle-advisor",
3
- "version": "0.0.0-canary-20251217054315",
3
+ "version": "0.0.0-canary-20251217060433",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -24,16 +24,16 @@
24
24
  "test": "bun run"
25
25
  },
26
26
  "dependencies": {
27
- "@lssm/lib.lifecycle": "0.0.0-canary-20251217054315"
27
+ "@lssm/lib.lifecycle": "0.0.0-canary-20251217060433"
28
28
  },
29
29
  "devDependencies": {
30
- "@lssm/tool.tsdown": "0.0.0-canary-20251217054315",
31
- "@lssm/tool.typescript": "0.0.0-canary-20251217054315",
30
+ "@lssm/tool.tsdown": "0.0.0-canary-20251217060433",
31
+ "@lssm/tool.typescript": "0.0.0-canary-20251217060433",
32
32
  "tsdown": "^0.17.4",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
35
  "exports": {
36
- ".": "./src/index.ts",
36
+ ".": "./dist/index.js",
37
37
  "./*": "./*"
38
38
  },
39
39
  "publishConfig": {