ddd-ts-kit 0.25.0 → 0.26.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/CHANGELOG.md +284 -0
- package/README.fr.md +405 -18
- package/README.md +372 -17
- package/dist/check/canonical/context-layers.d.ts +7 -0
- package/dist/check/canonical/context-layers.d.ts.map +1 -0
- package/dist/check/canonical/context-layers.js +13 -0
- package/dist/check/canonical/context-layers.js.map +1 -0
- package/dist/check/canonical/first-flaw.d.ts +9 -0
- package/dist/check/canonical/first-flaw.d.ts.map +1 -0
- package/dist/check/canonical/first-flaw.js +18 -0
- package/dist/check/canonical/first-flaw.js.map +1 -0
- package/dist/check/canonical/flaw-in-contexts.d.ts +9 -0
- package/dist/check/canonical/flaw-in-contexts.d.ts.map +1 -0
- package/dist/check/canonical/flaw-in-contexts.js +12 -0
- package/dist/check/canonical/flaw-in-contexts.js.map +1 -0
- package/dist/check/canonical/is-context-relative.d.ts +3 -0
- package/dist/check/canonical/is-context-relative.d.ts.map +1 -0
- package/dist/check/canonical/is-context-relative.js +12 -0
- package/dist/check/canonical/is-context-relative.js.map +1 -0
- package/dist/check/explain/language-docs.js +1 -1
- package/dist/check/explain/language-docs.js.map +1 -1
- package/dist/check/explain/tree-docs.js +3 -3
- package/dist/check/explain/tree-docs.js.map +1 -1
- package/dist/check/fixtures/fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/fixtures.js +2 -0
- package/dist/check/fixtures/fixtures.js.map +1 -1
- package/dist/check/fixtures/other-language-fixtures.d.ts +3 -0
- package/dist/check/fixtures/other-language-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/other-language-fixtures.js +151 -0
- package/dist/check/fixtures/other-language-fixtures.js.map +1 -0
- package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/tree-fixtures.js +29 -2
- package/dist/check/fixtures/tree-fixtures.js.map +1 -1
- package/dist/check/language/in-outside-record.d.ts +9 -0
- package/dist/check/language/in-outside-record.d.ts.map +1 -0
- package/dist/check/language/in-outside-record.js +12 -0
- package/dist/check/language/in-outside-record.js.map +1 -0
- package/dist/check/language/is-outside-place.d.ts +4 -0
- package/dist/check/language/is-outside-place.d.ts.map +1 -0
- package/dist/check/language/is-outside-place.js +7 -0
- package/dist/check/language/is-outside-place.js.map +1 -0
- package/dist/check/language/other-language-of.d.ts +12 -0
- package/dist/check/language/other-language-of.d.ts.map +1 -0
- package/dist/check/language/other-language-of.js +46 -0
- package/dist/check/language/other-language-of.js.map +1 -0
- package/dist/check/language/record-arguments.d.ts +6 -0
- package/dist/check/language/record-arguments.d.ts.map +1 -0
- package/dist/check/language/record-arguments.js +28 -0
- package/dist/check/language/record-arguments.js.map +1 -0
- package/dist/check/language/type-declarations.d.ts +10 -0
- package/dist/check/language/type-declarations.d.ts.map +1 -0
- package/dist/check/language/type-declarations.js +37 -0
- package/dist/check/language/type-declarations.js.map +1 -0
- package/dist/check/language/type-root.d.ts +7 -0
- package/dist/check/language/type-root.d.ts.map +1 -0
- package/dist/check/language/type-root.js +43 -0
- package/dist/check/language/type-root.js.map +1 -0
- package/dist/check/language/typed-by-other-language.d.ts +9 -0
- package/dist/check/language/typed-by-other-language.d.ts.map +1 -0
- package/dist/check/language/typed-by-other-language.js +73 -0
- package/dist/check/language/typed-by-other-language.js.map +1 -0
- package/dist/check/project/markdown-under.d.ts +3 -0
- package/dist/check/project/markdown-under.d.ts.map +1 -0
- package/dist/check/project/markdown-under.js +20 -0
- package/dist/check/project/markdown-under.js.map +1 -0
- package/dist/check/rules/language-declared-vocabulary.d.ts.map +1 -1
- package/dist/check/rules/language-declared-vocabulary.js +28 -3
- package/dist/check/rules/language-declared-vocabulary.js.map +1 -1
- package/dist/check/rules/tree-documented-paths.d.ts.map +1 -1
- package/dist/check/rules/tree-documented-paths.js +14 -30
- package/dist/check/rules/tree-documented-paths.js.map +1 -1
- package/dist/check/text/annotation-before.d.ts +7 -0
- package/dist/check/text/annotation-before.d.ts.map +1 -0
- package/dist/check/text/annotation-before.js +30 -0
- package/dist/check/text/annotation-before.js.map +1 -0
- package/dist/check/text/type-at.d.ts +7 -0
- package/dist/check/text/type-at.d.ts.map +1 -0
- package/dist/check/text/type-at.js +22 -0
- package/dist/check/text/type-at.js.map +1 -0
- package/dist/check/text/type-brackets.d.ts +6 -0
- package/dist/check/text/type-brackets.d.ts.map +1 -0
- package/dist/check/text/type-brackets.js +11 -0
- package/dist/check/text/type-brackets.js.map +1 -0
- package/dist/check/text/type-closing.d.ts +3 -0
- package/dist/check/text/type-closing.d.ts.map +1 -0
- package/dist/check/text/type-closing.js +13 -0
- package/dist/check/text/type-closing.js.map +1 -0
- package/dist/citations/candidates-of.d.ts +16 -0
- package/dist/citations/candidates-of.d.ts.map +1 -0
- package/dist/citations/candidates-of.js +51 -0
- package/dist/citations/candidates-of.js.map +1 -0
- package/dist/citations/citation-line.d.ts +4 -0
- package/dist/citations/citation-line.d.ts.map +1 -0
- package/dist/citations/citation-line.js +36 -0
- package/dist/citations/citation-line.js.map +1 -0
- package/dist/citations/citations-of.d.ts +14 -0
- package/dist/citations/citations-of.d.ts.map +1 -0
- package/dist/citations/citations-of.js +21 -0
- package/dist/citations/citations-of.js.map +1 -0
- package/dist/citations/cited-name.d.ts +12 -0
- package/dist/citations/cited-name.d.ts.map +1 -0
- package/dist/citations/cited-name.js +2 -0
- package/dist/citations/cited-name.js.map +1 -0
- package/dist/citations/cited-names.d.ts +14 -0
- package/dist/citations/cited-names.d.ts.map +1 -0
- package/dist/citations/cited-names.js +71 -0
- package/dist/citations/cited-names.js.map +1 -0
- package/dist/citations/cited-parts.d.ts +19 -0
- package/dist/citations/cited-parts.d.ts.map +1 -0
- package/dist/citations/cited-parts.js +30 -0
- package/dist/citations/cited-parts.js.map +1 -0
- package/dist/citations/cited-removals.d.ts +8 -0
- package/dist/citations/cited-removals.d.ts.map +1 -0
- package/dist/citations/cited-removals.js +13 -0
- package/dist/citations/cited-removals.js.map +1 -0
- package/dist/citations/citing.d.ts +7 -0
- package/dist/citations/citing.d.ts.map +1 -0
- package/dist/citations/citing.js +2 -0
- package/dist/citations/citing.js.map +1 -0
- package/dist/citations/declaration.d.ts +6 -0
- package/dist/citations/declaration.d.ts.map +1 -0
- package/dist/citations/declaration.js +2 -0
- package/dist/citations/declaration.js.map +1 -0
- package/dist/citations/design-of.d.ts +9 -0
- package/dist/citations/design-of.d.ts.map +1 -0
- package/dist/citations/design-of.js +8 -0
- package/dist/citations/design-of.js.map +1 -0
- package/dist/citations/document-part.d.ts +17 -0
- package/dist/citations/document-part.d.ts.map +1 -0
- package/dist/citations/document-part.js +2 -0
- package/dist/citations/document-part.js.map +1 -0
- package/dist/citations/evidence.d.ts +14 -0
- package/dist/citations/evidence.d.ts.map +1 -0
- package/dist/citations/evidence.js +2 -0
- package/dist/citations/evidence.js.map +1 -0
- package/dist/citations/format-citations.d.ts +4 -0
- package/dist/citations/format-citations.d.ts.map +1 -0
- package/dist/citations/format-citations.js +23 -0
- package/dist/citations/format-citations.js.map +1 -0
- package/dist/citations/format-removals.d.ts +4 -0
- package/dist/citations/format-removals.d.ts.map +1 -0
- package/dist/citations/format-removals.js +15 -0
- package/dist/citations/format-removals.js.map +1 -0
- package/dist/citations/history-of.d.ts +8 -0
- package/dist/citations/history-of.d.ts.map +1 -0
- package/dist/citations/history-of.js +59 -0
- package/dist/citations/history-of.js.map +1 -0
- package/dist/citations/history.d.ts +23 -0
- package/dist/citations/history.d.ts.map +1 -0
- package/dist/citations/history.js +2 -0
- package/dist/citations/history.js.map +1 -0
- package/dist/citations/index-at-ref.d.ts +7 -0
- package/dist/citations/index-at-ref.d.ts.map +1 -0
- package/dist/citations/index-at-ref.js +22 -0
- package/dist/citations/index-at-ref.js.map +1 -0
- package/dist/citations/index-of-project.d.ts +5 -0
- package/dist/citations/index-of-project.d.ts.map +1 -0
- package/dist/citations/index-of-project.js +12 -0
- package/dist/citations/index-of-project.js.map +1 -0
- package/dist/citations/is-test-file.d.ts +3 -0
- package/dist/citations/is-test-file.d.ts.map +1 -0
- package/dist/citations/is-test-file.js +5 -0
- package/dist/citations/is-test-file.js.map +1 -0
- package/dist/citations/judge-citation.d.ts +7 -0
- package/dist/citations/judge-citation.d.ts.map +1 -0
- package/dist/citations/judge-citation.js +11 -0
- package/dist/citations/judge-citation.js.map +1 -0
- package/dist/citations/judge-member.d.ts +10 -0
- package/dist/citations/judge-member.d.ts.map +1 -0
- package/dist/citations/judge-member.js +39 -0
- package/dist/citations/judge-member.js.map +1 -0
- package/dist/citations/judge-path.d.ts +10 -0
- package/dist/citations/judge-path.d.ts.map +1 -0
- package/dist/citations/judge-path.js +38 -0
- package/dist/citations/judge-path.js.map +1 -0
- package/dist/citations/judge-symbol.d.ts +10 -0
- package/dist/citations/judge-symbol.d.ts.map +1 -0
- package/dist/citations/judge-symbol.js +29 -0
- package/dist/citations/judge-symbol.js.map +1 -0
- package/dist/citations/judged-citations.d.ts +17 -0
- package/dist/citations/judged-citations.d.ts.map +1 -0
- package/dist/citations/judged-citations.js +24 -0
- package/dist/citations/judged-citations.js.map +1 -0
- package/dist/citations/line-time.d.ts +7 -0
- package/dist/citations/line-time.d.ts.map +1 -0
- package/dist/citations/line-time.js +12 -0
- package/dist/citations/line-time.js.map +1 -0
- package/dist/citations/lines-of.d.ts +3 -0
- package/dist/citations/lines-of.d.ts.map +1 -0
- package/dist/citations/lines-of.js +5 -0
- package/dist/citations/lines-of.js.map +1 -0
- package/dist/citations/mentioned-rows.d.ts +7 -0
- package/dist/citations/mentioned-rows.d.ts.map +1 -0
- package/dist/citations/mentioned-rows.js +21 -0
- package/dist/citations/mentioned-rows.js.map +1 -0
- package/dist/citations/name-index-of.d.ts +5 -0
- package/dist/citations/name-index-of.d.ts.map +1 -0
- package/dist/citations/name-index-of.js +13 -0
- package/dist/citations/name-index-of.js.map +1 -0
- package/dist/citations/name-index.d.ts +8 -0
- package/dist/citations/name-index.d.ts.map +1 -0
- package/dist/citations/name-index.js +2 -0
- package/dist/citations/name-index.js.map +1 -0
- package/dist/citations/names-of-file.d.ts +7 -0
- package/dist/citations/names-of-file.d.ts.map +1 -0
- package/dist/citations/names-of-file.js +18 -0
- package/dist/citations/names-of-file.js.map +1 -0
- package/dist/citations/open-rows.d.ts +4 -0
- package/dist/citations/open-rows.d.ts.map +1 -0
- package/dist/citations/open-rows.js +9 -0
- package/dist/citations/open-rows.js.map +1 -0
- package/dist/citations/parts-of-document.d.ts +14 -0
- package/dist/citations/parts-of-document.d.ts.map +1 -0
- package/dist/citations/parts-of-document.js +51 -0
- package/dist/citations/parts-of-document.js.map +1 -0
- package/dist/citations/parts-of-slices.d.ts +13 -0
- package/dist/citations/parts-of-slices.d.ts.map +1 -0
- package/dist/citations/parts-of-slices.js +40 -0
- package/dist/citations/parts-of-slices.js.map +1 -0
- package/dist/citations/ref-notes.d.ts +6 -0
- package/dist/citations/ref-notes.d.ts.map +1 -0
- package/dist/citations/ref-notes.js +27 -0
- package/dist/citations/ref-notes.js.map +1 -0
- package/dist/citations/removal-naming.d.ts +9 -0
- package/dist/citations/removal-naming.d.ts.map +1 -0
- package/dist/citations/removal-naming.js +32 -0
- package/dist/citations/removal-naming.js.map +1 -0
- package/dist/citations/removals-at-ref.d.ts +8 -0
- package/dist/citations/removals-at-ref.d.ts.map +1 -0
- package/dist/citations/removals-at-ref.js +24 -0
- package/dist/citations/removals-at-ref.js.map +1 -0
- package/dist/citations/removals-since.d.ts +8 -0
- package/dist/citations/removals-since.d.ts.map +1 -0
- package/dist/citations/removals-since.js +16 -0
- package/dist/citations/removals-since.js.map +1 -0
- package/dist/citations/removed-by-of.d.ts +5 -0
- package/dist/citations/removed-by-of.d.ts.map +1 -0
- package/dist/citations/removed-by-of.js +6 -0
- package/dist/citations/removed-by-of.js.map +1 -0
- package/dist/citations/role-suffix-of.d.ts +8 -0
- package/dist/citations/role-suffix-of.d.ts.map +1 -0
- package/dist/citations/role-suffix-of.js +28 -0
- package/dist/citations/role-suffix-of.js.map +1 -0
- package/dist/citations/row-documents.d.ts +10 -0
- package/dist/citations/row-documents.d.ts.map +1 -0
- package/dist/citations/row-documents.js +42 -0
- package/dist/citations/row-documents.js.map +1 -0
- package/dist/citations/same-stem-names.d.ts +11 -0
- package/dist/citations/same-stem-names.d.ts.map +1 -0
- package/dist/citations/same-stem-names.js +41 -0
- package/dist/citations/same-stem-names.js.map +1 -0
- package/dist/citations/select-parts.d.ts +9 -0
- package/dist/citations/select-parts.d.ts.map +1 -0
- package/dist/citations/select-parts.js +11 -0
- package/dist/citations/select-parts.js.map +1 -0
- package/dist/citations/stale-citation.d.ts +39 -0
- package/dist/citations/stale-citation.d.ts.map +1 -0
- package/dist/citations/stale-citation.js +2 -0
- package/dist/citations/stale-citation.js.map +1 -0
- package/dist/citations/stale-names-at.d.ts +26 -0
- package/dist/citations/stale-names-at.d.ts.map +1 -0
- package/dist/citations/stale-names-at.js +31 -0
- package/dist/citations/stale-names-at.js.map +1 -0
- package/dist/citations/stale-names-since.d.ts +10 -0
- package/dist/citations/stale-names-since.d.ts.map +1 -0
- package/dist/citations/stale-names-since.js +26 -0
- package/dist/citations/stale-names-since.js.map +1 -0
- package/dist/citations/text-units.d.ts +7 -0
- package/dist/citations/text-units.d.ts.map +1 -0
- package/dist/citations/text-units.js +31 -0
- package/dist/citations/text-units.js.map +1 -0
- package/dist/commands/cited.d.ts +8 -0
- package/dist/commands/cited.d.ts.map +1 -0
- package/dist/commands/cited.js +70 -0
- package/dist/commands/cited.js.map +1 -0
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +7 -3
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/merge-trunk.d.ts +9 -0
- package/dist/commands/merge-trunk.d.ts.map +1 -0
- package/dist/commands/merge-trunk.js +58 -0
- package/dist/commands/merge-trunk.js.map +1 -0
- package/dist/commands/rows-option.d.ts +5 -0
- package/dist/commands/rows-option.d.ts.map +1 -0
- package/dist/commands/rows-option.js +13 -0
- package/dist/commands/rows-option.js.map +1 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +3 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/story-check.d.ts +9 -0
- package/dist/commands/story-check.d.ts.map +1 -0
- package/dist/commands/story-check.js +21 -0
- package/dist/commands/story-check.js.map +1 -0
- package/dist/commands/verify-merge.d.ts +9 -0
- package/dist/commands/verify-merge.d.ts.map +1 -0
- package/dist/commands/verify-merge.js +33 -0
- package/dist/commands/verify-merge.js.map +1 -0
- package/dist/commands/worker-scope.d.ts +4 -1
- package/dist/commands/worker-scope.d.ts.map +1 -1
- package/dist/commands/worker-scope.js +17 -14
- package/dist/commands/worker-scope.js.map +1 -1
- package/dist/derived/is-derived.d.ts +8 -0
- package/dist/derived/is-derived.d.ts.map +1 -0
- package/dist/derived/is-derived.js +18 -0
- package/dist/derived/is-derived.js.map +1 -0
- package/dist/doctor/diagnose.d.ts +2 -2
- package/dist/doctor/diagnose.d.ts.map +1 -1
- package/dist/doctor/diagnose.js +4 -2
- package/dist/doctor/diagnose.js.map +1 -1
- package/dist/doctor/doctor-finding.d.ts +3 -2
- package/dist/doctor/doctor-finding.d.ts.map +1 -1
- package/dist/doctor/format-diagnosis.d.ts +2 -1
- package/dist/doctor/format-diagnosis.d.ts.map +1 -1
- package/dist/doctor/format-diagnosis.js +31 -6
- package/dist/doctor/format-diagnosis.js.map +1 -1
- package/dist/doctor/hook-findings.d.ts +8 -0
- package/dist/doctor/hook-findings.d.ts.map +1 -0
- package/dist/doctor/hook-findings.js +54 -0
- package/dist/doctor/hook-findings.js.map +1 -0
- package/dist/help/notes.d.ts +1 -1
- package/dist/help/notes.d.ts.map +1 -1
- package/dist/help/notes.js +94 -10
- package/dist/help/notes.js.map +1 -1
- package/dist/help/usage.d.ts +1 -1
- package/dist/help/usage.d.ts.map +1 -1
- package/dist/help/usage.js +7 -1
- package/dist/help/usage.js.map +1 -1
- package/dist/init/agent-permissions.d.ts.map +1 -1
- package/dist/init/agent-permissions.js +6 -0
- package/dist/init/agent-permissions.js.map +1 -1
- package/dist/init/manifest/versions.js +24 -24
- package/dist/merge/abort-merge.d.ts +6 -0
- package/dist/merge/abort-merge.d.ts.map +1 -0
- package/dist/merge/abort-merge.js +31 -0
- package/dist/merge/abort-merge.js.map +1 -0
- package/dist/merge/accept-in-merge-message.d.ts +7 -0
- package/dist/merge/accept-in-merge-message.d.ts.map +1 -0
- package/dist/merge/accept-in-merge-message.js +15 -0
- package/dist/merge/accept-in-merge-message.js.map +1 -0
- package/dist/merge/apply-resolutions.d.ts +8 -0
- package/dist/merge/apply-resolutions.d.ts.map +1 -0
- package/dist/merge/apply-resolutions.js +30 -0
- package/dist/merge/apply-resolutions.js.map +1 -0
- package/dist/merge/base-point.d.ts +34 -0
- package/dist/merge/base-point.d.ts.map +1 -0
- package/dist/merge/base-point.js +2 -0
- package/dist/merge/base-point.js.map +1 -0
- package/dist/merge/base-query.d.ts +14 -0
- package/dist/merge/base-query.d.ts.map +1 -0
- package/dist/merge/base-query.js +2 -0
- package/dist/merge/base-query.js.map +1 -0
- package/dist/merge/classify-conflict.d.ts +15 -0
- package/dist/merge/classify-conflict.d.ts.map +1 -0
- package/dist/merge/classify-conflict.js +33 -0
- package/dist/merge/classify-conflict.js.map +1 -0
- package/dist/merge/commit-merge.d.ts +15 -0
- package/dist/merge/commit-merge.d.ts.map +1 -0
- package/dist/merge/commit-merge.js +48 -0
- package/dist/merge/commit-merge.js.map +1 -0
- package/dist/merge/conflict-blocks.d.ts +23 -0
- package/dist/merge/conflict-blocks.d.ts.map +1 -0
- package/dist/merge/conflict-blocks.js +45 -0
- package/dist/merge/conflict-blocks.js.map +1 -0
- package/dist/merge/conflicted-path.d.ts +14 -0
- package/dist/merge/conflicted-path.d.ts.map +1 -0
- package/dist/merge/conflicted-path.js +2 -0
- package/dist/merge/conflicted-path.js.map +1 -0
- package/dist/merge/conflicted-paths.d.ts +9 -0
- package/dist/merge/conflicted-paths.d.ts.map +1 -0
- package/dist/merge/conflicted-paths.js +43 -0
- package/dist/merge/conflicted-paths.js.map +1 -0
- package/dist/merge/continue-merge.d.ts +16 -0
- package/dist/merge/continue-merge.d.ts.map +1 -0
- package/dist/merge/continue-merge.js +119 -0
- package/dist/merge/continue-merge.js.map +1 -0
- package/dist/merge/ensure-mergeable.d.ts +7 -0
- package/dist/merge/ensure-mergeable.d.ts.map +1 -0
- package/dist/merge/ensure-mergeable.js +42 -0
- package/dist/merge/ensure-mergeable.js.map +1 -0
- package/dist/merge/for-you-entry.d.ts +20 -0
- package/dist/merge/for-you-entry.d.ts.map +1 -0
- package/dist/merge/for-you-entry.js +47 -0
- package/dist/merge/for-you-entry.js.map +1 -0
- package/dist/merge/format-merge-report.d.ts +9 -0
- package/dist/merge/format-merge-report.d.ts.map +1 -0
- package/dist/merge/format-merge-report.js +105 -0
- package/dist/merge/format-merge-report.js.map +1 -0
- package/dist/merge/git-path.d.ts +3 -0
- package/dist/merge/git-path.d.ts.map +1 -0
- package/dist/merge/git-path.js +7 -0
- package/dist/merge/git-path.js.map +1 -0
- package/dist/merge/git-process.d.ts +14 -0
- package/dist/merge/git-process.d.ts.map +1 -0
- package/dist/merge/git-process.js +17 -0
- package/dist/merge/git-process.js.map +1 -0
- package/dist/merge/git-version.d.ts +9 -0
- package/dist/merge/git-version.d.ts.map +1 -0
- package/dist/merge/git-version.js +17 -0
- package/dist/merge/git-version.js.map +1 -0
- package/dist/merge/land-drizzle.d.ts +15 -0
- package/dist/merge/land-drizzle.d.ts.map +1 -0
- package/dist/merge/land-drizzle.js +34 -0
- package/dist/merge/land-drizzle.js.map +1 -0
- package/dist/merge/landed-commit.d.ts +20 -0
- package/dist/merge/landed-commit.d.ts.map +1 -0
- package/dist/merge/landed-commit.js +58 -0
- package/dist/merge/landed-commit.js.map +1 -0
- package/dist/merge/landed-point.d.ts +9 -0
- package/dist/merge/landed-point.d.ts.map +1 -0
- package/dist/merge/landed-point.js +80 -0
- package/dist/merge/landed-point.js.map +1 -0
- package/dist/merge/lost/changed-paths.d.ts +7 -0
- package/dist/merge/lost/changed-paths.d.ts.map +1 -0
- package/dist/merge/lost/changed-paths.js +25 -0
- package/dist/merge/lost/changed-paths.js.map +1 -0
- package/dist/merge/lost/collapsed-files.d.ts +10 -0
- package/dist/merge/lost/collapsed-files.d.ts.map +1 -0
- package/dist/merge/lost/collapsed-files.js +26 -0
- package/dist/merge/lost/collapsed-files.js.map +1 -0
- package/dist/merge/lost/commit-of.d.ts +3 -0
- package/dist/merge/lost/commit-of.d.ts.map +1 -0
- package/dist/merge/lost/commit-of.js +6 -0
- package/dist/merge/lost/commit-of.js.map +1 -0
- package/dist/merge/lost/conflict-markers.d.ts +10 -0
- package/dist/merge/lost/conflict-markers.d.ts.map +1 -0
- package/dist/merge/lost/conflict-markers.js +32 -0
- package/dist/merge/lost/conflict-markers.js.map +1 -0
- package/dist/merge/lost/deleted-specs.d.ts +5 -0
- package/dist/merge/lost/deleted-specs.d.ts.map +1 -0
- package/dist/merge/lost/deleted-specs.js +22 -0
- package/dist/merge/lost/deleted-specs.js.map +1 -0
- package/dist/merge/lost/finding-sections.d.ts +11 -0
- package/dist/merge/lost/finding-sections.d.ts.map +1 -0
- package/dist/merge/lost/finding-sections.js +46 -0
- package/dist/merge/lost/finding-sections.js.map +1 -0
- package/dist/merge/lost/format-merge-verification.d.ts +7 -0
- package/dist/merge/lost/format-merge-verification.d.ts.map +1 -0
- package/dist/merge/lost/format-merge-verification.js +45 -0
- package/dist/merge/lost/format-merge-verification.js.map +1 -0
- package/dist/merge/lost/hunk.d.ts +8 -0
- package/dist/merge/lost/hunk.d.ts.map +1 -0
- package/dist/merge/lost/hunk.js +2 -0
- package/dist/merge/lost/hunk.js.map +1 -0
- package/dist/merge/lost/hunks-of.d.ts +4 -0
- package/dist/merge/lost/hunks-of.d.ts.map +1 -0
- package/dist/merge/lost/hunks-of.js +32 -0
- package/dist/merge/lost/hunks-of.js.map +1 -0
- package/dist/merge/lost/in-progress-merge.d.ts +8 -0
- package/dist/merge/lost/in-progress-merge.d.ts.map +1 -0
- package/dist/merge/lost/in-progress-merge.js +49 -0
- package/dist/merge/lost/in-progress-merge.js.map +1 -0
- package/dist/merge/lost/is-generated-text.d.ts +6 -0
- package/dist/merge/lost/is-generated-text.d.ts.map +1 -0
- package/dist/merge/lost/is-generated-text.js +10 -0
- package/dist/merge/lost/is-generated-text.js.map +1 -0
- package/dist/merge/lost/is-line-checked.d.ts +8 -0
- package/dist/merge/lost/is-line-checked.d.ts.map +1 -0
- package/dist/merge/lost/is-line-checked.js +32 -0
- package/dist/merge/lost/is-line-checked.js.map +1 -0
- package/dist/merge/lost/kept-rows.d.ts +9 -0
- package/dist/merge/lost/kept-rows.d.ts.map +1 -0
- package/dist/merge/lost/kept-rows.js +41 -0
- package/dist/merge/lost/kept-rows.js.map +1 -0
- package/dist/merge/lost/line-counts.d.ts +19 -0
- package/dist/merge/lost/line-counts.d.ts.map +1 -0
- package/dist/merge/lost/line-counts.js +33 -0
- package/dist/merge/lost/line-counts.js.map +1 -0
- package/dist/merge/lost/line-findings.d.ts +15 -0
- package/dist/merge/lost/line-findings.d.ts.map +1 -0
- package/dist/merge/lost/line-findings.js +14 -0
- package/dist/merge/lost/line-findings.js.map +1 -0
- package/dist/merge/lost/lost-lines.d.ts +12 -0
- package/dist/merge/lost/lost-lines.d.ts.map +1 -0
- package/dist/merge/lost/lost-lines.js +64 -0
- package/dist/merge/lost/lost-lines.js.map +1 -0
- package/dist/merge/lost/lost-migrations.d.ts +9 -0
- package/dist/merge/lost/lost-migrations.d.ts.map +1 -0
- package/dist/merge/lost/lost-migrations.js +51 -0
- package/dist/merge/lost/lost-migrations.js.map +1 -0
- package/dist/merge/lost/lost-tests.d.ts +10 -0
- package/dist/merge/lost/lost-tests.d.ts.map +1 -0
- package/dist/merge/lost/lost-tests.js +43 -0
- package/dist/merge/lost/lost-tests.js.map +1 -0
- package/dist/merge/lost/merge-base-of.d.ts +17 -0
- package/dist/merge/lost/merge-base-of.d.ts.map +1 -0
- package/dist/merge/lost/merge-base-of.js +31 -0
- package/dist/merge/lost/merge-base-of.js.map +1 -0
- package/dist/merge/lost/merge-check.d.ts +14 -0
- package/dist/merge/lost/merge-check.d.ts.map +1 -0
- package/dist/merge/lost/merge-check.js +2 -0
- package/dist/merge/lost/merge-check.js.map +1 -0
- package/dist/merge/lost/merge-finding.d.ts +27 -0
- package/dist/merge/lost/merge-finding.d.ts.map +1 -0
- package/dist/merge/lost/merge-finding.js +2 -0
- package/dist/merge/lost/merge-finding.js.map +1 -0
- package/dist/merge/lost/merge-of-record.d.ts +14 -0
- package/dist/merge/lost/merge-of-record.d.ts.map +1 -0
- package/dist/merge/lost/merge-of-record.js +36 -0
- package/dist/merge/lost/merge-of-record.js.map +1 -0
- package/dist/merge/lost/merge-records.d.ts +13 -0
- package/dist/merge/lost/merge-records.d.ts.map +1 -0
- package/dist/merge/lost/merge-records.js +24 -0
- package/dist/merge/lost/merge-records.js.map +1 -0
- package/dist/merge/lost/merge-repository-of.d.ts +4 -0
- package/dist/merge/lost/merge-repository-of.d.ts.map +1 -0
- package/dist/merge/lost/merge-repository-of.js +21 -0
- package/dist/merge/lost/merge-repository-of.js.map +1 -0
- package/dist/merge/lost/merge-repository.d.ts +10 -0
- package/dist/merge/lost/merge-repository.d.ts.map +1 -0
- package/dist/merge/lost/merge-repository.js +2 -0
- package/dist/merge/lost/merge-repository.js.map +1 -0
- package/dist/merge/lost/merge-sides.d.ts +11 -0
- package/dist/merge/lost/merge-sides.d.ts.map +1 -0
- package/dist/merge/lost/merge-sides.js +2 -0
- package/dist/merge/lost/merge-sides.js.map +1 -0
- package/dist/merge/lost/merge-to-verify.d.ts +16 -0
- package/dist/merge/lost/merge-to-verify.d.ts.map +1 -0
- package/dist/merge/lost/merge-to-verify.js +2 -0
- package/dist/merge/lost/merge-to-verify.js.map +1 -0
- package/dist/merge/lost/merge-verification.d.ts +13 -0
- package/dist/merge/lost/merge-verification.d.ts.map +1 -0
- package/dist/merge/lost/merge-verification.js +2 -0
- package/dist/merge/lost/merge-verification.js.map +1 -0
- package/dist/merge/lost/merges-since.d.ts +4 -0
- package/dist/merge/lost/merges-since.d.ts.map +1 -0
- package/dist/merge/lost/merges-since.js +7 -0
- package/dist/merge/lost/merges-since.js.map +1 -0
- package/dist/merge/lost/normalized-lines.d.ts +13 -0
- package/dist/merge/lost/normalized-lines.d.ts.map +1 -0
- package/dist/merge/lost/normalized-lines.js +45 -0
- package/dist/merge/lost/normalized-lines.js.map +1 -0
- package/dist/merge/lost/ranked-places.d.ts +12 -0
- package/dist/merge/lost/ranked-places.d.ts.map +1 -0
- package/dist/merge/lost/ranked-places.js +11 -0
- package/dist/merge/lost/ranked-places.js.map +1 -0
- package/dist/merge/lost/revision-files.d.ts +9 -0
- package/dist/merge/lost/revision-files.d.ts.map +1 -0
- package/dist/merge/lost/revision-files.js +58 -0
- package/dist/merge/lost/revision-files.js.map +1 -0
- package/dist/merge/lost/rewritten-in-place.d.ts +12 -0
- package/dist/merge/lost/rewritten-in-place.d.ts.map +1 -0
- package/dist/merge/lost/rewritten-in-place.js +28 -0
- package/dist/merge/lost/rewritten-in-place.js.map +1 -0
- package/dist/merge/lost/side-hunks.d.ts +8 -0
- package/dist/merge/lost/side-hunks.d.ts.map +1 -0
- package/dist/merge/lost/side-hunks.js +18 -0
- package/dist/merge/lost/side-hunks.js.map +1 -0
- package/dist/merge/lost/since-of.d.ts +7 -0
- package/dist/merge/lost/since-of.d.ts.map +1 -0
- package/dist/merge/lost/since-of.js +22 -0
- package/dist/merge/lost/since-of.js.map +1 -0
- package/dist/merge/lost/spec-file.d.ts +3 -0
- package/dist/merge/lost/spec-file.d.ts.map +1 -0
- package/dist/merge/lost/spec-file.js +3 -0
- package/dist/merge/lost/spec-file.js.map +1 -0
- package/dist/merge/lost/superseded-lines.d.ts +25 -0
- package/dist/merge/lost/superseded-lines.d.ts.map +1 -0
- package/dist/merge/lost/superseded-lines.js +53 -0
- package/dist/merge/lost/superseded-lines.js.map +1 -0
- package/dist/merge/lost/three-way-count.d.ts +18 -0
- package/dist/merge/lost/three-way-count.d.ts.map +1 -0
- package/dist/merge/lost/three-way-count.js +18 -0
- package/dist/merge/lost/three-way-count.js.map +1 -0
- package/dist/merge/lost/verify-merge.d.ts +11 -0
- package/dist/merge/lost/verify-merge.d.ts.map +1 -0
- package/dist/merge/lost/verify-merge.js +95 -0
- package/dist/merge/lost/verify-merge.js.map +1 -0
- package/dist/merge/lost/verify-merges.d.ts +17 -0
- package/dist/merge/lost/verify-merges.d.ts.map +1 -0
- package/dist/merge/lost/verify-merges.js +49 -0
- package/dist/merge/lost/verify-merges.js.map +1 -0
- package/dist/merge/lost-lines-gate.d.ts +9 -0
- package/dist/merge/lost-lines-gate.d.ts.map +1 -0
- package/dist/merge/lost-lines-gate.js +28 -0
- package/dist/merge/lost-lines-gate.js.map +1 -0
- package/dist/merge/mentioned-tables.d.ts +3 -0
- package/dist/merge/mentioned-tables.d.ts.map +1 -0
- package/dist/merge/mentioned-tables.js +13 -0
- package/dist/merge/mentioned-tables.js.map +1 -0
- package/dist/merge/merge-context.d.ts +15 -0
- package/dist/merge/merge-context.d.ts.map +1 -0
- package/dist/merge/merge-context.js +14 -0
- package/dist/merge/merge-context.js.map +1 -0
- package/dist/merge/merge-exclusions.d.ts +8 -0
- package/dist/merge/merge-exclusions.d.ts.map +1 -0
- package/dist/merge/merge-exclusions.js +27 -0
- package/dist/merge/merge-exclusions.js.map +1 -0
- package/dist/merge/merge-message.d.ts +17 -0
- package/dist/merge/merge-message.d.ts.map +1 -0
- package/dist/merge/merge-message.js +16 -0
- package/dist/merge/merge-message.js.map +1 -0
- package/dist/merge/merge-report.d.ts +81 -0
- package/dist/merge/merge-report.d.ts.map +1 -0
- package/dist/merge/merge-report.js +2 -0
- package/dist/merge/merge-report.js.map +1 -0
- package/dist/merge/merge-slices-rows.d.ts +15 -0
- package/dist/merge/merge-slices-rows.d.ts.map +1 -0
- package/dist/merge/merge-slices-rows.js +111 -0
- package/dist/merge/merge-slices-rows.js.map +1 -0
- package/dist/merge/merge-state.d.ts +24 -0
- package/dist/merge/merge-state.d.ts.map +1 -0
- package/dist/merge/merge-state.js +41 -0
- package/dist/merge/merge-state.js.map +1 -0
- package/dist/merge/merge-steps.d.ts +18 -0
- package/dist/merge/merge-steps.d.ts.map +1 -0
- package/dist/merge/merge-steps.js +63 -0
- package/dist/merge/merge-steps.js.map +1 -0
- package/dist/merge/merge-stored-events-lock.d.ts +13 -0
- package/dist/merge/merge-stored-events-lock.d.ts.map +1 -0
- package/dist/merge/merge-stored-events-lock.js +50 -0
- package/dist/merge/merge-stored-events-lock.js.map +1 -0
- package/dist/merge/merge-trunk.d.ts +21 -0
- package/dist/merge/merge-trunk.d.ts.map +1 -0
- package/dist/merge/merge-trunk.js +150 -0
- package/dist/merge/merge-trunk.js.map +1 -0
- package/dist/merge/migrations-at.d.ts +11 -0
- package/dist/merge/migrations-at.d.ts.map +1 -0
- package/dist/merge/migrations-at.js +25 -0
- package/dist/merge/migrations-at.js.map +1 -0
- package/dist/merge/next-migration-number.d.ts +7 -0
- package/dist/merge/next-migration-number.d.ts.map +1 -0
- package/dist/merge/next-migration-number.js +17 -0
- package/dist/merge/next-migration-number.js.map +1 -0
- package/dist/merge/next-steps.d.ts +16 -0
- package/dist/merge/next-steps.d.ts.map +1 -0
- package/dist/merge/next-steps.js +16 -0
- package/dist/merge/next-steps.js.map +1 -0
- package/dist/merge/object-bytes.d.ts +6 -0
- package/dist/merge/object-bytes.d.ts.map +1 -0
- package/dist/merge/object-bytes.js +34 -0
- package/dist/merge/object-bytes.js.map +1 -0
- package/dist/merge/patch-ids-of.d.ts +7 -0
- package/dist/merge/patch-ids-of.d.ts.map +1 -0
- package/dist/merge/patch-ids-of.js +20 -0
- package/dist/merge/patch-ids-of.js.map +1 -0
- package/dist/merge/plain-git-merge.d.ts +11 -0
- package/dist/merge/plain-git-merge.d.ts.map +1 -0
- package/dist/merge/plain-git-merge.js +27 -0
- package/dist/merge/plain-git-merge.js.map +1 -0
- package/dist/merge/preview-merge.d.ts +27 -0
- package/dist/merge/preview-merge.d.ts.map +1 -0
- package/dist/merge/preview-merge.js +39 -0
- package/dist/merge/preview-merge.js.map +1 -0
- package/dist/merge/recorded-base.d.ts +11 -0
- package/dist/merge/recorded-base.d.ts.map +1 -0
- package/dist/merge/recorded-base.js +34 -0
- package/dist/merge/recorded-base.js.map +1 -0
- package/dist/merge/registry-union.d.ts +8 -0
- package/dist/merge/registry-union.d.ts.map +1 -0
- package/dist/merge/registry-union.js +22 -0
- package/dist/merge/registry-union.js.map +1 -0
- package/dist/merge/renumber-adrs.d.ts +19 -0
- package/dist/merge/renumber-adrs.d.ts.map +1 -0
- package/dist/merge/renumber-adrs.js +65 -0
- package/dist/merge/renumber-adrs.js.map +1 -0
- package/dist/merge/renumber-migrations.d.ts +23 -0
- package/dist/merge/renumber-migrations.d.ts.map +1 -0
- package/dist/merge/renumber-migrations.js +84 -0
- package/dist/merge/renumber-migrations.js.map +1 -0
- package/dist/merge/resolution.d.ts +19 -0
- package/dist/merge/resolution.d.ts.map +1 -0
- package/dist/merge/resolution.js +2 -0
- package/dist/merge/resolution.js.map +1 -0
- package/dist/merge/resolve-conflict.d.ts +11 -0
- package/dist/merge/resolve-conflict.d.ts.map +1 -0
- package/dist/merge/resolve-conflict.js +82 -0
- package/dist/merge/resolve-conflict.js.map +1 -0
- package/dist/merge/resume-merge.d.ts +5 -0
- package/dist/merge/resume-merge.d.ts.map +1 -0
- package/dist/merge/resume-merge.js +24 -0
- package/dist/merge/resume-merge.js.map +1 -0
- package/dist/merge/settle-regions.d.ts +10 -0
- package/dist/merge/settle-regions.d.ts.map +1 -0
- package/dist/merge/settle-regions.js +44 -0
- package/dist/merge/settle-regions.js.map +1 -0
- package/dist/merge/sharing-branches.d.ts +20 -0
- package/dist/merge/sharing-branches.d.ts.map +1 -0
- package/dist/merge/sharing-branches.js +24 -0
- package/dist/merge/sharing-branches.js.map +1 -0
- package/dist/merge/slices-table.d.ts +17 -0
- package/dist/merge/slices-table.d.ts.map +1 -0
- package/dist/merge/slices-table.js +35 -0
- package/dist/merge/slices-table.js.map +1 -0
- package/dist/merge/start-merge.d.ts +15 -0
- package/dist/merge/start-merge.d.ts.map +1 -0
- package/dist/merge/start-merge.js +33 -0
- package/dist/merge/start-merge.js.map +1 -0
- package/dist/merge/trunk-of.d.ts +9 -0
- package/dist/merge/trunk-of.d.ts.map +1 -0
- package/dist/merge/trunk-of.js +21 -0
- package/dist/merge/trunk-of.js.map +1 -0
- package/dist/merge/unmerged-entries.d.ts +4 -0
- package/dist/merge/unmerged-entries.d.ts.map +1 -0
- package/dist/merge/unmerged-entries.js +15 -0
- package/dist/merge/unmerged-entries.js.map +1 -0
- package/dist/migration/replay-drizzle-migrations.d.ts +5 -0
- package/dist/migration/replay-drizzle-migrations.d.ts.map +1 -1
- package/dist/migration/replay-drizzle-migrations.js +2 -2
- package/dist/migration/replay-drizzle-migrations.js.map +1 -1
- package/dist/migration/replayed-name.d.ts +5 -4
- package/dist/migration/replayed-name.d.ts.map +1 -1
- package/dist/migration/replayed-name.js +6 -5
- package/dist/migration/replayed-name.js.map +1 -1
- package/dist/plan/format-plan.d.ts +4 -1
- package/dist/plan/format-plan.d.ts.map +1 -1
- package/dist/plan/format-plan.js +7 -1
- package/dist/plan/format-plan.js.map +1 -1
- package/dist/progress/cells-of.d.ts +3 -0
- package/dist/progress/cells-of.d.ts.map +1 -0
- package/dist/progress/cells-of.js +12 -0
- package/dist/progress/cells-of.js.map +1 -0
- package/dist/progress/format-progress.d.ts.map +1 -1
- package/dist/progress/format-progress.js +9 -0
- package/dist/progress/format-progress.js.map +1 -1
- package/dist/progress/progress.d.ts +16 -0
- package/dist/progress/progress.d.ts.map +1 -1
- package/dist/progress/read-progress.d.ts +9 -3
- package/dist/progress/read-progress.d.ts.map +1 -1
- package/dist/progress/read-progress.js +18 -6
- package/dist/progress/read-progress.js.map +1 -1
- package/dist/progress/read-slice-rules.d.ts.map +1 -1
- package/dist/progress/read-slice-rules.js +1 -6
- package/dist/progress/read-slice-rules.js.map +1 -1
- package/dist/progress/read-slices.d.ts +2 -3
- package/dist/progress/read-slices.d.ts.map +1 -1
- package/dist/progress/read-slices.js +4 -50
- package/dist/progress/read-slices.js.map +1 -1
- package/dist/progress/rule-line.d.ts +7 -0
- package/dist/progress/rule-line.d.ts.map +1 -0
- package/dist/progress/rule-line.js +7 -0
- package/dist/progress/rule-line.js.map +1 -0
- package/dist/progress/slices-in.d.ts +8 -0
- package/dist/progress/slices-in.d.ts.map +1 -0
- package/dist/progress/slices-in.js +45 -0
- package/dist/progress/slices-in.js.map +1 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +8 -0
- package/dist/run.js.map +1 -1
- package/dist/slice/format-slice-verification.d.ts.map +1 -1
- package/dist/slice/format-slice-verification.js +45 -6
- package/dist/slice/format-slice-verification.js.map +1 -1
- package/dist/slice/plan-staging.d.ts.map +1 -1
- package/dist/slice/plan-staging.js +1 -13
- package/dist/slice/plan-staging.js.map +1 -1
- package/dist/slice/record-verification.d.ts +8 -0
- package/dist/slice/record-verification.d.ts.map +1 -0
- package/dist/slice/record-verification.js +28 -0
- package/dist/slice/record-verification.js.map +1 -0
- package/dist/slice/slice-verification.d.ts +10 -0
- package/dist/slice/slice-verification.d.ts.map +1 -1
- package/dist/slice/verification-file.d.ts +3 -0
- package/dist/slice/verification-file.d.ts.map +1 -0
- package/dist/slice/verification-file.js +3 -0
- package/dist/slice/verification-file.js.map +1 -0
- package/dist/slice/verify-slice.d.ts +5 -2
- package/dist/slice/verify-slice.d.ts.map +1 -1
- package/dist/slice/verify-slice.js +26 -5
- package/dist/slice/verify-slice.js.map +1 -1
- package/dist/slice/worker-slice-of.d.ts +15 -0
- package/dist/slice/worker-slice-of.d.ts.map +1 -0
- package/dist/slice/worker-slice-of.js +32 -0
- package/dist/slice/worker-slice-of.js.map +1 -0
- package/dist/story/attribute-markers.d.ts +13 -0
- package/dist/story/attribute-markers.d.ts.map +1 -0
- package/dist/story/attribute-markers.js +38 -0
- package/dist/story/attribute-markers.js.map +1 -0
- package/dist/story/attributed-marker.d.ts +24 -0
- package/dist/story/attributed-marker.d.ts.map +1 -0
- package/dist/story/attributed-marker.js +2 -0
- package/dist/story/attributed-marker.js.map +1 -0
- package/dist/story/blamed-lines.d.ts +10 -0
- package/dist/story/blamed-lines.d.ts.map +1 -0
- package/dist/story/blamed-lines.js +36 -0
- package/dist/story/blamed-lines.js.map +1 -0
- package/dist/story/closing-of.d.ts +11 -0
- package/dist/story/closing-of.d.ts.map +1 -0
- package/dist/story/closing-of.js +87 -0
- package/dist/story/closing-of.js.map +1 -0
- package/dist/story/commit-rows.d.ts +16 -0
- package/dist/story/commit-rows.d.ts.map +1 -0
- package/dist/story/commit-rows.js +23 -0
- package/dist/story/commit-rows.js.map +1 -0
- package/dist/story/format-story-closing.d.ts +8 -0
- package/dist/story/format-story-closing.d.ts.map +1 -0
- package/dist/story/format-story-closing.js +89 -0
- package/dist/story/format-story-closing.js.map +1 -0
- package/dist/story/may-keep-open.d.ts +9 -0
- package/dist/story/may-keep-open.d.ts.map +1 -0
- package/dist/story/may-keep-open.js +12 -0
- package/dist/story/may-keep-open.js.map +1 -0
- package/dist/story/project-contexts.d.ts +5 -0
- package/dist/story/project-contexts.d.ts.map +1 -0
- package/dist/story/project-contexts.js +5 -0
- package/dist/story/project-contexts.js.map +1 -0
- package/dist/story/read-story-closing.d.ts +7 -0
- package/dist/story/read-story-closing.d.ts.map +1 -0
- package/dist/story/read-story-closing.js +44 -0
- package/dist/story/read-story-closing.js.map +1 -0
- package/dist/story/story-closing.d.ts +41 -0
- package/dist/story/story-closing.d.ts.map +1 -0
- package/dist/story/story-closing.js +2 -0
- package/dist/story/story-closing.js.map +1 -0
- package/dist/story/story-of.d.ts +7 -0
- package/dist/story/story-of.d.ts.map +1 -0
- package/dist/story/story-of.js +9 -0
- package/dist/story/story-of.js.map +1 -0
- package/dist/story/story-plan.d.ts +12 -0
- package/dist/story/story-plan.d.ts.map +1 -0
- package/dist/story/story-plan.js +2 -0
- package/dist/story/story-plan.js.map +1 -0
- package/dist/story/story-scope.d.ts +14 -0
- package/dist/story/story-scope.d.ts.map +1 -0
- package/dist/story/story-scope.js +14 -0
- package/dist/story/story-scope.js.map +1 -0
- package/dist/story/unclosed-stories.d.ts +19 -0
- package/dist/story/unclosed-stories.d.ts.map +1 -0
- package/dist/story/unclosed-stories.js +20 -0
- package/dist/story/unclosed-stories.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker/agent-file.d.ts +3 -0
- package/dist/worker/agent-file.d.ts.map +1 -0
- package/dist/worker/agent-file.js +3 -0
- package/dist/worker/agent-file.js.map +1 -0
- package/dist/worker/branch-standing.d.ts +24 -0
- package/dist/worker/branch-standing.d.ts.map +1 -0
- package/dist/worker/branch-standing.js +47 -0
- package/dist/worker/branch-standing.js.map +1 -0
- package/dist/worker/briefed-rows.d.ts +3 -2
- package/dist/worker/briefed-rows.d.ts.map +1 -1
- package/dist/worker/briefed-rows.js +32 -7
- package/dist/worker/briefed-rows.js.map +1 -1
- package/dist/worker/briefed-slice.d.ts +3 -0
- package/dist/worker/briefed-slice.d.ts.map +1 -1
- package/dist/worker/briefing-of.d.ts.map +1 -1
- package/dist/worker/briefing-of.js +37 -7
- package/dist/worker/briefing-of.js.map +1 -1
- package/dist/worker/design-line.d.ts +4 -0
- package/dist/worker/design-line.d.ts.map +1 -0
- package/dist/worker/design-line.js +9 -0
- package/dist/worker/design-line.js.map +1 -0
- package/dist/worker/design-note.d.ts +4 -0
- package/dist/worker/design-note.d.ts.map +1 -0
- package/dist/worker/design-note.js +19 -0
- package/dist/worker/design-note.js.map +1 -0
- package/dist/worker/ensure-contains-base.d.ts +3 -1
- package/dist/worker/ensure-contains-base.d.ts.map +1 -1
- package/dist/worker/ensure-contains-base.js +4 -2
- package/dist/worker/ensure-contains-base.js.map +1 -1
- package/dist/worker/find-worker.d.ts +23 -0
- package/dist/worker/find-worker.d.ts.map +1 -0
- package/dist/worker/find-worker.js +42 -0
- package/dist/worker/find-worker.js.map +1 -0
- package/dist/worker/format-resume.d.ts +4 -0
- package/dist/worker/format-resume.d.ts.map +1 -0
- package/dist/worker/format-resume.js +60 -0
- package/dist/worker/format-resume.js.map +1 -0
- package/dist/worker/format-workers.d.ts.map +1 -1
- package/dist/worker/format-workers.js +33 -5
- package/dist/worker/format-workers.js.map +1 -1
- package/dist/worker/install-dependencies.d.ts +16 -0
- package/dist/worker/install-dependencies.d.ts.map +1 -0
- package/dist/worker/install-dependencies.js +32 -0
- package/dist/worker/install-dependencies.js.map +1 -0
- package/dist/worker/landed-rows.d.ts +7 -0
- package/dist/worker/landed-rows.d.ts.map +1 -0
- package/dist/worker/landed-rows.js +8 -0
- package/dist/worker/landed-rows.js.map +1 -0
- package/dist/worker/named-paths.d.ts +3 -0
- package/dist/worker/named-paths.d.ts.map +1 -0
- package/dist/worker/named-paths.js +8 -0
- package/dist/worker/named-paths.js.map +1 -0
- package/dist/worker/next-step-of.d.ts +23 -0
- package/dist/worker/next-step-of.d.ts.map +1 -0
- package/dist/worker/next-step-of.js +32 -0
- package/dist/worker/next-step-of.js.map +1 -0
- package/dist/worker/open-worker-scope.d.ts +5 -2
- package/dist/worker/open-worker-scope.d.ts.map +1 -1
- package/dist/worker/open-worker-scope.js +63 -18
- package/dist/worker/open-worker-scope.js.map +1 -1
- package/dist/worker/progress-of.d.ts +14 -0
- package/dist/worker/progress-of.d.ts.map +1 -0
- package/dist/worker/progress-of.js +107 -0
- package/dist/worker/progress-of.js.map +1 -0
- package/dist/worker/read-agent-record.d.ts +4 -0
- package/dist/worker/read-agent-record.d.ts.map +1 -0
- package/dist/worker/read-agent-record.js +40 -0
- package/dist/worker/read-agent-record.js.map +1 -0
- package/dist/worker/read-verification.d.ts +9 -0
- package/dist/worker/read-verification.d.ts.map +1 -0
- package/dist/worker/read-verification.js +26 -0
- package/dist/worker/read-verification.js.map +1 -0
- package/dist/worker/read-worker-file.d.ts.map +1 -1
- package/dist/worker/read-worker-file.js +2 -1
- package/dist/worker/read-worker-file.js.map +1 -1
- package/dist/worker/read-workers.d.ts.map +1 -1
- package/dist/worker/read-workers.js +29 -9
- package/dist/worker/read-workers.js.map +1 -1
- package/dist/worker/resume-briefing.d.ts +17 -0
- package/dist/worker/resume-briefing.d.ts.map +1 -0
- package/dist/worker/resume-briefing.js +76 -0
- package/dist/worker/resume-briefing.js.map +1 -0
- package/dist/worker/resume-message.d.ts +15 -0
- package/dist/worker/resume-message.d.ts.map +1 -0
- package/dist/worker/resume-message.js +43 -0
- package/dist/worker/resume-message.js.map +1 -0
- package/dist/worker/resume-worker.d.ts +34 -0
- package/dist/worker/resume-worker.d.ts.map +1 -0
- package/dist/worker/resume-worker.js +47 -0
- package/dist/worker/resume-worker.js.map +1 -0
- package/dist/worker/row-commits.d.ts +22 -0
- package/dist/worker/row-commits.d.ts.map +1 -0
- package/dist/worker/row-commits.js +57 -0
- package/dist/worker/row-commits.js.map +1 -0
- package/dist/worker/rows-on-branches.d.ts +2 -1
- package/dist/worker/rows-on-branches.d.ts.map +1 -1
- package/dist/worker/rows-on-branches.js +2 -1
- package/dist/worker/rows-on-branches.js.map +1 -1
- package/dist/worker/stale-names-block.d.ts +4 -0
- package/dist/worker/stale-names-block.d.ts.map +1 -0
- package/dist/worker/stale-names-block.js +17 -0
- package/dist/worker/stale-names-block.js.map +1 -0
- package/dist/worker/state-line-of.d.ts +9 -0
- package/dist/worker/state-line-of.d.ts.map +1 -0
- package/dist/worker/state-line-of.js +55 -0
- package/dist/worker/state-line-of.js.map +1 -0
- package/dist/worker/worker-file.d.ts +2 -0
- package/dist/worker/worker-file.d.ts.map +1 -1
- package/dist/worker/worker-place.d.ts +3 -0
- package/dist/worker/worker-place.d.ts.map +1 -1
- package/dist/worker/worker-progress.d.ts +87 -0
- package/dist/worker/worker-progress.d.ts.map +1 -0
- package/dist/worker/worker-progress.js +2 -0
- package/dist/worker/worker-progress.js.map +1 -0
- package/dist/worker/worker-scope.d.ts +3 -0
- package/dist/worker/worker-scope.d.ts.map +1 -1
- package/dist/worker/workers-status.d.ts +29 -3
- package/dist/worker/workers-status.d.ts.map +1 -1
- package/package.json +2 -2
- package/templates/command/handler.spec.buses.ts.tpl +2 -2
- package/templates/command/handler.spec.tsyringe.ts.tpl +2 -2
- package/templates/init/AGENTS.md.tpl +1 -1
- package/templates/init/rules/application.md.tpl +1 -1
- package/templates/init/rules/infrastructure.md.tpl +3 -0
- package/templates/pipeline/lefthook.yml +5 -0
- package/templates/pipeline/package-scripts.json +1 -1
- package/templates/pipeline/vitest.config.ts.tpl +28 -27
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A rule line of the slices file, anywhere outside a table: `- #<row>: <invariants and failures
|
|
3
|
+
* by name>`, or `- <row>: ..` without the `#`, as a plan written by hand often has it. A list item
|
|
4
|
+
* whose first word is not the id of a row gives a rule no row asks for. Captures the id, then the text.
|
|
5
|
+
*/
|
|
6
|
+
export declare const RULE_LINE: RegExp;
|
|
7
|
+
//# sourceMappingURL=rule-line.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-line.d.ts","sourceRoot":"","sources":["../../src/progress/rule-line.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,SAAS,QAA6C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A rule line of the slices file, anywhere outside a table: `- #<row>: <invariants and failures
|
|
3
|
+
* by name>`, or `- <row>: ..` without the `#`, as a plan written by hand often has it. A list item
|
|
4
|
+
* whose first word is not the id of a row gives a rule no row asks for. Captures the id, then the text.
|
|
5
|
+
*/
|
|
6
|
+
export const RULE_LINE = /^\s*[-*]\s+#?([^\s:,#]+)\s*:\s*(.+?)\s*$/;
|
|
7
|
+
//# sourceMappingURL=rule-line.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-line.js","sourceRoot":"","sources":["../../src/progress/rule-line.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Slice } from './slice.js';
|
|
2
|
+
/**
|
|
3
|
+
* The rows of every slices table of a text, in its order: a plan may keep one table per milestone
|
|
4
|
+
* or story, each under the same header. Undefined when the text has no such table. Reads the
|
|
5
|
+
* slices file of the project as well as one version of it out of git.
|
|
6
|
+
*/
|
|
7
|
+
export declare function slicesIn(text: string): Slice[] | undefined;
|
|
8
|
+
//# sourceMappingURL=slices-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slices-in.d.ts","sourceRoot":"","sources":["../../src/progress/slices-in.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAIxC;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,EAAE,GAAG,SAAS,CAS1D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { cellsOf } from './cells-of.js';
|
|
2
|
+
const COLUMNS = ['#', 'context', 'kind', 'slice', 'start with', 'depends on', 'owner', 'status'];
|
|
3
|
+
/**
|
|
4
|
+
* The rows of every slices table of a text, in its order: a plan may keep one table per milestone
|
|
5
|
+
* or story, each under the same header. Undefined when the text has no such table. Reads the
|
|
6
|
+
* slices file of the project as well as one version of it out of git.
|
|
7
|
+
*/
|
|
8
|
+
export function slicesIn(text) {
|
|
9
|
+
const lines = text.split('\n');
|
|
10
|
+
const headers = lines.flatMap((line, index) => (isHeader(line) ? [index] : []));
|
|
11
|
+
if (headers.length === 0) {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
return headers.flatMap((header) => tableRows(lines, header)).map(sliceOf);
|
|
15
|
+
}
|
|
16
|
+
function isHeader(line) {
|
|
17
|
+
return (cellsOf(line)
|
|
18
|
+
.map((cell) => cell.toLowerCase())
|
|
19
|
+
.join('|') === COLUMNS.join('|'));
|
|
20
|
+
}
|
|
21
|
+
/** The rows under a header and its separator, up to the first line that is not a row. */
|
|
22
|
+
function tableRows(lines, header) {
|
|
23
|
+
const end = lines.findIndex((line, index) => index > header + 1 && !line.trim().startsWith('|'));
|
|
24
|
+
return lines
|
|
25
|
+
.slice(header + 2, end === -1 ? undefined : end)
|
|
26
|
+
.map(cellsOf)
|
|
27
|
+
.filter((cells) => cells.length === COLUMNS.length);
|
|
28
|
+
}
|
|
29
|
+
function sliceOf(cells) {
|
|
30
|
+
const [id = '', context = '', kind = '', slice = '', startWith = '', dependsOn = '', owner = '', status = ''] = cells;
|
|
31
|
+
return {
|
|
32
|
+
id,
|
|
33
|
+
context,
|
|
34
|
+
kind,
|
|
35
|
+
slice,
|
|
36
|
+
startWith,
|
|
37
|
+
dependsOn: dependsOn
|
|
38
|
+
.split(',')
|
|
39
|
+
.map((row) => row.trim())
|
|
40
|
+
.filter((row) => row !== ''),
|
|
41
|
+
owner,
|
|
42
|
+
status: status.toLowerCase(),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=slices-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slices-in.js","sourceRoot":"","sources":["../../src/progress/slices-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAEjG;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAY;IACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,O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AO,CAAC,KAAwB;IACvC,MAAM,CAAC,EAAE,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC;IAEtH,OAAO;QACL,EAAE;QACF,OAAO;QACP,IAAI;QACJ,KAAK;QACL,SAAS;QACT,SAAS,EAAE,SAAS;aACjB,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;aACxB,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC;QAC9B,KAAK;QACL,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE;KAC7B,CAAC;AACJ,CAAC"}
|
package/dist/run.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAoE3C,wBAAgB,GAAG,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,EAAE,GAAE,EAAc,GAAG,MAAM,CAkCvE"}
|
package/dist/run.js
CHANGED
|
@@ -2,6 +2,7 @@ import { affectedCommand } from './commands/affected.js';
|
|
|
2
2
|
import { buildAliasesCommand } from './commands/build-aliases.js';
|
|
3
3
|
import { checkFileCommand, explainCommand, rulesCommand } from './commands/check.js';
|
|
4
4
|
import { checksCommand } from './commands/checks.js';
|
|
5
|
+
import { citedCommand } from './commands/cited.js';
|
|
5
6
|
import { controllersCommand } from './commands/controllers.js';
|
|
6
7
|
import { depcruiseConfigCommand } from './commands/depcruise-config.js';
|
|
7
8
|
import { describeCommand } from './commands/describe.js';
|
|
@@ -12,11 +13,14 @@ import { errorFactoriesCommand } from './commands/error-factories.js';
|
|
|
12
13
|
import { generateCommand } from './commands/generate.js';
|
|
13
14
|
import { initCommand } from './commands/init.js';
|
|
14
15
|
import { listCommand } from './commands/list.js';
|
|
16
|
+
import { mergeTrunkCommand } from './commands/merge-trunk.js';
|
|
15
17
|
import { planWavesCommand } from './commands/plan-waves.js';
|
|
16
18
|
import { sdkCommand } from './commands/sdk.js';
|
|
17
19
|
import { statusCommand } from './commands/status.js';
|
|
20
|
+
import { storyCheckCommand } from './commands/story-check.js';
|
|
18
21
|
import { todoCommand } from './commands/todo.js';
|
|
19
22
|
import { valueObjectsCommand } from './commands/value-objects.js';
|
|
23
|
+
import { verifyMergeCommand } from './commands/verify-merge.js';
|
|
20
24
|
import { verifySliceCommand } from './commands/verify-slice.js';
|
|
21
25
|
import { workerScopeCommand } from './commands/worker-scope.js';
|
|
22
26
|
import { CliError } from './cli-error.js';
|
|
@@ -34,8 +38,12 @@ const COMMANDS = {
|
|
|
34
38
|
status: statusCommand,
|
|
35
39
|
todo: todoCommand,
|
|
36
40
|
'plan-waves': planWavesCommand,
|
|
41
|
+
'story-check': storyCheckCommand,
|
|
37
42
|
'worker-scope': workerScopeCommand,
|
|
38
43
|
'verify-slice': verifySliceCommand,
|
|
44
|
+
cited: citedCommand,
|
|
45
|
+
'verify-merge': verifyMergeCommand,
|
|
46
|
+
'merge-trunk': mergeTrunkCommand,
|
|
39
47
|
docs: docsCommand,
|
|
40
48
|
doctor: doctorCommand,
|
|
41
49
|
sdk: sdkCommand,
|
package/dist/run.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAA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AAS,OAAO,CAAC,IAAuB;IACtC,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAErF,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAC/E,CAAC;AAED,SAAS,IAAI;IACX,OAAO,cAAc,OAAO;;EAE5B,aAAa,EAAE,EAAE,CAAC;AACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-slice-verification.d.ts","sourceRoot":"","sources":["../../src/slice/format-slice-verification.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"format-slice-verification.d.ts","sourceRoot":"","sources":["../../src/slice/format-slice-verification.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAKjE,kHAAkH;AAClH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,iBAAiB,GAAG,MAAM,CAe/E"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { formatCheck } from '../check/engine/format-check.js';
|
|
2
|
+
import { formatMergeVerification } from '../merge/lost/format-merge-verification.js';
|
|
3
|
+
const MERGES_WILL_BLOCK = ' restore each loss above before the commit: a later minor version fails the slice on them; `npx ddd-ts-kit verify-merge` alone already exits 1 on them';
|
|
2
4
|
/** The verification of a slice as a short report: each step, what failed with its cause, then what to do next. */
|
|
3
5
|
export function formatSliceVerification(verification) {
|
|
4
6
|
const { check, context, since } = verification;
|
|
@@ -8,14 +10,34 @@ export function formatSliceVerification(verification) {
|
|
|
8
10
|
`check (changed since ${since}): ${checked}${check.warningCount > 0 ? `, ${check.warningCount} warning(s)` : ''}`,
|
|
9
11
|
...(check.violations.length > 0 ? indented(formatCheck(check, 'text')) : []),
|
|
10
12
|
...step(`tests of ${context}`, verification.tests),
|
|
13
|
+
...mergesLines(verification),
|
|
11
14
|
...nearTheLimitLines(verification),
|
|
12
15
|
...nextLines(verification),
|
|
13
16
|
...leftOutLines(verification),
|
|
17
|
+
...citedRemovalLines(verification),
|
|
14
18
|
].join('\n');
|
|
15
19
|
}
|
|
16
20
|
function step(name, run) {
|
|
17
21
|
return run.ok ? [`${name}: ok`] : [`${name}: failed`, ...indented(run.output)];
|
|
18
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The merges of the branch: none, ok, or what each lost, as `verify-merge` reports it. In this
|
|
25
|
+
* version an error is reported, loudly, without failing the slice: the check reaches projects as
|
|
26
|
+
* a warning first.
|
|
27
|
+
*/
|
|
28
|
+
function mergesLines({ merges, since }) {
|
|
29
|
+
const { errorCount, warningCount } = merges;
|
|
30
|
+
const counted = [
|
|
31
|
+
...(errorCount === 0 ? [] : [`${errorCount} error(s), not failing the slice in this version`]),
|
|
32
|
+
...(warningCount === 0 ? [] : [`${warningCount} warning(s)`]),
|
|
33
|
+
];
|
|
34
|
+
const verdict = merges.merges.length === 0 ? 'none' : counted.join(', ') || 'ok';
|
|
35
|
+
return [
|
|
36
|
+
`merges since ${since}: ${verdict}`,
|
|
37
|
+
...(errorCount + warningCount === 0 ? [] : indented(formatMergeVerification(merges))),
|
|
38
|
+
...(errorCount === 0 ? [] : [MERGES_WILL_BLOCK]),
|
|
39
|
+
];
|
|
40
|
+
}
|
|
19
41
|
function nearTheLimitLines({ nearTheLimit }) {
|
|
20
42
|
return nearTheLimit.length === 0
|
|
21
43
|
? []
|
|
@@ -24,16 +46,20 @@ function nearTheLimitLines({ nearTheLimit }) {
|
|
|
24
46
|
...nearTheLimit.map(({ file, lines }) => ` ${file} (${lines})`),
|
|
25
47
|
];
|
|
26
48
|
}
|
|
27
|
-
function nextLines({ ok, toStage, context }) {
|
|
49
|
+
function nextLines({ ok, toStage, context, commit }) {
|
|
28
50
|
if (!ok) {
|
|
29
51
|
return ['next: fix the causes above, then run verify-slice again'];
|
|
30
52
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
53
|
+
if (toStage.length === 0) {
|
|
54
|
+
return ['next: nothing to commit'];
|
|
55
|
+
}
|
|
56
|
+
const staged = toStage.map((file) => ` ${file}`);
|
|
57
|
+
return commit === undefined
|
|
58
|
+
? [
|
|
34
59
|
`next: commit the slice, staging these paths one by one: feat(${context}): <the slice in business words>`,
|
|
35
|
-
...
|
|
36
|
-
]
|
|
60
|
+
...staged,
|
|
61
|
+
]
|
|
62
|
+
: ['next: stage these paths one by one, then commit the slice with this command:', ...staged, ` ${commit}`];
|
|
37
63
|
}
|
|
38
64
|
/** Said whether the slice passed or not: an agent must never sweep these into its commit. */
|
|
39
65
|
function leftOutLines({ leftOut }) {
|
|
@@ -44,6 +70,19 @@ function leftOutLines({ leftOut }) {
|
|
|
44
70
|
...leftOut.map((file) => ` ${file}`),
|
|
45
71
|
];
|
|
46
72
|
}
|
|
73
|
+
/** Said whether the slice passed or not: the documents are corrected by the conductor, never by the slice. */
|
|
74
|
+
function citedRemovalLines({ citedRemovals }) {
|
|
75
|
+
return citedRemovals.length === 0
|
|
76
|
+
? []
|
|
77
|
+
: [
|
|
78
|
+
'cited by the design of rows not done: names this slice removes (tell the conductor, as notes of your report)',
|
|
79
|
+
...citedRemovals.map(({ cited, candidates, document, line, rows }) => {
|
|
80
|
+
const now = candidates.length === 0 ? '' : ` (now ${candidates.map((candidate) => candidate.name).join(' or ')})`;
|
|
81
|
+
const owners = rows.length === 0 ? '' : ` (${rows.map((id) => `#${id}`).join(', ')})`;
|
|
82
|
+
return ` \`${cited}\`${now}: ${document}:${line}${owners}`;
|
|
83
|
+
}),
|
|
84
|
+
];
|
|
85
|
+
}
|
|
47
86
|
function indented(text) {
|
|
48
87
|
return text.split('\n').map((line) => ` ${line}`);
|
|
49
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-slice-verification.js","sourceRoot":"","sources":["../../src/slice/format-slice-verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"format-slice-verification.js","sourceRoot":"","sources":["../../src/slice/format-slice-verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAIrF,MAAM,iBAAiB,GACrB,yJAAyJ,CAAC;AAE5J,kHAAkH;AAClH,MAAM,UAAU,uBAAuB,CAAC,YAA+B;IACrE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,YAAY,CAAC;IAC/C,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,UAAU,WAAW,CAAC;IAE/E,OAAO;QACL,GAAG,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,UAAU,CAAC;QAC9C,wBAAwB,KAAK,MAAM,OAAO,GAAG,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,YAAY,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE;QACjH,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5E,GAAG,IAAI,CAAC,YAAY,OAAO,EAAE,EAAE,YAAY,CAAC,KAAK,CAAC;QAClD,GAAG,WAAW,CAAC,YAAY,CAAC;QAC5B,GAAG,iBAAiB,CAAC,YAAY,CAAC;QAClC,GAAG,SAAS,CAAC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O,aAAa,CAAC,MAAM,KAAK,CAAC;QAC/B,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC;YACE,8GAA8G;YAC9G,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;gBACnE,MAAM,GAAG,GACP,UAAU,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;gBAExG,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;gBAEtF,OAAO,OAAO,KAAK,KAAK,GAAG,KAAK,QAAQ,IAAI,IAAI,GAAG,MAAM,EAAE,CAAC;YAC9D,CAAC,CAAC;SACH,CAAC;AACR,CAAC;AAED,SAAS,QAAQ,CAAC,IAAY;IAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;AACvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-staging.d.ts","sourceRoot":"","sources":["../../src/slice/plan-staging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"plan-staging.d.ts","sourceRoot":"","sources":["../../src/slice/plan-staging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AASrD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAc1G"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isDerived } from '../derived/is-derived.js';
|
|
1
2
|
/** The kit's own working files: never committed, never listed. */
|
|
2
3
|
const KIT_FILES = '.ddd-ts-kit/';
|
|
3
4
|
/** An end-to-end spec, the one place of a slice outside its context. */
|
|
@@ -36,17 +37,4 @@ function isWorkingMigration(path, working) {
|
|
|
36
37
|
return (working.size > 0 &&
|
|
37
38
|
(snapshot !== undefined ? working.has(snapshot) : /(?:^|\/)migrations\/meta\/_journal\.json$/.test(path)));
|
|
38
39
|
}
|
|
39
|
-
/** What `npm run regenerate` rewrites: the dependency rules, the context map, the barrels and lists of each context, the contracts and their clients. */
|
|
40
|
-
function isDerived(path, { contextsDir }) {
|
|
41
|
-
const [context, file, ...deeper] = path.startsWith(`${contextsDir}/`)
|
|
42
|
-
? path.slice(contextsDir.length + 1).split('/')
|
|
43
|
-
: [];
|
|
44
|
-
const ofAContext = context !== undefined &&
|
|
45
|
-
deeper.length === 0 &&
|
|
46
|
-
(file === 'CONTEXT.md' || file === `${context}.declarations.ts` || file === `${context}.dependencies.ts`);
|
|
47
|
-
return (ofAContext ||
|
|
48
|
-
path === '.dependency-cruiser.cjs' ||
|
|
49
|
-
path === 'docs/context-map.md' ||
|
|
50
|
-
/^(?:openapi|docs\/integration|clients)\//.test(path));
|
|
51
|
-
}
|
|
52
40
|
//# sourceMappingURL=plan-staging.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-staging.js","sourceRoot":"","sources":["../../src/slice/plan-staging.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plan-staging.js","sourceRoot":"","sources":["../../src/slice/plan-staging.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,kEAAkE;AAClE,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,wEAAwE;AACxE,MAAM,eAAe,GAAG,mCAAmC,CAAC;AAC5D,6GAA6G;AAC7G,MAAM,iBAAiB,GAAG,2DAA2D,CAAC;AAEtF;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CAAC,OAAgC,EAAE,MAAc,EAAE,OAAe;IAC3F,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;IACzE,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEvC,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAW,EAAE,CAC/C,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,WAAW,IAAI,OAAO,GAAG,CAAC;QAC1D,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAChC,kBAAkB,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC;QACvC,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnD,OAAO;QACL,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC;QACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC;KAC3E,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,OAAgC;IACtD,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AACzF,CAAC;AAED,6GAA6G;AAC7G,SAAS,kBAAkB,CAAC,IAAY,EAAE,OAA4B;IACpE,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,QAAQ,GAAG,iDAAiD,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAEnF,OAAO,CACL,OAAO,CAAC,IAAI,GAAG,CAAC;QAChB,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,2CAA2C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAC1G,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SliceVerification } from './slice-verification.js';
|
|
2
|
+
/**
|
|
3
|
+
* Keeps the last verification of a worker in its worktree, ignored by git: when it ran, at which
|
|
4
|
+
* commit, for which row, whether it passed, the steps that failed and the paths it listed to
|
|
5
|
+
* stage. What the conductor reads when the worker stops, written by the kit, never by the agent.
|
|
6
|
+
*/
|
|
7
|
+
export declare function recordVerification(root: string, verification: SliceVerification): void;
|
|
8
|
+
//# sourceMappingURL=record-verification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-verification.d.ts","sourceRoot":"","sources":["../../src/slice/record-verification.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,GAAG,IAAI,CAoBtF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { runGit } from '../commit/run-git.js';
|
|
4
|
+
import { VERIFICATION_FILE } from './verification-file.js';
|
|
5
|
+
/**
|
|
6
|
+
* Keeps the last verification of a worker in its worktree, ignored by git: when it ran, at which
|
|
7
|
+
* commit, for which row, whether it passed, the steps that failed and the paths it listed to
|
|
8
|
+
* stage. What the conductor reads when the worker stops, written by the kit, never by the agent.
|
|
9
|
+
*/
|
|
10
|
+
export function recordVerification(root, verification) {
|
|
11
|
+
const failed = [
|
|
12
|
+
...(verification.regenerate.ok ? [] : ['regenerate']),
|
|
13
|
+
...(verification.check.errorCount === 0 ? [] : ['check']),
|
|
14
|
+
...(verification.tests.ok ? [] : ['tests']),
|
|
15
|
+
];
|
|
16
|
+
const record = {
|
|
17
|
+
at: new Date().toISOString(),
|
|
18
|
+
head: runGit(root, ['rev-parse', 'HEAD'])?.trim() ?? null,
|
|
19
|
+
row: verification.row ?? null,
|
|
20
|
+
ok: verification.ok,
|
|
21
|
+
failed,
|
|
22
|
+
toStage: verification.toStage,
|
|
23
|
+
};
|
|
24
|
+
const file = path.join(root, VERIFICATION_FILE);
|
|
25
|
+
fs.mkdirSync(path.dirname(file), { recursive: true });
|
|
26
|
+
fs.writeFileSync(file, `${JSON.stringify(record, null, 2)}\n`);
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=record-verification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-verification.js","sourceRoot":"","sources":["../../src/slice/record-verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI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,CAAC;AACjE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { CheckResult } from '../check/engine/check-result.js';
|
|
2
|
+
import type { StaleCitation } from '../citations/stale-citation.js';
|
|
3
|
+
import type { MergeVerification } from '../merge/lost/merge-verification.js';
|
|
2
4
|
import type { ScriptRun } from './script-run.js';
|
|
3
5
|
import type { SizedFile } from './sized-file.js';
|
|
4
6
|
/** What `verify-slice` found for one slice, step by step, and what is left to commit. */
|
|
@@ -8,11 +10,19 @@ export interface SliceVerification {
|
|
|
8
10
|
readonly regenerate: ScriptRun;
|
|
9
11
|
readonly check: CheckResult;
|
|
10
12
|
readonly tests: ScriptRun;
|
|
13
|
+
/** The merges of the branch since `since`, the trunk brought in: what each one lost; reported, never in `ok` in this version. */
|
|
14
|
+
readonly merges: MergeVerification;
|
|
11
15
|
readonly nearTheLimit: readonly SizedFile[];
|
|
12
16
|
/** The paths of the slice, to stage one by one. */
|
|
13
17
|
readonly toStage: readonly string[];
|
|
14
18
|
/** The other changed paths of the working tree: never staged with the slice. */
|
|
15
19
|
readonly leftOut: readonly string[];
|
|
20
|
+
/** The names the slice removes that the design of a row not done still cites: informational, never a failure. */
|
|
21
|
+
readonly citedRemovals: readonly StaleCitation[];
|
|
16
22
|
readonly ok: boolean;
|
|
23
|
+
/** In the worktree of a worker: the row being closed, the first of its scope file no commit closes yet. */
|
|
24
|
+
readonly row?: string;
|
|
25
|
+
/** In the worktree of a worker: the commit command, with the trailer `Slice: <row>`. */
|
|
26
|
+
readonly commit?: string;
|
|
17
27
|
}
|
|
18
28
|
//# sourceMappingURL=slice-verification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice-verification.d.ts","sourceRoot":"","sources":["../../src/slice/slice-verification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;A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,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,SAAS,SAAS,EAAE,CAAC;IAC5C,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,iHAAiH;IACjH,QAAQ,CAAC,aAAa,EAAE,SAAS,aAAa,EAAE,CAAC;IACjD,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,2GAA2G;IAC3G,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification-file.d.ts","sourceRoot":"","sources":["../../src/slice/verification-file.ts"],"names":[],"mappings":"AAAA,4IAA4I;AAC5I,eAAO,MAAM,iBAAiB,kCAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification-file.js","sourceRoot":"","sources":["../../src/slice/verification-file.ts"],"names":[],"mappings":"AAAA,4IAA4I;AAC5I,MAAM,CAAC,MAAM,iBAAiB,GAAG,+BAA+B,CAAC"}
|
|
@@ -3,8 +3,11 @@ import type { SliceVerification } from './slice-verification.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* The steps that close a slice before its commit, in one run: the derived files regenerated,
|
|
5
5
|
* the architecture rules on the files changed since `since` (new ones included), the specs of
|
|
6
|
-
* the context
|
|
7
|
-
*
|
|
6
|
+
* the context, the merges of the branch since `since` (what one of them lost is reported but does
|
|
7
|
+
* not fail the slice in this version: the check reaches projects as a warning first); then the
|
|
8
|
+
* changed files near the size limit and the paths to stage. Every step runs, so that one answer
|
|
9
|
+
* tells everything that is left. In the worktree of a worker, the answer names the row being
|
|
10
|
+
* closed and its commit command, and is kept in `.ddd-ts-kit/verification.json` for the conductor.
|
|
8
11
|
*/
|
|
9
12
|
export declare function verifySlice({ root, config, context, since }: SliceToVerify): SliceVerification;
|
|
10
13
|
//# sourceMappingURL=verify-slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-slice.d.ts","sourceRoot":"","sources":["../../src/slice/verify-slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-slice.d.ts","sourceRoot":"","sources":["../../src/slice/verify-slice.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAMjE;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,aAAa,GAAG,iBAAiB,CA6B9F"}
|
|
@@ -1,41 +1,62 @@
|
|
|
1
1
|
import fs from 'node:fs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { changedFiles } from '../check/commands/changed-files.js';
|
|
4
|
+
import { citedRemovals } from '../citations/cited-removals.js';
|
|
4
5
|
import { runCheck } from '../check/engine/run-check.js';
|
|
5
6
|
import { summarize } from '../check/engine/summarize.js';
|
|
6
7
|
import { loadProject } from '../check/project/load-project.js';
|
|
7
8
|
import { CliError } from '../cli-error.js';
|
|
8
9
|
import { isRecord } from '../config/values/is-record.js';
|
|
10
|
+
import { verifyMerges } from '../merge/lost/verify-merges.js';
|
|
9
11
|
import { nearTheLimit } from './near-the-limit.js';
|
|
10
12
|
import { changedEntries } from './changed-entries.js';
|
|
11
13
|
import { planStaging } from './plan-staging.js';
|
|
14
|
+
import { recordVerification } from './record-verification.js';
|
|
12
15
|
import { runScript } from './run-script.js';
|
|
16
|
+
import { workerSliceOf } from './worker-slice-of.js';
|
|
13
17
|
/** The scripts a slice runs; `regenerate` arrived in 0.21. */
|
|
14
18
|
const SCRIPTS = ['regenerate', 'test'];
|
|
15
19
|
/**
|
|
16
20
|
* The steps that close a slice before its commit, in one run: the derived files regenerated,
|
|
17
21
|
* the architecture rules on the files changed since `since` (new ones included), the specs of
|
|
18
|
-
* the context
|
|
19
|
-
*
|
|
22
|
+
* the context, the merges of the branch since `since` (what one of them lost is reported but does
|
|
23
|
+
* not fail the slice in this version: the check reaches projects as a warning first); then the
|
|
24
|
+
* changed files near the size limit and the paths to stage. Every step runs, so that one answer
|
|
25
|
+
* tells everything that is left. In the worktree of a worker, the answer names the row being
|
|
26
|
+
* closed and its commit command, and is kept in `.ddd-ts-kit/verification.json` for the conductor.
|
|
20
27
|
*/
|
|
21
28
|
export function verifySlice({ root, config, context, since }) {
|
|
22
29
|
requireScripts(root);
|
|
23
30
|
const manager = config.stack.packageManager;
|
|
24
31
|
const regenerate = runScript({ root, manager, script: 'regenerate' });
|
|
25
32
|
const changed = changedFiles(root, since);
|
|
26
|
-
const
|
|
33
|
+
const project = loadProject(root);
|
|
34
|
+
const run = runCheck(project, { rules: [] });
|
|
27
35
|
const check = summarize(run.violations.filter((violation) => changed.has(violation.file)), run);
|
|
28
36
|
const tests = runScript({ root, manager, script: 'test', args: [context] });
|
|
29
|
-
|
|
37
|
+
const merges = verifyMerges({ root, since });
|
|
38
|
+
return closedByWorker(root, {
|
|
30
39
|
context,
|
|
31
40
|
since,
|
|
32
41
|
regenerate,
|
|
33
42
|
check,
|
|
34
43
|
tests,
|
|
44
|
+
merges,
|
|
35
45
|
nearTheLimit: nearTheLimit(root, changed),
|
|
36
46
|
...planStaging(changedEntries(root), config, context),
|
|
47
|
+
citedRemovals: citedRemovals(project, since),
|
|
37
48
|
ok: regenerate.ok && check.errorCount === 0 && tests.ok,
|
|
38
|
-
};
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/** In the worktree of a worker: the row it closes and its commit command, kept for the conductor. */
|
|
52
|
+
function closedByWorker(root, verification) {
|
|
53
|
+
const worker = workerSliceOf(root, verification.context, verification.since);
|
|
54
|
+
if (worker === undefined) {
|
|
55
|
+
return verification;
|
|
56
|
+
}
|
|
57
|
+
const named = { ...verification, ...worker };
|
|
58
|
+
recordVerification(root, named);
|
|
59
|
+
return named;
|
|
39
60
|
}
|
|
40
61
|
function requireScripts(root) {
|
|
41
62
|
const manifest = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-slice.js","sourceRoot":"","sources":["../../src/slice/verify-slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"verify-slice.js","sourceRoot":"","sources":["../../src/slice/verify-slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA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AE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/F,MAAM,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/F,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,QAAQ,CAAC,CAAC;IAEhF,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,QAAQ,CAChB,uBAAuB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EACxF,oGAAoG,CACrG,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** The row a worker is closing, and the commit command that names it; neither once every row is committed. */
|
|
2
|
+
export interface WorkerSlice {
|
|
3
|
+
/** The id of the row, as its scope file holds it. */
|
|
4
|
+
readonly row?: string;
|
|
5
|
+
/** `git commit -m "feat(<context>): <the slice>" -m "Slice: <id>"`. */
|
|
6
|
+
readonly commit?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* In the worktree of a worker, the first row of its scope file that no commit of its branch
|
|
10
|
+
* closes yet, with the commit command that closes it: the subject from the row's name, the
|
|
11
|
+
* trailer `Slice: <id>` that `status --workers` reads. Undefined outside a worker; empty once
|
|
12
|
+
* every row is committed.
|
|
13
|
+
*/
|
|
14
|
+
export declare function workerSliceOf(root: string, context: string, since: string): WorkerSlice | undefined;
|
|
15
|
+
//# sourceMappingURL=worker-slice-of.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-slice-of.d.ts","sourceRoot":"","sources":["../../src/slice/worker-slice-of.ts"],"names":[],"mappings":"AAOA,8GAA8G;AAC9G,MAAM,WAAW,WAAW;IAC1B,qDAAqD;IACrD,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAKD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAqBnG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import { WORKER_SCOPE_FILE } from '../commit/worker-scope-file.js';
|
|
3
|
+
import { readSlices } from '../progress/read-slices.js';
|
|
4
|
+
import { readWorkerFile } from '../worker/read-worker-file.js';
|
|
5
|
+
import { rowCommits } from '../worker/row-commits.js';
|
|
6
|
+
import { Workspace } from '../workspace/index.js';
|
|
7
|
+
/** Characters a double-quoted shell word would read: kept out of the subject. */
|
|
8
|
+
const SHELL_SPECIAL = /["`$\\]/g;
|
|
9
|
+
/**
|
|
10
|
+
* In the worktree of a worker, the first row of its scope file that no commit of its branch
|
|
11
|
+
* closes yet, with the commit command that closes it: the subject from the row's name, the
|
|
12
|
+
* trailer `Slice: <id>` that `status --workers` reads. Undefined outside a worker; empty once
|
|
13
|
+
* every row is committed.
|
|
14
|
+
*/
|
|
15
|
+
export function workerSliceOf(root, context, since) {
|
|
16
|
+
const scope = readWorkerFile(path.join(root, WORKER_SCOPE_FILE));
|
|
17
|
+
if (scope?.rows === undefined || scope.context !== context) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
const committed = new Set(rowCommits(root, { base: scope.base ?? since, context, rows: scope.rows }).map((done) => done.row));
|
|
21
|
+
const row = scope.rows.find((id) => !committed.has(id));
|
|
22
|
+
if (row === undefined) {
|
|
23
|
+
return {};
|
|
24
|
+
}
|
|
25
|
+
const name = readSlices(new Workspace(root, false))?.find((slice) => slice.id === row)?.slice;
|
|
26
|
+
const subject = name === undefined ? '<the slice in business words>' : lowerFirst(name.replace(SHELL_SPECIAL, ''));
|
|
27
|
+
return { row, commit: `git commit -m "feat(${context}): ${subject}" -m "Slice: ${row}"` };
|
|
28
|
+
}
|
|
29
|
+
function lowerFirst(text) {
|
|
30
|
+
return text.charAt(0).toLowerCase() + text.slice(1);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=worker-slice-of.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-slice-of.js","sourceRoot":"","sources":["../../src/slice/worker-slice-of.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAUlD,iFAAiF;AACjF,MAAM,aAAa,GAAG,UAAU,CAAC;AAEjC;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,IAAY,EAAE,OAAe,EAAE,KAAa;IACxE,MAAM,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEjE,IAAI,KAAK,EAAE,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,OAAO,KAAK,OAAO,EAAE,CAAC;QAC3D,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,GAAG,CACvB,UAAU,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CACnG,CAAC;IAEF,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAExD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,CAAC;IAC9F,MAAM,OAAO,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,CAAC;IAEnH,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,uBAAuB,OAAO,MAAM,OAAO,gBAAgB,GAAG,GAAG,EAAE,CAAC;AAC5F,CAAC;AAED,SAAS,UAAU,CAAC,IAAY;IAC9B,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Remaining } from '../progress/remaining.js';
|
|
2
|
+
import type { AttributedMarker, GitRunner } from './attributed-marker.js';
|
|
3
|
+
/**
|
|
4
|
+
* The rows each marker belongs to: those its text names; else those the commit that wrote its
|
|
5
|
+
* line names (its `Slice:` trailer, else its message), read with one `git blame` per file and one
|
|
6
|
+
* git call for the commits; else, for a line not committed, the rows of the worker whose worktree
|
|
7
|
+
* holds the project (`.ddd-ts-kit/worker.json`). `ids` are the ids of every row of the slices file.
|
|
8
|
+
*/
|
|
9
|
+
export declare function attributeMarkers(root: string, markers: readonly Remaining[], around: {
|
|
10
|
+
readonly ids: readonly string[];
|
|
11
|
+
readonly git: GitRunner;
|
|
12
|
+
}): AttributedMarker[];
|
|
13
|
+
//# sourceMappingURL=attribute-markers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-markers.d.ts","sourceRoot":"","sources":["../../src/story/attribute-markers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAI1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAqB,MAAM,wBAAwB,CAAC;AAI7F;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,SAAS,SAAS,EAAE,EAC7B,MAAM,EAAE;IAAE,QAAQ,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAA;CAAE,GACnE,gBAAgB,EAAE,CAgBpB"}
|