@codyswann/lisa 1.0.0 → 1.0.5
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.
- package/README.md +244 -36
- package/all/copy-overwrite/.claude/README.md +1 -3
- package/all/copy-overwrite/.claude/REFERENCE.md +519 -0
- package/all/copy-overwrite/.claude/agents/skill-evaluator.md +7 -7
- package/all/copy-overwrite/.claude/agents/test-coverage-agent.md +17 -0
- package/all/copy-overwrite/.claude/commands/git/commit.md +9 -5
- package/all/copy-overwrite/.claude/commands/git/submit-pr.md +1 -1
- package/all/copy-overwrite/.claude/commands/lisa/review-implementation.md +209 -0
- package/all/copy-overwrite/.claude/commands/project/add-test-coverage.md +58 -0
- package/all/copy-overwrite/.claude/commands/project/archive.md +1 -1
- package/all/copy-overwrite/.claude/commands/project/complete-task.md +53 -1
- package/all/copy-overwrite/.claude/commands/project/debrief.md +12 -23
- package/all/copy-overwrite/.claude/commands/project/execute.md +33 -77
- package/all/copy-overwrite/.claude/commands/project/fix-linter-error.md +87 -0
- package/all/copy-overwrite/.claude/commands/project/implement.md +24 -28
- package/all/copy-overwrite/.claude/commands/project/lower-code-complexity.md +30 -55
- package/all/copy-overwrite/.claude/commands/project/plan.md +87 -242
- package/all/copy-overwrite/.claude/commands/project/reduce-max-lines-per-function.md +76 -0
- package/all/copy-overwrite/.claude/commands/project/reduce-max-lines.md +75 -0
- package/all/copy-overwrite/.claude/commands/project/research.md +86 -188
- package/all/copy-overwrite/.claude/commands/project/review.md +19 -38
- package/all/copy-overwrite/.claude/commands/project/setup.md +1 -1
- package/all/copy-overwrite/.claude/commands/project/verify.md +62 -25
- package/all/copy-overwrite/.claude/commands/pull-request/review.md +25 -7
- package/all/copy-overwrite/.claude/commands/tasks/load.md +63 -0
- package/all/copy-overwrite/.claude/commands/tasks/sync.md +84 -0
- package/all/copy-overwrite/.claude/hooks/README.md +75 -0
- package/all/copy-overwrite/.claude/hooks/check-tired-boss.sh +61 -0
- package/all/copy-overwrite/.claude/hooks/debug-hook.sh +47 -0
- package/all/copy-overwrite/.claude/hooks/notify-ntfy.sh +2 -0
- package/all/copy-overwrite/.claude/hooks/sync-tasks.sh +95 -0
- package/all/copy-overwrite/.claude/{skills/coding-philosophy/SKILL.md → rules/coding-philosophy.md} +93 -70
- package/all/copy-overwrite/.claude/settings.json +35 -14
- package/all/copy-overwrite/.claude/skills/prompt-complexity-scorer/SKILL.md +41 -9
- package/all/copy-overwrite/.claude/skills/skill-creator/scripts/init_skill.py +2 -0
- package/all/copy-overwrite/.claude/skills/skill-creator/scripts/package_skill.py +2 -0
- package/all/copy-overwrite/.claude/skills/skill-creator/scripts/quick_validate.py +2 -0
- package/all/copy-overwrite/.safety-net.json +25 -0
- package/all/copy-overwrite/CLAUDE.md +8 -30
- package/all/copy-overwrite/HUMAN.md +517 -17
- package/all/create-only/.claude/rules/PROJECT_RULES.md +9 -0
- package/all/create-only/scripts/setup-deploy-key.sh +190 -0
- package/all/deletions.json +5 -0
- package/cdk/copy-overwrite/.github/workflows/ci.yml +142 -0
- package/cdk/copy-overwrite/.github/workflows/deploy.yml +59 -0
- package/cdk/copy-overwrite/eslint.cdk.ts +175 -0
- package/cdk/copy-overwrite/eslint.config.ts +51 -0
- package/cdk/copy-overwrite/eslint.slow.config.ts +80 -0
- package/cdk/copy-overwrite/knip.json +53 -0
- package/cdk/copy-overwrite/tsconfig.eslint.json +11 -0
- package/cdk/merge/package.json +17 -1
- package/dist/cli/index.d.ts +3 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +83 -64
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/prompts.d.ts +17 -3
- package/dist/cli/prompts.d.ts.map +1 -1
- package/dist/cli/prompts.js +52 -16
- package/dist/cli/prompts.js.map +1 -1
- package/dist/core/config.d.ts +13 -4
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +17 -9
- package/dist/core/config.js.map +1 -1
- package/dist/core/git-service.d.ts +40 -0
- package/dist/core/git-service.d.ts.map +1 -0
- package/dist/core/git-service.js +52 -0
- package/dist/core/git-service.js.map +1 -0
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +3 -3
- package/dist/core/lisa.d.ts +124 -7
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +423 -221
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/manifest.d.ts +5 -1
- package/dist/core/manifest.d.ts.map +1 -1
- package/dist/core/manifest.js +22 -16
- package/dist/core/manifest.js.map +1 -1
- package/dist/detection/detector.interface.d.ts +1 -1
- package/dist/detection/detectors/cdk.d.ts +6 -1
- package/dist/detection/detectors/cdk.d.ts.map +1 -1
- package/dist/detection/detectors/cdk.js +16 -8
- package/dist/detection/detectors/cdk.js.map +1 -1
- package/dist/detection/detectors/expo.d.ts +6 -1
- package/dist/detection/detectors/expo.d.ts.map +1 -1
- package/dist/detection/detectors/expo.js +13 -8
- package/dist/detection/detectors/expo.js.map +1 -1
- package/dist/detection/detectors/nestjs.d.ts +7 -2
- package/dist/detection/detectors/nestjs.d.ts.map +1 -1
- package/dist/detection/detectors/nestjs.js +17 -9
- package/dist/detection/detectors/nestjs.js.map +1 -1
- package/dist/detection/detectors/npm-package.d.ts +6 -1
- package/dist/detection/detectors/npm-package.d.ts.map +1 -1
- package/dist/detection/detectors/npm-package.js +9 -4
- package/dist/detection/detectors/npm-package.js.map +1 -1
- package/dist/detection/detectors/typescript.d.ts +6 -1
- package/dist/detection/detectors/typescript.d.ts.map +1 -1
- package/dist/detection/detectors/typescript.js +12 -7
- package/dist/detection/detectors/typescript.js.map +1 -1
- package/dist/detection/index.d.ts +13 -3
- package/dist/detection/index.d.ts.map +1 -1
- package/dist/detection/index.js +17 -7
- package/dist/detection/index.js.map +1 -1
- package/dist/errors/index.d.ts +66 -2
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +89 -17
- package/dist/errors/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/logging/console-logger.d.ts +21 -1
- package/dist/logging/console-logger.d.ts.map +1 -1
- package/dist/logging/console-logger.js +26 -6
- package/dist/logging/console-logger.js.map +1 -1
- package/dist/logging/index.d.ts +3 -3
- package/dist/logging/index.js +2 -2
- package/dist/logging/logger.interface.d.ts +1 -1
- package/dist/logging/silent-logger.d.ts +21 -1
- package/dist/logging/silent-logger.d.ts.map +1 -1
- package/dist/logging/silent-logger.js +20 -0
- package/dist/logging/silent-logger.js.map +1 -1
- package/dist/strategies/copy-contents.d.ts +47 -6
- package/dist/strategies/copy-contents.d.ts.map +1 -1
- package/dist/strategies/copy-contents.js +99 -49
- package/dist/strategies/copy-contents.js.map +1 -1
- package/dist/strategies/copy-overwrite.d.ts +10 -2
- package/dist/strategies/copy-overwrite.d.ts.map +1 -1
- package/dist/strategies/copy-overwrite.js +17 -9
- package/dist/strategies/copy-overwrite.js.map +1 -1
- package/dist/strategies/create-only.d.ts +10 -2
- package/dist/strategies/create-only.d.ts.map +1 -1
- package/dist/strategies/create-only.js +14 -6
- package/dist/strategies/create-only.js.map +1 -1
- package/dist/strategies/index.d.ts +17 -7
- package/dist/strategies/index.d.ts.map +1 -1
- package/dist/strategies/index.js +19 -9
- package/dist/strategies/index.js.map +1 -1
- package/dist/strategies/merge.d.ts +10 -2
- package/dist/strategies/merge.d.ts.map +1 -1
- package/dist/strategies/merge.js +21 -21
- package/dist/strategies/merge.js.map +1 -1
- package/dist/strategies/strategy.interface.d.ts +1 -1
- package/dist/strategies/strategy.interface.d.ts.map +1 -1
- package/dist/transaction/backup.d.ts +15 -1
- package/dist/transaction/backup.d.ts.map +1 -1
- package/dist/transaction/backup.js +47 -12
- package/dist/transaction/backup.js.map +1 -1
- package/dist/transaction/index.d.ts +3 -3
- package/dist/transaction/index.js +2 -2
- package/dist/transaction/transaction.d.ts +25 -2
- package/dist/transaction/transaction.d.ts.map +1 -1
- package/dist/transaction/transaction.js +25 -2
- package/dist/transaction/transaction.js.map +1 -1
- package/dist/utils/file-operations.d.ts +21 -0
- package/dist/utils/file-operations.d.ts.map +1 -1
- package/dist/utils/file-operations.js +48 -12
- package/dist/utils/file-operations.js.map +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +3 -3
- package/dist/utils/json-utils.d.ts +12 -0
- package/dist/utils/json-utils.d.ts.map +1 -1
- package/dist/utils/json-utils.js +17 -5
- package/dist/utils/json-utils.js.map +1 -1
- package/dist/utils/path-utils.d.ts +11 -0
- package/dist/utils/path-utils.d.ts.map +1 -1
- package/dist/utils/path-utils.js +12 -1
- package/dist/utils/path-utils.js.map +1 -1
- package/eslint-plugin-code-organization/__tests__/enforce-statement-order.test.js +5 -0
- package/eslint-plugin-code-organization/index.js +5 -0
- package/eslint-plugin-code-organization/rules/enforce-statement-order.js +5 -0
- package/expo/copy-overwrite/.claude/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +2 -0
- package/expo/copy-overwrite/.claude/skills/container-view-pattern/scripts/create_component.py +2 -0
- package/expo/copy-overwrite/.claude/skills/container-view-pattern/scripts/validate_component.py +2 -0
- package/expo/copy-overwrite/.claude/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +2 -0
- package/expo/copy-overwrite/.claude/skills/directory-structure/scripts/validate_structure.py +2 -0
- package/expo/copy-overwrite/.claude/skills/expo-router-best-practices/scripts/generate-route.py +2 -0
- package/expo/copy-overwrite/.claude/skills/gluestack-nativewind/scripts/validate_styling.py +2 -41
- package/{typescript → expo}/copy-overwrite/.github/workflows/build.yml +3 -0
- package/expo/copy-overwrite/.github/workflows/ci.yml +36 -0
- package/{typescript → expo}/copy-overwrite/.github/workflows/deploy.yml +22 -26
- package/{typescript → expo}/copy-overwrite/.github/workflows/lighthouse.yml +4 -1
- package/expo/copy-overwrite/eslint-plugin-component-structure/__tests__/plugin-index.test.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/__tests__/require-memo-in-view.test.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/__tests__/single-component-per-file.test.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/index.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/rules/enforce-component-structure.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/rules/no-return-in-view.js +6 -1
- package/expo/copy-overwrite/eslint-plugin-component-structure/rules/require-memo-in-view.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-component-structure/rules/single-component-per-file.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-ui-standards/README.md +0 -68
- package/expo/copy-overwrite/eslint-plugin-ui-standards/index.js +5 -3
- package/expo/copy-overwrite/eslint-plugin-ui-standards/rules/no-classname-outside-ui.js +5 -0
- package/expo/copy-overwrite/eslint-plugin-ui-standards/rules/no-direct-rn-imports.js +5 -0
- package/expo/copy-overwrite/eslint.config.ts +53 -0
- package/expo/copy-overwrite/eslint.expo.ts +330 -0
- package/expo/copy-overwrite/eslint.slow.config.ts +86 -0
- package/expo/copy-overwrite/knip.json +132 -0
- package/expo/copy-overwrite/lighthouserc.js +27 -0
- package/expo/copy-overwrite/tsconfig.eslint.json +25 -0
- package/expo/create-only/lighthouserc-config.json +6 -1
- package/expo/merge/package.json +16 -3
- package/nestjs/copy-overwrite/.claude/skills/nestjs-rules/SKILL.md +1 -1
- package/{typescript → nestjs}/copy-overwrite/.github/k6/README.md +2 -2
- package/{typescript → nestjs}/copy-overwrite/.github/k6/examples/customer-deploy-integration.yml +3 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/examples/data-driven-test.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/load.js +6 -2
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/smoke.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/soak.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/spike.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/stress.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scripts/api-test.js +5 -0
- package/{typescript → nestjs}/copy-overwrite/.github/k6/scripts/default-test.js +5 -0
- package/nestjs/copy-overwrite/.github/workflows/ci.yml +29 -0
- package/nestjs/copy-overwrite/.github/workflows/deploy.yml +291 -0
- package/{typescript → nestjs}/copy-overwrite/.github/workflows/load-test.yml +3 -0
- package/nestjs/copy-overwrite/eslint.config.ts +53 -0
- package/nestjs/copy-overwrite/eslint.nestjs.ts +178 -0
- package/nestjs/merge/package.json +11 -3
- package/package.json +34 -40
- package/typescript/copy-contents/.husky/pre-commit +1 -1
- package/typescript/copy-contents/.husky/pre-push +99 -118
- package/typescript/copy-overwrite/.claude/hooks/format-on-edit.sh +2 -0
- package/typescript/copy-overwrite/.claude/hooks/install_pkgs.sh +3 -11
- package/typescript/copy-overwrite/.claude/hooks/lint-on-edit.sh +2 -0
- package/typescript/copy-overwrite/.claude/hooks/sg-scan-on-edit.sh +68 -0
- package/typescript/copy-overwrite/.claude/settings.json +79 -0
- package/typescript/copy-overwrite/.claude/skills/jsdoc-best-practices/SKILL.md +44 -0
- package/typescript/copy-overwrite/.github/README.md +49 -1
- package/typescript/copy-overwrite/.github/dependabot.yml +3 -0
- package/typescript/copy-overwrite/.github/workflows/ci.yml +7 -29
- package/typescript/copy-overwrite/.github/workflows/claude.yml +3 -0
- package/typescript/copy-overwrite/.github/workflows/create-github-issue-on-failure.yml +6 -4
- package/typescript/copy-overwrite/.github/workflows/create-issue-on-failure.yml +176 -0
- package/typescript/copy-overwrite/.github/workflows/create-jira-issue-on-failure.yml +3 -1
- package/typescript/copy-overwrite/.github/workflows/create-sentry-issue-on-failure.yml +3 -1
- package/typescript/copy-overwrite/.github/workflows/lint-slow.yml +40 -0
- package/typescript/copy-overwrite/.github/workflows/quality.yml +151 -38
- package/typescript/copy-overwrite/.github/workflows/release.yml +3 -0
- package/typescript/copy-overwrite/.gitleaksignore +3 -0
- package/typescript/copy-overwrite/.lintstagedrc.json +6 -0
- package/typescript/copy-overwrite/.prettierignore +2 -1
- package/typescript/copy-overwrite/.yamllint +2 -0
- package/typescript/copy-overwrite/ast-grep/rule-tests/.gitkeep +3 -0
- package/typescript/copy-overwrite/ast-grep/rules/.gitkeep +3 -0
- package/typescript/copy-overwrite/ast-grep/utils/.gitkeep +3 -0
- package/typescript/copy-overwrite/{commitlint.config.js → commitlint.config.cjs} +5 -0
- package/typescript/copy-overwrite/eslint-plugin-code-organization/__tests__/enforce-statement-order.test.js +5 -0
- package/typescript/copy-overwrite/eslint-plugin-code-organization/index.js +5 -0
- package/typescript/copy-overwrite/eslint-plugin-code-organization/rules/enforce-statement-order.js +5 -0
- package/typescript/copy-overwrite/eslint.base.ts +430 -0
- package/typescript/copy-overwrite/eslint.config.ts +52 -0
- package/typescript/copy-overwrite/eslint.ignore.config.json +19 -2
- package/typescript/copy-overwrite/eslint.slow.config.ts +69 -0
- package/typescript/copy-overwrite/eslint.typescript.ts +142 -0
- package/typescript/copy-overwrite/knip.json +64 -0
- package/typescript/copy-overwrite/sgconfig.yml +11 -0
- package/typescript/copy-overwrite/tsconfig.eslint.json +9 -0
- package/typescript/create-only/eslint.config.local.ts +24 -0
- package/typescript/{copy-overwrite/eslint.thresholds.config.json → create-only/eslint.thresholds.json} +1 -1
- package/typescript/github-rulesets/base.json +2 -75
- package/typescript/merge/.claude/settings.json +160 -0
- package/typescript/merge/package.json +35 -34
- package/all/copy-overwrite/.claude/commands/rules/format-md.md +0 -72
- package/all/copy-overwrite/.claude/skills/coding-philosophy/references/function-structure.md +0 -416
- package/all/copy-overwrite/.claude/skills/coding-philosophy/references/immutable-patterns.md +0 -316
- package/expo/copy-overwrite/eslint-plugin-ui-standards/rules/no-inline-styles.js +0 -73
- package/expo/copy-overwrite/eslint.config.mjs +0 -560
- package/lisa.sh +0 -35
- package/typescript/copy-overwrite/eslint.config.mjs +0 -390
- /package/{all/create-only/PROJECT_RULES.md → cdk/copy-overwrite/.github/workflows/.keep} +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/BROWSER_TESTING_NOTE.md +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/INTEGRATION_GUIDE.md +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/SCENARIO_SELECTION_GUIDE.md +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/load.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/smoke.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/soak.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/spike.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/scenarios/stress.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/thresholds/normal.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/thresholds/relaxed.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/k6/thresholds/strict.json +0 -0
- /package/{typescript → nestjs}/copy-overwrite/.github/workflows/k6-load-test-README.md +0 -0
|
@@ -1,24 +1,34 @@
|
|
|
1
|
-
import type { ProjectType } from
|
|
2
|
-
import type { IProjectTypeDetector } from
|
|
3
|
-
export type { IProjectTypeDetector } from
|
|
1
|
+
import type { ProjectType } from "../core/config.js";
|
|
2
|
+
import type { IProjectTypeDetector } from "./detector.interface.js";
|
|
3
|
+
export type { IProjectTypeDetector } from "./detector.interface.js";
|
|
4
4
|
/**
|
|
5
5
|
* Registry for project type detectors
|
|
6
6
|
*/
|
|
7
7
|
export declare class DetectorRegistry {
|
|
8
8
|
private readonly detectors;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize detector registry with provided or default detectors
|
|
11
|
+
* @param detectors - Optional array of detectors (uses defaults if omitted)
|
|
12
|
+
*/
|
|
9
13
|
constructor(detectors?: readonly IProjectTypeDetector[]);
|
|
10
14
|
/**
|
|
11
15
|
* Detect all project types in the given directory
|
|
16
|
+
* @param destDir - Project directory to scan
|
|
17
|
+
* @returns Array of detected project types
|
|
12
18
|
*/
|
|
13
19
|
detectAll(destDir: string): Promise<ProjectType[]>;
|
|
14
20
|
/**
|
|
15
21
|
* Expand detected types to include parent types and order correctly
|
|
22
|
+
*
|
|
16
23
|
* Child types (expo, nestjs, cdk) automatically include their parent (typescript)
|
|
24
|
+
* @param detectedTypes - Project types to expand
|
|
25
|
+
* @returns Ordered array with parent types included
|
|
17
26
|
*/
|
|
18
27
|
expandAndOrderTypes(detectedTypes: readonly ProjectType[]): ProjectType[];
|
|
19
28
|
}
|
|
20
29
|
/**
|
|
21
30
|
* Create default detector registry
|
|
31
|
+
* @returns New DetectorRegistry instance with all default detectors
|
|
22
32
|
*/
|
|
23
33
|
export declare function createDetectorRegistry(): DetectorRegistry;
|
|
24
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/detection/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAOpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/detection/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAOpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkC;IAE5D;;;OAGG;gBACS,SAAS,CAAC,EAAE,SAAS,oBAAoB,EAAE;IAUvD;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAYxD;;;;;;OAMG;IACH,mBAAmB,CAAC,aAAa,EAAE,SAAS,WAAW,EAAE,GAAG,WAAW,EAAE;CAgB1E;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,gBAAgB,CAEzD"}
|
package/dist/detection/index.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { PROJECT_TYPE_HIERARCHY, PROJECT_TYPE_ORDER } from
|
|
2
|
-
import { TypeScriptDetector } from
|
|
3
|
-
import { ExpoDetector } from
|
|
4
|
-
import { NestJSDetector } from
|
|
5
|
-
import { CDKDetector } from
|
|
6
|
-
import { NpmPackageDetector } from
|
|
1
|
+
import { PROJECT_TYPE_HIERARCHY, PROJECT_TYPE_ORDER } from "../core/config.js";
|
|
2
|
+
import { TypeScriptDetector } from "./detectors/typescript.js";
|
|
3
|
+
import { ExpoDetector } from "./detectors/expo.js";
|
|
4
|
+
import { NestJSDetector } from "./detectors/nestjs.js";
|
|
5
|
+
import { CDKDetector } from "./detectors/cdk.js";
|
|
6
|
+
import { NpmPackageDetector } from "./detectors/npm-package.js";
|
|
7
7
|
/**
|
|
8
8
|
* Registry for project type detectors
|
|
9
9
|
*/
|
|
10
10
|
export class DetectorRegistry {
|
|
11
11
|
detectors;
|
|
12
|
+
/**
|
|
13
|
+
* Initialize detector registry with provided or default detectors
|
|
14
|
+
* @param detectors - Optional array of detectors (uses defaults if omitted)
|
|
15
|
+
*/
|
|
12
16
|
constructor(detectors) {
|
|
13
17
|
this.detectors = detectors ?? [
|
|
14
18
|
new TypeScriptDetector(),
|
|
@@ -20,6 +24,8 @@ export class DetectorRegistry {
|
|
|
20
24
|
}
|
|
21
25
|
/**
|
|
22
26
|
* Detect all project types in the given directory
|
|
27
|
+
* @param destDir - Project directory to scan
|
|
28
|
+
* @returns Array of detected project types
|
|
23
29
|
*/
|
|
24
30
|
async detectAll(destDir) {
|
|
25
31
|
const detectedTypes = [];
|
|
@@ -32,7 +38,10 @@ export class DetectorRegistry {
|
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* Expand detected types to include parent types and order correctly
|
|
41
|
+
*
|
|
35
42
|
* Child types (expo, nestjs, cdk) automatically include their parent (typescript)
|
|
43
|
+
* @param detectedTypes - Project types to expand
|
|
44
|
+
* @returns Ordered array with parent types included
|
|
36
45
|
*/
|
|
37
46
|
expandAndOrderTypes(detectedTypes) {
|
|
38
47
|
const allTypes = new Set();
|
|
@@ -45,11 +54,12 @@ export class DetectorRegistry {
|
|
|
45
54
|
}
|
|
46
55
|
}
|
|
47
56
|
// Return in canonical order (typescript first, then others)
|
|
48
|
-
return PROJECT_TYPE_ORDER.filter(
|
|
57
|
+
return PROJECT_TYPE_ORDER.filter(type => allTypes.has(type));
|
|
49
58
|
}
|
|
50
59
|
}
|
|
51
60
|
/**
|
|
52
61
|
* Create default detector registry
|
|
62
|
+
* @returns New DetectorRegistry instance with all default detectors
|
|
53
63
|
*/
|
|
54
64
|
export function createDetectorRegistry() {
|
|
55
65
|
return new DetectorRegistry();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/detection/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;GAEG;AACH,MAAM,OAAO,gBAAgB;IACV,SAAS,CAAkC;IAE5D,YAAY,SAA2C;QACrD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI;YAC5B,IAAI,kBAAkB,EAAE;YACxB,IAAI,kBAAkB,EAAE;YACxB,IAAI,YAAY,EAAE;YAClB,IAAI,cAAc,EAAE;YACpB,IAAI,WAAW,EAAE;SAClB,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/detection/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;GAEG;AACH,MAAM,OAAO,gBAAgB;IACV,SAAS,CAAkC;IAE5D;;;OAGG;IACH,YAAY,SAA2C;QACrD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI;YAC5B,IAAI,kBAAkB,EAAE;YACxB,IAAI,kBAAkB,EAAE;YACxB,IAAI,YAAY,EAAE;YAClB,IAAI,cAAc,EAAE;YACpB,IAAI,WAAW,EAAE;SAClB,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,SAAS,CAAC,OAAe;QAC7B,MAAM,aAAa,GAAkB,EAAE,CAAC;QAExC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACtC,IAAI,MAAM,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;gBACnC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,mBAAmB,CAAC,aAAqC;QACvD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAe,CAAC;QAExC,2CAA2C;QAC3C,KAAK,MAAM,IAAI,IAAI,aAAa,EAAE,CAAC;YACjC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEnB,MAAM,MAAM,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;YAC5C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACvB,CAAC;QACH,CAAC;QAED,4DAA4D;QAC5D,OAAO,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO,IAAI,gBAAgB,EAAE,CAAC;AAChC,CAAC"}
|
package/dist/errors/index.d.ts
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare class LisaError extends Error {
|
|
5
5
|
readonly code: string;
|
|
6
|
+
/**
|
|
7
|
+
* Base Lisa error with error code
|
|
8
|
+
* @param message - Error message description
|
|
9
|
+
* @param code - Machine-readable error code
|
|
10
|
+
*/
|
|
6
11
|
constructor(message: string, code: string);
|
|
7
12
|
}
|
|
8
13
|
/**
|
|
@@ -10,6 +15,10 @@ export declare class LisaError extends Error {
|
|
|
10
15
|
*/
|
|
11
16
|
export declare class DestinationNotFoundError extends LisaError {
|
|
12
17
|
readonly path: string;
|
|
18
|
+
/**
|
|
19
|
+
* Thrown when destination directory path does not exist
|
|
20
|
+
* @param path - Path that was not found
|
|
21
|
+
*/
|
|
13
22
|
constructor(path: string);
|
|
14
23
|
}
|
|
15
24
|
/**
|
|
@@ -17,6 +26,10 @@ export declare class DestinationNotFoundError extends LisaError {
|
|
|
17
26
|
*/
|
|
18
27
|
export declare class DestinationNotDirectoryError extends LisaError {
|
|
19
28
|
readonly path: string;
|
|
29
|
+
/**
|
|
30
|
+
* Thrown when destination path exists but is not a directory
|
|
31
|
+
* @param path - Path that is not a directory
|
|
32
|
+
*/
|
|
20
33
|
constructor(path: string);
|
|
21
34
|
}
|
|
22
35
|
/**
|
|
@@ -25,6 +38,11 @@ export declare class DestinationNotDirectoryError extends LisaError {
|
|
|
25
38
|
export declare class JsonParseError extends LisaError {
|
|
26
39
|
readonly filePath: string;
|
|
27
40
|
readonly originalError: Error;
|
|
41
|
+
/**
|
|
42
|
+
* Thrown when JSON file parsing fails
|
|
43
|
+
* @param filePath - Path to the JSON file that failed to parse
|
|
44
|
+
* @param originalError - Underlying parsing error
|
|
45
|
+
*/
|
|
28
46
|
constructor(filePath: string, originalError: Error);
|
|
29
47
|
}
|
|
30
48
|
/**
|
|
@@ -33,6 +51,11 @@ export declare class JsonParseError extends LisaError {
|
|
|
33
51
|
export declare class JsonMergeError extends LisaError {
|
|
34
52
|
readonly filePath: string;
|
|
35
53
|
readonly reason: string;
|
|
54
|
+
/**
|
|
55
|
+
* Thrown when JSON merge operation fails
|
|
56
|
+
* @param filePath - Path to the JSON file that failed to merge
|
|
57
|
+
* @param reason - Description of why the merge failed
|
|
58
|
+
*/
|
|
36
59
|
constructor(filePath: string, reason: string);
|
|
37
60
|
}
|
|
38
61
|
/**
|
|
@@ -42,21 +65,36 @@ export declare class FileOperationError extends LisaError {
|
|
|
42
65
|
readonly operation: string;
|
|
43
66
|
readonly filePath: string;
|
|
44
67
|
readonly originalError: Error;
|
|
68
|
+
/**
|
|
69
|
+
* Thrown when a file operation (read/write/copy) fails
|
|
70
|
+
* @param operation - Name of the operation that failed
|
|
71
|
+
* @param filePath - Path to the file involved in the operation
|
|
72
|
+
* @param originalError - Underlying file system error
|
|
73
|
+
*/
|
|
45
74
|
constructor(operation: string, filePath: string, originalError: Error);
|
|
46
75
|
}
|
|
47
76
|
/**
|
|
48
77
|
* Error thrown when backup/restore fails
|
|
49
78
|
*/
|
|
50
79
|
export declare class BackupError extends LisaError {
|
|
51
|
-
readonly operation:
|
|
80
|
+
readonly operation: "backup" | "restore" | "cleanup";
|
|
52
81
|
readonly reason: string;
|
|
53
|
-
|
|
82
|
+
/**
|
|
83
|
+
* Thrown when backup, restore, or cleanup operation fails
|
|
84
|
+
* @param operation - Type of backup operation that failed
|
|
85
|
+
* @param reason - Description of why the operation failed
|
|
86
|
+
*/
|
|
87
|
+
constructor(operation: "backup" | "restore" | "cleanup", reason: string);
|
|
54
88
|
}
|
|
55
89
|
/**
|
|
56
90
|
* Error thrown when rollback fails
|
|
57
91
|
*/
|
|
58
92
|
export declare class RollbackError extends LisaError {
|
|
59
93
|
readonly reason: string;
|
|
94
|
+
/**
|
|
95
|
+
* Thrown when transaction rollback fails
|
|
96
|
+
* @param reason - Description of why rollback failed
|
|
97
|
+
*/
|
|
60
98
|
constructor(reason: string);
|
|
61
99
|
}
|
|
62
100
|
/**
|
|
@@ -64,6 +102,32 @@ export declare class RollbackError extends LisaError {
|
|
|
64
102
|
*/
|
|
65
103
|
export declare class DependencyMissingError extends LisaError {
|
|
66
104
|
readonly dependencies: readonly string[];
|
|
105
|
+
/**
|
|
106
|
+
* Thrown when required dependencies are not available
|
|
107
|
+
* @param dependencies - List of missing dependency names
|
|
108
|
+
*/
|
|
67
109
|
constructor(dependencies: readonly string[]);
|
|
68
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Error thrown when user aborts the operation
|
|
113
|
+
*/
|
|
114
|
+
export declare class UserAbortedError extends LisaError {
|
|
115
|
+
readonly reason: string;
|
|
116
|
+
/**
|
|
117
|
+
* Thrown when user cancels or aborts the operation
|
|
118
|
+
* @param reason - Description of why the operation was aborted
|
|
119
|
+
*/
|
|
120
|
+
constructor(reason?: string);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Error thrown when git working directory has uncommitted changes
|
|
124
|
+
*/
|
|
125
|
+
export declare class DirtyGitError extends LisaError {
|
|
126
|
+
readonly status: string;
|
|
127
|
+
/**
|
|
128
|
+
* Thrown when git status shows uncommitted changes
|
|
129
|
+
* @param status - Git status output showing the changes
|
|
130
|
+
*/
|
|
131
|
+
constructor(status: string);
|
|
132
|
+
}
|
|
69
133
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;aAQhB,IAAI,EAAE,MAAM;IAP9B;;;;OAIG;gBAED,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,MAAM;CAK/B;AAED;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,SAAS;aAKzB,IAAI,EAAE,MAAM;IAJxC;;;OAGG;gBACyB,IAAI,EAAE,MAAM;CAIzC;AAED;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,SAAS;aAK7B,IAAI,EAAE,MAAM;IAJxC;;;OAGG;gBACyB,IAAI,EAAE,MAAM;CAIzC;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,SAAS;aAOzB,QAAQ,EAAE,MAAM;aAChB,aAAa,EAAE,KAAK;IAPtC;;;;OAIG;gBAEe,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,KAAK;CAKvC;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,SAAS;aAOzB,QAAQ,EAAE,MAAM;aAChB,MAAM,EAAE,MAAM;IAPhC;;;;OAIG;gBAEe,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM;CAKjC;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;aAQ7B,SAAS,EAAE,MAAM;aACjB,QAAQ,EAAE,MAAM;aAChB,aAAa,EAAE,KAAK;IATtC;;;;;OAKG;gBAEe,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,KAAK;CAQvC;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,SAAS;aAOtB,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS;aAC3C,MAAM,EAAE,MAAM;IAPhC;;;;OAIG;gBAEe,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC3C,MAAM,EAAE,MAAM;CAKjC;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS;aAKd,MAAM,EAAE,MAAM;IAJ1C;;;OAGG;gBACyB,MAAM,EAAE,MAAM;CAI3C;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,SAAS;aAKvB,YAAY,EAAE,SAAS,MAAM,EAAE;IAJ3D;;;OAGG;gBACyB,YAAY,EAAE,SAAS,MAAM,EAAE;CAO5D;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;aAKjB,MAAM,EAAE,MAAM;IAJ1C;;;OAGG;gBACyB,MAAM,GAAE,MAAqC;CAI1E;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS;aAKd,MAAM,EAAE,MAAM;IAJ1C;;;OAGG;gBACyB,MAAM,EAAE,MAAM;CAI3C"}
|
package/dist/errors/index.js
CHANGED
|
@@ -3,10 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export class LisaError extends Error {
|
|
5
5
|
code;
|
|
6
|
+
/**
|
|
7
|
+
* Base Lisa error with error code
|
|
8
|
+
* @param message - Error message description
|
|
9
|
+
* @param code - Machine-readable error code
|
|
10
|
+
*/
|
|
6
11
|
constructor(message, code) {
|
|
7
12
|
super(message);
|
|
8
13
|
this.code = code;
|
|
9
|
-
this.name =
|
|
14
|
+
this.name = "LisaError";
|
|
10
15
|
}
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
@@ -14,10 +19,14 @@ export class LisaError extends Error {
|
|
|
14
19
|
*/
|
|
15
20
|
export class DestinationNotFoundError extends LisaError {
|
|
16
21
|
path;
|
|
22
|
+
/**
|
|
23
|
+
* Thrown when destination directory path does not exist
|
|
24
|
+
* @param path - Path that was not found
|
|
25
|
+
*/
|
|
17
26
|
constructor(path) {
|
|
18
|
-
super(`Destination path does not exist: ${path}`,
|
|
27
|
+
super(`Destination path does not exist: ${path}`, "DEST_NOT_FOUND");
|
|
19
28
|
this.path = path;
|
|
20
|
-
this.name =
|
|
29
|
+
this.name = "DestinationNotFoundError";
|
|
21
30
|
}
|
|
22
31
|
}
|
|
23
32
|
/**
|
|
@@ -25,10 +34,14 @@ export class DestinationNotFoundError extends LisaError {
|
|
|
25
34
|
*/
|
|
26
35
|
export class DestinationNotDirectoryError extends LisaError {
|
|
27
36
|
path;
|
|
37
|
+
/**
|
|
38
|
+
* Thrown when destination path exists but is not a directory
|
|
39
|
+
* @param path - Path that is not a directory
|
|
40
|
+
*/
|
|
28
41
|
constructor(path) {
|
|
29
|
-
super(`Destination is not a directory: ${path}`,
|
|
42
|
+
super(`Destination is not a directory: ${path}`, "DEST_NOT_DIR");
|
|
30
43
|
this.path = path;
|
|
31
|
-
this.name =
|
|
44
|
+
this.name = "DestinationNotDirectoryError";
|
|
32
45
|
}
|
|
33
46
|
}
|
|
34
47
|
/**
|
|
@@ -37,11 +50,16 @@ export class DestinationNotDirectoryError extends LisaError {
|
|
|
37
50
|
export class JsonParseError extends LisaError {
|
|
38
51
|
filePath;
|
|
39
52
|
originalError;
|
|
53
|
+
/**
|
|
54
|
+
* Thrown when JSON file parsing fails
|
|
55
|
+
* @param filePath - Path to the JSON file that failed to parse
|
|
56
|
+
* @param originalError - Underlying parsing error
|
|
57
|
+
*/
|
|
40
58
|
constructor(filePath, originalError) {
|
|
41
|
-
super(`Failed to parse JSON file: ${filePath}`,
|
|
59
|
+
super(`Failed to parse JSON file: ${filePath}`, "JSON_PARSE_ERROR");
|
|
42
60
|
this.filePath = filePath;
|
|
43
61
|
this.originalError = originalError;
|
|
44
|
-
this.name =
|
|
62
|
+
this.name = "JsonParseError";
|
|
45
63
|
}
|
|
46
64
|
}
|
|
47
65
|
/**
|
|
@@ -50,11 +68,16 @@ export class JsonParseError extends LisaError {
|
|
|
50
68
|
export class JsonMergeError extends LisaError {
|
|
51
69
|
filePath;
|
|
52
70
|
reason;
|
|
71
|
+
/**
|
|
72
|
+
* Thrown when JSON merge operation fails
|
|
73
|
+
* @param filePath - Path to the JSON file that failed to merge
|
|
74
|
+
* @param reason - Description of why the merge failed
|
|
75
|
+
*/
|
|
53
76
|
constructor(filePath, reason) {
|
|
54
|
-
super(`Failed to merge JSON: ${filePath} - ${reason}`,
|
|
77
|
+
super(`Failed to merge JSON: ${filePath} - ${reason}`, "JSON_MERGE_ERROR");
|
|
55
78
|
this.filePath = filePath;
|
|
56
79
|
this.reason = reason;
|
|
57
|
-
this.name =
|
|
80
|
+
this.name = "JsonMergeError";
|
|
58
81
|
}
|
|
59
82
|
}
|
|
60
83
|
/**
|
|
@@ -64,12 +87,18 @@ export class FileOperationError extends LisaError {
|
|
|
64
87
|
operation;
|
|
65
88
|
filePath;
|
|
66
89
|
originalError;
|
|
90
|
+
/**
|
|
91
|
+
* Thrown when a file operation (read/write/copy) fails
|
|
92
|
+
* @param operation - Name of the operation that failed
|
|
93
|
+
* @param filePath - Path to the file involved in the operation
|
|
94
|
+
* @param originalError - Underlying file system error
|
|
95
|
+
*/
|
|
67
96
|
constructor(operation, filePath, originalError) {
|
|
68
|
-
super(`File operation '${operation}' failed for: ${filePath}`,
|
|
97
|
+
super(`File operation '${operation}' failed for: ${filePath}`, "FILE_OP_ERROR");
|
|
69
98
|
this.operation = operation;
|
|
70
99
|
this.filePath = filePath;
|
|
71
100
|
this.originalError = originalError;
|
|
72
|
-
this.name =
|
|
101
|
+
this.name = "FileOperationError";
|
|
73
102
|
}
|
|
74
103
|
}
|
|
75
104
|
/**
|
|
@@ -78,11 +107,16 @@ export class FileOperationError extends LisaError {
|
|
|
78
107
|
export class BackupError extends LisaError {
|
|
79
108
|
operation;
|
|
80
109
|
reason;
|
|
110
|
+
/**
|
|
111
|
+
* Thrown when backup, restore, or cleanup operation fails
|
|
112
|
+
* @param operation - Type of backup operation that failed
|
|
113
|
+
* @param reason - Description of why the operation failed
|
|
114
|
+
*/
|
|
81
115
|
constructor(operation, reason) {
|
|
82
|
-
super(`Backup ${operation} failed: ${reason}`,
|
|
116
|
+
super(`Backup ${operation} failed: ${reason}`, "BACKUP_ERROR");
|
|
83
117
|
this.operation = operation;
|
|
84
118
|
this.reason = reason;
|
|
85
|
-
this.name =
|
|
119
|
+
this.name = "BackupError";
|
|
86
120
|
}
|
|
87
121
|
}
|
|
88
122
|
/**
|
|
@@ -90,10 +124,14 @@ export class BackupError extends LisaError {
|
|
|
90
124
|
*/
|
|
91
125
|
export class RollbackError extends LisaError {
|
|
92
126
|
reason;
|
|
127
|
+
/**
|
|
128
|
+
* Thrown when transaction rollback fails
|
|
129
|
+
* @param reason - Description of why rollback failed
|
|
130
|
+
*/
|
|
93
131
|
constructor(reason) {
|
|
94
|
-
super(`Rollback failed: ${reason}`,
|
|
132
|
+
super(`Rollback failed: ${reason}`, "ROLLBACK_ERROR");
|
|
95
133
|
this.reason = reason;
|
|
96
|
-
this.name =
|
|
134
|
+
this.name = "RollbackError";
|
|
97
135
|
}
|
|
98
136
|
}
|
|
99
137
|
/**
|
|
@@ -101,10 +139,44 @@ export class RollbackError extends LisaError {
|
|
|
101
139
|
*/
|
|
102
140
|
export class DependencyMissingError extends LisaError {
|
|
103
141
|
dependencies;
|
|
142
|
+
/**
|
|
143
|
+
* Thrown when required dependencies are not available
|
|
144
|
+
* @param dependencies - List of missing dependency names
|
|
145
|
+
*/
|
|
104
146
|
constructor(dependencies) {
|
|
105
|
-
super(`Missing required dependencies: ${dependencies.join(
|
|
147
|
+
super(`Missing required dependencies: ${dependencies.join(", ")}`, "DEP_MISSING");
|
|
106
148
|
this.dependencies = dependencies;
|
|
107
|
-
this.name =
|
|
149
|
+
this.name = "DependencyMissingError";
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Error thrown when user aborts the operation
|
|
154
|
+
*/
|
|
155
|
+
export class UserAbortedError extends LisaError {
|
|
156
|
+
reason;
|
|
157
|
+
/**
|
|
158
|
+
* Thrown when user cancels or aborts the operation
|
|
159
|
+
* @param reason - Description of why the operation was aborted
|
|
160
|
+
*/
|
|
161
|
+
constructor(reason = "User aborted the operation") {
|
|
162
|
+
super(reason, "USER_ABORTED");
|
|
163
|
+
this.reason = reason;
|
|
164
|
+
this.name = "UserAbortedError";
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Error thrown when git working directory has uncommitted changes
|
|
169
|
+
*/
|
|
170
|
+
export class DirtyGitError extends LisaError {
|
|
171
|
+
status;
|
|
172
|
+
/**
|
|
173
|
+
* Thrown when git status shows uncommitted changes
|
|
174
|
+
* @param status - Git status output showing the changes
|
|
175
|
+
*/
|
|
176
|
+
constructor(status) {
|
|
177
|
+
super("Working directory has uncommitted changes", "DIRTY_GIT");
|
|
178
|
+
this.status = status;
|
|
179
|
+
this.name = "DirtyGitError";
|
|
108
180
|
}
|
|
109
181
|
}
|
|
110
182
|
//# sourceMappingURL=index.js.map
|
package/dist/errors/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createProgram } from
|
|
2
|
+
import { createProgram } from "./cli/index.js";
|
|
3
3
|
const program = createProgram();
|
|
4
|
-
program.parseAsync().catch(
|
|
5
|
-
console.error(
|
|
4
|
+
program.parseAsync().catch(error => {
|
|
5
|
+
console.error("Error:", error instanceof Error ? error.message : String(error));
|
|
6
6
|
process.exit(1);
|
|
7
7
|
});
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;AAChC,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;AAChC,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;IACjC,OAAO,CAAC,KAAK,CACX,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACvD,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import type { ILogger } from
|
|
1
|
+
import type { ILogger } from "./logger.interface.js";
|
|
2
2
|
/**
|
|
3
3
|
* Console logger with colored output
|
|
4
4
|
*/
|
|
5
5
|
export declare class ConsoleLogger implements ILogger {
|
|
6
|
+
/**
|
|
7
|
+
* Log an info-level message with blue color
|
|
8
|
+
* @param message - Message to log
|
|
9
|
+
*/
|
|
6
10
|
info(message: string): void;
|
|
11
|
+
/**
|
|
12
|
+
* Log a success-level message with green color
|
|
13
|
+
* @param message - Message to log
|
|
14
|
+
*/
|
|
7
15
|
success(message: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Log a warning-level message with yellow color
|
|
18
|
+
* @param message - Message to log
|
|
19
|
+
*/
|
|
8
20
|
warn(message: string): void;
|
|
21
|
+
/**
|
|
22
|
+
* Log an error-level message with red color
|
|
23
|
+
* @param message - Message to log
|
|
24
|
+
*/
|
|
9
25
|
error(message: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Log a dry-run-level message with blue color
|
|
28
|
+
* @param message - Message to log
|
|
29
|
+
*/
|
|
10
30
|
dry(message: string): void;
|
|
11
31
|
}
|
|
12
32
|
//# sourceMappingURL=console-logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-logger.d.ts","sourceRoot":"","sources":["../../src/logging/console-logger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD;;GAEG;AACH,qBAAa,aAAc,YAAW,OAAO;IAC3C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI9B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI5B,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAG3B"}
|
|
1
|
+
{"version":3,"file":"console-logger.d.ts","sourceRoot":"","sources":["../../src/logging/console-logger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD;;GAEG;AACH,qBAAa,aAAc,YAAW,OAAO;IAC3C;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B;;;OAGG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI9B;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B;;;OAGG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI5B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAG3B"}
|
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
import pc from
|
|
1
|
+
import pc from "picocolors";
|
|
2
2
|
/**
|
|
3
3
|
* Console logger with colored output
|
|
4
4
|
*/
|
|
5
5
|
export class ConsoleLogger {
|
|
6
|
+
/**
|
|
7
|
+
* Log an info-level message with blue color
|
|
8
|
+
* @param message - Message to log
|
|
9
|
+
*/
|
|
6
10
|
info(message) {
|
|
7
|
-
console.log(`${pc.blue(
|
|
11
|
+
console.log(`${pc.blue("[INFO]")} ${message}`);
|
|
8
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Log a success-level message with green color
|
|
15
|
+
* @param message - Message to log
|
|
16
|
+
*/
|
|
9
17
|
success(message) {
|
|
10
|
-
console.log(`${pc.green(
|
|
18
|
+
console.log(`${pc.green("[OK]")} ${message}`);
|
|
11
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Log a warning-level message with yellow color
|
|
22
|
+
* @param message - Message to log
|
|
23
|
+
*/
|
|
12
24
|
warn(message) {
|
|
13
|
-
console.log(`${pc.yellow(
|
|
25
|
+
console.log(`${pc.yellow("[WARN]")} ${message}`);
|
|
14
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Log an error-level message with red color
|
|
29
|
+
* @param message - Message to log
|
|
30
|
+
*/
|
|
15
31
|
error(message) {
|
|
16
|
-
console.log(`${pc.red(
|
|
32
|
+
console.log(`${pc.red("[ERROR]")} ${message}`);
|
|
17
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Log a dry-run-level message with blue color
|
|
36
|
+
* @param message - Message to log
|
|
37
|
+
*/
|
|
18
38
|
dry(message) {
|
|
19
|
-
console.log(`${pc.blue(
|
|
39
|
+
console.log(`${pc.blue("[DRY-RUN]")} ${message}`);
|
|
20
40
|
}
|
|
21
41
|
}
|
|
22
42
|
//# sourceMappingURL=console-logger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-logger.js","sourceRoot":"","sources":["../../src/logging/console-logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B;;GAEG;AACH,MAAM,OAAO,aAAa;IACxB,IAAI,CAAC,OAAe;QAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,CAAC,OAAe;QACrB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IAChD,CAAC;IAED,IAAI,CAAC,OAAe;QAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,OAAe;QACnB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,GAAG,CAAC,OAAe;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"console-logger.js","sourceRoot":"","sources":["../../src/logging/console-logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B;;GAEG;AACH,MAAM,OAAO,aAAa;IACxB;;;OAGG;IACH,IAAI,CAAC,OAAe;QAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,OAAe;QACrB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IAChD,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,OAAe;QAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,OAAe;QACnB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAe;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC;IACpD,CAAC;CACF"}
|
package/dist/logging/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ILogger, LogLevel } from
|
|
2
|
-
export { ConsoleLogger } from
|
|
3
|
-
export { SilentLogger } from
|
|
1
|
+
export type { ILogger, LogLevel } from "./logger.interface.js";
|
|
2
|
+
export { ConsoleLogger } from "./console-logger.js";
|
|
3
|
+
export { SilentLogger } from "./silent-logger.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/logging/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ConsoleLogger } from
|
|
2
|
-
export { SilentLogger } from
|
|
1
|
+
export { ConsoleLogger } from "./console-logger.js";
|
|
2
|
+
export { SilentLogger } from "./silent-logger.js";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import type { ILogger } from
|
|
1
|
+
import type { ILogger } from "./logger.interface.js";
|
|
2
2
|
/**
|
|
3
3
|
* Silent logger that produces no output (for testing)
|
|
4
4
|
*/
|
|
5
5
|
export declare class SilentLogger implements ILogger {
|
|
6
|
+
/**
|
|
7
|
+
* Silently ignore info-level messages
|
|
8
|
+
* @param _message - Message to ignore
|
|
9
|
+
*/
|
|
6
10
|
info(_message: string): void;
|
|
11
|
+
/**
|
|
12
|
+
* Silently ignore success-level messages
|
|
13
|
+
* @param _message - Message to ignore
|
|
14
|
+
*/
|
|
7
15
|
success(_message: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Silently ignore warning-level messages
|
|
18
|
+
* @param _message - Message to ignore
|
|
19
|
+
*/
|
|
8
20
|
warn(_message: string): void;
|
|
21
|
+
/**
|
|
22
|
+
* Silently ignore error-level messages
|
|
23
|
+
* @param _message - Message to ignore
|
|
24
|
+
*/
|
|
9
25
|
error(_message: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Silently ignore dry-run-level messages
|
|
28
|
+
* @param _message - Message to ignore
|
|
29
|
+
*/
|
|
10
30
|
dry(_message: string): void;
|
|
11
31
|
}
|
|
12
32
|
//# sourceMappingURL=silent-logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"silent-logger.d.ts","sourceRoot":"","sources":["../../src/logging/silent-logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD;;GAEG;AACH,qBAAa,YAAa,YAAW,OAAO;IAC1C,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI5B,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI/B,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI5B,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI7B,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAG5B"}
|
|
1
|
+
{"version":3,"file":"silent-logger.d.ts","sourceRoot":"","sources":["../../src/logging/silent-logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD;;GAEG;AACH,qBAAa,YAAa,YAAW,OAAO;IAC1C;;;OAGG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI5B;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI/B;;;OAGG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI5B;;;OAGG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI7B;;;OAGG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAG5B"}
|