@dads-framework/toolbox 0.0.0-stage → 0.1.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/LICENSE.md +21 -0
- package/README.md +396 -2
- package/bin/dad.js +91 -0
- package/bin/usage.d.ts +2 -0
- package/bin/usage.js +37 -0
- package/dist/add-library-recipe.d.ts +23 -0
- package/dist/add-library-recipe.d.ts.map +1 -0
- package/dist/add-library-recipe.js +122 -0
- package/dist/add-library-recipe.js.map +1 -0
- package/dist/cli-baseline-commands.d.ts +2 -0
- package/dist/cli-baseline-commands.d.ts.map +1 -0
- package/dist/cli-baseline-commands.js +43 -0
- package/dist/cli-baseline-commands.js.map +1 -0
- package/dist/cli-boundary-commands.d.ts +2 -0
- package/dist/cli-boundary-commands.d.ts.map +1 -0
- package/dist/cli-boundary-commands.js +19 -0
- package/dist/cli-boundary-commands.js.map +1 -0
- package/dist/cli-doctor-commands.d.ts +58 -0
- package/dist/cli-doctor-commands.d.ts.map +1 -0
- package/dist/cli-doctor-commands.js +229 -0
- package/dist/cli-doctor-commands.js.map +1 -0
- package/dist/cli-doctor-gate.d.ts +52 -0
- package/dist/cli-doctor-gate.d.ts.map +1 -0
- package/dist/cli-doctor-gate.js +111 -0
- package/dist/cli-doctor-gate.js.map +1 -0
- package/dist/cli-documentation.d.ts +3 -0
- package/dist/cli-documentation.d.ts.map +1 -0
- package/dist/cli-documentation.js +13 -0
- package/dist/cli-documentation.js.map +1 -0
- package/dist/cli-generator-commands.d.ts +9 -0
- package/dist/cli-generator-commands.d.ts.map +1 -0
- package/dist/cli-generator-commands.js +68 -0
- package/dist/cli-generator-commands.js.map +1 -0
- package/dist/cli-inspection-commands.d.ts +12 -0
- package/dist/cli-inspection-commands.d.ts.map +1 -0
- package/dist/cli-inspection-commands.js +106 -0
- package/dist/cli-inspection-commands.js.map +1 -0
- package/dist/cli-io.d.ts +10 -0
- package/dist/cli-io.d.ts.map +1 -0
- package/dist/cli-io.js +28 -0
- package/dist/cli-io.js.map +1 -0
- package/dist/cli-library-commands.d.ts +2 -0
- package/dist/cli-library-commands.d.ts.map +1 -0
- package/dist/cli-library-commands.js +14 -0
- package/dist/cli-library-commands.js.map +1 -0
- package/dist/cli-project-commands.d.ts +4 -0
- package/dist/cli-project-commands.d.ts.map +1 -0
- package/dist/cli-project-commands.js +39 -0
- package/dist/cli-project-commands.js.map +1 -0
- package/dist/cli-route-inspection-commands.d.ts +2 -0
- package/dist/cli-route-inspection-commands.d.ts.map +1 -0
- package/dist/cli-route-inspection-commands.js +43 -0
- package/dist/cli-route-inspection-commands.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +82 -0
- package/dist/cli.js.map +1 -0
- package/dist/dads-initialization-arguments.d.ts +11 -0
- package/dist/dads-initialization-arguments.d.ts.map +1 -0
- package/dist/dads-initialization-arguments.js +88 -0
- package/dist/dads-initialization-arguments.js.map +1 -0
- package/dist/dependency-installation-receipt.d.ts +3 -0
- package/dist/dependency-installation-receipt.d.ts.map +1 -0
- package/dist/dependency-installation-receipt.js +37 -0
- package/dist/dependency-installation-receipt.js.map +1 -0
- package/dist/doctor/diagnose-workspace.d.ts +41 -0
- package/dist/doctor/diagnose-workspace.d.ts.map +1 -0
- package/dist/doctor/diagnose-workspace.js +65 -0
- package/dist/doctor/diagnose-workspace.js.map +1 -0
- package/dist/doctor/doctor-context.d.ts +142 -0
- package/dist/doctor/doctor-context.d.ts.map +1 -0
- package/dist/doctor/doctor-context.js +252 -0
- package/dist/doctor/doctor-context.js.map +1 -0
- package/dist/doctor/doctor-gate-base.d.ts +52 -0
- package/dist/doctor/doctor-gate-base.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-base.js +240 -0
- package/dist/doctor/doctor-gate-base.js.map +1 -0
- package/dist/doctor/doctor-gate-baseline.d.ts +40 -0
- package/dist/doctor/doctor-gate-baseline.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-baseline.js +209 -0
- package/dist/doctor/doctor-gate-baseline.js.map +1 -0
- package/dist/doctor/doctor-gate-model.d.ts +130 -0
- package/dist/doctor/doctor-gate-model.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-model.js +89 -0
- package/dist/doctor/doctor-gate-model.js.map +1 -0
- package/dist/doctor/doctor-gate-render.d.ts +30 -0
- package/dist/doctor/doctor-gate-render.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-render.js +75 -0
- package/dist/doctor/doctor-gate-render.js.map +1 -0
- package/dist/doctor/doctor-gate-retirements.d.ts +10 -0
- package/dist/doctor/doctor-gate-retirements.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-retirements.js +155 -0
- package/dist/doctor/doctor-gate-retirements.js.map +1 -0
- package/dist/doctor/doctor-gate-states.d.ts +22 -0
- package/dist/doctor/doctor-gate-states.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-states.js +254 -0
- package/dist/doctor/doctor-gate-states.js.map +1 -0
- package/dist/doctor/doctor-gate.d.ts +56 -0
- package/dist/doctor/doctor-gate.d.ts.map +1 -0
- package/dist/doctor/doctor-gate.js +295 -0
- package/dist/doctor/doctor-gate.js.map +1 -0
- package/dist/doctor/doctor-report.d.ts +101 -0
- package/dist/doctor/doctor-report.d.ts.map +1 -0
- package/dist/doctor/doctor-report.js +215 -0
- package/dist/doctor/doctor-report.js.map +1 -0
- package/dist/doctor/doctor-signal.d.ts +91 -0
- package/dist/doctor/doctor-signal.d.ts.map +1 -0
- package/dist/doctor/doctor-signal.js +41 -0
- package/dist/doctor/doctor-signal.js.map +1 -0
- package/dist/doctor/doctor-signals.d.ts +35 -0
- package/dist/doctor/doctor-signals.d.ts.map +1 -0
- package/dist/doctor/doctor-signals.js +65 -0
- package/dist/doctor/doctor-signals.js.map +1 -0
- package/dist/doctor/hatch-names.d.ts +26 -0
- package/dist/doctor/hatch-names.d.ts.map +1 -0
- package/dist/doctor/hatch-names.js +26 -0
- package/dist/doctor/hatch-names.js.map +1 -0
- package/dist/doctor/issue-catalog-attachment.d.ts +12 -0
- package/dist/doctor/issue-catalog-attachment.d.ts.map +1 -0
- package/dist/doctor/issue-catalog-attachment.js +241 -0
- package/dist/doctor/issue-catalog-attachment.js.map +1 -0
- package/dist/doctor/issue-catalog-enforcement.d.ts +12 -0
- package/dist/doctor/issue-catalog-enforcement.d.ts.map +1 -0
- package/dist/doctor/issue-catalog-enforcement.js +302 -0
- package/dist/doctor/issue-catalog-enforcement.js.map +1 -0
- package/dist/doctor/issues.d.ts +42 -0
- package/dist/doctor/issues.d.ts.map +1 -0
- package/dist/doctor/issues.js +27 -0
- package/dist/doctor/issues.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts +19 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.js +44 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.d.ts +18 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.js +98 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts +23 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js +58 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts +25 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.js +90 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts +21 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js +58 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts +22 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js +77 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts +15 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js +43 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts +19 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.js +54 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.js +46 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts +23 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js +67 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js +59 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts +17 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.js +38 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js +63 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts +18 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js +64 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts +21 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.js +57 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts +18 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.js +68 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js +66 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts +25 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js +95 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js +44 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts +15 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.js +46 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts +12 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.js +36 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/test-count.d.ts +18 -0
- package/dist/doctor/signals/commitment-issues/test-count.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/test-count.js +111 -0
- package/dist/doctor/signals/commitment-issues/test-count.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-age.d.ts +24 -0
- package/dist/doctor/signals/commitment-issues/todo-age.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-age.js +73 -0
- package/dist/doctor/signals/commitment-issues/todo-age.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts +27 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.js +82 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js +101 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js +80 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts +21 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js +71 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts +24 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js +52 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts +3 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js +66 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js +69 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js +55 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.d.ts +17 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.js +35 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts +20 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js +43 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts +14 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.js +32 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts +15 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.js +43 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.d.ts +16 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.js +35 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts +15 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js +34 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts +23 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js +125 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts +15 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js +33 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts +27 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js +160 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts +27 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js +164 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts +31 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js +138 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js.map +1 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts +20 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.js +44 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.js.map +1 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.d.ts +24 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.js +84 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.js.map +1 -0
- package/dist/doctor/signals/enmeshment/fan-out.d.ts +19 -0
- package/dist/doctor/signals/enmeshment/fan-out.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/fan-out.js +50 -0
- package/dist/doctor/signals/enmeshment/fan-out.js.map +1 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts +15 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.js +40 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts +22 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.js +139 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/enmeshment/god-classes.d.ts +17 -0
- package/dist/doctor/signals/enmeshment/god-classes.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/god-classes.js +55 -0
- package/dist/doctor/signals/enmeshment/god-classes.js.map +1 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts +24 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.js +91 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.js.map +1 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts +16 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.js +39 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.js.map +1 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts +14 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js +39 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts +16 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.js +38 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts +19 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js +39 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts +24 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.js +82 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts +21 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.js +62 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts +19 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js +65 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js.map +1 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js +66 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js.map +1 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.js +59 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.js.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js +70 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts +25 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js +82 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts +27 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.js +101 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.js.map +1 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.d.ts +31 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.js +107 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts +30 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.js +68 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js +79 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts +21 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js +81 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js +73 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js +46 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts +22 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js +62 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts +22 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js +104 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts +17 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js +40 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts +26 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js +58 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts +25 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js +111 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts +18 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js +41 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.js +84 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts +16 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js +87 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts +18 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.js +49 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts +31 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.js +166 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.js +63 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.d.ts +20 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.js +109 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js +42 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js.map +1 -0
- package/dist/doctor/signals/registry/foundation.d.ts +13 -0
- package/dist/doctor/signals/registry/foundation.d.ts.map +1 -0
- package/dist/doctor/signals/registry/foundation.js +45 -0
- package/dist/doctor/signals/registry/foundation.js.map +1 -0
- package/dist/doctor/signals/registry/git.d.ts +23 -0
- package/dist/doctor/signals/registry/git.d.ts.map +1 -0
- package/dist/doctor/signals/registry/git.js +41 -0
- package/dist/doctor/signals/registry/git.js.map +1 -0
- package/dist/doctor/signals/registry/online.d.ts +20 -0
- package/dist/doctor/signals/registry/online.d.ts.map +1 -0
- package/dist/doctor/signals/registry/online.js +26 -0
- package/dist/doctor/signals/registry/online.js.map +1 -0
- package/dist/doctor/signals/registry/packages.d.ts +17 -0
- package/dist/doctor/signals/registry/packages.d.ts.map +1 -0
- package/dist/doctor/signals/registry/packages.js +37 -0
- package/dist/doctor/signals/registry/packages.js.map +1 -0
- package/dist/doctor/signals/registry/routes.d.ts +20 -0
- package/dist/doctor/signals/registry/routes.d.ts.map +1 -0
- package/dist/doctor/signals/registry/routes.js +38 -0
- package/dist/doctor/signals/registry/routes.js.map +1 -0
- package/dist/doctor/signals/registry/stored-and-sent.d.ts +18 -0
- package/dist/doctor/signals/registry/stored-and-sent.d.ts.map +1 -0
- package/dist/doctor/signals/registry/stored-and-sent.js +40 -0
- package/dist/doctor/signals/registry/stored-and-sent.js.map +1 -0
- package/dist/doctor/signals/registry/text-and-packages.d.ts +17 -0
- package/dist/doctor/signals/registry/text-and-packages.d.ts.map +1 -0
- package/dist/doctor/signals/registry/text-and-packages.js +57 -0
- package/dist/doctor/signals/registry/text-and-packages.js.map +1 -0
- package/dist/doctor/signals/registry/typescript.d.ts +16 -0
- package/dist/doctor/signals/registry/typescript.d.ts.map +1 -0
- package/dist/doctor/signals/registry/typescript.js +72 -0
- package/dist/doctor/signals/registry/typescript.js.map +1 -0
- package/dist/doctor/signals/scanners/access-artifacts.d.ts +23 -0
- package/dist/doctor/signals/scanners/access-artifacts.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/access-artifacts.js +46 -0
- package/dist/doctor/signals/scanners/access-artifacts.js.map +1 -0
- package/dist/doctor/signals/scanners/capability-model.d.ts +41 -0
- package/dist/doctor/signals/scanners/capability-model.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/capability-model.js +154 -0
- package/dist/doctor/signals/scanners/capability-model.js.map +1 -0
- package/dist/doctor/signals/scanners/counted-lines.d.ts +39 -0
- package/dist/doctor/signals/scanners/counted-lines.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/counted-lines.js +196 -0
- package/dist/doctor/signals/scanners/counted-lines.js.map +1 -0
- package/dist/doctor/signals/scanners/generated-artifacts.d.ts +32 -0
- package/dist/doctor/signals/scanners/generated-artifacts.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/generated-artifacts.js +137 -0
- package/dist/doctor/signals/scanners/generated-artifacts.js.map +1 -0
- package/dist/doctor/signals/scanners/git-history.d.ts +95 -0
- package/dist/doctor/signals/scanners/git-history.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/git-history.js +0 -0
- package/dist/doctor/signals/scanners/git-history.js.map +1 -0
- package/dist/doctor/signals/scanners/lint-configuration.d.ts +29 -0
- package/dist/doctor/signals/scanners/lint-configuration.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/lint-configuration.js +75 -0
- package/dist/doctor/signals/scanners/lint-configuration.js.map +1 -0
- package/dist/doctor/signals/scanners/migration-base.d.ts +27 -0
- package/dist/doctor/signals/scanners/migration-base.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/migration-base.js +58 -0
- package/dist/doctor/signals/scanners/migration-base.js.map +1 -0
- package/dist/doctor/signals/scanners/migration-files.d.ts +34 -0
- package/dist/doctor/signals/scanners/migration-files.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/migration-files.js +82 -0
- package/dist/doctor/signals/scanners/migration-files.js.map +1 -0
- package/dist/doctor/signals/scanners/online-requests.d.ts +67 -0
- package/dist/doctor/signals/scanners/online-requests.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/online-requests.js +136 -0
- package/dist/doctor/signals/scanners/online-requests.js.map +1 -0
- package/dist/doctor/signals/scanners/package-graph.d.ts +76 -0
- package/dist/doctor/signals/scanners/package-graph.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/package-graph.js +252 -0
- package/dist/doctor/signals/scanners/package-graph.js.map +1 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts +72 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.js +149 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.js.map +1 -0
- package/dist/doctor/signals/scanners/raw-failures.d.ts +22 -0
- package/dist/doctor/signals/scanners/raw-failures.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/raw-failures.js +107 -0
- package/dist/doctor/signals/scanners/raw-failures.js.map +1 -0
- package/dist/doctor/signals/scanners/rendered-copy.d.ts +28 -0
- package/dist/doctor/signals/scanners/rendered-copy.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/rendered-copy.js +182 -0
- package/dist/doctor/signals/scanners/rendered-copy.js.map +1 -0
- package/dist/doctor/signals/scanners/response-code.d.ts +23 -0
- package/dist/doctor/signals/scanners/response-code.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/response-code.js +40 -0
- package/dist/doctor/signals/scanners/response-code.js.map +1 -0
- package/dist/doctor/signals/scanners/route-model.d.ts +22 -0
- package/dist/doctor/signals/scanners/route-model.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/route-model.js +45 -0
- package/dist/doctor/signals/scanners/route-model.js.map +1 -0
- package/dist/doctor/signals/scanners/source-classification.d.ts +29 -0
- package/dist/doctor/signals/scanners/source-classification.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/source-classification.js +66 -0
- package/dist/doctor/signals/scanners/source-classification.js.map +1 -0
- package/dist/doctor/signals/scanners/text-agent-harness.d.ts +38 -0
- package/dist/doctor/signals/scanners/text-agent-harness.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-agent-harness.js +86 -0
- package/dist/doctor/signals/scanners/text-agent-harness.js.map +1 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.d.ts +20 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.js +20 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.js.map +1 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.d.ts +23 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.js +50 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.js.map +1 -0
- package/dist/doctor/signals/scanners/text-comment-scan.d.ts +29 -0
- package/dist/doctor/signals/scanners/text-comment-scan.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-comment-scan.js +108 -0
- package/dist/doctor/signals/scanners/text-comment-scan.js.map +1 -0
- package/dist/doctor/signals/scanners/text-declared-packages.d.ts +28 -0
- package/dist/doctor/signals/scanners/text-declared-packages.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-declared-packages.js +44 -0
- package/dist/doctor/signals/scanners/text-declared-packages.js.map +1 -0
- package/dist/doctor/signals/scanners/text-permission-marks.d.ts +25 -0
- package/dist/doctor/signals/scanners/text-permission-marks.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-permission-marks.js +25 -0
- package/dist/doctor/signals/scanners/text-permission-marks.js.map +1 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts +27 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.js +54 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.js.map +1 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.d.ts +28 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.js +46 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.js.map +1 -0
- package/dist/doctor/signals/scanners/top-level-declarations.d.ts +34 -0
- package/dist/doctor/signals/scanners/top-level-declarations.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/top-level-declarations.js +206 -0
- package/dist/doctor/signals/scanners/top-level-declarations.js.map +1 -0
- package/dist/doctor/signals/scanners/typescript-program.d.ts +172 -0
- package/dist/doctor/signals/scanners/typescript-program.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/typescript-program.js +431 -0
- package/dist/doctor/signals/scanners/typescript-program.js.map +1 -0
- package/dist/doctor/signals/scanners/web-renderers.d.ts +24 -0
- package/dist/doctor/signals/scanners/web-renderers.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/web-renderers.js +53 -0
- package/dist/doctor/signals/scanners/web-renderers.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts +3 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js +257 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts +19 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js +50 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts +23 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js +91 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts +24 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js +81 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts +21 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js +48 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts +22 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.js +106 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts +19 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js +41 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts +23 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js +87 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts +18 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js +43 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts +24 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js +109 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts +24 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js +96 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts +22 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js +128 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts +18 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js +43 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts +22 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js +44 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts +23 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js +110 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts +23 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js +52 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts +15 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js +41 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts +19 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js +87 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts +22 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js +72 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts +18 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js +69 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts +28 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js +128 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts +23 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js +90 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts +16 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js +40 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts +20 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js +60 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts +19 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js +88 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts +18 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js +58 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts +22 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js +109 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js.map +1 -0
- package/dist/doctor/standalone-ratchet-base.d.ts +3 -0
- package/dist/doctor/standalone-ratchet-base.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet-base.js +62 -0
- package/dist/doctor/standalone-ratchet-base.js.map +1 -0
- package/dist/doctor/standalone-ratchet-policy.d.ts +9 -0
- package/dist/doctor/standalone-ratchet-policy.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet-policy.js +66 -0
- package/dist/doctor/standalone-ratchet-policy.js.map +1 -0
- package/dist/doctor/standalone-ratchet.d.ts +16 -0
- package/dist/doctor/standalone-ratchet.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet.js +86 -0
- package/dist/doctor/standalone-ratchet.js.map +1 -0
- package/dist/domain-boundaries/check-domain-boundaries.d.ts +14 -0
- package/dist/domain-boundaries/check-domain-boundaries.d.ts.map +1 -0
- package/dist/domain-boundaries/check-domain-boundaries.js +68 -0
- package/dist/domain-boundaries/check-domain-boundaries.js.map +1 -0
- package/dist/domain-boundaries/module-references.d.ts +9 -0
- package/dist/domain-boundaries/module-references.d.ts.map +1 -0
- package/dist/domain-boundaries/module-references.js +38 -0
- package/dist/domain-boundaries/module-references.js.map +1 -0
- package/dist/domain-boundaries/ownership.d.ts +17 -0
- package/dist/domain-boundaries/ownership.d.ts.map +1 -0
- package/dist/domain-boundaries/ownership.js +84 -0
- package/dist/domain-boundaries/ownership.js.map +1 -0
- package/dist/domain-boundaries/source-resolution.d.ts +10 -0
- package/dist/domain-boundaries/source-resolution.d.ts.map +1 -0
- package/dist/domain-boundaries/source-resolution.js +99 -0
- package/dist/domain-boundaries/source-resolution.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/initialize-dads-project.d.ts +17 -0
- package/dist/initialize-dads-project.d.ts.map +1 -0
- package/dist/initialize-dads-project.js +86 -0
- package/dist/initialize-dads-project.js.map +1 -0
- package/dist/library-recipe-files.d.ts +10 -0
- package/dist/library-recipe-files.d.ts.map +1 -0
- package/dist/library-recipe-files.js +59 -0
- package/dist/library-recipe-files.js.map +1 -0
- package/dist/library-recipe-manifests.d.ts +16 -0
- package/dist/library-recipe-manifests.d.ts.map +1 -0
- package/dist/library-recipe-manifests.js +110 -0
- package/dist/library-recipe-manifests.js.map +1 -0
- package/dist/missing-path-error.d.ts +12 -0
- package/dist/missing-path-error.d.ts.map +1 -0
- package/dist/missing-path-error.js +14 -0
- package/dist/missing-path-error.js.map +1 -0
- package/dist/parse-guards.d.ts +15 -0
- package/dist/parse-guards.d.ts.map +1 -0
- package/dist/parse-guards.js +21 -0
- package/dist/parse-guards.js.map +1 -0
- package/dist/project-files.d.ts +8 -0
- package/dist/project-files.d.ts.map +1 -0
- package/dist/project-files.js +24 -0
- package/dist/project-files.js.map +1 -0
- package/dist/project-orientation.d.ts +33 -0
- package/dist/project-orientation.d.ts.map +1 -0
- package/dist/project-orientation.js +184 -0
- package/dist/project-orientation.js.map +1 -0
- package/dist/recommend-changed-verification.d.ts +20 -0
- package/dist/recommend-changed-verification.d.ts.map +1 -0
- package/dist/recommend-changed-verification.js +32 -0
- package/dist/recommend-changed-verification.js.map +1 -0
- package/dist/resource-generators/access-generator.d.ts +5 -0
- package/dist/resource-generators/access-generator.d.ts.map +1 -0
- package/dist/resource-generators/access-generator.js +50 -0
- package/dist/resource-generators/access-generator.js.map +1 -0
- package/dist/resource-generators/domain-generator.d.ts +5 -0
- package/dist/resource-generators/domain-generator.d.ts.map +1 -0
- package/dist/resource-generators/domain-generator.js +68 -0
- package/dist/resource-generators/domain-generator.js.map +1 -0
- package/dist/resource-generators/email-generator.d.ts +3 -0
- package/dist/resource-generators/email-generator.d.ts.map +1 -0
- package/dist/resource-generators/email-generator.js +30 -0
- package/dist/resource-generators/email-generator.js.map +1 -0
- package/dist/resource-generators/endpoint-generator.d.ts +4 -0
- package/dist/resource-generators/endpoint-generator.d.ts.map +1 -0
- package/dist/resource-generators/endpoint-generator.js +65 -0
- package/dist/resource-generators/endpoint-generator.js.map +1 -0
- package/dist/resource-generators/flag-generator.d.ts +3 -0
- package/dist/resource-generators/flag-generator.d.ts.map +1 -0
- package/dist/resource-generators/flag-generator.js +22 -0
- package/dist/resource-generators/flag-generator.js.map +1 -0
- package/dist/resource-generators/generate-resource.d.ts +3 -0
- package/dist/resource-generators/generate-resource.d.ts.map +1 -0
- package/dist/resource-generators/generate-resource.js +17 -0
- package/dist/resource-generators/generate-resource.js.map +1 -0
- package/dist/resource-generators/generation-plan.d.ts +15 -0
- package/dist/resource-generators/generation-plan.d.ts.map +1 -0
- package/dist/resource-generators/generation-plan.js +99 -0
- package/dist/resource-generators/generation-plan.js.map +1 -0
- package/dist/resource-generators/generator-arguments.d.ts +23 -0
- package/dist/resource-generators/generator-arguments.d.ts.map +1 -0
- package/dist/resource-generators/generator-arguments.js +83 -0
- package/dist/resource-generators/generator-arguments.js.map +1 -0
- package/dist/resource-generators/generator-dependencies.d.ts +3 -0
- package/dist/resource-generators/generator-dependencies.d.ts.map +1 -0
- package/dist/resource-generators/generator-dependencies.js +59 -0
- package/dist/resource-generators/generator-dependencies.js.map +1 -0
- package/dist/resource-generators/names.d.ts +5 -0
- package/dist/resource-generators/names.d.ts.map +1 -0
- package/dist/resource-generators/names.js +16 -0
- package/dist/resource-generators/names.js.map +1 -0
- package/dist/resource-generators/page-generator.d.ts +3 -0
- package/dist/resource-generators/page-generator.d.ts.map +1 -0
- package/dist/resource-generators/page-generator.js +23 -0
- package/dist/resource-generators/page-generator.js.map +1 -0
- package/dist/resource-generators/resource-contract.d.ts +3 -0
- package/dist/resource-generators/resource-contract.d.ts.map +1 -0
- package/dist/resource-generators/resource-contract.js +40 -0
- package/dist/resource-generators/resource-contract.js.map +1 -0
- package/dist/resource-generators/resource-pages.d.ts +3 -0
- package/dist/resource-generators/resource-pages.d.ts.map +1 -0
- package/dist/resource-generators/resource-pages.js +85 -0
- package/dist/resource-generators/resource-pages.js.map +1 -0
- package/dist/resource-generators/resource-proof.d.ts +3 -0
- package/dist/resource-generators/resource-proof.d.ts.map +1 -0
- package/dist/resource-generators/resource-proof.js +89 -0
- package/dist/resource-generators/resource-proof.js.map +1 -0
- package/dist/resource-generators/resource-routes.d.ts +3 -0
- package/dist/resource-generators/resource-routes.d.ts.map +1 -0
- package/dist/resource-generators/resource-routes.js +62 -0
- package/dist/resource-generators/resource-routes.js.map +1 -0
- package/dist/resource-generators/resource-store.d.ts +3 -0
- package/dist/resource-generators/resource-store.d.ts.map +1 -0
- package/dist/resource-generators/resource-store.js +88 -0
- package/dist/resource-generators/resource-store.js.map +1 -0
- package/dist/resource-generators/table-generator.d.ts +3 -0
- package/dist/resource-generators/table-generator.d.ts.map +1 -0
- package/dist/resource-generators/table-generator.js +109 -0
- package/dist/resource-generators/table-generator.js.map +1 -0
- package/dist/resource-generators/web-client-exports.d.ts +3 -0
- package/dist/resource-generators/web-client-exports.d.ts.map +1 -0
- package/dist/resource-generators/web-client-exports.js +12 -0
- package/dist/resource-generators/web-client-exports.js.map +1 -0
- package/dist/route-inspection/read-route-source.d.ts +15 -0
- package/dist/route-inspection/read-route-source.d.ts.map +1 -0
- package/dist/route-inspection/read-route-source.js +138 -0
- package/dist/route-inspection/read-route-source.js.map +1 -0
- package/dist/route-inspection/route-source-facts.d.ts +14 -0
- package/dist/route-inspection/route-source-facts.d.ts.map +1 -0
- package/dist/route-inspection/route-source-facts.js +81 -0
- package/dist/route-inspection/route-source-facts.js.map +1 -0
- package/dist/starter-project/kit-starter.generated.d.ts +5 -0
- package/dist/starter-project/kit-starter.generated.d.ts.map +1 -0
- package/dist/starter-project/kit-starter.generated.js +77 -0
- package/dist/starter-project/kit-starter.generated.js.map +1 -0
- package/dist/starter-project/render-starter-project.d.ts +10 -0
- package/dist/starter-project/render-starter-project.d.ts.map +1 -0
- package/dist/starter-project/render-starter-project.js +19 -0
- package/dist/starter-project/render-starter-project.js.map +1 -0
- package/dist/starter-project/render-starter-staged-checks.d.ts +4 -0
- package/dist/starter-project/render-starter-staged-checks.d.ts.map +1 -0
- package/dist/starter-project/render-starter-staged-checks.js +73 -0
- package/dist/starter-project/render-starter-staged-checks.js.map +1 -0
- package/dist/starter-project/render-starter-verification-files.d.ts +4 -0
- package/dist/starter-project/render-starter-verification-files.d.ts.map +1 -0
- package/dist/starter-project/render-starter-verification-files.js +258 -0
- package/dist/starter-project/render-starter-verification-files.js.map +1 -0
- package/dist/starter-project/starter-ci-workflow.d.ts +5 -0
- package/dist/starter-project/starter-ci-workflow.d.ts.map +1 -0
- package/dist/starter-project/starter-ci-workflow.js +61 -0
- package/dist/starter-project/starter-ci-workflow.js.map +1 -0
- package/dist/synchronize-agent-skills.d.ts +12 -0
- package/dist/synchronize-agent-skills.d.ts.map +1 -0
- package/dist/synchronize-agent-skills.js +36 -0
- package/dist/synchronize-agent-skills.js.map +1 -0
- package/dist/toolbox.tsbuildinfo +1 -0
- package/dist/verification/canonical-bytes.d.ts +6 -0
- package/dist/verification/canonical-bytes.d.ts.map +1 -0
- package/dist/verification/canonical-bytes.js +23 -0
- package/dist/verification/canonical-bytes.js.map +1 -0
- package/dist/verification/execute-graph-task.d.ts +14 -0
- package/dist/verification/execute-graph-task.d.ts.map +1 -0
- package/dist/verification/execute-graph-task.js +193 -0
- package/dist/verification/execute-graph-task.js.map +1 -0
- package/dist/verification/filesystem-guards.d.ts +10 -0
- package/dist/verification/filesystem-guards.d.ts.map +1 -0
- package/dist/verification/filesystem-guards.js +54 -0
- package/dist/verification/filesystem-guards.js.map +1 -0
- package/dist/verification/format-verification-report.d.ts +3 -0
- package/dist/verification/format-verification-report.d.ts.map +1 -0
- package/dist/verification/format-verification-report.js +17 -0
- package/dist/verification/format-verification-report.js.map +1 -0
- package/dist/verification/git-environment.d.ts +14 -0
- package/dist/verification/git-environment.d.ts.map +1 -0
- package/dist/verification/git-environment.js +16 -0
- package/dist/verification/git-environment.js.map +1 -0
- package/dist/verification/logic/collect-candidate-tasks.d.ts +7 -0
- package/dist/verification/logic/collect-candidate-tasks.d.ts.map +1 -0
- package/dist/verification/logic/collect-candidate-tasks.js +214 -0
- package/dist/verification/logic/collect-candidate-tasks.js.map +1 -0
- package/dist/verification/logic/decide-task-reuse.d.ts +14 -0
- package/dist/verification/logic/decide-task-reuse.d.ts.map +1 -0
- package/dist/verification/logic/decide-task-reuse.js +43 -0
- package/dist/verification/logic/decide-task-reuse.js.map +1 -0
- package/dist/verification/publish-verification-outputs.d.ts +16 -0
- package/dist/verification/publish-verification-outputs.d.ts.map +1 -0
- package/dist/verification/publish-verification-outputs.js +122 -0
- package/dist/verification/publish-verification-outputs.js.map +1 -0
- package/dist/verification/read-changed-scope.d.ts +10 -0
- package/dist/verification/read-changed-scope.d.ts.map +1 -0
- package/dist/verification/read-changed-scope.js +108 -0
- package/dist/verification/read-changed-scope.js.map +1 -0
- package/dist/verification/receipt-store.d.ts +17 -0
- package/dist/verification/receipt-store.d.ts.map +1 -0
- package/dist/verification/receipt-store.js +166 -0
- package/dist/verification/receipt-store.js.map +1 -0
- package/dist/verification/run-verification-task.d.ts +27 -0
- package/dist/verification/run-verification-task.d.ts.map +1 -0
- package/dist/verification/run-verification-task.js +276 -0
- package/dist/verification/run-verification-task.js.map +1 -0
- package/dist/verification/snapshot-capture.d.ts +26 -0
- package/dist/verification/snapshot-capture.d.ts.map +1 -0
- package/dist/verification/snapshot-capture.js +237 -0
- package/dist/verification/snapshot-capture.js.map +1 -0
- package/dist/verification/verification-contract.d.ts +85 -0
- package/dist/verification/verification-contract.d.ts.map +1 -0
- package/dist/verification/verification-contract.js +2 -0
- package/dist/verification/verification-contract.js.map +1 -0
- package/dist/verification/verification-failure.d.ts +11 -0
- package/dist/verification/verification-failure.d.ts.map +1 -0
- package/dist/verification/verification-failure.js +15 -0
- package/dist/verification/verification-failure.js.map +1 -0
- package/dist/verification/verification-inputs.d.ts +62 -0
- package/dist/verification/verification-inputs.d.ts.map +1 -0
- package/dist/verification/verification-inputs.js +250 -0
- package/dist/verification/verification-inputs.js.map +1 -0
- package/dist/verification/verification-receipt.d.ts +28 -0
- package/dist/verification/verification-receipt.d.ts.map +1 -0
- package/dist/verification/verification-receipt.js +216 -0
- package/dist/verification/verification-receipt.js.map +1 -0
- package/dist/verification/verifier-identity.d.ts +3 -0
- package/dist/verification/verifier-identity.d.ts.map +1 -0
- package/dist/verification/verifier-identity.js +39 -0
- package/dist/verification/verifier-identity.js.map +1 -0
- package/dist/verification/verify-task-graph.d.ts +20 -0
- package/dist/verification/verify-task-graph.d.ts.map +1 -0
- package/dist/verification/verify-task-graph.js +112 -0
- package/dist/verification/verify-task-graph.js.map +1 -0
- package/dist/verification/workspace-git-context.d.ts +23 -0
- package/dist/verification/workspace-git-context.d.ts.map +1 -0
- package/dist/verification/workspace-git-context.js +194 -0
- package/dist/verification/workspace-git-context.js.map +1 -0
- package/dist/verification/workspace-git-evidence.d.ts +16 -0
- package/dist/verification/workspace-git-evidence.d.ts.map +1 -0
- package/dist/verification/workspace-git-evidence.js +44 -0
- package/dist/verification/workspace-git-evidence.js.map +1 -0
- package/dist/verification/workspace-snapshot.d.ts +9 -0
- package/dist/verification/workspace-snapshot.d.ts.map +1 -0
- package/dist/verification/workspace-snapshot.js +113 -0
- package/dist/verification/workspace-snapshot.js.map +1 -0
- package/dist/verification-policy-parsing.d.ts +22 -0
- package/dist/verification-policy-parsing.d.ts.map +1 -0
- package/dist/verification-policy-parsing.js +218 -0
- package/dist/verification-policy-parsing.js.map +1 -0
- package/dist/write-library-recipe.d.ts +9 -0
- package/dist/write-library-recipe.d.ts.map +1 -0
- package/dist/write-library-recipe.js +45 -0
- package/dist/write-library-recipe.js.map +1 -0
- package/package.json +40 -4
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The TypeScript program: every module the workspace declares, parsed once.
|
|
3
|
+
*
|
|
4
|
+
* Phase zero answered its TypeScript questions from a hand-written skeleton of
|
|
5
|
+
* the source and said so — a skeleton cannot tell an `as` in a template
|
|
6
|
+
* literal from an `as` in an expression, and it cannot count a function's
|
|
7
|
+
* branches at all. This module is the thing that replaces it: the compiler's
|
|
8
|
+
* own parser, run once over the workspace, so every reading below is taken
|
|
9
|
+
* from syntax rather than from a pattern over text. A signal that reads a
|
|
10
|
+
* quotation of a hatch therefore no longer counts it, which is why this
|
|
11
|
+
* package can diagnose the hatches it also has to name.
|
|
12
|
+
*
|
|
13
|
+
* **What "the program" is here.** It is the parsed modules, not a type
|
|
14
|
+
* checker. Every question the catalog's TypeScript signals ask is answered by
|
|
15
|
+
* syntax: an `any` annotation, an `as`, a function's branch count, an import
|
|
16
|
+
* edge, a field-name set, a doc comment. Building a checked program instead
|
|
17
|
+
* would mean resolving every dependency in `node_modules` on every run, which
|
|
18
|
+
* costs minutes and gigabytes on a large workspace, is only as deterministic
|
|
19
|
+
* as the installed tree, and would put a report-by-default command behind an
|
|
20
|
+
* install. When a signal is added that genuinely needs a checker, it is the
|
|
21
|
+
* checker that gets built lazily beside this, not this that grows one.
|
|
22
|
+
*
|
|
23
|
+
* **What it reads.** The workspace's `tsconfig.json` files say which
|
|
24
|
+
* directories are TypeScript projects; the context's file list says which
|
|
25
|
+
* files somebody wrote. A module is a hand-written `.ts` or `.tsx` under a
|
|
26
|
+
* project directory. Declaration files and generated modules are excluded
|
|
27
|
+
* because nobody typed them. A workspace with no `tsconfig.json` has no
|
|
28
|
+
* program, and this throws with that as the reason so every signal that reads
|
|
29
|
+
* one reports `not measured` rather than a confident zero.
|
|
30
|
+
*
|
|
31
|
+
* **The vendor stops here.** `typescript` is imported by this module and no
|
|
32
|
+
* other, and re-exported from it, so the compiler API enters the doctor
|
|
33
|
+
* through one file. That is the same rule `the paper wall` states, applied to
|
|
34
|
+
* the code that measures it.
|
|
35
|
+
*/
|
|
36
|
+
import ts from "typescript";
|
|
37
|
+
import type { SignalEvidence, SignalReading, SignalReadings } from "../../doctor-signal.js";
|
|
38
|
+
/** The compiler API. Every signal that needs it takes it from here. */
|
|
39
|
+
export { ts };
|
|
40
|
+
/** One parsed module, and the package that owns it. */
|
|
41
|
+
export type DoctorModule = {
|
|
42
|
+
/** Repository-relative path, which is also the parsed file's name. */
|
|
43
|
+
readonly path: string;
|
|
44
|
+
/** The declared package root that owns it, or its directory. */
|
|
45
|
+
readonly packageRoot: string;
|
|
46
|
+
readonly source: ts.SourceFile;
|
|
47
|
+
};
|
|
48
|
+
export type DoctorProgram = {
|
|
49
|
+
/** Every module, in the order the file list gave them. */
|
|
50
|
+
readonly modules: readonly DoctorModule[];
|
|
51
|
+
/** The module at a repository-relative path, when one was parsed. */
|
|
52
|
+
module(path: string): DoctorModule | undefined;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* What building a program needs from the context. It is written as its own
|
|
56
|
+
* type rather than as `DoctorContext` so the context can depend on this module
|
|
57
|
+
* and not the other way round.
|
|
58
|
+
*/
|
|
59
|
+
export type ProgramWorkspace = {
|
|
60
|
+
readonly root: string;
|
|
61
|
+
files(): readonly string[];
|
|
62
|
+
packages(): readonly {
|
|
63
|
+
readonly root: string;
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
66
|
+
/** Parses every module the workspace declares. Throws when it declares none. */
|
|
67
|
+
export declare function buildTypeScriptProgram(workspace: ProgramWorkspace): DoctorProgram;
|
|
68
|
+
/**
|
|
69
|
+
* True for a file that declares a TypeScript project. The gate asks, because a
|
|
70
|
+
* run narrowed to one path still has to know where the projects are: a file
|
|
71
|
+
* list with no `tsconfig.json` in it is a workspace with no program.
|
|
72
|
+
*/
|
|
73
|
+
export declare function isTypeScriptProjectFile(path: string): boolean;
|
|
74
|
+
/** Every node below `node`, in source order. */
|
|
75
|
+
export declare function visitNodes(node: ts.Node, visit: (node: ts.Node) => void): void;
|
|
76
|
+
/** The 1-based line a node starts on. */
|
|
77
|
+
export declare function lineOf(module: DoctorModule, node: ts.Node): number;
|
|
78
|
+
/** Evidence a reader can open: the file, the line, and what was found there. */
|
|
79
|
+
export declare function evidenceAt(module: DoctorModule, node: ts.Node, name?: string): SignalEvidence;
|
|
80
|
+
/** True for the hand-written TypeScript a package ships to its consumers. */
|
|
81
|
+
export declare function isProductionModule(path: string): boolean;
|
|
82
|
+
/** True when a doc-comment block sits immediately above the node. */
|
|
83
|
+
export declare function hasDocComment(module: DoctorModule, node: ts.Node): boolean;
|
|
84
|
+
/** True when a statement carries the modifier named. */
|
|
85
|
+
export declare function hasModifier(node: ts.Node, kind: ts.SyntaxKind): boolean;
|
|
86
|
+
/** The top-level statements a module exports. */
|
|
87
|
+
export declare function exportedStatements(module: DoctorModule): readonly ts.Statement[];
|
|
88
|
+
/** The names a top-level statement declares, which is none for most of them. */
|
|
89
|
+
export declare function declaredNames(statement: ts.Statement): readonly string[];
|
|
90
|
+
/**
|
|
91
|
+
* True for an assertion that widens what the compiler knew: `value as Thing`
|
|
92
|
+
* and the older `<Thing>value`. `as const` is not one of them — it narrows a
|
|
93
|
+
* literal to itself and revokes nothing — and neither is `satisfies`, which
|
|
94
|
+
* checks rather than asserts. Two signals ask this question, of production
|
|
95
|
+
* source and of tests, so the answer is decided here once.
|
|
96
|
+
*/
|
|
97
|
+
export declare function isWideningAssertion(node: ts.Node): boolean;
|
|
98
|
+
/**
|
|
99
|
+
* What a per-module count needs: which modules to read, what an occurrence
|
|
100
|
+
* looks like, and what to write on the evidence line so a reader knows what
|
|
101
|
+
* they are being sent to look at.
|
|
102
|
+
*/
|
|
103
|
+
export type OccurrenceCount = {
|
|
104
|
+
readonly program: DoctorProgram;
|
|
105
|
+
readonly include: (path: string) => boolean;
|
|
106
|
+
readonly match: (node: ts.Node) => boolean;
|
|
107
|
+
readonly name: string;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* One key per module read, counting the nodes that match — including the
|
|
111
|
+
* modules that match nothing.
|
|
112
|
+
*
|
|
113
|
+
* A signal with a threshold reports every subject it examined, so its line
|
|
114
|
+
* reads "0 of 592 over" rather than "not measured": a clean repository is not
|
|
115
|
+
* an unmeasured one, and the difference is the whole value of running this
|
|
116
|
+
* twice.
|
|
117
|
+
*
|
|
118
|
+
* A signal that is report-only in `standard` does the opposite and emits only
|
|
119
|
+
* what it has something to say about. The report counts any non-zero reading
|
|
120
|
+
* of a report-only signal as something seen, so a distribution of healthy
|
|
121
|
+
* numbers would report every repository as partially ill; the subjects a
|
|
122
|
+
* report-only signal emits are therefore the ones at or over the ceiling
|
|
123
|
+
* `strict` would apply.
|
|
124
|
+
*/
|
|
125
|
+
export declare function countOccurrences(options: OccurrenceCount): SignalReadings;
|
|
126
|
+
/** True for anything that runs a body of its own. */
|
|
127
|
+
export declare function isFunctionNode(node: ts.Node): boolean;
|
|
128
|
+
/** The block a function runs, or nothing for a signature or a short arrow. */
|
|
129
|
+
export declare function functionBodyOf(node: ts.Node): ts.Block | undefined;
|
|
130
|
+
/** The name a function-like node carries, for an evidence line. */
|
|
131
|
+
export declare function functionName(node: ts.Node): string;
|
|
132
|
+
/** The leftmost identifier of a type name, which is the one that was imported. */
|
|
133
|
+
export declare function leftmostTypeName(name: ts.EntityName): string;
|
|
134
|
+
/** True when the node or anything below it matches. */
|
|
135
|
+
export declare function containsNode(node: ts.Node, match: (node: ts.Node) => boolean): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* True when the node or anything below it matches, without entering a function
|
|
138
|
+
* declared inside it. What a callback does happens later and somewhere else,
|
|
139
|
+
* so a question about "this expression" must stop where the next scope starts.
|
|
140
|
+
*/
|
|
141
|
+
export declare function containsInScope(node: ts.Node, match: (node: ts.Node) => boolean): boolean;
|
|
142
|
+
/** Adds one finding to the running count for a key. */
|
|
143
|
+
export declare function addFinding(readings: Map<string, SignalReading>, key: string, evidence: SignalEvidence): void;
|
|
144
|
+
/**
|
|
145
|
+
* One module specifier and the node that names it, with the two distinctions
|
|
146
|
+
* every reader of the graph needs: an edge the compiler erases, and an edge
|
|
147
|
+
* that is a surface listing rather than something the module uses.
|
|
148
|
+
*/
|
|
149
|
+
export type ModuleImport = {
|
|
150
|
+
readonly specifier: string;
|
|
151
|
+
readonly node: ts.Node;
|
|
152
|
+
/** True for `import type`, which leaves nothing behind at runtime. */
|
|
153
|
+
readonly typeOnly: boolean;
|
|
154
|
+
/** True for `export … from`, which republishes rather than consumes. */
|
|
155
|
+
readonly reExport: boolean;
|
|
156
|
+
};
|
|
157
|
+
/** Every specifier a module names: `import`, `export … from`, `import("…")`. */
|
|
158
|
+
export declare function moduleImports(module: DoctorModule): readonly ModuleImport[];
|
|
159
|
+
/** `@scope/name/deep` and `name/deep` both name the package `…/name`. */
|
|
160
|
+
export declare function packageOfSpecifier(specifier: string): string;
|
|
161
|
+
/** True for a relative path or a Node builtin, which name no package. */
|
|
162
|
+
export declare function isLocalSpecifier(specifier: string): boolean;
|
|
163
|
+
/** Every local name a module imports, mapped to the specifier it came from. */
|
|
164
|
+
export declare function importedBindings(module: DoctorModule): ReadonlyMap<string, string>;
|
|
165
|
+
/**
|
|
166
|
+
* The repository-relative paths a relative specifier could name. Node's ESM
|
|
167
|
+
* resolution writes `./thing.js` for a module whose source is `./thing.ts`, so
|
|
168
|
+
* both spellings and the directory barrel are offered and the caller keeps
|
|
169
|
+
* whichever the program actually parsed.
|
|
170
|
+
*/
|
|
171
|
+
export declare function resolveRelativeImport(fromPath: string, specifier: string): readonly string[];
|
|
172
|
+
//# sourceMappingURL=typescript-program.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript-program.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/scanners/typescript-program.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAGhC,uEAAuE;AACvE,OAAO,EAAE,EAAE,EAAE,CAAC;AAiBd,uDAAuD;AACvD,MAAM,MAAM,YAAY,GAAG;IACzB,sEAAsE;IACtE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC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The TypeScript program: every module the workspace declares, parsed once.
|
|
3
|
+
*
|
|
4
|
+
* Phase zero answered its TypeScript questions from a hand-written skeleton of
|
|
5
|
+
* the source and said so — a skeleton cannot tell an `as` in a template
|
|
6
|
+
* literal from an `as` in an expression, and it cannot count a function's
|
|
7
|
+
* branches at all. This module is the thing that replaces it: the compiler's
|
|
8
|
+
* own parser, run once over the workspace, so every reading below is taken
|
|
9
|
+
* from syntax rather than from a pattern over text. A signal that reads a
|
|
10
|
+
* quotation of a hatch therefore no longer counts it, which is why this
|
|
11
|
+
* package can diagnose the hatches it also has to name.
|
|
12
|
+
*
|
|
13
|
+
* **What "the program" is here.** It is the parsed modules, not a type
|
|
14
|
+
* checker. Every question the catalog's TypeScript signals ask is answered by
|
|
15
|
+
* syntax: an `any` annotation, an `as`, a function's branch count, an import
|
|
16
|
+
* edge, a field-name set, a doc comment. Building a checked program instead
|
|
17
|
+
* would mean resolving every dependency in `node_modules` on every run, which
|
|
18
|
+
* costs minutes and gigabytes on a large workspace, is only as deterministic
|
|
19
|
+
* as the installed tree, and would put a report-by-default command behind an
|
|
20
|
+
* install. When a signal is added that genuinely needs a checker, it is the
|
|
21
|
+
* checker that gets built lazily beside this, not this that grows one.
|
|
22
|
+
*
|
|
23
|
+
* **What it reads.** The workspace's `tsconfig.json` files say which
|
|
24
|
+
* directories are TypeScript projects; the context's file list says which
|
|
25
|
+
* files somebody wrote. A module is a hand-written `.ts` or `.tsx` under a
|
|
26
|
+
* project directory. Declaration files and generated modules are excluded
|
|
27
|
+
* because nobody typed them. A workspace with no `tsconfig.json` has no
|
|
28
|
+
* program, and this throws with that as the reason so every signal that reads
|
|
29
|
+
* one reports `not measured` rather than a confident zero.
|
|
30
|
+
*
|
|
31
|
+
* **The vendor stops here.** `typescript` is imported by this module and no
|
|
32
|
+
* other, and re-exported from it, so the compiler API enters the doctor
|
|
33
|
+
* through one file. That is the same rule `the paper wall` states, applied to
|
|
34
|
+
* the code that measures it.
|
|
35
|
+
*/
|
|
36
|
+
import { readFileSync } from "node:fs";
|
|
37
|
+
import { join } from "node:path";
|
|
38
|
+
import ts from "typescript";
|
|
39
|
+
import { isTestSource } from "./source-classification.js";
|
|
40
|
+
/** The compiler API. Every signal that needs it takes it from here. */
|
|
41
|
+
export { ts };
|
|
42
|
+
const CONFIG_FILE = /(?:^|\/)tsconfig(?:\.[^/]+)?\.json$/;
|
|
43
|
+
const MODULE_SUFFIXES = [".ts", ".tsx"];
|
|
44
|
+
const DECLARATION_SUFFIX = ".d.ts";
|
|
45
|
+
const GENERATED_SUFFIX = ".generated.ts";
|
|
46
|
+
const SOURCE_MARKER = "/src/";
|
|
47
|
+
const NON_PRODUCTION_SEGMENTS = [
|
|
48
|
+
"/type-tests/",
|
|
49
|
+
"/test-support/",
|
|
50
|
+
"/__tests__/",
|
|
51
|
+
"/src/testing/",
|
|
52
|
+
];
|
|
53
|
+
const NON_PRODUCTION_ROOTS = ["scripts/", "fixtures/", "tools/"];
|
|
54
|
+
const NO_PROGRAM = "no tsconfig.json in this workspace";
|
|
55
|
+
const DOC_COMMENT_HEAD = "/**";
|
|
56
|
+
/** Parses every module the workspace declares. Throws when it declares none. */
|
|
57
|
+
export function buildTypeScriptProgram(workspace) {
|
|
58
|
+
const files = workspace.files();
|
|
59
|
+
const projects = projectDirectories(files);
|
|
60
|
+
if (projects.length === 0)
|
|
61
|
+
throw new Error(NO_PROGRAM);
|
|
62
|
+
const owners = declaredRoots(workspace.packages());
|
|
63
|
+
const modules = [];
|
|
64
|
+
const found = new Map();
|
|
65
|
+
for (const path of files) {
|
|
66
|
+
if (!isModulePath(path))
|
|
67
|
+
continue;
|
|
68
|
+
if (!projects.some((directory) => path.startsWith(directory)))
|
|
69
|
+
continue;
|
|
70
|
+
const parsed = parseModule(workspace.root, path, owners);
|
|
71
|
+
modules.push(parsed);
|
|
72
|
+
found.set(path, parsed);
|
|
73
|
+
}
|
|
74
|
+
return { modules, module: (path) => found.get(path) };
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* True for a file that declares a TypeScript project. The gate asks, because a
|
|
78
|
+
* run narrowed to one path still has to know where the projects are: a file
|
|
79
|
+
* list with no `tsconfig.json` in it is a workspace with no program.
|
|
80
|
+
*/
|
|
81
|
+
export function isTypeScriptProjectFile(path) {
|
|
82
|
+
return CONFIG_FILE.test(path);
|
|
83
|
+
}
|
|
84
|
+
/** The directory of every `tsconfig`, as a path prefix; `""` is the root. */
|
|
85
|
+
function projectDirectories(files) {
|
|
86
|
+
const directories = new Set();
|
|
87
|
+
for (const path of files) {
|
|
88
|
+
if (!isTypeScriptProjectFile(path))
|
|
89
|
+
continue;
|
|
90
|
+
const cut = path.lastIndexOf("/");
|
|
91
|
+
directories.add(cut === -1 ? "" : path.slice(0, cut + 1));
|
|
92
|
+
}
|
|
93
|
+
return [...directories];
|
|
94
|
+
}
|
|
95
|
+
function declaredRoots(packages) {
|
|
96
|
+
return packages
|
|
97
|
+
.map((declared) => declared.root)
|
|
98
|
+
.filter((root) => root.length > 0)
|
|
99
|
+
.sort((left, right) => right.length - left.length);
|
|
100
|
+
}
|
|
101
|
+
function isModulePath(path) {
|
|
102
|
+
if (path.endsWith(DECLARATION_SUFFIX))
|
|
103
|
+
return false;
|
|
104
|
+
if (path.endsWith(GENERATED_SUFFIX))
|
|
105
|
+
return false;
|
|
106
|
+
return MODULE_SUFFIXES.some((suffix) => path.endsWith(suffix));
|
|
107
|
+
}
|
|
108
|
+
function parseModule(root, path, owners) {
|
|
109
|
+
const text = readFileSync(join(root, path), "utf8");
|
|
110
|
+
const source = ts.createSourceFile(path, text, ts.ScriptTarget.Latest, true, path.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS);
|
|
111
|
+
return { path, packageRoot: owningPackageRoot(path, owners), source };
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The declared package that owns a module, the directory above its `src/` when
|
|
115
|
+
* nothing is declared, and its own directory otherwise. A repository that has
|
|
116
|
+
* not adopted Dads still groups its modules by something a reader recognises.
|
|
117
|
+
*/
|
|
118
|
+
function owningPackageRoot(path, owners) {
|
|
119
|
+
const declared = owners.find((root) => path.startsWith(`${root}/`));
|
|
120
|
+
if (declared !== undefined)
|
|
121
|
+
return declared;
|
|
122
|
+
const marker = path.indexOf(SOURCE_MARKER);
|
|
123
|
+
if (marker !== -1)
|
|
124
|
+
return path.slice(0, marker);
|
|
125
|
+
const cut = path.lastIndexOf("/");
|
|
126
|
+
return cut === -1 ? "" : path.slice(0, cut);
|
|
127
|
+
}
|
|
128
|
+
// ---------------------------------------------------------------------------
|
|
129
|
+
// Reading a parsed module
|
|
130
|
+
// ---------------------------------------------------------------------------
|
|
131
|
+
/** Every node below `node`, in source order. */
|
|
132
|
+
export function visitNodes(node, visit) {
|
|
133
|
+
node.forEachChild((child) => {
|
|
134
|
+
visit(child);
|
|
135
|
+
visitNodes(child, visit);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/** The 1-based line a node starts on. */
|
|
139
|
+
export function lineOf(module, node) {
|
|
140
|
+
const start = node.getStart(module.source);
|
|
141
|
+
return module.source.getLineAndCharacterOfPosition(start).line + 1;
|
|
142
|
+
}
|
|
143
|
+
/** Evidence a reader can open: the file, the line, and what was found there. */
|
|
144
|
+
export function evidenceAt(module, node, name) {
|
|
145
|
+
const line = lineOf(module, node);
|
|
146
|
+
return name === undefined
|
|
147
|
+
? { path: module.path, line }
|
|
148
|
+
: { path: module.path, line, name };
|
|
149
|
+
}
|
|
150
|
+
/** True for the hand-written TypeScript a package ships to its consumers. */
|
|
151
|
+
export function isProductionModule(path) {
|
|
152
|
+
if (isTestSource(path))
|
|
153
|
+
return false;
|
|
154
|
+
if (NON_PRODUCTION_ROOTS.some((root) => path.startsWith(root)))
|
|
155
|
+
return false;
|
|
156
|
+
return !NON_PRODUCTION_SEGMENTS.some((segment) => path.includes(segment));
|
|
157
|
+
}
|
|
158
|
+
/** True when a doc-comment block sits immediately above the node. */
|
|
159
|
+
export function hasDocComment(module, node) {
|
|
160
|
+
const text = module.source.text;
|
|
161
|
+
const ranges = ts.getLeadingCommentRanges(text, node.getFullStart()) ?? [];
|
|
162
|
+
return ranges.some((range) => text.slice(range.pos, range.pos + 3) === DOC_COMMENT_HEAD);
|
|
163
|
+
}
|
|
164
|
+
/** True when a statement carries the modifier named. */
|
|
165
|
+
export function hasModifier(node, kind) {
|
|
166
|
+
if (!ts.canHaveModifiers(node))
|
|
167
|
+
return false;
|
|
168
|
+
const modifiers = ts.getModifiers(node) ?? [];
|
|
169
|
+
return modifiers.some((modifier) => modifier.kind === kind);
|
|
170
|
+
}
|
|
171
|
+
/** The top-level statements a module exports. */
|
|
172
|
+
export function exportedStatements(module) {
|
|
173
|
+
return module.source.statements.filter((statement) => hasModifier(statement, ts.SyntaxKind.ExportKeyword));
|
|
174
|
+
}
|
|
175
|
+
/** The names a top-level statement declares, which is none for most of them. */
|
|
176
|
+
export function declaredNames(statement) {
|
|
177
|
+
if (ts.isVariableStatement(statement)) {
|
|
178
|
+
return statement.declarationList.declarations.flatMap((declared) => ts.isIdentifier(declared.name) ? [declared.name.text] : []);
|
|
179
|
+
}
|
|
180
|
+
if (ts.isFunctionDeclaration(statement) || ts.isClassDeclaration(statement)) {
|
|
181
|
+
return statement.name === undefined ? [] : [statement.name.text];
|
|
182
|
+
}
|
|
183
|
+
if (ts.isTypeAliasDeclaration(statement) ||
|
|
184
|
+
ts.isInterfaceDeclaration(statement) ||
|
|
185
|
+
ts.isEnumDeclaration(statement)) {
|
|
186
|
+
return [statement.name.text];
|
|
187
|
+
}
|
|
188
|
+
return [];
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* True for an assertion that widens what the compiler knew: `value as Thing`
|
|
192
|
+
* and the older `<Thing>value`. `as const` is not one of them — it narrows a
|
|
193
|
+
* literal to itself and revokes nothing — and neither is `satisfies`, which
|
|
194
|
+
* checks rather than asserts. Two signals ask this question, of production
|
|
195
|
+
* source and of tests, so the answer is decided here once.
|
|
196
|
+
*/
|
|
197
|
+
export function isWideningAssertion(node) {
|
|
198
|
+
if (ts.isTypeAssertionExpression(node))
|
|
199
|
+
return true;
|
|
200
|
+
if (!ts.isAsExpression(node))
|
|
201
|
+
return false;
|
|
202
|
+
return !isConstType(node.type);
|
|
203
|
+
}
|
|
204
|
+
function isConstType(type) {
|
|
205
|
+
return (ts.isTypeReferenceNode(type) &&
|
|
206
|
+
ts.isIdentifier(type.typeName) &&
|
|
207
|
+
type.typeName.text === "const");
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* One key per module read, counting the nodes that match — including the
|
|
211
|
+
* modules that match nothing.
|
|
212
|
+
*
|
|
213
|
+
* A signal with a threshold reports every subject it examined, so its line
|
|
214
|
+
* reads "0 of 592 over" rather than "not measured": a clean repository is not
|
|
215
|
+
* an unmeasured one, and the difference is the whole value of running this
|
|
216
|
+
* twice.
|
|
217
|
+
*
|
|
218
|
+
* A signal that is report-only in `standard` does the opposite and emits only
|
|
219
|
+
* what it has something to say about. The report counts any non-zero reading
|
|
220
|
+
* of a report-only signal as something seen, so a distribution of healthy
|
|
221
|
+
* numbers would report every repository as partially ill; the subjects a
|
|
222
|
+
* report-only signal emits are therefore the ones at or over the ceiling
|
|
223
|
+
* `strict` would apply.
|
|
224
|
+
*/
|
|
225
|
+
export function countOccurrences(options) {
|
|
226
|
+
const readings = new Map();
|
|
227
|
+
for (const module of options.program.modules) {
|
|
228
|
+
if (!options.include(module.path))
|
|
229
|
+
continue;
|
|
230
|
+
const evidence = [];
|
|
231
|
+
visitNodes(module.source, (node) => {
|
|
232
|
+
if (options.match(node)) {
|
|
233
|
+
evidence.push(evidenceAt(module, node, options.name));
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
readings.set(module.path, { value: evidence.length, evidence });
|
|
237
|
+
}
|
|
238
|
+
return readings;
|
|
239
|
+
}
|
|
240
|
+
/** True for anything that runs a body of its own. */
|
|
241
|
+
export function isFunctionNode(node) {
|
|
242
|
+
return (ts.isFunctionDeclaration(node) ||
|
|
243
|
+
ts.isMethodDeclaration(node) ||
|
|
244
|
+
ts.isFunctionExpression(node) ||
|
|
245
|
+
ts.isArrowFunction(node) ||
|
|
246
|
+
ts.isConstructorDeclaration(node) ||
|
|
247
|
+
ts.isGetAccessorDeclaration(node) ||
|
|
248
|
+
ts.isSetAccessorDeclaration(node));
|
|
249
|
+
}
|
|
250
|
+
function blockOf(body) {
|
|
251
|
+
return body !== undefined && ts.isBlock(body) ? body : undefined;
|
|
252
|
+
}
|
|
253
|
+
/** The block a function runs, or nothing for a signature or a short arrow. */
|
|
254
|
+
export function functionBodyOf(node) {
|
|
255
|
+
if (ts.isFunctionDeclaration(node))
|
|
256
|
+
return blockOf(node.body);
|
|
257
|
+
if (ts.isMethodDeclaration(node))
|
|
258
|
+
return blockOf(node.body);
|
|
259
|
+
if (ts.isFunctionExpression(node))
|
|
260
|
+
return blockOf(node.body);
|
|
261
|
+
if (ts.isArrowFunction(node))
|
|
262
|
+
return blockOf(node.body);
|
|
263
|
+
if (ts.isConstructorDeclaration(node))
|
|
264
|
+
return blockOf(node.body);
|
|
265
|
+
if (ts.isGetAccessorDeclaration(node))
|
|
266
|
+
return blockOf(node.body);
|
|
267
|
+
if (ts.isSetAccessorDeclaration(node))
|
|
268
|
+
return blockOf(node.body);
|
|
269
|
+
return undefined;
|
|
270
|
+
}
|
|
271
|
+
/** The name a function-like node carries, for an evidence line. */
|
|
272
|
+
export function functionName(node) {
|
|
273
|
+
if (!ts.isFunctionDeclaration(node) && !ts.isMethodDeclaration(node)) {
|
|
274
|
+
return "anonymous function";
|
|
275
|
+
}
|
|
276
|
+
return node.name !== undefined && ts.isIdentifier(node.name)
|
|
277
|
+
? node.name.text
|
|
278
|
+
: "anonymous function";
|
|
279
|
+
}
|
|
280
|
+
/** The leftmost identifier of a type name, which is the one that was imported. */
|
|
281
|
+
export function leftmostTypeName(name) {
|
|
282
|
+
return ts.isIdentifier(name) ? name.text : leftmostTypeName(name.left);
|
|
283
|
+
}
|
|
284
|
+
/** True when the node or anything below it matches. */
|
|
285
|
+
export function containsNode(node, match) {
|
|
286
|
+
let found = match(node);
|
|
287
|
+
visitNodes(node, (child) => {
|
|
288
|
+
if (match(child))
|
|
289
|
+
found = true;
|
|
290
|
+
});
|
|
291
|
+
return found;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* True when the node or anything below it matches, without entering a function
|
|
295
|
+
* declared inside it. What a callback does happens later and somewhere else,
|
|
296
|
+
* so a question about "this expression" must stop where the next scope starts.
|
|
297
|
+
*/
|
|
298
|
+
export function containsInScope(node, match) {
|
|
299
|
+
if (match(node))
|
|
300
|
+
return true;
|
|
301
|
+
let found = false;
|
|
302
|
+
node.forEachChild((child) => {
|
|
303
|
+
if (isFunctionNode(child))
|
|
304
|
+
return;
|
|
305
|
+
if (containsInScope(child, match))
|
|
306
|
+
found = true;
|
|
307
|
+
});
|
|
308
|
+
return found;
|
|
309
|
+
}
|
|
310
|
+
/** Adds one finding to the running count for a key. */
|
|
311
|
+
export function addFinding(readings, key, evidence) {
|
|
312
|
+
const found = readings.get(key);
|
|
313
|
+
readings.set(key, {
|
|
314
|
+
value: (found?.value ?? 0) + 1,
|
|
315
|
+
evidence: [...(found?.evidence ?? []), evidence],
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
/** Every specifier a module names: `import`, `export … from`, `import("…")`. */
|
|
319
|
+
export function moduleImports(module) {
|
|
320
|
+
const found = [];
|
|
321
|
+
const collect = (node) => {
|
|
322
|
+
const specifier = specifierOf(node);
|
|
323
|
+
if (specifier === undefined)
|
|
324
|
+
return;
|
|
325
|
+
found.push({
|
|
326
|
+
specifier,
|
|
327
|
+
node,
|
|
328
|
+
typeOnly: isTypeOnlyEdge(node),
|
|
329
|
+
reExport: ts.isExportDeclaration(node),
|
|
330
|
+
});
|
|
331
|
+
};
|
|
332
|
+
visitNodes(module.source, collect);
|
|
333
|
+
return found;
|
|
334
|
+
}
|
|
335
|
+
function specifierOf(node) {
|
|
336
|
+
if (ts.isImportDeclaration(node) || ts.isExportDeclaration(node)) {
|
|
337
|
+
const specifier = node.moduleSpecifier;
|
|
338
|
+
if (specifier !== undefined && ts.isStringLiteral(specifier)) {
|
|
339
|
+
return specifier.text;
|
|
340
|
+
}
|
|
341
|
+
return undefined;
|
|
342
|
+
}
|
|
343
|
+
if (ts.isImportTypeNode(node) && ts.isLiteralTypeNode(node.argument)) {
|
|
344
|
+
const literal = node.argument.literal;
|
|
345
|
+
return ts.isStringLiteral(literal) ? literal.text : undefined;
|
|
346
|
+
}
|
|
347
|
+
return undefined;
|
|
348
|
+
}
|
|
349
|
+
/** True when nothing of this edge survives compilation. */
|
|
350
|
+
function isTypeOnlyEdge(node) {
|
|
351
|
+
if (ts.isImportTypeNode(node))
|
|
352
|
+
return true;
|
|
353
|
+
if (ts.isExportDeclaration(node))
|
|
354
|
+
return node.isTypeOnly;
|
|
355
|
+
if (!ts.isImportDeclaration(node))
|
|
356
|
+
return false;
|
|
357
|
+
const clause = node.importClause;
|
|
358
|
+
if (clause === undefined)
|
|
359
|
+
return false;
|
|
360
|
+
if (clause.phaseModifier === ts.SyntaxKind.TypeKeyword)
|
|
361
|
+
return true;
|
|
362
|
+
if (clause.name !== undefined)
|
|
363
|
+
return false;
|
|
364
|
+
const bound = clause.namedBindings;
|
|
365
|
+
if (bound === undefined || !ts.isNamedImports(bound))
|
|
366
|
+
return false;
|
|
367
|
+
return bound.elements.every((element) => element.isTypeOnly);
|
|
368
|
+
}
|
|
369
|
+
/** `@scope/name/deep` and `name/deep` both name the package `…/name`. */
|
|
370
|
+
export function packageOfSpecifier(specifier) {
|
|
371
|
+
const segments = specifier.split("/");
|
|
372
|
+
return specifier.startsWith("@")
|
|
373
|
+
? segments.slice(0, 2).join("/")
|
|
374
|
+
: (segments[0] ?? specifier);
|
|
375
|
+
}
|
|
376
|
+
/** True for a relative path or a Node builtin, which name no package. */
|
|
377
|
+
export function isLocalSpecifier(specifier) {
|
|
378
|
+
return specifier.startsWith(".") || specifier.startsWith("node:");
|
|
379
|
+
}
|
|
380
|
+
/** Every local name a module imports, mapped to the specifier it came from. */
|
|
381
|
+
export function importedBindings(module) {
|
|
382
|
+
const bindings = new Map();
|
|
383
|
+
for (const statement of module.source.statements) {
|
|
384
|
+
if (!ts.isImportDeclaration(statement))
|
|
385
|
+
continue;
|
|
386
|
+
if (!ts.isStringLiteral(statement.moduleSpecifier))
|
|
387
|
+
continue;
|
|
388
|
+
const from = statement.moduleSpecifier.text;
|
|
389
|
+
for (const name of importedNames(statement.importClause)) {
|
|
390
|
+
bindings.set(name, from);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
return bindings;
|
|
394
|
+
}
|
|
395
|
+
function importedNames(clause) {
|
|
396
|
+
if (clause === undefined)
|
|
397
|
+
return [];
|
|
398
|
+
const names = clause.name === undefined ? [] : [clause.name.text];
|
|
399
|
+
const bound = clause.namedBindings;
|
|
400
|
+
if (bound === undefined)
|
|
401
|
+
return names;
|
|
402
|
+
if (ts.isNamespaceImport(bound))
|
|
403
|
+
return [...names, bound.name.text];
|
|
404
|
+
return [...names, ...bound.elements.map((element) => element.name.text)];
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* The repository-relative paths a relative specifier could name. Node's ESM
|
|
408
|
+
* resolution writes `./thing.js` for a module whose source is `./thing.ts`, so
|
|
409
|
+
* both spellings and the directory barrel are offered and the caller keeps
|
|
410
|
+
* whichever the program actually parsed.
|
|
411
|
+
*/
|
|
412
|
+
export function resolveRelativeImport(fromPath, specifier) {
|
|
413
|
+
if (!specifier.startsWith("."))
|
|
414
|
+
return [];
|
|
415
|
+
const base = joinRelative(fromPath, specifier);
|
|
416
|
+
const stem = base.replace(/\.(?:js|mjs|cjs|ts|tsx)$/, "");
|
|
417
|
+
return [`${stem}.ts`, `${stem}.tsx`, `${stem}/index.ts`];
|
|
418
|
+
}
|
|
419
|
+
function joinRelative(fromPath, specifier) {
|
|
420
|
+
const segments = fromPath.split("/").slice(0, -1);
|
|
421
|
+
for (const part of specifier.split("/")) {
|
|
422
|
+
if (part === "." || part.length === 0)
|
|
423
|
+
continue;
|
|
424
|
+
if (part === "..")
|
|
425
|
+
segments.pop();
|
|
426
|
+
else
|
|
427
|
+
segments.push(part);
|
|
428
|
+
}
|
|
429
|
+
return segments.join("/");
|
|
430
|
+
}
|
|
431
|
+
//# sourceMappingURL=typescript-program.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript-program.js","sourceRoot":"","sources":["../../../../src/doctor/signals/scanners/typescript-program.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,YAAY,CAAC;AAM5B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,uEAAuE;AACvE,OAAO,EAAE,EAAE,EAAE,CAAC;AAEd,MAAM,WAAW,GAAG,qCAAqC,CAAC;AAC1D,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AACxC,MAAM,kBAAkB,GAAG,OAAO,CAAC;AACnC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AACzC,MAAM,aAAa,GAAG,OAAO,CAAC;AAC9B,MAAM,uBAAuB,GAAG;IAC9B,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,eAAe;CAChB,CAAC;AACF,MAAM,oBAAoB,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AACjE,MAAM,UAAU,GAAG,oCAAoC,CAAC;AACxD,MAAM,gBAAgB,GAAG,KAAK,CAAC;AA6B/B,gFAAgF;AAChF,MAAM,UAAU,sBAAsB,CACpC,SAA2B;IAE3B,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,CA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M,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,EAAE,EAAE,CAAC,CAAC;IAC1D,OAAO,CAAC,GAAG,IAAI,KAAK,EAAE,GAAG,IAAI,MAAM,EAAE,GAAG,IAAI,WAAW,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,YAAY,CAAC,QAAgB,EAAE,SAAiB;IACvD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;QACxC,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAChD,IAAI,IAAI,KAAK,IAAI;YAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;;YAC7B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IACD,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which modules put words on a screen somebody reads.
|
|
3
|
+
*
|
|
4
|
+
* A renderer is production TypeScript that either is a `.tsx` module or sits
|
|
5
|
+
* in a package whose manifest depends on React. Tests, fixtures, testing
|
|
6
|
+
* helpers, generated modules and copy catalogs are not renderers: a catalog is
|
|
7
|
+
* where the words are supposed to live, and the rest never reach a customer.
|
|
8
|
+
*
|
|
9
|
+
* A renderer uses a copy catalog when its package depends on the copy kit.
|
|
10
|
+
* That is the line `hardcoded-ui-copy` holds: a package that has adopted a
|
|
11
|
+
* catalog and still writes its words inline. A package with no catalog has not
|
|
12
|
+
* made that promise, and holding it to one would be a rule it never agreed to.
|
|
13
|
+
*/
|
|
14
|
+
import type { DoctorContext } from "../../doctor-context.js";
|
|
15
|
+
import { type DoctorModule } from "./typescript-program.js";
|
|
16
|
+
export type RendererScope = {
|
|
17
|
+
/** True for a module that renders what a customer reads. */
|
|
18
|
+
isRenderer(module: DoctorModule): boolean;
|
|
19
|
+
/** True for a renderer whose package has adopted the copy kit. */
|
|
20
|
+
usesCatalog(module: DoctorModule): boolean;
|
|
21
|
+
};
|
|
22
|
+
/** The renderer scope for this run, from the manifests the tree holds. */
|
|
23
|
+
export declare function readRendererScope(context: DoctorContext): RendererScope;
|
|
24
|
+
//# sourceMappingURL=web-renderers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-renderers.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/scanners/web-renderers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAM7D,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAQhF,MAAM,MAAM,aAAa,GAAG;IAC1B,4DAA4D;IAC5D,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC;IAC1C,kEAAkE;IAClE,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC;CAC5C,CAAC;AAmBF,0EAA0E;AAC1E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAkBvE"}
|