@codyswann/lisa 6.3.5 → 7.0.0
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 +35 -0
- package/cdk/copy-overwrite/knip.json +7 -52
- package/cdk/package-lisa/package.lisa.json +4 -2
- package/dist/agy/mcp-installer.d.ts +0 -4
- package/dist/agy/mcp-installer.d.ts.map +1 -1
- package/dist/cli/admit-cmd.d.ts +0 -14
- package/dist/cli/admit-cmd.d.ts.map +1 -1
- package/dist/cli/admit-cmd.js +1 -1
- package/dist/cli/admit-cmd.js.map +1 -1
- package/dist/cli/check-cmd.d.ts +0 -2
- package/dist/cli/check-cmd.d.ts.map +1 -1
- package/dist/cli/check-cmd.js +1 -1
- package/dist/cli/check-cmd.js.map +1 -1
- package/dist/cli/ci-workflow-inputs.d.ts +0 -6
- package/dist/cli/ci-workflow-inputs.d.ts.map +1 -1
- package/dist/cli/ci-workflow-inputs.js +1 -1
- package/dist/cli/ci-workflow-inputs.js.map +1 -1
- package/dist/cli/confined-project-read.d.ts +0 -14
- package/dist/cli/confined-project-read.d.ts.map +1 -1
- package/dist/cli/confined-project-read.js +2 -2
- package/dist/cli/confined-project-read.js.map +1 -1
- package/dist/cli/doctor-apply-deletions.d.ts +0 -18
- package/dist/cli/doctor-apply-deletions.d.ts.map +1 -1
- package/dist/cli/doctor-apply-deletions.js +2 -2
- package/dist/cli/doctor-apply-deletions.js.map +1 -1
- package/dist/cli/doctor-coderabbit.d.ts +2 -7
- package/dist/cli/doctor-coderabbit.d.ts.map +1 -1
- package/dist/cli/doctor-coderabbit.js +1 -1
- package/dist/cli/doctor-coderabbit.js.map +1 -1
- package/dist/cli/doctor-gate-recommendation.d.ts +1 -12
- package/dist/cli/doctor-gate-recommendation.d.ts.map +1 -1
- package/dist/cli/doctor-gate-recommendation.js +1 -1
- package/dist/cli/doctor-gate-recommendation.js.map +1 -1
- package/dist/cli/doctor-learnings-ledger.d.ts +0 -2
- package/dist/cli/doctor-learnings-ledger.d.ts.map +1 -1
- package/dist/cli/doctor-learnings-ledger.js +1 -1
- package/dist/cli/doctor-learnings-ledger.js.map +1 -1
- package/dist/cli/doctor-lisa-owned-universal.d.ts +0 -2
- package/dist/cli/doctor-lisa-owned-universal.d.ts.map +1 -1
- package/dist/cli/doctor-lisa-owned-universal.js +1 -1
- package/dist/cli/doctor-lisa-owned-universal.js.map +1 -1
- package/dist/cli/doctor-merge-drivers.d.ts +0 -2
- package/dist/cli/doctor-merge-drivers.d.ts.map +1 -1
- package/dist/cli/doctor-merge-drivers.js +1 -1
- package/dist/cli/doctor-merge-drivers.js.map +1 -1
- package/dist/cli/doctor-nightly-e2e-bypass-arming.d.ts +0 -21
- package/dist/cli/doctor-nightly-e2e-bypass-arming.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-bypass-arming.js +1 -1
- package/dist/cli/doctor-nightly-e2e-bypass-arming.js.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-deadline.d.ts +0 -5
- package/dist/cli/doctor-nightly-e2e-guard-deadline.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-deadline.js +0 -9
- package/dist/cli/doctor-nightly-e2e-guard-deadline.js.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-evidence.d.ts +0 -6
- package/dist/cli/doctor-nightly-e2e-guard-evidence.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-evidence.js +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-evidence.js.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-job.d.ts +2 -1
- package/dist/cli/doctor-nightly-e2e-guard-job.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-proof.d.ts +2 -1
- package/dist/cli/doctor-nightly-e2e-guard-proof.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-scan.d.ts +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-scan.d.ts.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard-scan.js.map +1 -1
- package/dist/cli/doctor-nightly-e2e-guard.d.ts +0 -1
- package/dist/cli/doctor-nightly-e2e-guard.d.ts.map +1 -1
- package/dist/cli/doctor-ownership-banner-drift.d.ts +0 -15
- package/dist/cli/doctor-ownership-banner-drift.d.ts.map +1 -1
- package/dist/cli/doctor-ownership-banner-drift.js +1 -1
- package/dist/cli/doctor-ownership-banner-drift.js.map +1 -1
- package/dist/cli/doctor-readiness-blockers.d.ts +1 -1
- package/dist/cli/doctor-readiness-blockers.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-journey-freshness.d.ts +0 -6
- package/dist/cli/doctor-readiness-journey-freshness.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-journey-freshness.js +1 -1
- package/dist/cli/doctor-readiness-journey-freshness.js.map +1 -1
- package/dist/cli/doctor-readiness-journey.d.ts +4 -4
- package/dist/cli/doctor-readiness-journey.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-journey.js.map +1 -1
- package/dist/cli/doctor-readiness-operations.d.ts +0 -24
- package/dist/cli/doctor-readiness-operations.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-operations.js +3 -3
- package/dist/cli/doctor-readiness-operations.js.map +1 -1
- package/dist/cli/doctor-readiness-tracking.d.ts +0 -2
- package/dist/cli/doctor-readiness-tracking.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-tracking.js +1 -1
- package/dist/cli/doctor-readiness-tracking.js.map +1 -1
- package/dist/cli/doctor-readiness-types.d.ts +2 -1
- package/dist/cli/doctor-readiness-types.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-workflows.d.ts +2 -1
- package/dist/cli/doctor-readiness-workflows.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-workspaces.d.ts +2 -1
- package/dist/cli/doctor-readiness-workspaces.d.ts.map +1 -1
- package/dist/cli/doctor-readiness.d.ts +1 -2
- package/dist/cli/doctor-readiness.d.ts.map +1 -1
- package/dist/cli/doctor-readiness.js +0 -4
- package/dist/cli/doctor-readiness.js.map +1 -1
- package/dist/cli/doctor-session-manager-trust.d.ts +0 -6
- package/dist/cli/doctor-session-manager-trust.d.ts.map +1 -1
- package/dist/cli/doctor-session-manager-trust.js +1 -1
- package/dist/cli/doctor-session-manager-trust.js.map +1 -1
- package/dist/cli/doctor-session-manager.d.ts +0 -2
- package/dist/cli/doctor-session-manager.d.ts.map +1 -1
- package/dist/cli/doctor-session-manager.js +1 -1
- package/dist/cli/doctor-session-manager.js.map +1 -1
- package/dist/cli/doctor-skip-jobs-migration.d.ts +1 -1
- package/dist/cli/doctor-skip-jobs-migration.d.ts.map +1 -1
- package/dist/cli/doctor-third-party-evidence-seed.d.ts +0 -7
- package/dist/cli/doctor-third-party-evidence-seed.d.ts.map +1 -1
- package/dist/cli/doctor-third-party-evidence-seed.js +1 -1
- package/dist/cli/doctor-third-party-evidence-seed.js.map +1 -1
- package/dist/cli/doctor-traceability-gate.d.ts +0 -4
- package/dist/cli/doctor-traceability-gate.d.ts.map +1 -1
- package/dist/cli/doctor-traceability-gate.js +2 -2
- package/dist/cli/doctor-traceability-gate.js.map +1 -1
- package/dist/cli/doctor-two-channel-drift.d.ts +0 -11
- package/dist/cli/doctor-two-channel-drift.d.ts.map +1 -1
- package/dist/cli/doctor-two-channel-drift.js +1 -1
- package/dist/cli/doctor-two-channel-drift.js.map +1 -1
- package/dist/cli/doctor-worker-journey.d.ts +0 -20
- package/dist/cli/doctor-worker-journey.d.ts.map +1 -1
- package/dist/cli/doctor-worker-journey.js +3 -3
- package/dist/cli/doctor-worker-journey.js.map +1 -1
- package/dist/cli/environment-cmd.d.ts +0 -29
- package/dist/cli/environment-cmd.d.ts.map +1 -1
- package/dist/cli/environment-cmd.js +2 -2
- package/dist/cli/environment-cmd.js.map +1 -1
- package/dist/cli/gate-report-cells.d.ts +2 -76
- package/dist/cli/gate-report-cells.d.ts.map +1 -1
- package/dist/cli/gate-report-cells.js +4 -4
- package/dist/cli/gate-report-cells.js.map +1 -1
- package/dist/cli/gate-report-contexts.d.ts +1 -8
- package/dist/cli/gate-report-contexts.d.ts.map +1 -1
- package/dist/cli/gate-report-contexts.js +1 -1
- package/dist/cli/gate-report-contexts.js.map +1 -1
- package/dist/cli/gate-report-facade.d.ts +2 -1
- package/dist/cli/gate-report-facade.d.ts.map +1 -1
- package/dist/cli/gate-report-registry.d.ts +3 -7
- package/dist/cli/gate-report-registry.d.ts.map +1 -1
- package/dist/cli/gate-report-registry.js +1 -1
- package/dist/cli/gate-report-registry.js.map +1 -1
- package/dist/cli/gate-report-templates.d.ts +0 -6
- package/dist/cli/gate-report-templates.d.ts.map +1 -1
- package/dist/cli/gate-report-templates.js +1 -1
- package/dist/cli/gate-report-templates.js.map +1 -1
- package/dist/cli/gate-report-types.d.ts +0 -14
- package/dist/cli/gate-report-types.d.ts.map +1 -1
- package/dist/cli/gate-report-upstream.d.ts +0 -23
- package/dist/cli/gate-report-upstream.d.ts.map +1 -1
- package/dist/cli/gate-report-upstream.js +3 -3
- package/dist/cli/gate-report-upstream.js.map +1 -1
- package/dist/cli/gate-report.d.ts +0 -14
- package/dist/cli/gate-report.d.ts.map +1 -1
- package/dist/cli/gate-report.js +1 -1
- package/dist/cli/gate-report.js.map +1 -1
- package/dist/cli/lisa-test-run-missing-tool.d.ts +20 -0
- package/dist/cli/lisa-test-run-missing-tool.d.ts.map +1 -0
- package/dist/cli/lisa-test-run-missing-tool.js +31 -0
- package/dist/cli/lisa-test-run-missing-tool.js.map +1 -0
- package/dist/cli/lisa-test-run-shard-files.d.ts +2 -10
- package/dist/cli/lisa-test-run-shard-files.d.ts.map +1 -1
- package/dist/cli/lisa-test-run-shard-files.js +1 -1
- package/dist/cli/lisa-test-run-shard-files.js.map +1 -1
- package/dist/cli/lisa-test-run-shard.d.ts +3 -14
- package/dist/cli/lisa-test-run-shard.d.ts.map +1 -1
- package/dist/cli/lisa-test-run-shard.js +6 -6
- package/dist/cli/lisa-test-run-shard.js.map +1 -1
- package/dist/cli/lisa-test-run.js +2 -1
- package/dist/cli/lisa-test-run.js.map +1 -1
- package/dist/cli/remote-env-cmd.d.ts +0 -29
- package/dist/cli/remote-env-cmd.d.ts.map +1 -1
- package/dist/cli/remote-env-cmd.js +2 -2
- package/dist/cli/remote-env-cmd.js.map +1 -1
- package/dist/cli/removed-ui-cmd.d.ts +0 -2
- package/dist/cli/removed-ui-cmd.d.ts.map +1 -1
- package/dist/cli/removed-ui-cmd.js +1 -1
- package/dist/cli/removed-ui-cmd.js.map +1 -1
- package/dist/cli/starter-sync-source.d.ts +2 -1
- package/dist/cli/starter-sync-source.d.ts.map +1 -1
- package/dist/cli/stash-prune-policy.d.ts +2 -1
- package/dist/cli/stash-prune-policy.d.ts.map +1 -1
- package/dist/cli/stash-prune.d.ts +0 -13
- package/dist/cli/stash-prune.d.ts.map +1 -1
- package/dist/cli/stash-prune.js +2 -2
- package/dist/cli/stash-prune.js.map +1 -1
- package/dist/cli/sync-cmd.d.ts +0 -6
- package/dist/cli/sync-cmd.d.ts.map +1 -1
- package/dist/cli/sync-cmd.js +1 -1
- package/dist/cli/sync-cmd.js.map +1 -1
- package/dist/cli/version-cmd.d.ts +0 -6
- package/dist/cli/version-cmd.d.ts.map +1 -1
- package/dist/cli/version-cmd.js +1 -1
- package/dist/cli/version-cmd.js.map +1 -1
- package/dist/cli/workflow-moments.d.ts +0 -2
- package/dist/cli/workflow-moments.d.ts.map +1 -1
- package/dist/cli/workflow-moments.js +1 -1
- package/dist/cli/workflow-moments.js.map +1 -1
- package/dist/cli/worktree-inventory.d.ts +0 -25
- package/dist/cli/worktree-inventory.d.ts.map +1 -1
- package/dist/cli/worktree-inventory.js +1 -1
- package/dist/cli/worktree-inventory.js.map +1 -1
- package/dist/cli/worktree-ownership.d.ts +0 -7
- package/dist/cli/worktree-ownership.d.ts.map +1 -1
- package/dist/codex/agent-installer.d.ts +2 -1
- package/dist/codex/agent-installer.d.ts.map +1 -1
- package/dist/codex/agent-transformer.d.ts +0 -7
- package/dist/codex/agent-transformer.d.ts.map +1 -1
- package/dist/codex/agent-transformer.js +1 -1
- package/dist/codex/agent-transformer.js.map +1 -1
- package/dist/codex/hooks-merger.d.ts +3 -2
- package/dist/codex/hooks-merger.d.ts.map +1 -1
- package/dist/codex/plugin-marketplace-installer.d.ts +0 -2
- package/dist/codex/plugin-marketplace-installer.d.ts.map +1 -1
- package/dist/codex/plugin-marketplace-installer.js +1 -1
- package/dist/codex/plugin-marketplace-installer.js.map +1 -1
- package/dist/codex/settings-installer.d.ts +0 -2
- package/dist/codex/settings-installer.d.ts.map +1 -1
- package/dist/codex/settings-installer.js +1 -1
- package/dist/codex/settings-installer.js.map +1 -1
- package/dist/codex/skills-installer.d.ts +1 -2
- package/dist/codex/skills-installer.d.ts.map +1 -1
- package/dist/codex/skills-installer.js +0 -1
- package/dist/codex/skills-installer.js.map +1 -1
- package/dist/configs/eslint/view-gate.d.ts +0 -11
- package/dist/configs/eslint/view-gate.d.ts.map +1 -1
- package/dist/configs/eslint/view-gate.js +2 -2
- package/dist/configs/eslint/view-gate.js.map +1 -1
- package/dist/configs/knip/index.d.ts +34 -0
- package/dist/configs/knip/index.d.ts.map +1 -0
- package/dist/configs/knip/index.js +99 -0
- package/dist/configs/knip/index.js.map +1 -0
- package/dist/configs/vitest/coverage-reports-directory.d.ts +0 -16
- package/dist/configs/vitest/coverage-reports-directory.d.ts.map +1 -1
- package/dist/configs/vitest/coverage-reports-directory.js +2 -2
- package/dist/configs/vitest/coverage-reports-directory.js.map +1 -1
- package/dist/controls/attest-check.d.ts +0 -2
- package/dist/controls/attest-check.d.ts.map +1 -1
- package/dist/controls/attest-check.js +1 -1
- package/dist/controls/attest-check.js.map +1 -1
- package/dist/controls/audit-answers-secrets.d.ts +1 -7
- package/dist/controls/audit-answers-secrets.d.ts.map +1 -1
- package/dist/controls/audit-answers-secrets.js +1 -1
- package/dist/controls/audit-answers-secrets.js.map +1 -1
- package/dist/controls/audit-inline-answers.d.ts +0 -1
- package/dist/controls/audit-inline-answers.d.ts.map +1 -1
- package/dist/controls/audit-inline-answers.js.map +1 -1
- package/dist/controls/audit-probes.d.ts +0 -9
- package/dist/controls/audit-probes.d.ts.map +1 -1
- package/dist/controls/audit-probes.js +0 -11
- package/dist/controls/audit-probes.js.map +1 -1
- package/dist/controls/audit-question-lines.d.ts +0 -8
- package/dist/controls/audit-question-lines.d.ts.map +1 -1
- package/dist/controls/audit-question-lines.js +1 -1
- package/dist/controls/audit-question-lines.js.map +1 -1
- package/dist/controls/audit-questions-markdown.d.ts +0 -8
- package/dist/controls/audit-questions-markdown.d.ts.map +1 -1
- package/dist/controls/audit-questions-markdown.js +4 -4
- package/dist/controls/audit-questions-markdown.js.map +1 -1
- package/dist/controls/audit-report-file.d.ts +0 -2
- package/dist/controls/audit-report-file.d.ts.map +1 -1
- package/dist/controls/audit-report-file.js +1 -1
- package/dist/controls/audit-report-file.js.map +1 -1
- package/dist/controls/audit-report-rules/coverage.d.ts +0 -11
- package/dist/controls/audit-report-rules/coverage.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/coverage.js +2 -2
- package/dist/controls/audit-report-rules/coverage.js.map +1 -1
- package/dist/controls/audit-report-rules/locators.d.ts +0 -2
- package/dist/controls/audit-report-rules/locators.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/locators.js +1 -1
- package/dist/controls/audit-report-rules/locators.js.map +1 -1
- package/dist/controls/audit-report-rules/not-applicable.d.ts +0 -2
- package/dist/controls/audit-report-rules/not-applicable.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/not-applicable.js +1 -1
- package/dist/controls/audit-report-rules/not-applicable.js.map +1 -1
- package/dist/controls/audit-report-rules/plain-language.d.ts +0 -2
- package/dist/controls/audit-report-rules/plain-language.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/plain-language.js +1 -1
- package/dist/controls/audit-report-rules/plain-language.js.map +1 -1
- package/dist/controls/audit-report-rules/proved-evidence.d.ts +0 -2
- package/dist/controls/audit-report-rules/proved-evidence.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/proved-evidence.js +1 -1
- package/dist/controls/audit-report-rules/proved-evidence.js.map +1 -1
- package/dist/controls/audit-report-rules/questions.d.ts +0 -2
- package/dist/controls/audit-report-rules/questions.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/questions.js +1 -1
- package/dist/controls/audit-report-rules/questions.js.map +1 -1
- package/dist/controls/audit-report-rules/recorded-answers.d.ts +0 -2
- package/dist/controls/audit-report-rules/recorded-answers.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/recorded-answers.js +1 -1
- package/dist/controls/audit-report-rules/recorded-answers.js.map +1 -1
- package/dist/controls/audit-report-rules/scopes.d.ts +0 -2
- package/dist/controls/audit-report-rules/scopes.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/scopes.js +1 -1
- package/dist/controls/audit-report-rules/scopes.js.map +1 -1
- package/dist/controls/audit-report-rules/tracker-question.d.ts +0 -2
- package/dist/controls/audit-report-rules/tracker-question.d.ts.map +1 -1
- package/dist/controls/audit-report-rules/tracker-question.js +1 -1
- package/dist/controls/audit-report-rules/tracker-question.js.map +1 -1
- package/dist/controls/audit-report-shape.d.ts +2 -3
- package/dist/controls/audit-report-shape.d.ts.map +1 -1
- package/dist/controls/audit-report-shape.js +1 -1
- package/dist/controls/audit-report-shape.js.map +1 -1
- package/dist/controls/audit-report-types.d.ts +2 -1
- package/dist/controls/audit-report-types.d.ts.map +1 -1
- package/dist/controls/audit-report.d.ts +2 -3
- package/dist/controls/audit-report.d.ts.map +1 -1
- package/dist/controls/audit-report.js +2 -3
- package/dist/controls/audit-report.js.map +1 -1
- package/dist/controls/before-enforce-findings.d.ts +0 -2
- package/dist/controls/before-enforce-findings.d.ts.map +1 -1
- package/dist/controls/before-enforce-findings.js +1 -1
- package/dist/controls/before-enforce-findings.js.map +1 -1
- package/dist/controls/before-enforce-types.d.ts +19 -5
- package/dist/controls/before-enforce-types.d.ts.map +1 -1
- package/dist/controls/before-enforce-types.js +0 -24
- package/dist/controls/before-enforce-types.js.map +1 -1
- package/dist/controls/canary-door.d.ts +2 -9
- package/dist/controls/canary-door.d.ts.map +1 -1
- package/dist/controls/canary-door.js +1 -1
- package/dist/controls/canary-door.js.map +1 -1
- package/dist/controls/canary-names.d.ts +0 -2
- package/dist/controls/canary-names.d.ts.map +1 -1
- package/dist/controls/canary-names.js +1 -1
- package/dist/controls/canary-names.js.map +1 -1
- package/dist/controls/canonical-json.d.ts +0 -17
- package/dist/controls/canonical-json.d.ts.map +1 -1
- package/dist/controls/canonical-json.js +0 -25
- package/dist/controls/canonical-json.js.map +1 -1
- package/dist/controls/carrier-agent-surfaces.d.ts +0 -2
- package/dist/controls/carrier-agent-surfaces.d.ts.map +1 -1
- package/dist/controls/carrier-agent-surfaces.js +1 -1
- package/dist/controls/carrier-agent-surfaces.js.map +1 -1
- package/dist/controls/carrier-hook-here-documents.d.ts +2 -1
- package/dist/controls/carrier-hook-here-documents.d.ts.map +1 -1
- package/dist/controls/carrier-ignore.d.ts +0 -2
- package/dist/controls/carrier-ignore.d.ts.map +1 -1
- package/dist/controls/carrier-ignore.js +1 -1
- package/dist/controls/carrier-ignore.js.map +1 -1
- package/dist/controls/carrier-owner.d.ts +0 -4
- package/dist/controls/carrier-owner.d.ts.map +1 -1
- package/dist/controls/carrier-owner.js +2 -2
- package/dist/controls/carrier-owner.js.map +1 -1
- package/dist/controls/carrier-types.d.ts +6 -15
- package/dist/controls/carrier-types.d.ts.map +1 -1
- package/dist/controls/carrier-types.js +1 -19
- package/dist/controls/carrier-types.js.map +1 -1
- package/dist/controls/carrier-yaml-lines.d.ts +0 -26
- package/dist/controls/carrier-yaml-lines.d.ts.map +1 -1
- package/dist/controls/carrier-yaml-lines.js +3 -3
- package/dist/controls/carrier-yaml-lines.js.map +1 -1
- package/dist/controls/carriers.d.ts +1 -14
- package/dist/controls/carriers.d.ts.map +1 -1
- package/dist/controls/carriers.js +1 -1
- package/dist/controls/carriers.js.map +1 -1
- package/dist/controls/catalogue.d.ts +3 -2
- package/dist/controls/catalogue.d.ts.map +1 -1
- package/dist/controls/checks-binding.d.ts +0 -2
- package/dist/controls/checks-binding.d.ts.map +1 -1
- package/dist/controls/checks-binding.js +1 -1
- package/dist/controls/checks-binding.js.map +1 -1
- package/dist/controls/commands/attest-before-enforce.d.ts +0 -2
- package/dist/controls/commands/attest-before-enforce.d.ts.map +1 -1
- package/dist/controls/commands/attest-before-enforce.js +1 -1
- package/dist/controls/commands/attest-before-enforce.js.map +1 -1
- package/dist/controls/commands/attest-report-only.d.ts +0 -6
- package/dist/controls/commands/attest-report-only.d.ts.map +1 -1
- package/dist/controls/commands/attest-report-only.js +1 -1
- package/dist/controls/commands/attest-report-only.js.map +1 -1
- package/dist/controls/commands/catalogue.d.ts +1 -23
- package/dist/controls/commands/catalogue.d.ts.map +1 -1
- package/dist/controls/commands/catalogue.js +2 -2
- package/dist/controls/commands/catalogue.js.map +1 -1
- package/dist/controls/commands/gaps.d.ts +3 -2
- package/dist/controls/commands/gaps.d.ts.map +1 -1
- package/dist/controls/commands/gaps.js +1 -1
- package/dist/controls/commands/gaps.js.map +1 -1
- package/dist/controls/commands/propose-threshold.d.ts +2 -1
- package/dist/controls/commands/propose-threshold.d.ts.map +1 -1
- package/dist/controls/commands/propose-threshold.js +1 -1
- package/dist/controls/commands/propose-threshold.js.map +1 -1
- package/dist/controls/commands/report-check.d.ts +0 -2
- package/dist/controls/commands/report-check.d.ts.map +1 -1
- package/dist/controls/commands/report-check.js +1 -1
- package/dist/controls/commands/report-check.js.map +1 -1
- package/dist/controls/commands/seed.d.ts +2 -1
- package/dist/controls/commands/seed.d.ts.map +1 -1
- package/dist/controls/enforce-head-run.d.ts +0 -4
- package/dist/controls/enforce-head-run.d.ts.map +1 -1
- package/dist/controls/enforce-head-run.js +2 -2
- package/dist/controls/enforce-head-run.js.map +1 -1
- package/dist/controls/enforce-input-types.d.ts +2 -1
- package/dist/controls/enforce-input-types.d.ts.map +1 -1
- package/dist/controls/enforce-inputs.d.ts +1 -1
- package/dist/controls/enforce-inputs.d.ts.map +1 -1
- package/dist/controls/enforce-inputs.js.map +1 -1
- package/dist/controls/enforce-types.d.ts +2 -1
- package/dist/controls/enforce-types.d.ts.map +1 -1
- package/dist/controls/evidence-findings.d.ts +2 -4
- package/dist/controls/evidence-findings.d.ts.map +1 -1
- package/dist/controls/evidence-findings.js +1 -1
- package/dist/controls/evidence-findings.js.map +1 -1
- package/dist/controls/evidence-standing.d.ts +7 -3
- package/dist/controls/evidence-standing.d.ts.map +1 -1
- package/dist/controls/evidence-standing.js +0 -9
- package/dist/controls/evidence-standing.js.map +1 -1
- package/dist/controls/evidence-types.d.ts +0 -4
- package/dist/controls/evidence-types.d.ts.map +1 -1
- package/dist/controls/evidence-types.js +2 -2
- package/dist/controls/evidence-types.js.map +1 -1
- package/dist/controls/merge-protection-read.d.ts +3 -2
- package/dist/controls/merge-protection-read.d.ts.map +1 -1
- package/dist/controls/proof-check-types.d.ts +54 -9
- package/dist/controls/proof-check-types.d.ts.map +1 -1
- package/dist/controls/proof-check-types.js +0 -63
- package/dist/controls/proof-check-types.js.map +1 -1
- package/dist/controls/proof-copy-wording.d.ts +0 -13
- package/dist/controls/proof-copy-wording.d.ts.map +1 -1
- package/dist/controls/proof-copy-wording.js +1 -1
- package/dist/controls/proof-copy-wording.js.map +1 -1
- package/dist/controls/proof-copy-workspace.d.ts +1 -3
- package/dist/controls/proof-copy-workspace.d.ts.map +1 -1
- package/dist/controls/proof-copy-workspace.js +0 -2
- package/dist/controls/proof-copy-workspace.js.map +1 -1
- package/dist/controls/proof-copy.d.ts +3 -4
- package/dist/controls/proof-copy.d.ts.map +1 -1
- package/dist/controls/proof-copy.js +0 -2
- package/dist/controls/proof-copy.js.map +1 -1
- package/dist/controls/proof-task-runners.d.ts +0 -2
- package/dist/controls/proof-task-runners.d.ts.map +1 -1
- package/dist/controls/proof-task-runners.js +1 -1
- package/dist/controls/proof-task-runners.js.map +1 -1
- package/dist/controls/proof-tools.d.ts +4 -3
- package/dist/controls/proof-tools.d.ts.map +1 -1
- package/dist/controls/proof-types.d.ts +75 -9
- package/dist/controls/proof-types.d.ts.map +1 -1
- package/dist/controls/proof-types.js +0 -86
- package/dist/controls/proof-types.js.map +1 -1
- package/dist/controls/protect-apply.d.ts +0 -8
- package/dist/controls/protect-apply.d.ts.map +1 -1
- package/dist/controls/protect-apply.js +2 -2
- package/dist/controls/protect-apply.js.map +1 -1
- package/dist/controls/protect-live.d.ts +0 -10
- package/dist/controls/protect-live.d.ts.map +1 -1
- package/dist/controls/protect-live.js +1 -1
- package/dist/controls/protect-live.js.map +1 -1
- package/dist/controls/protect-modules.d.ts +7 -6
- package/dist/controls/protect-modules.d.ts.map +1 -1
- package/dist/controls/protect-reported.d.ts +0 -8
- package/dist/controls/protect-reported.d.ts.map +1 -1
- package/dist/controls/protect-reported.js +2 -2
- package/dist/controls/protect-reported.js.map +1 -1
- package/dist/controls/pull-request-canaries.d.ts +0 -2
- package/dist/controls/pull-request-canaries.d.ts.map +1 -1
- package/dist/controls/pull-request-canaries.js +1 -1
- package/dist/controls/pull-request-canaries.js.map +1 -1
- package/dist/controls/pull-request-executor.d.ts +1 -7
- package/dist/controls/pull-request-executor.d.ts.map +1 -1
- package/dist/controls/pull-request-executor.js +1 -1
- package/dist/controls/pull-request-executor.js.map +1 -1
- package/dist/controls/pull-request-observe.d.ts +2 -1
- package/dist/controls/pull-request-observe.d.ts.map +1 -1
- package/dist/controls/pull-request-types.d.ts +2 -1
- package/dist/controls/pull-request-types.d.ts.map +1 -1
- package/dist/controls/pull-request-wording.d.ts +0 -2
- package/dist/controls/pull-request-wording.d.ts.map +1 -1
- package/dist/controls/pull-request-wording.js +1 -1
- package/dist/controls/pull-request-wording.js.map +1 -1
- package/dist/controls/reconcile-audit-findings.d.ts +2 -1
- package/dist/controls/reconcile-audit-findings.d.ts.map +1 -1
- package/dist/controls/reconcile-carrier-points.d.ts +0 -10
- package/dist/controls/reconcile-carrier-points.d.ts.map +1 -1
- package/dist/controls/reconcile-carrier-points.js +1 -1
- package/dist/controls/reconcile-carrier-points.js.map +1 -1
- package/dist/controls/reconcile-executor.d.ts +0 -8
- package/dist/controls/reconcile-executor.d.ts.map +1 -1
- package/dist/controls/reconcile-executor.js +1 -1
- package/dist/controls/reconcile-executor.js.map +1 -1
- package/dist/controls/reconcile-findings.d.ts +0 -2
- package/dist/controls/reconcile-findings.d.ts.map +1 -1
- package/dist/controls/reconcile-findings.js +1 -1
- package/dist/controls/reconcile-findings.js.map +1 -1
- package/dist/controls/reconcile-hook-lines.d.ts +0 -4
- package/dist/controls/reconcile-hook-lines.d.ts.map +1 -1
- package/dist/controls/reconcile-hook-lines.js +2 -2
- package/dist/controls/reconcile-hook-lines.js.map +1 -1
- package/dist/controls/reconcile-platform.d.ts +1 -8
- package/dist/controls/reconcile-platform.d.ts.map +1 -1
- package/dist/controls/reconcile-platform.js +1 -1
- package/dist/controls/reconcile-platform.js.map +1 -1
- package/dist/controls/reconcile-shell-words.d.ts +0 -6
- package/dist/controls/reconcile-shell-words.d.ts.map +1 -1
- package/dist/controls/reconcile-shell-words.js +1 -1
- package/dist/controls/reconcile-shell-words.js.map +1 -1
- package/dist/controls/reconcile-types.d.ts +5 -16
- package/dist/controls/reconcile-types.d.ts.map +1 -1
- package/dist/controls/reconcile-types.js +0 -22
- package/dist/controls/reconcile-types.js.map +1 -1
- package/dist/controls/register-rules.d.ts +2 -8
- package/dist/controls/register-rules.d.ts.map +1 -1
- package/dist/controls/register-rules.js +1 -1
- package/dist/controls/register-rules.js.map +1 -1
- package/dist/controls/register-types.d.ts +7 -8
- package/dist/controls/register-types.d.ts.map +1 -1
- package/dist/controls/register-types.js +1 -1
- package/dist/controls/register-types.js.map +1 -1
- package/dist/controls/threshold-proposal.d.ts +2 -1
- package/dist/controls/threshold-proposal.d.ts.map +1 -1
- package/dist/controls/tracker-config.d.ts +2 -1
- package/dist/controls/tracker-config.d.ts.map +1 -1
- package/dist/controls/unenforceable-agents.d.ts +1 -10
- package/dist/controls/unenforceable-agents.d.ts.map +1 -1
- package/dist/controls/unenforceable-agents.js +1 -1
- package/dist/controls/unenforceable-agents.js.map +1 -1
- package/dist/controls/verdict-types.d.ts +3 -2
- package/dist/controls/verdict-types.d.ts.map +1 -1
- package/dist/controls/verdict-wording.d.ts +0 -8
- package/dist/controls/verdict-wording.d.ts.map +1 -1
- package/dist/controls/verdict-wording.js +1 -1
- package/dist/controls/verdict-wording.js.map +1 -1
- package/dist/copilot/copilot-instructions-installer.d.ts +0 -2
- package/dist/copilot/copilot-instructions-installer.d.ts.map +1 -1
- package/dist/copilot/copilot-instructions-installer.js +1 -1
- package/dist/copilot/copilot-instructions-installer.js.map +1 -1
- package/dist/core/admission-lock.d.ts +0 -4
- package/dist/core/admission-lock.d.ts.map +1 -1
- package/dist/core/admission-lock.js +2 -2
- package/dist/core/admission-lock.js.map +1 -1
- package/dist/core/admission-settings.d.ts +0 -18
- package/dist/core/admission-settings.d.ts.map +1 -1
- package/dist/core/admission-settings.js +3 -3
- package/dist/core/admission-settings.js.map +1 -1
- package/dist/core/admission-state.d.ts +0 -10
- package/dist/core/admission-state.d.ts.map +1 -1
- package/dist/core/admission-state.js +4 -4
- package/dist/core/admission-state.js.map +1 -1
- package/dist/core/admission.d.ts +0 -9
- package/dist/core/admission.d.ts.map +1 -1
- package/dist/core/admission.js +1 -1
- package/dist/core/admission.js.map +1 -1
- package/dist/core/apply-mode.d.ts +0 -2
- package/dist/core/apply-mode.d.ts.map +1 -1
- package/dist/core/apply-mode.js +1 -1
- package/dist/core/apply-mode.js.map +1 -1
- package/dist/core/audit-field-names.d.ts +2 -1
- package/dist/core/audit-field-names.d.ts.map +1 -1
- package/dist/core/bootstrap-environment.d.ts +2 -2
- package/dist/core/bootstrap-environment.d.ts.map +1 -1
- package/dist/core/bootstrap-environment.js +1 -1
- package/dist/core/bootstrap-environment.js.map +1 -1
- package/dist/core/cdk-preset-adoption.d.ts +1 -1
- package/dist/core/cdk-preset-adoption.d.ts.map +1 -1
- package/dist/core/cdk-preset-adoption.js +1 -4
- package/dist/core/cdk-preset-adoption.js.map +1 -1
- package/dist/core/coderabbit-labeling.d.ts +0 -12
- package/dist/core/coderabbit-labeling.d.ts.map +1 -1
- package/dist/core/coderabbit-labeling.js +2 -2
- package/dist/core/coderabbit-labeling.js.map +1 -1
- package/dist/core/config-shadowing.d.ts +4 -0
- package/dist/core/config-shadowing.d.ts.map +1 -1
- package/dist/core/config-shadowing.js +6 -1
- package/dist/core/config-shadowing.js.map +1 -1
- package/dist/core/config.d.ts +2 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/direct-minimums.d.ts +69 -0
- package/dist/core/direct-minimums.d.ts.map +1 -0
- package/dist/core/direct-minimums.js +116 -0
- package/dist/core/direct-minimums.js.map +1 -0
- package/dist/core/direct-range-raise.d.ts +44 -0
- package/dist/core/direct-range-raise.d.ts.map +1 -0
- package/dist/core/direct-range-raise.js +153 -0
- package/dist/core/direct-range-raise.js.map +1 -0
- package/dist/core/downstream-names.d.ts +0 -9
- package/dist/core/downstream-names.d.ts.map +1 -1
- package/dist/core/downstream-names.js +1 -1
- package/dist/core/downstream-names.js.map +1 -1
- package/dist/core/downstream-references.d.ts +0 -7
- package/dist/core/downstream-references.d.ts.map +1 -1
- package/dist/core/downstream-references.js +1 -1
- package/dist/core/downstream-references.js.map +1 -1
- package/dist/core/effectiveness-store.d.ts +0 -31
- package/dist/core/effectiveness-store.d.ts.map +1 -1
- package/dist/core/effectiveness-store.js +5 -5
- package/dist/core/effectiveness-store.js.map +1 -1
- package/dist/core/enforcement-census.d.ts +2 -3
- package/dist/core/enforcement-census.d.ts.map +1 -1
- package/dist/core/enforcement-census.js +0 -2
- package/dist/core/enforcement-census.js.map +1 -1
- package/dist/core/enforcement-coverage.d.ts +7 -6
- package/dist/core/enforcement-coverage.d.ts.map +1 -1
- package/dist/core/enforcement-coverage.js.map +1 -1
- package/dist/core/github-actions-condition.d.ts +2 -8
- package/dist/core/github-actions-condition.d.ts.map +1 -1
- package/dist/core/github-actions-condition.js +1 -1
- package/dist/core/github-actions-condition.js.map +1 -1
- package/dist/core/kane-cli.d.ts +1 -2
- package/dist/core/kane-cli.d.ts.map +1 -1
- package/dist/core/kane-cli.js +0 -1
- package/dist/core/kane-cli.js.map +1 -1
- package/dist/core/kane-pilot-report.d.ts +0 -11
- package/dist/core/kane-pilot-report.d.ts.map +1 -1
- package/dist/core/kane-pilot-report.js +1 -1
- package/dist/core/kane-pilot-report.js.map +1 -1
- package/dist/core/kane-pilot-types.d.ts +2 -1
- package/dist/core/kane-pilot-types.d.ts.map +1 -1
- package/dist/core/kane-pilot.d.ts +3 -3
- package/dist/core/kane-pilot.d.ts.map +1 -1
- package/dist/core/kane-pilot.js +2 -2
- package/dist/core/kane-pilot.js.map +1 -1
- package/dist/core/knowledge-role.d.ts +0 -2
- package/dist/core/knowledge-role.d.ts.map +1 -1
- package/dist/core/knowledge-role.js +1 -1
- package/dist/core/knowledge-role.js.map +1 -1
- package/dist/core/learnings-document.d.ts +0 -18
- package/dist/core/learnings-document.d.ts.map +1 -1
- package/dist/core/learnings-document.js +1 -1
- package/dist/core/learnings-document.js.map +1 -1
- package/dist/core/learnings-merge-driver.d.ts +0 -18
- package/dist/core/learnings-merge-driver.d.ts.map +1 -1
- package/dist/core/learnings-merge-driver.js +2 -2
- package/dist/core/learnings-merge-driver.js.map +1 -1
- package/dist/core/lisa.d.ts +4 -4
- package/dist/core/lisa.js +4 -4
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-pull-request-triggers.d.ts +0 -10
- package/dist/core/nightly-e2e-pull-request-triggers.d.ts.map +1 -1
- package/dist/core/nightly-e2e-pull-request-triggers.js +1 -1
- package/dist/core/nightly-e2e-pull-request-triggers.js.map +1 -1
- package/dist/core/override-floors.d.ts +20 -7
- package/dist/core/override-floors.d.ts.map +1 -1
- package/dist/core/override-floors.js +56 -15
- package/dist/core/override-floors.js.map +1 -1
- package/dist/core/ownership-header.d.ts +0 -11
- package/dist/core/ownership-header.d.ts.map +1 -1
- package/dist/core/ownership-header.js +1 -1
- package/dist/core/ownership-header.js.map +1 -1
- package/dist/core/plugin-registration-prune.d.ts +2 -1
- package/dist/core/plugin-registration-prune.d.ts.map +1 -1
- package/dist/core/project-config-human-gate.d.ts +2 -1
- package/dist/core/project-config-human-gate.d.ts.map +1 -1
- package/dist/core/project-config-kane.d.ts +3 -2
- package/dist/core/project-config-kane.d.ts.map +1 -1
- package/dist/core/project-config-learnings.d.ts +1 -14
- package/dist/core/project-config-learnings.d.ts.map +1 -1
- package/dist/core/project-config-learnings.js +2 -2
- package/dist/core/project-config-learnings.js.map +1 -1
- package/dist/core/project-config-nightly-e2e.d.ts +3 -2
- package/dist/core/project-config-nightly-e2e.d.ts.map +1 -1
- package/dist/core/project-config-push-gate.d.ts +2 -3
- package/dist/core/project-config-push-gate.d.ts.map +1 -1
- package/dist/core/project-config-push-gate.js +1 -1
- package/dist/core/project-config-push-gate.js.map +1 -1
- package/dist/core/project-config.d.ts +4 -6
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +3 -3
- package/dist/core/project-config.js.map +1 -1
- package/dist/core/reconciliation-report.d.ts +0 -4
- package/dist/core/reconciliation-report.d.ts.map +1 -1
- package/dist/core/reconciliation-report.js +0 -4
- package/dist/core/reconciliation-report.js.map +1 -1
- package/dist/core/reusable-workflow-pin.d.ts +0 -2
- package/dist/core/reusable-workflow-pin.d.ts.map +1 -1
- package/dist/core/reusable-workflow-pin.js +1 -1
- package/dist/core/reusable-workflow-pin.js.map +1 -1
- package/dist/core/sonar-integration.d.ts +2 -7
- package/dist/core/sonar-integration.d.ts.map +1 -1
- package/dist/core/sonar-integration.js +1 -1
- package/dist/core/sonar-integration.js.map +1 -1
- package/dist/core/template-ownership.d.ts +2 -1
- package/dist/core/template-ownership.d.ts.map +1 -1
- package/dist/core/two-channel-delivery.d.ts +4 -4
- package/dist/core/two-channel-delivery.d.ts.map +1 -1
- package/dist/core/two-channel-delivery.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +64 -30
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/devin/enforcement-fallback-installer.d.ts +0 -2
- package/dist/devin/enforcement-fallback-installer.d.ts.map +1 -1
- package/dist/devin/enforcement-fallback-installer.js +1 -1
- package/dist/devin/enforcement-fallback-installer.js.map +1 -1
- package/dist/errors/index.d.ts +0 -37
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +0 -51
- package/dist/errors/index.js.map +1 -1
- package/dist/health/expo-splash-inspection.d.ts +0 -4
- package/dist/health/expo-splash-inspection.d.ts.map +1 -1
- package/dist/health/expo-splash-inspection.js +2 -2
- package/dist/health/expo-splash-inspection.js.map +1 -1
- package/dist/health/read-only-fs.d.ts +0 -8
- package/dist/health/read-only-fs.d.ts.map +1 -1
- package/dist/health/read-only-fs.js +1 -1
- package/dist/health/read-only-fs.js.map +1 -1
- package/dist/health/ruleset-reach-inspection.d.ts +0 -26
- package/dist/health/ruleset-reach-inspection.d.ts.map +1 -1
- package/dist/health/ruleset-reach-inspection.js +1 -1
- package/dist/health/ruleset-reach-inspection.js.map +1 -1
- package/dist/health/template-inspection.d.ts +1 -2
- package/dist/health/template-inspection.d.ts.map +1 -1
- package/dist/health/template-inspection.js +1 -2
- package/dist/health/template-inspection.js.map +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/logger.interface.d.ts +0 -4
- package/dist/logging/logger.interface.d.ts.map +1 -1
- package/dist/migrations/delegate-legacy-test-scripts.d.ts +0 -6
- package/dist/migrations/delegate-legacy-test-scripts.d.ts.map +1 -1
- package/dist/migrations/delegate-legacy-test-scripts.js +1 -1
- package/dist/migrations/delegate-legacy-test-scripts.js.map +1 -1
- package/dist/migrations/deploy-outcome-guard-yaml.d.ts +0 -46
- package/dist/migrations/deploy-outcome-guard-yaml.d.ts.map +1 -1
- package/dist/migrations/deploy-outcome-guard-yaml.js +3 -3
- package/dist/migrations/deploy-outcome-guard-yaml.js.map +1 -1
- package/dist/migrations/ensure-pinned-reusable-workflow-refs.d.ts +0 -20
- package/dist/migrations/ensure-pinned-reusable-workflow-refs.d.ts.map +1 -1
- package/dist/migrations/ensure-pinned-reusable-workflow-refs.js +1 -1
- package/dist/migrations/ensure-pinned-reusable-workflow-refs.js.map +1 -1
- package/dist/migrations/ensure-third-party-action-pins.d.ts +0 -28
- package/dist/migrations/ensure-third-party-action-pins.d.ts.map +1 -1
- package/dist/migrations/ensure-third-party-action-pins.js +1 -1
- package/dist/migrations/ensure-third-party-action-pins.js.map +1 -1
- package/dist/migrations/generated-paths.d.ts +0 -6
- package/dist/migrations/generated-paths.d.ts.map +1 -1
- package/dist/migrations/generated-paths.js +0 -9
- package/dist/migrations/generated-paths.js.map +1 -1
- package/dist/migrations/index.d.ts +1 -29
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +0 -28
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/migration.interface.d.ts +2 -1
- package/dist/migrations/migration.interface.d.ts.map +1 -1
- package/dist/migrations/prune-retired-third-party-plugins.d.ts +0 -38
- package/dist/migrations/prune-retired-third-party-plugins.d.ts.map +1 -1
- package/dist/migrations/prune-retired-third-party-plugins.js +3 -3
- package/dist/migrations/prune-retired-third-party-plugins.js.map +1 -1
- package/dist/opencode/agent-installer.d.ts +1 -1
- package/dist/opencode/agent-installer.d.ts.map +1 -1
- package/dist/opencode/command-installer.d.ts +2 -17
- package/dist/opencode/command-installer.d.ts.map +1 -1
- package/dist/opencode/command-installer.js +2 -3
- package/dist/opencode/command-installer.js.map +1 -1
- package/dist/opencode/hooks-installer.d.ts +0 -14
- package/dist/opencode/hooks-installer.d.ts.map +1 -1
- package/dist/opencode/hooks-installer.js +1 -1
- package/dist/opencode/hooks-installer.js.map +1 -1
- package/dist/opencode/mcp-installer.d.ts +2 -6
- package/dist/opencode/mcp-installer.d.ts.map +1 -1
- package/dist/opencode/mcp-installer.js.map +1 -1
- package/dist/opencode/relative-imports.d.ts +0 -8
- package/dist/opencode/relative-imports.d.ts.map +1 -1
- package/dist/opencode/relative-imports.js +1 -1
- package/dist/opencode/relative-imports.js.map +1 -1
- package/dist/opencode/settings-installer.d.ts +0 -8
- package/dist/opencode/settings-installer.d.ts.map +1 -1
- package/dist/opencode/settings-installer.js +1 -1
- package/dist/opencode/settings-installer.js.map +1 -1
- package/dist/opencode/skills-installer.d.ts +2 -1
- package/dist/opencode/skills-installer.d.ts.map +1 -1
- package/dist/sonar/sonar-shim-repoint.d.ts +2 -15
- package/dist/sonar/sonar-shim-repoint.d.ts.map +1 -1
- package/dist/sonar/sonar-shim-repoint.js +2 -2
- package/dist/sonar/sonar-shim-repoint.js.map +1 -1
- package/dist/standards/contract.d.ts +3 -3
- package/dist/standards/contract.d.ts.map +1 -1
- package/dist/standards/contract.js +2 -2
- package/dist/standards/contract.js.map +1 -1
- package/dist/standards/registry.d.ts +0 -12
- package/dist/standards/registry.d.ts.map +1 -1
- package/dist/standards/registry.js +1 -9
- package/dist/standards/registry.js.map +1 -1
- package/dist/standards/test-evidence.d.ts +1 -2
- package/dist/standards/test-evidence.d.ts.map +1 -1
- package/dist/standards/test-evidence.js +0 -7
- package/dist/standards/test-evidence.js.map +1 -1
- package/dist/strategies/index.d.ts +0 -11
- package/dist/strategies/index.d.ts.map +1 -1
- package/dist/strategies/index.js +0 -13
- package/dist/strategies/index.js.map +1 -1
- package/dist/strategies/package-lisa-types.d.ts +19 -10
- package/dist/strategies/package-lisa-types.d.ts.map +1 -1
- package/dist/strategies/package-lisa.d.ts +4 -0
- package/dist/strategies/package-lisa.d.ts.map +1 -1
- package/dist/strategies/package-lisa.js +107 -13
- package/dist/strategies/package-lisa.js.map +1 -1
- package/dist/strategies/package-mentions.d.ts +11 -0
- package/dist/strategies/package-mentions.d.ts.map +1 -0
- package/dist/strategies/package-mentions.js +356 -0
- package/dist/strategies/package-mentions.js.map +1 -0
- package/dist/sync/artifact-sync.d.ts +2 -1
- package/dist/sync/artifact-sync.d.ts.map +1 -1
- package/dist/sync/config-sync.d.ts +2 -2
- package/dist/sync/config-sync.d.ts.map +1 -1
- package/dist/sync/config-sync.js.map +1 -1
- package/dist/sync/legacy-monitor-thresholds.d.ts +0 -17
- package/dist/sync/legacy-monitor-thresholds.d.ts.map +1 -1
- package/dist/sync/legacy-monitor-thresholds.js +1 -1
- package/dist/sync/legacy-monitor-thresholds.js.map +1 -1
- package/dist/sync/registry.d.ts +0 -14
- package/dist/sync/registry.d.ts.map +1 -1
- package/dist/sync/registry.js +1 -1
- package/dist/sync/registry.js.map +1 -1
- package/dist/sync/stryker-thresholds-ownership.d.ts +0 -12
- package/dist/sync/stryker-thresholds-ownership.d.ts.map +1 -1
- package/dist/sync/stryker-thresholds-ownership.js +3 -3
- package/dist/sync/stryker-thresholds-ownership.js.map +1 -1
- package/dist/transaction/index.d.ts +0 -1
- package/dist/transaction/index.d.ts.map +1 -1
- package/dist/transaction/index.js +0 -1
- package/dist/transaction/index.js.map +1 -1
- package/dist/utils/effectiveness.d.ts +2 -2
- package/dist/utils/effectiveness.d.ts.map +1 -1
- package/dist/utils/effectiveness.js +2 -2
- package/dist/utils/effectiveness.js.map +1 -1
- package/dist/utils/file-operations.d.ts +0 -12
- package/dist/utils/file-operations.d.ts.map +1 -1
- package/dist/utils/file-operations.js +1 -15
- package/dist/utils/file-operations.js.map +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +0 -5
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/json-utils.d.ts +0 -6
- package/dist/utils/json-utils.d.ts.map +1 -1
- package/dist/utils/json-utils.js +0 -14
- package/dist/utils/json-utils.js.map +1 -1
- package/dist/utils/marketplace-manifest.d.ts +2 -1
- package/dist/utils/marketplace-manifest.d.ts.map +1 -1
- package/dist/utils/path-utils.d.ts +0 -25
- package/dist/utils/path-utils.d.ts.map +1 -1
- package/dist/utils/path-utils.js +0 -33
- package/dist/utils/path-utils.js.map +1 -1
- package/dist/utils/pm-env.d.ts +0 -7
- package/dist/utils/pm-env.d.ts.map +1 -1
- package/dist/utils/pm-env.js +1 -1
- package/dist/utils/pm-env.js.map +1 -1
- package/dist/utils/postinstall-trampoline.d.ts +3 -3
- package/dist/utils/postinstall-trampoline.d.ts.map +1 -1
- package/dist/utils/postinstall-trampoline.js +1 -1
- package/dist/utils/postinstall-trampoline.js.map +1 -1
- package/dist/utils/usage-accounting.d.ts +2 -18
- package/dist/utils/usage-accounting.d.ts.map +1 -1
- package/dist/utils/usage-accounting.js +2 -2
- package/dist/utils/usage-accounting.js.map +1 -1
- package/dist/utils/yaml.d.ts +0 -2
- package/dist/utils/yaml.d.ts.map +1 -1
- package/dist/utils/yaml.js +1 -1
- package/dist/utils/yaml.js.map +1 -1
- package/expo/copy-overwrite/jest.config.ts +5 -0
- package/expo/copy-overwrite/knip.json +9 -124
- package/expo/copy-overwrite/plugins/withAndroidSplashNoClientExit.js +11 -3
- package/expo/deletions.json +4 -2
- package/expo/package-lisa/package.lisa.json +103 -68
- package/harper-fabric/copy-overwrite/knip.json +8 -16
- package/harper-fabric/package-lisa/package.lisa.json +49 -14
- package/nestjs/copy-overwrite/knip.json +12 -89
- package/nestjs/package-lisa/package.lisa.json +46 -30
- package/package.json +25 -12
- package/phaser/copy-overwrite/knip.json +10 -13
- package/phaser/package-lisa/package.lisa.json +51 -15
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo/.codex-plugin/skills/knip-platform-files/SKILL.md +73 -0
- package/plugins/lisa-expo/.codex-plugin/skills/knip-platform-files/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/lisa-expo/skills/knip-platform-files/agents/openai.yaml +4 -0
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo-agy/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo-copilot/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo-cursor/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/lisa-expo-devin/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser/.codex-plugin/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-phaser/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser-agy/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser-copilot/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser-cursor/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/lisa-phaser-devin/skills/phaser-build-deploy/SKILL.md +3 -0
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/expo/skills/cross-platform-compatibility/SKILL.md +7 -0
- package/plugins/src/expo/skills/knip-platform-files/SKILL.md +71 -0
- package/plugins/src/phaser/skills/phaser-asset-pipeline/SKILL.md +6 -2
- package/plugins/src/phaser/skills/phaser-build-deploy/SKILL.md +3 -0
- package/scripts/lib/phrase-tests/doc-taint.mjs +0 -10
- package/typescript/copy-overwrite/knip.json +15 -56
- package/typescript/package-lisa/package.lisa.json +76 -1
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -5
- package/dist/core/index.js.map +0 -1
- package/dist/standards/index.d.ts +0 -8
- package/dist/standards/index.d.ts.map +0 -1
- package/dist/standards/index.js +0 -8
- package/dist/standards/index.js.map +0 -1
- package/dist/transaction/transaction.d.ts +0 -57
- package/dist/transaction/transaction.d.ts.map +0 -1
- package/dist/transaction/transaction.js +0 -91
- package/dist/transaction/transaction.js.map +0 -1
- package/expo/copy-overwrite/eslint.expo.ts +0 -518
- package/typescript/create-only/jest.config.local.ts +0 -33
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { IBackupService } from "./backup.js";
|
|
2
|
-
import type { ILogger } from "../logging/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* Transaction wrapper for atomic operations
|
|
5
|
-
* Provides init → execute → cleanup/rollback pattern
|
|
6
|
-
*/
|
|
7
|
-
export declare class Transaction {
|
|
8
|
-
private readonly backupService;
|
|
9
|
-
private readonly logger;
|
|
10
|
-
private initialized;
|
|
11
|
-
/**
|
|
12
|
-
* Initialize transaction with backup and logging services
|
|
13
|
-
* @param backupService - Service for backup operations
|
|
14
|
-
* @param logger - Logger instance for transaction events
|
|
15
|
-
*/
|
|
16
|
-
constructor(backupService: IBackupService, logger: ILogger);
|
|
17
|
-
/**
|
|
18
|
-
* Initialize the transaction
|
|
19
|
-
* @param destDir - Destination directory to protect during transaction
|
|
20
|
-
*/
|
|
21
|
-
init(destDir: string): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Execute an operation within the transaction context
|
|
24
|
-
*
|
|
25
|
-
* Automatically rolls back on failure
|
|
26
|
-
* @param operation - Async operation to execute atomically
|
|
27
|
-
* @returns Promise resolving to operation result
|
|
28
|
-
*/
|
|
29
|
-
execute<T>(operation: () => Promise<T>): Promise<T>;
|
|
30
|
-
/**
|
|
31
|
-
* Create a backup of a file within this transaction
|
|
32
|
-
* @param absolutePath - Absolute path to file to backup
|
|
33
|
-
*/
|
|
34
|
-
backup(absolutePath: string): Promise<void>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* No-op transaction for dry-run mode
|
|
38
|
-
*/
|
|
39
|
-
export declare class DryRunTransaction {
|
|
40
|
-
/**
|
|
41
|
-
* Initialize dry-run transaction (no-op)
|
|
42
|
-
* @param _destDir - Destination directory (unused)
|
|
43
|
-
*/
|
|
44
|
-
init(_destDir: string): Promise<void>;
|
|
45
|
-
/**
|
|
46
|
-
* Execute operation without backup/rollback (no-op)
|
|
47
|
-
* @param operation - Operation to execute
|
|
48
|
-
* @returns Promise resolving to operation result
|
|
49
|
-
*/
|
|
50
|
-
execute<T>(operation: () => Promise<T>): Promise<T>;
|
|
51
|
-
/**
|
|
52
|
-
* Backup file (no-op)
|
|
53
|
-
* @param _absolutePath - Absolute path (unused)
|
|
54
|
-
*/
|
|
55
|
-
backup(_absolutePath: string): Promise<void>;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/transaction/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;;GAGG;AACH,qBAAa,WAAW;IASpB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;IATzB,OAAO,CAAC,WAAW,CAAS;IAE5B;;;;OAIG;gBAEgB,aAAa,EAAE,cAAc,EAC7B,MAAM,EAAE,OAAO;IAGlC;;;OAGG;IACG,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK1C;;;;;;OAMG;IACG,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IA0BzD;;;OAGG;IACG,MAAM,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAMlD;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B;;;OAGG;IACG,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3C;;;;OAIG;IACG,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAIzD;;;OAGG;IACG,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGnD"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Transaction wrapper for atomic operations
|
|
3
|
-
* Provides init → execute → cleanup/rollback pattern
|
|
4
|
-
*/
|
|
5
|
-
export class Transaction {
|
|
6
|
-
backupService;
|
|
7
|
-
logger;
|
|
8
|
-
initialized = false;
|
|
9
|
-
/**
|
|
10
|
-
* Initialize transaction with backup and logging services
|
|
11
|
-
* @param backupService - Service for backup operations
|
|
12
|
-
* @param logger - Logger instance for transaction events
|
|
13
|
-
*/
|
|
14
|
-
constructor(backupService, logger) {
|
|
15
|
-
this.backupService = backupService;
|
|
16
|
-
this.logger = logger;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Initialize the transaction
|
|
20
|
-
* @param destDir - Destination directory to protect during transaction
|
|
21
|
-
*/
|
|
22
|
-
async init(destDir) {
|
|
23
|
-
await this.backupService.init(destDir);
|
|
24
|
-
this.initialized = true;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Execute an operation within the transaction context
|
|
28
|
-
*
|
|
29
|
-
* Automatically rolls back on failure
|
|
30
|
-
* @param operation - Async operation to execute atomically
|
|
31
|
-
* @returns Promise resolving to operation result
|
|
32
|
-
*/
|
|
33
|
-
async execute(operation) {
|
|
34
|
-
if (!this.initialized) {
|
|
35
|
-
throw new Error("Transaction not initialized");
|
|
36
|
-
}
|
|
37
|
-
try {
|
|
38
|
-
const result = await operation();
|
|
39
|
-
await this.backupService.cleanup();
|
|
40
|
-
return result;
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
this.logger.error(`Operation failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
44
|
-
try {
|
|
45
|
-
await this.backupService.rollback();
|
|
46
|
-
}
|
|
47
|
-
catch (rollbackError) {
|
|
48
|
-
this.logger.error(`Rollback also failed: ${rollbackError instanceof Error ? rollbackError.message : String(rollbackError)}`);
|
|
49
|
-
}
|
|
50
|
-
throw error;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Create a backup of a file within this transaction
|
|
55
|
-
* @param absolutePath - Absolute path to file to backup
|
|
56
|
-
*/
|
|
57
|
-
async backup(absolutePath) {
|
|
58
|
-
if (!this.initialized) {
|
|
59
|
-
throw new Error("Transaction not initialized");
|
|
60
|
-
}
|
|
61
|
-
await this.backupService.backup(absolutePath);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* No-op transaction for dry-run mode
|
|
66
|
-
*/
|
|
67
|
-
export class DryRunTransaction {
|
|
68
|
-
/**
|
|
69
|
-
* Initialize dry-run transaction (no-op)
|
|
70
|
-
* @param _destDir - Destination directory (unused)
|
|
71
|
-
*/
|
|
72
|
-
async init(_destDir) {
|
|
73
|
-
// No-op
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Execute operation without backup/rollback (no-op)
|
|
77
|
-
* @param operation - Operation to execute
|
|
78
|
-
* @returns Promise resolving to operation result
|
|
79
|
-
*/
|
|
80
|
-
async execute(operation) {
|
|
81
|
-
return operation();
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Backup file (no-op)
|
|
85
|
-
* @param _absolutePath - Absolute path (unused)
|
|
86
|
-
*/
|
|
87
|
-
async backup(_absolutePath) {
|
|
88
|
-
// No-op
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=transaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src/transaction/transaction.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,OAAO,WAAW;IASH;IACA;IATX,WAAW,GAAG,KAAK,CAAC;IAE5B;;;;OAIG;IACH,YACmB,aAA6B,EAC7B,MAAe;QADf,kBAAa,GAAb,aAAa,CAAgB;QAC7B,WAAM,GAAN,MAAM,CAAS;IAC/B,CAAC;IAEJ;;;OAGG;IACH,KAAK,CAAC,IAAI,CAAC,OAAe;QACxB,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,OAAO,CAAI,SAA2B;QAC1C,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;YACnC,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,qBAAqB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAC9E,CAAC;YAEF,IAAI,CAAC;gBACH,MAAM,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YACtC,CAAC;YAAC,OAAO,aAAa,EAAE,CAAC;gBACvB,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,yBAAyB,aAAa,YAAY,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAC1G,CAAC;YACJ,CAAC;YAED,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CAAC,YAAoB;QAC/B,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACjD,CAAC;QACD,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAC5B;;;OAGG;IACH,KAAK,CAAC,IAAI,CAAC,QAAgB;QACzB,QAAQ;IACV,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAI,SAA2B;QAC1C,OAAO,SAAS,EAAE,CAAC;IACrB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CAAC,aAAqB;QAChC,QAAQ;IACV,CAAC;CACF"}
|
|
@@ -1,518 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is managed by Lisa and IS replaced on each `lisa` run.
|
|
3
|
-
* Do not edit directly — durable changes belong upstream in Lisa.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/* eslint-disable max-lines, max-lines-per-function -- config file needs a lot of lines */
|
|
7
|
-
/**
|
|
8
|
-
* ESLint 9 Flat Config - Expo Stack
|
|
9
|
-
*
|
|
10
|
-
* This configuration extends TypeScript config for Expo/React Native projects.
|
|
11
|
-
* It adds Expo-specific plugins and rules for React, Tailwind, accessibility,
|
|
12
|
-
* and component structure.
|
|
13
|
-
*
|
|
14
|
-
* Inheritance chain:
|
|
15
|
-
* eslint.expo.ts (this file)
|
|
16
|
-
* └── eslint.typescript.ts
|
|
17
|
-
* └── eslint.base.ts
|
|
18
|
-
* @see https://eslint.org/docs/latest/use/configure/configuration-files-new
|
|
19
|
-
* @module eslint.expo
|
|
20
|
-
*/
|
|
21
|
-
import react from "eslint-plugin-react";
|
|
22
|
-
import { readFileSync } from "fs";
|
|
23
|
-
import { createRequire } from "module";
|
|
24
|
-
import path from "path";
|
|
25
|
-
|
|
26
|
-
// Import TypeScript config and utilities from the Lisa package
|
|
27
|
-
// (eslint.typescript.ts is no longer deployed to downstream projects)
|
|
28
|
-
import {
|
|
29
|
-
codeOrganization,
|
|
30
|
-
defaultIgnores,
|
|
31
|
-
defaultThresholds,
|
|
32
|
-
getBaseConfigs,
|
|
33
|
-
getBaseLanguageOptions,
|
|
34
|
-
getJsFilesOverride,
|
|
35
|
-
getSharedFilesOverride,
|
|
36
|
-
getSharedRules,
|
|
37
|
-
getTestFilesOverride,
|
|
38
|
-
getTsFilesOverride,
|
|
39
|
-
getTsTestFilesOverride,
|
|
40
|
-
} from "@codyswann/lisa/eslint/typescript";
|
|
41
|
-
|
|
42
|
-
// Re-export for downstream configs
|
|
43
|
-
export {
|
|
44
|
-
defaultIgnores,
|
|
45
|
-
defaultThresholds,
|
|
46
|
-
getBaseConfigs,
|
|
47
|
-
getBaseLanguageOptions,
|
|
48
|
-
getSharedRules,
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/** View component files, which the View rules below all target. */
|
|
52
|
-
const VIEW_FILES = ["**/*View.tsx", "**/*View.jsx"];
|
|
53
|
-
|
|
54
|
-
/** Generated UI primitives (gluestack), exempt from the component rules. */
|
|
55
|
-
const UI_COMPONENTS = "components/ui/**";
|
|
56
|
-
|
|
57
|
-
// Custom plugins (CommonJS - use createRequire)
|
|
58
|
-
const require = createRequire(import.meta.url);
|
|
59
|
-
const componentStructure = require("@codyswann/eslint-plugin-component-structure");
|
|
60
|
-
const uiStandards = require("@codyswann/eslint-plugin-ui-standards");
|
|
61
|
-
const expoConfig = require("eslint-config-expo/flat");
|
|
62
|
-
// No type declarations ship for these three, so they load through require, as
|
|
63
|
-
// in the published factory, rather than through an import TypeScript rejects.
|
|
64
|
-
const reactPerf = require("eslint-plugin-react-perf");
|
|
65
|
-
const jsxA11y = require("eslint-plugin-jsx-a11y");
|
|
66
|
-
const tailwind = require("eslint-plugin-tailwindcss");
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* React's hook named exports, banned from a View's import list.
|
|
70
|
-
*
|
|
71
|
-
* An enumeration is correct HERE and nowhere else: React's hook set is fixed and
|
|
72
|
-
* published, and this is the import-line axis. The call-site axis
|
|
73
|
-
* (`component-structure/no-hooks-in-view`) matches by shape precisely because a
|
|
74
|
-
* project-local custom hook can never appear on a list like this one.
|
|
75
|
-
*/
|
|
76
|
-
const REACT_HOOK_IMPORT_NAMES = [
|
|
77
|
-
"useActionState",
|
|
78
|
-
"useCallback",
|
|
79
|
-
"useContext",
|
|
80
|
-
"useDebugValue",
|
|
81
|
-
"useDeferredValue",
|
|
82
|
-
"useEffect",
|
|
83
|
-
"useEffectEvent",
|
|
84
|
-
"useId",
|
|
85
|
-
"useImperativeHandle",
|
|
86
|
-
"useInsertionEffect",
|
|
87
|
-
"useLayoutEffect",
|
|
88
|
-
"useMemo",
|
|
89
|
-
"useOptimistic",
|
|
90
|
-
"useReducer",
|
|
91
|
-
"useRef",
|
|
92
|
-
"useState",
|
|
93
|
-
"useSyncExternalStore",
|
|
94
|
-
"useTransition",
|
|
95
|
-
];
|
|
96
|
-
|
|
97
|
-
/** What a developer is told when a View imports a hook. */
|
|
98
|
-
const VIEW_HOOK_IMPORT_MESSAGE =
|
|
99
|
-
"View components must not use hooks. Move the hook into the corresponding Container and pass its result down as a prop.";
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* A project's `.lisa.config.json`, when it has one.
|
|
103
|
-
*
|
|
104
|
-
* Absence is not an error: a project that has never run `lisa apply` has no
|
|
105
|
-
* such file and declares no axes.
|
|
106
|
-
* @param file - Absolute path to the candidate `.lisa.config.json`.
|
|
107
|
-
* @returns Its text, or undefined when the project has no such file.
|
|
108
|
-
*/
|
|
109
|
-
function readConfigText(file: string): string | undefined {
|
|
110
|
-
try {
|
|
111
|
-
return readFileSync(file, "utf8");
|
|
112
|
-
} catch {
|
|
113
|
-
return undefined;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Axes a project declares typed, read from its own `.lisa.config.json`.
|
|
119
|
-
*
|
|
120
|
-
* #2807: the design-value rule shipped installed, severity `"off"`, and arming
|
|
121
|
-
* it needed a severity AND a `typedAxes` option hand-written into
|
|
122
|
-
* `eslint.config.local.ts`. Nothing carried `design.tokens.axes` from
|
|
123
|
-
* `.lisa.config.json` to the rule, so a project could declare every axis,
|
|
124
|
-
* install the policy, pass every test, and enforce nothing.
|
|
125
|
-
*
|
|
126
|
-
* It is read HERE, at ESLint **config** load, rather than inside the rule at
|
|
127
|
-
* **rule** load. That distinction is what makes it unremarkable: the managed
|
|
128
|
-
* `eslint.config.ts` already reads `eslint.thresholds.json` and
|
|
129
|
-
* `eslint.ignore.config.json` from disk at exactly this moment, so this adds no
|
|
130
|
-
* new class of behaviour and gives ESLint's config cache nothing to fight. A
|
|
131
|
-
* rule reading project files on every `create()` would do both.
|
|
132
|
-
*
|
|
133
|
-
* It also needs no generation step, which is what the alternative — emitting
|
|
134
|
-
* rule options into a generated file during `lisa apply` — would have cost. A
|
|
135
|
-
* generated file can go stale against the config it was generated from; a value
|
|
136
|
-
* read at load cannot.
|
|
137
|
-
* @param projectRoot - Directory holding the project's `.lisa.config.json`.
|
|
138
|
-
* @returns The declared axes, or an empty list when none are declared.
|
|
139
|
-
* @throws {TypeError} When `design.tokens.axes` is present but is not a list of strings.
|
|
140
|
-
*/
|
|
141
|
-
export function readTypedAxes(projectRoot: string): string[] {
|
|
142
|
-
const file = path.join(projectRoot, ".lisa.config.json");
|
|
143
|
-
const raw = readConfigText(file);
|
|
144
|
-
if (raw === undefined) return [];
|
|
145
|
-
const axes = (JSON.parse(raw) as { design?: { tokens?: { axes?: unknown } } })
|
|
146
|
-
.design?.tokens?.axes;
|
|
147
|
-
if (axes === undefined) return [];
|
|
148
|
-
if (!Array.isArray(axes) || axes.some(axis => typeof axis !== "string")) {
|
|
149
|
-
// Coercing a malformed declaration to "no axes" would disarm the rule
|
|
150
|
-
// silently — #2807 reproduced one layer down. Refuse loudly instead.
|
|
151
|
-
throw new TypeError(
|
|
152
|
-
`${file}: design.tokens.axes must be an array of axis names, e.g. ["color"].`
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
return axes as string[];
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* The `ui-standards/no-unbound-design-value` entry for a set of typed axes.
|
|
160
|
-
*
|
|
161
|
-
* Silence-by-default is deliberate and unchanged: an axis with no published
|
|
162
|
-
* variable collection behind it has no token to bind to, and a rule that fires
|
|
163
|
-
* on every project is a rule that gets switched off. What changes is that
|
|
164
|
-
* declaring an axis is now SUFFICIENT to arm it. Previously nothing was.
|
|
165
|
-
*
|
|
166
|
-
* An axis name outside the rule's fixed vocabulary is passed through rather
|
|
167
|
-
* than filtered out, so ESLint's own schema validation rejects it by name. A
|
|
168
|
-
* filter would turn a typo into silent non-enforcement, which is the defect
|
|
169
|
-
* this function exists to remove.
|
|
170
|
-
* @param typedAxes - Axes the project declares typed.
|
|
171
|
-
* @returns `"off"` when none are declared, an armed error entry otherwise.
|
|
172
|
-
*/
|
|
173
|
-
export function getDesignValueBindingRule(
|
|
174
|
-
typedAxes: readonly string[]
|
|
175
|
-
): import("eslint").Linter.RuleEntry {
|
|
176
|
-
return typedAxes.length > 0
|
|
177
|
-
? ["error", { typedAxes: [...typedAxes] }]
|
|
178
|
-
: "off";
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Creates the Expo ESLint configuration.
|
|
183
|
-
* @param {object} options - Configuration options
|
|
184
|
-
* @param {string} options.tsconfigRootDir - Root directory for tsconfig.json
|
|
185
|
-
* @param {string[]} [options.ignorePatterns] - Patterns to ignore
|
|
186
|
-
* @param {object} [options.thresholds] - Threshold overrides
|
|
187
|
-
* @param {string[]} [options.typedAxes] - Axes the project declares typed, mirroring `design.tokens.axes`. Empty leaves the design-value rule off.
|
|
188
|
-
* @returns {Array} ESLint flat config array
|
|
189
|
-
*/
|
|
190
|
-
export function getExpoConfig({
|
|
191
|
-
tsconfigRootDir,
|
|
192
|
-
ignorePatterns = defaultIgnores,
|
|
193
|
-
thresholds = defaultThresholds,
|
|
194
|
-
typedAxes = [],
|
|
195
|
-
}: {
|
|
196
|
-
tsconfigRootDir: string;
|
|
197
|
-
ignorePatterns?: string[];
|
|
198
|
-
thresholds?: typeof defaultThresholds;
|
|
199
|
-
typedAxes?: readonly string[];
|
|
200
|
-
}) {
|
|
201
|
-
return [
|
|
202
|
-
// Global ignores
|
|
203
|
-
{
|
|
204
|
-
ignores: ignorePatterns,
|
|
205
|
-
},
|
|
206
|
-
|
|
207
|
-
// Base configurations from shared module
|
|
208
|
-
...getBaseConfigs(),
|
|
209
|
-
|
|
210
|
-
// Expo-specific configurations
|
|
211
|
-
...expoConfig,
|
|
212
|
-
|
|
213
|
-
// React configurations
|
|
214
|
-
react.configs.flat.recommended,
|
|
215
|
-
react.configs.flat["jsx-runtime"],
|
|
216
|
-
|
|
217
|
-
// Accessibility
|
|
218
|
-
jsxA11y.flatConfigs.strict,
|
|
219
|
-
|
|
220
|
-
// Tailwind CSS
|
|
221
|
-
...tailwind.configs["flat/recommended"],
|
|
222
|
-
|
|
223
|
-
// Performance
|
|
224
|
-
reactPerf.configs.flat.recommended,
|
|
225
|
-
|
|
226
|
-
// Base configuration for all files
|
|
227
|
-
{
|
|
228
|
-
languageOptions: {
|
|
229
|
-
...getBaseLanguageOptions(),
|
|
230
|
-
parserOptions: {
|
|
231
|
-
...getBaseLanguageOptions().parserOptions,
|
|
232
|
-
ecmaFeatures: { jsx: true },
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
plugins: {
|
|
236
|
-
"component-structure": componentStructure,
|
|
237
|
-
"code-organization": codeOrganization,
|
|
238
|
-
"ui-standards": uiStandards,
|
|
239
|
-
},
|
|
240
|
-
rules: {
|
|
241
|
-
// Shared rules from base
|
|
242
|
-
...getSharedRules(thresholds),
|
|
243
|
-
|
|
244
|
-
// Code organization
|
|
245
|
-
"code-organization/enforce-statement-order": "error",
|
|
246
|
-
|
|
247
|
-
// UI standards (all off by default)
|
|
248
|
-
"ui-standards/no-classname-outside-ui": "off",
|
|
249
|
-
"ui-standards/no-direct-rn-imports": "off",
|
|
250
|
-
// Regime-aware by declaration: silent until the project names the axes
|
|
251
|
-
// it publishes design variables for. Declaring `design.tokens.axes` in
|
|
252
|
-
// .lisa.config.json is what arms it — the managed eslint.config.ts
|
|
253
|
-
// reads that key and hands it here (#2807). Declaring nothing leaves
|
|
254
|
-
// the rule off, which is the correct default and was previously the
|
|
255
|
-
// ONLY reachable state.
|
|
256
|
-
"ui-standards/no-unbound-design-value":
|
|
257
|
-
getDesignValueBindingRule(typedAxes),
|
|
258
|
-
|
|
259
|
-
// Tailwind
|
|
260
|
-
"tailwindcss/classnames-order": [
|
|
261
|
-
"error",
|
|
262
|
-
{
|
|
263
|
-
callees: ["tva", "classnames", "clsx", "ctl", "cva", "tv"],
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
|
|
267
|
-
// Import rules
|
|
268
|
-
// Slow rules - disabled by default, run via `lint:slow` script
|
|
269
|
-
// @see eslint.slow.config.ts
|
|
270
|
-
"import/no-cycle": "off",
|
|
271
|
-
"import/namespace": "off",
|
|
272
|
-
// End Slow rules - disabled by default, run via `lint:slow` script
|
|
273
|
-
"import/no-unresolved": "off", // Disabled: doesn't understand React Native platform extensions (.native.tsx, .web.tsx)
|
|
274
|
-
"import/prefer-default-export": "off",
|
|
275
|
-
"import/no-duplicates": "error",
|
|
276
|
-
|
|
277
|
-
// React performance
|
|
278
|
-
"react-perf/jsx-no-new-object-as-prop": "error",
|
|
279
|
-
"react-perf/jsx-no-new-array-as-prop": "error",
|
|
280
|
-
"react-perf/jsx-no-new-function-as-prop": "error",
|
|
281
|
-
|
|
282
|
-
// React rules
|
|
283
|
-
"react/jsx-no-constructed-context-values": "error",
|
|
284
|
-
"react/jsx-uses-react": "off",
|
|
285
|
-
"react/react-in-jsx-scope": "off",
|
|
286
|
-
"react-hooks/exhaustive-deps": "error",
|
|
287
|
-
"react-hooks/rules-of-hooks": "error",
|
|
288
|
-
"react-hooks/set-state-in-effect": "error",
|
|
289
|
-
"react-hooks/preserve-manual-memoization": "error",
|
|
290
|
-
"react-hooks/refs": "error",
|
|
291
|
-
"react-hooks/immutability": "error",
|
|
292
|
-
// React Compiler diagnostics, replacing react-compiler/react-compiler
|
|
293
|
-
// (its plugin pins zod 3, unfixed for GHSA-mrhx-c7xc-m3w5).
|
|
294
|
-
"react-hooks/use-memo": "error",
|
|
295
|
-
"react-hooks/globals": "error",
|
|
296
|
-
"react-hooks/error-boundaries": "error",
|
|
297
|
-
"react-hooks/purity": "error",
|
|
298
|
-
"react-hooks/set-state-in-render": "error",
|
|
299
|
-
"react-hooks/config": "error",
|
|
300
|
-
"react-hooks/gating": "error",
|
|
301
|
-
// Slow rules - disabled by default, run via `lint:slow` script
|
|
302
|
-
// @see eslint.slow.config.ts
|
|
303
|
-
"react-hooks/static-components": "off",
|
|
304
|
-
// react-hooks/rule-suppression and react-hooks/void-use-memo stay unset
|
|
305
|
-
// here; they run in lint:slow (getExpoSlowConfig).
|
|
306
|
-
// End Slow rules - disabled by default, run via `lint:slow` script
|
|
307
|
-
// Environment variables - enforce validated env module usage
|
|
308
|
-
// @see .claude/skills/expo-env-config/SKILL.md
|
|
309
|
-
"no-restricted-syntax": [
|
|
310
|
-
"error",
|
|
311
|
-
{
|
|
312
|
-
selector:
|
|
313
|
-
"MemberExpression[object.name='process'][property.name='env']",
|
|
314
|
-
message:
|
|
315
|
-
"Direct process.env access is forbidden. Import { env } from '@/lib/env' instead for type-safe, validated environment variables.",
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
|
|
319
|
-
// Console warnings for Expo
|
|
320
|
-
"no-console": "warn",
|
|
321
|
-
|
|
322
|
-
// Functional programming - classes not allowed in Expo (functional components only)
|
|
323
|
-
"functional/no-classes": "error",
|
|
324
|
-
|
|
325
|
-
// JSDoc rules - Expo has relaxed requirements for classes/methods
|
|
326
|
-
"jsdoc/require-jsdoc": [
|
|
327
|
-
"error",
|
|
328
|
-
{
|
|
329
|
-
require: {
|
|
330
|
-
FunctionDeclaration: true,
|
|
331
|
-
MethodDefinition: false,
|
|
332
|
-
ClassDeclaration: false,
|
|
333
|
-
ArrowFunctionExpression: false,
|
|
334
|
-
FunctionExpression: false,
|
|
335
|
-
},
|
|
336
|
-
contexts: [
|
|
337
|
-
"TSInterfaceDeclaration",
|
|
338
|
-
"TSTypeAliasDeclaration",
|
|
339
|
-
"VariableDeclaration[declarations.0.init.type='ArrowFunctionExpression']:has([id.name=/^[A-Z]/])",
|
|
340
|
-
],
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
// JavaScript files override
|
|
347
|
-
getJsFilesOverride(),
|
|
348
|
-
|
|
349
|
-
// Shared hooks and components
|
|
350
|
-
getSharedFilesOverride(),
|
|
351
|
-
|
|
352
|
-
// UI components
|
|
353
|
-
{
|
|
354
|
-
files: [
|
|
355
|
-
"components/ui/**/*.tsx",
|
|
356
|
-
"components/ui/**/*.jsx",
|
|
357
|
-
"components/custom/ui/**/*.tsx",
|
|
358
|
-
"components/custom/ui/**/*.jsx",
|
|
359
|
-
],
|
|
360
|
-
rules: {
|
|
361
|
-
"ui-standards/no-classname-outside-ui": "off",
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
|
|
365
|
-
// Test files and Jest setup (with JSX patterns)
|
|
366
|
-
getTestFilesOverride([
|
|
367
|
-
"**/*.test.jsx",
|
|
368
|
-
"**/*.test.tsx",
|
|
369
|
-
"**/*spec.jsx",
|
|
370
|
-
"**/*spec.tsx",
|
|
371
|
-
]),
|
|
372
|
-
|
|
373
|
-
// TypeScript files - enable type-checked linting (includes TSX)
|
|
374
|
-
{
|
|
375
|
-
...getTsFilesOverride(["**/*.ts", "**/*.tsx"], tsconfigRootDir),
|
|
376
|
-
rules: {
|
|
377
|
-
...getTsFilesOverride(["**/*.ts", "**/*.tsx"], tsconfigRootDir).rules,
|
|
378
|
-
"react/prop-types": "off",
|
|
379
|
-
},
|
|
380
|
-
},
|
|
381
|
-
|
|
382
|
-
// TSX files - disable require-returns for components
|
|
383
|
-
{
|
|
384
|
-
files: ["**/*.tsx"],
|
|
385
|
-
rules: {
|
|
386
|
-
"jsdoc/require-returns": "off",
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
|
|
390
|
-
// TypeScript test files - disable immutable-data (must come after TypeScript config)
|
|
391
|
-
getTsTestFilesOverride([
|
|
392
|
-
"**/*.test.ts",
|
|
393
|
-
"**/*.test.tsx",
|
|
394
|
-
"**/*spec.ts",
|
|
395
|
-
"**/*spec.tsx",
|
|
396
|
-
]),
|
|
397
|
-
|
|
398
|
-
// Component structure rules
|
|
399
|
-
{
|
|
400
|
-
files: [
|
|
401
|
-
"features/**/components/**/*.ts",
|
|
402
|
-
"features/**/components/**/*.tsx",
|
|
403
|
-
"features/**/components/**/*.jsx",
|
|
404
|
-
"features/**/screens/**/*.ts",
|
|
405
|
-
"features/**/screens/**/*.tsx",
|
|
406
|
-
"features/**/screens/**/*.jsx",
|
|
407
|
-
"components/**/*.ts",
|
|
408
|
-
"components/**/*.tsx",
|
|
409
|
-
"components/**/*.jsx",
|
|
410
|
-
],
|
|
411
|
-
ignores: [UI_COMPONENTS, "components/shared/**", "components/icons/**"],
|
|
412
|
-
rules: {
|
|
413
|
-
"component-structure/enforce-component-structure": "error",
|
|
414
|
-
"component-structure/single-component-per-file": "error",
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
// View component rules: no statements, no hooks.
|
|
419
|
-
//
|
|
420
|
-
// Stated as those two properties rather than as "Views are pure functions",
|
|
421
|
-
// which is a guarantee neither rule delivers — `{Date.now()}` and
|
|
422
|
-
// `{Math.random() > 0.5 ? … : …}` sit happily in an expression body. The
|
|
423
|
-
// skill claiming an enforcement it did not have is what let a hook live in
|
|
424
|
-
// a View for so long; the fix must not repeat the shape of the defect.
|
|
425
|
-
{
|
|
426
|
-
files: VIEW_FILES,
|
|
427
|
-
rules: {
|
|
428
|
-
"component-structure/no-return-in-view": "error",
|
|
429
|
-
},
|
|
430
|
-
},
|
|
431
|
-
|
|
432
|
-
// View hook ban, on two independent axes.
|
|
433
|
-
//
|
|
434
|
-
// `no-hooks-in-view` matches the CALL by shape (`use` + uppercase), so a
|
|
435
|
-
// project-local custom hook is caught where an enumerated name list would
|
|
436
|
-
// miss it. `no-restricted-imports` catches the IMPORT LINE, before a call
|
|
437
|
-
// site exists. Neither subsumes the other: a hook re-exported through a
|
|
438
|
-
// barrel escapes the import patterns, and an import with no call yet
|
|
439
|
-
// escapes the call matcher.
|
|
440
|
-
//
|
|
441
|
-
// `paths` may enumerate here because React's hook set is fixed and
|
|
442
|
-
// published; the generic half is the rule, not this list. Scope matches the
|
|
443
|
-
// Container/View pattern's own applicability table, and the base
|
|
444
|
-
// `@/features/*/*` restriction is carried forward because a flat-config
|
|
445
|
-
// override replaces a rule's options wholesale.
|
|
446
|
-
{
|
|
447
|
-
files: VIEW_FILES,
|
|
448
|
-
ignores: [UI_COMPONENTS, "components/shared/**", "components/icons/**"],
|
|
449
|
-
rules: {
|
|
450
|
-
"component-structure/no-hooks-in-view": "error",
|
|
451
|
-
"no-restricted-imports": [
|
|
452
|
-
"error",
|
|
453
|
-
{
|
|
454
|
-
paths: [
|
|
455
|
-
{
|
|
456
|
-
name: "react",
|
|
457
|
-
importNames: REACT_HOOK_IMPORT_NAMES,
|
|
458
|
-
message: VIEW_HOOK_IMPORT_MESSAGE,
|
|
459
|
-
},
|
|
460
|
-
],
|
|
461
|
-
patterns: [
|
|
462
|
-
// Objects, not a mix: `no-restricted-imports` accepts an array of
|
|
463
|
-
// strings OR an array of objects, never both, and a mixed array
|
|
464
|
-
// is a schema error that disables the whole override.
|
|
465
|
-
{ group: ["@/features/*/*"] },
|
|
466
|
-
{
|
|
467
|
-
group: ["**/hooks/**", "@/hooks/**", "~/hooks/**"],
|
|
468
|
-
message: VIEW_HOOK_IMPORT_MESSAGE,
|
|
469
|
-
},
|
|
470
|
-
],
|
|
471
|
-
},
|
|
472
|
-
],
|
|
473
|
-
},
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
// View memo requirement (excluding UI components)
|
|
477
|
-
{
|
|
478
|
-
files: VIEW_FILES,
|
|
479
|
-
ignores: [UI_COMPONENTS],
|
|
480
|
-
rules: {
|
|
481
|
-
"component-structure/require-memo-in-view": "error",
|
|
482
|
-
},
|
|
483
|
-
},
|
|
484
|
-
|
|
485
|
-
// Environment validation module - allowed to access process.env
|
|
486
|
-
// This is the ONLY file that should directly read environment variables
|
|
487
|
-
// @see .claude/skills/expo-env-config/SKILL.md
|
|
488
|
-
{
|
|
489
|
-
files: ["src/lib/env.ts", "lib/env.ts", "lib/__tests__/env.test.ts"],
|
|
490
|
-
rules: {
|
|
491
|
-
"no-restricted-syntax": "off",
|
|
492
|
-
},
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
// Test files that mock process.env for environment variable testing
|
|
496
|
-
// These need direct access to process.env to set up test fixtures
|
|
497
|
-
{
|
|
498
|
-
files: [
|
|
499
|
-
"lib/apollo/sentryLink.test.ts",
|
|
500
|
-
"lib/build/info.test.ts",
|
|
501
|
-
"lib/sentry/config.test.ts",
|
|
502
|
-
],
|
|
503
|
-
rules: {
|
|
504
|
-
"no-restricted-syntax": "off",
|
|
505
|
-
},
|
|
506
|
-
},
|
|
507
|
-
|
|
508
|
-
// Configuration files - allowed to use process.env directly
|
|
509
|
-
{
|
|
510
|
-
files: ["**/*config.*", "lighthouserc.js", "codegen.ts"],
|
|
511
|
-
rules: {
|
|
512
|
-
"no-restricted-syntax": "off",
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
];
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/* eslint-enable max-lines, max-lines-per-function -- config file needs a lot of lines */
|