@codefast/cli 0.3.13-canary.2 → 0.3.13-canary.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/commands/arrange.d.ts.map +1 -1
- package/dist/commands/arrange.js +42 -63
- package/dist/commands/mirror.d.ts +0 -1
- package/dist/commands/mirror.d.ts.map +1 -1
- package/dist/commands/mirror.js +13 -52
- package/dist/commands/tag.d.ts.map +1 -1
- package/dist/commands/tag.js +16 -13
- package/dist/lib/arrange/application/requests/suggest-groups.request.d.ts +8 -0
- package/dist/lib/arrange/application/requests/suggest-groups.request.d.ts.map +1 -0
- package/dist/lib/arrange/application/requests/suggest-groups.request.js +8 -0
- package/dist/lib/arrange/application/{analyze.d.ts → use-cases/analyze-directory.use-case.d.ts} +4 -4
- package/dist/lib/arrange/application/use-cases/analyze-directory.use-case.d.ts.map +1 -0
- package/dist/lib/arrange/application/{analyze.js → use-cases/analyze-directory.use-case.js} +3 -3
- package/dist/lib/arrange/application/{group-file-preview.d.ts → use-cases/group-file-preview.use-case.d.ts} +2 -2
- package/dist/lib/arrange/application/use-cases/group-file-preview.use-case.d.ts.map +1 -0
- package/dist/lib/arrange/application/{group-file-preview.js → use-cases/group-file-preview.use-case.js} +1 -1
- package/dist/lib/arrange/application/{group-file.d.ts → use-cases/group-file.use-case.d.ts} +2 -2
- package/dist/lib/arrange/application/use-cases/group-file.use-case.d.ts.map +1 -0
- package/dist/lib/arrange/application/{group-file.js → use-cases/group-file.use-case.js} +2 -2
- package/dist/lib/arrange/application/{run-target.d.ts → use-cases/run-arrange-sync.use-case.d.ts} +4 -4
- package/dist/lib/arrange/application/use-cases/run-arrange-sync.use-case.d.ts.map +1 -0
- package/dist/lib/arrange/application/{run-target.js → use-cases/run-arrange-sync.use-case.js} +4 -4
- package/dist/lib/arrange/application/use-cases/suggest-cn-groups.use-case.d.ts +7 -0
- package/dist/lib/arrange/application/use-cases/suggest-cn-groups.use-case.d.ts.map +1 -0
- package/dist/lib/arrange/application/use-cases/suggest-cn-groups.use-case.js +10 -0
- package/dist/lib/arrange/domain/arrange-analyze.service.d.ts +1 -1
- package/dist/lib/arrange/domain/arrange-analyze.service.d.ts.map +1 -1
- package/dist/lib/arrange/domain/arrange-analyze.service.js +6 -6
- package/dist/lib/arrange/domain/arrange-grouping.service.d.ts +1 -1
- package/dist/lib/arrange/domain/arrange-grouping.service.d.ts.map +1 -1
- package/dist/lib/arrange/domain/arrange-grouping.service.js +3 -3
- package/dist/lib/arrange/domain/ast/{ast-helpers.d.ts → ast-helpers.helper.d.ts} +2 -2
- package/dist/lib/arrange/domain/ast/ast-helpers.helper.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/{ast-helpers.js → ast-helpers.helper.js} +2 -2
- package/dist/lib/arrange/domain/ast/{collectors-cn.d.ts → collectors-cn.collector.d.ts} +2 -2
- package/dist/lib/arrange/domain/ast/collectors-cn.collector.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/{collectors-cn.js → collectors-cn.collector.js} +1 -1
- package/dist/lib/arrange/domain/ast/{collectors-jsx.d.ts → collectors-jsx.collector.d.ts} +2 -2
- package/dist/lib/arrange/domain/ast/collectors-jsx.collector.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/{collectors-tv.d.ts → collectors-tv.collector.d.ts} +2 -2
- package/dist/lib/arrange/domain/ast/collectors-tv.collector.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/{collectors-tv.js → collectors-tv.collector.js} +4 -4
- package/dist/lib/arrange/domain/ast/{targets.d.ts → targets.model.d.ts} +2 -2
- package/dist/lib/arrange/domain/ast/targets.model.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/{targets.js → targets.model.js} +8 -8
- package/dist/lib/arrange/domain/{constants.d.ts → constants.domain.d.ts} +7 -5
- package/dist/lib/arrange/domain/constants.domain.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{constants.js → constants.domain.js} +5 -3
- package/dist/lib/arrange/domain/{errors.d.ts → errors.domain.d.ts} +1 -1
- package/dist/lib/arrange/domain/errors.domain.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{grouping.d.ts → grouping.domain.d.ts} +1 -1
- package/dist/lib/arrange/domain/grouping.domain.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{grouping.js → grouping.domain.js} +83 -19
- package/dist/lib/arrange/domain/{imports.d.ts → imports.domain.d.ts} +1 -1
- package/dist/lib/arrange/domain/imports.domain.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{source-text-formatters.d.ts → source-text-formatters.formatter.d.ts} +1 -1
- package/dist/lib/arrange/domain/source-text-formatters.formatter.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{source-text-formatters.js → source-text-formatters.formatter.js} +1 -1
- package/dist/lib/arrange/domain/{tokenizer.d.ts → tokenizer.util.d.ts} +2 -2
- package/dist/lib/arrange/domain/tokenizer.util.d.ts.map +1 -0
- package/dist/lib/arrange/domain/{tokenizer.js → tokenizer.util.js} +4 -1
- package/dist/lib/arrange/domain/{types.d.ts → types.domain.d.ts} +8 -5
- package/dist/lib/arrange/domain/types.domain.d.ts.map +1 -0
- package/dist/lib/arrange/domain/types.domain.js +10 -0
- package/dist/lib/arrange/index.d.ts +18 -18
- package/dist/lib/arrange/index.d.ts.map +1 -1
- package/dist/lib/arrange/index.js +16 -16
- package/dist/lib/arrange/infra/{arrange-sync-cli-options.d.ts → arrange-sync-cli-options.adapter.d.ts} +3 -3
- package/dist/lib/arrange/infra/arrange-sync-cli-options.adapter.d.ts.map +1 -0
- package/dist/lib/arrange/infra/domain-source-parser.adapter.d.ts +1 -1
- package/dist/lib/arrange/infra/domain-source-parser.adapter.d.ts.map +1 -1
- package/dist/lib/arrange/infra/domain-source-parser.adapter.js +2 -2
- package/dist/lib/arrange/infra/{ensure-cn-import.d.ts → ensure-cn-import.adapter.d.ts} +1 -1
- package/dist/lib/arrange/infra/ensure-cn-import.adapter.d.ts.map +1 -0
- package/dist/lib/arrange/infra/{ensure-cn-import.js → ensure-cn-import.adapter.js} +2 -2
- package/dist/lib/arrange/infra/file-walker.adapter.d.ts +1 -1
- package/dist/lib/arrange/infra/file-walker.adapter.d.ts.map +1 -1
- package/dist/lib/arrange/infra/file-walker.adapter.js +2 -2
- package/dist/lib/arrange/infra/{merge-cn-literal-pool-for-test.d.ts → merge-cn-literal-pool-for-test.test-helper.d.ts} +1 -1
- package/dist/lib/arrange/infra/merge-cn-literal-pool-for-test.test-helper.d.ts.map +1 -0
- package/dist/lib/arrange/infra/{merge-cn-literal-pool-for-test.js → merge-cn-literal-pool-for-test.test-helper.js} +2 -2
- package/dist/lib/arrange/infra/{ts-ast-translator.d.ts → ts-ast-translator.adapter.d.ts} +1 -1
- package/dist/lib/arrange/infra/ts-ast-translator.adapter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/arrange-prelude.presenter.d.ts +14 -0
- package/dist/lib/arrange/presentation/arrange-prelude.presenter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/arrange-prelude.presenter.js +24 -0
- package/dist/lib/arrange/presentation/{formatters.d.ts → formatters.presenter.d.ts} +3 -3
- package/dist/lib/arrange/presentation/formatters.presenter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/{formatters.js → formatters.presenter.js} +2 -2
- package/dist/lib/arrange/presentation/present-analyze-cli.presenter.d.ts +4 -0
- package/dist/lib/arrange/presentation/present-analyze-cli.presenter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/present-analyze-cli.presenter.js +4 -0
- package/dist/lib/arrange/presentation/report.presenter.d.ts +4 -0
- package/dist/lib/arrange/presentation/report.presenter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/{report.js → report.presenter.js} +1 -1
- package/dist/lib/arrange/presentation/resolve-arrange-cli-target.presenter.d.ts +2 -0
- package/dist/lib/arrange/presentation/resolve-arrange-cli-target.presenter.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/resolve-arrange-cli-target.presenter.js +7 -0
- package/dist/lib/config/domain/{schema.d.ts → schema.domain.d.ts} +1 -1
- package/dist/lib/config/domain/schema.domain.d.ts.map +1 -0
- package/dist/lib/config/index.d.ts +3 -3
- package/dist/lib/config/index.d.ts.map +1 -1
- package/dist/lib/config/index.js +2 -2
- package/dist/lib/config/infra/{loader.d.ts → loader.adapter.d.ts} +3 -3
- package/dist/lib/config/infra/loader.adapter.d.ts.map +1 -0
- package/dist/lib/config/infra/{loader.js → loader.adapter.js} +1 -1
- package/dist/lib/core/application/{architecture-boundaries.d.ts → architecture-boundaries.policy.d.ts} +1 -1
- package/dist/lib/core/application/architecture-boundaries.policy.d.ts.map +1 -0
- package/dist/lib/core/application/{architecture-boundaries.js → architecture-boundaries.policy.js} +109 -2
- package/dist/lib/core/application/ports/cli-io.port.d.ts +4 -0
- package/dist/lib/core/application/ports/cli-io.port.d.ts.map +1 -1
- package/dist/lib/core/application/{schema-parse.d.ts → schema-parse.util.d.ts} +3 -3
- package/dist/lib/core/application/schema-parse.util.d.ts.map +1 -0
- package/dist/lib/core/application/{schema-parse.js → schema-parse.util.js} +2 -2
- package/dist/lib/core/application/utils/{caught-unknown-message.d.ts → caught-unknown-message.util.d.ts} +1 -1
- package/dist/lib/core/application/utils/caught-unknown-message.util.d.ts.map +1 -0
- package/dist/lib/core/application/utils/{verbose-diagnostics.d.ts → verbose-diagnostics.util.d.ts} +1 -1
- package/dist/lib/core/application/utils/verbose-diagnostics.util.d.ts.map +1 -0
- package/dist/lib/core/domain/{errors.d.ts → errors.domain.d.ts} +1 -1
- package/dist/lib/core/domain/errors.domain.d.ts.map +1 -0
- package/dist/lib/core/domain/{result.d.ts → result.model.d.ts} +3 -1
- package/dist/lib/core/domain/result.model.d.ts.map +1 -0
- package/dist/lib/core/domain/{result.js → result.model.js} +6 -0
- package/dist/lib/core/infra/container.adapter.d.ts +58 -0
- package/dist/lib/core/infra/container.adapter.d.ts.map +1 -0
- package/dist/lib/core/infra/{container.js → container.adapter.js} +22 -7
- package/dist/lib/core/infra/{logging-decorator.d.ts → logging-decorator.adapter.d.ts} +1 -1
- package/dist/lib/core/infra/logging-decorator.adapter.d.ts.map +1 -0
- package/dist/lib/core/presentation/{cli-executor.d.ts → cli-executor.presenter.d.ts} +3 -3
- package/dist/lib/core/presentation/cli-executor.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/{cli-executor.js → cli-executor.presenter.js} +2 -2
- package/dist/lib/core/presentation/{format-app-error.d.ts → format-app-error.presenter.d.ts} +2 -2
- package/dist/lib/core/presentation/format-app-error.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/global-cli-options.presenter.d.ts +9 -0
- package/dist/lib/core/presentation/global-cli-options.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/global-cli-options.presenter.js +8 -0
- package/dist/lib/core/presentation/load-codefast-config.presenter.d.ts +8 -0
- package/dist/lib/core/presentation/load-codefast-config.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/load-codefast-config.presenter.js +15 -0
- package/dist/lib/core/presentation/parse-cli-schema.presenter.d.ts +5 -0
- package/dist/lib/core/presentation/parse-cli-schema.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/parse-cli-schema.presenter.js +4 -0
- package/dist/lib/core/presentation/run-cli-use-case-after-parse.presenter.d.ts +6 -0
- package/dist/lib/core/presentation/run-cli-use-case-after-parse.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/run-cli-use-case-after-parse.presenter.js +17 -0
- package/dist/lib/core/presentation/workspace-root-strict.presenter.d.ts +5 -0
- package/dist/lib/core/presentation/workspace-root-strict.presenter.d.ts.map +1 -0
- package/dist/lib/core/presentation/workspace-root-strict.presenter.js +12 -0
- package/dist/lib/infra/{config-reporter.d.ts → config-reporter.adapter.d.ts} +2 -2
- package/dist/lib/infra/config-reporter.adapter.d.ts.map +1 -0
- package/dist/lib/infra/{fs-contract.d.ts → fs-contract.port.d.ts} +1 -1
- package/dist/lib/infra/fs-contract.port.d.ts.map +1 -0
- package/dist/lib/infra/{node-io.d.ts → node-io.adapter.d.ts} +1 -1
- package/dist/lib/infra/node-io.adapter.d.ts.map +1 -0
- package/dist/lib/infra/{node-io.js → node-io.adapter.js} +10 -0
- package/dist/lib/infra/workspace/{repo-root.d.ts → repo-root.adapter.d.ts} +2 -2
- package/dist/lib/infra/workspace/repo-root.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/application/ports/mirror-sync-reporter.port.d.ts +2 -2
- package/dist/lib/mirror/application/ports/mirror-sync-reporter.port.d.ts.map +1 -1
- package/dist/lib/mirror/application/ports/package-repository.port.d.ts +1 -1
- package/dist/lib/mirror/application/ports/package-repository.port.d.ts.map +1 -1
- package/dist/lib/mirror/application/ports/workspace-service.port.d.ts +1 -1
- package/dist/lib/mirror/application/ports/workspace-service.port.d.ts.map +1 -1
- package/dist/lib/mirror/application/{engine.d.ts → use-cases/generate-mirror-exports.use-case.d.ts} +3 -3
- package/dist/lib/mirror/application/use-cases/generate-mirror-exports.use-case.d.ts.map +1 -0
- package/dist/lib/mirror/application/{engine.js → use-cases/generate-mirror-exports.use-case.js} +1 -1
- package/dist/lib/mirror/application/{sync.d.ts → use-cases/run-mirror-sync.use-case.d.ts} +3 -3
- package/dist/lib/mirror/application/use-cases/run-mirror-sync.use-case.d.ts.map +1 -0
- package/dist/lib/mirror/application/{sync.js → use-cases/run-mirror-sync.use-case.js} +5 -5
- package/dist/lib/mirror/domain/{constants.d.ts → constants.domain.d.ts} +1 -1
- package/dist/lib/mirror/domain/constants.domain.d.ts.map +1 -0
- package/dist/lib/mirror/domain/{errors.d.ts → errors.domain.d.ts} +1 -1
- package/dist/lib/mirror/domain/errors.domain.d.ts.map +1 -0
- package/dist/lib/mirror/domain/{types.d.ts → types.domain.d.ts} +1 -1
- package/dist/lib/mirror/domain/types.domain.d.ts.map +1 -0
- package/dist/lib/mirror/index.d.ts +4 -4
- package/dist/lib/mirror/index.d.ts.map +1 -1
- package/dist/lib/mirror/index.js +1 -1
- package/dist/lib/mirror/infra/{dirent-list.d.ts → dirent-list.adapter.d.ts} +1 -1
- package/dist/lib/mirror/infra/dirent-list.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/file-system-service.adapter.d.ts +1 -1
- package/dist/lib/mirror/infra/file-system-service.adapter.d.ts.map +1 -1
- package/dist/lib/mirror/infra/file-system-service.adapter.js +2 -2
- package/dist/lib/mirror/infra/{mirror-sync-cli-options.d.ts → mirror-sync-cli-options.adapter.d.ts} +3 -3
- package/dist/lib/mirror/infra/mirror-sync-cli-options.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/mirror-sync-reporter.adapter.js +1 -1
- package/dist/lib/mirror/infra/{package-filter.d.ts → package-filter.adapter.d.ts} +1 -1
- package/dist/lib/mirror/infra/package-filter.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/{package-filter.js → package-filter.adapter.js} +1 -1
- package/dist/lib/mirror/infra/package-repository.adapter.d.ts +2 -2
- package/dist/lib/mirror/infra/package-repository.adapter.d.ts.map +1 -1
- package/dist/lib/mirror/infra/package-repository.adapter.js +1 -1
- package/dist/lib/mirror/infra/{path-normalizer.d.ts → path-normalizer.adapter.d.ts} +1 -1
- package/dist/lib/mirror/infra/path-normalizer.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/{update-pkg.d.ts → update-pkg.adapter.d.ts} +3 -3
- package/dist/lib/mirror/infra/update-pkg.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/{update-pkg.js → update-pkg.adapter.js} +3 -3
- package/dist/lib/mirror/infra/{workspace-packages.d.ts → workspace-packages.adapter.d.ts} +3 -3
- package/dist/lib/mirror/infra/workspace-packages.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/{workspace-packages.js → workspace-packages.adapter.js} +3 -3
- package/dist/lib/mirror/infra/workspace-service.adapter.d.ts +2 -2
- package/dist/lib/mirror/infra/workspace-service.adapter.d.ts.map +1 -1
- package/dist/lib/mirror/infra/workspace-service.adapter.js +2 -2
- package/dist/lib/mirror/presentation/mirror-prelude.presenter.d.ts +17 -0
- package/dist/lib/mirror/presentation/mirror-prelude.presenter.d.ts.map +1 -0
- package/dist/lib/mirror/presentation/mirror-prelude.presenter.js +35 -0
- package/dist/lib/mirror/presentation/{reporter.d.ts → reporter.presenter.d.ts} +2 -2
- package/dist/lib/mirror/presentation/reporter.presenter.d.ts.map +1 -0
- package/dist/lib/mirror/presentation/{reporter.js → reporter.presenter.js} +2 -2
- package/dist/lib/mirror/presentation/resolve-mirror-package-arg.presenter.d.ts +11 -0
- package/dist/lib/mirror/presentation/resolve-mirror-package-arg.presenter.d.ts.map +1 -0
- package/dist/lib/mirror/presentation/resolve-mirror-package-arg.presenter.js +27 -0
- package/dist/lib/shared/source-code/domain/{text-edit.d.ts → text-edit.model.d.ts} +1 -1
- package/dist/lib/shared/source-code/domain/text-edit.model.d.ts.map +1 -0
- package/dist/lib/shared/source-code/infra/{tsx-file-walk.d.ts → tsx-file-walk.adapter.d.ts} +1 -1
- package/dist/lib/shared/source-code/infra/tsx-file-walk.adapter.d.ts.map +1 -0
- package/dist/lib/tag/application/ports/target-resolver.port.d.ts +1 -1
- package/dist/lib/tag/application/ports/target-resolver.port.d.ts.map +1 -1
- package/dist/lib/tag/application/{engine.d.ts → use-cases/run-tag-sync.use-case.d.ts} +4 -4
- package/dist/lib/tag/application/use-cases/run-tag-sync.use-case.d.ts.map +1 -0
- package/dist/lib/tag/application/{engine.js → use-cases/run-tag-sync.use-case.js} +4 -4
- package/dist/lib/tag/domain/{types.d.ts → types.domain.d.ts} +1 -1
- package/dist/lib/tag/domain/types.domain.d.ts.map +1 -0
- package/dist/lib/tag/index.d.ts +8 -8
- package/dist/lib/tag/index.d.ts.map +1 -1
- package/dist/lib/tag/index.js +3 -3
- package/dist/lib/tag/infra/{tag-sync-cli-options.d.ts → tag-sync-cli-options.adapter.d.ts} +4 -4
- package/dist/lib/tag/infra/tag-sync-cli-options.adapter.d.ts.map +1 -0
- package/dist/lib/tag/infra/tag-target-candidates.adapter.d.ts +4 -0
- package/dist/lib/tag/infra/tag-target-candidates.adapter.d.ts.map +1 -0
- package/dist/lib/tag/infra/{target-resolver.js → tag-target-candidates.adapter.js} +1 -1
- package/dist/lib/tag/infra/tag-target-resolver.adapter.js +1 -1
- package/dist/lib/tag/infra/typescript-tree-walk.adapter.js +1 -1
- package/dist/lib/tag/presentation/{colors.d.ts → colors.presenter.d.ts} +1 -1
- package/dist/lib/tag/presentation/colors.presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/resolve-tag-cli-target.presenter.d.ts +8 -0
- package/dist/lib/tag/presentation/resolve-tag-cli-target.presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/resolve-tag-cli-target.presenter.js +10 -0
- package/dist/lib/tag/presentation/resolve-tag-workspace-root.presenter.d.ts +8 -0
- package/dist/lib/tag/presentation/resolve-tag-workspace-root.presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/resolve-tag-workspace-root.presenter.js +10 -0
- package/dist/lib/tag/presentation/tag-prelude.presenter.d.ts +15 -0
- package/dist/lib/tag/presentation/tag-prelude.presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/tag-prelude.presenter.js +31 -0
- package/dist/lib/tag/presentation/{tag-presenter.d.ts → tag-sync.presenter.d.ts} +2 -2
- package/dist/lib/tag/presentation/tag-sync.presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/{tag-presenter.js → tag-sync.presenter.js} +1 -1
- package/package.json +3 -3
- package/dist/lib/arrange/application/analyze.d.ts.map +0 -1
- package/dist/lib/arrange/application/group-file-preview.d.ts.map +0 -1
- package/dist/lib/arrange/application/group-file.d.ts.map +0 -1
- package/dist/lib/arrange/application/run-target.d.ts.map +0 -1
- package/dist/lib/arrange/domain/ast/ast-helpers.d.ts.map +0 -1
- package/dist/lib/arrange/domain/ast/collectors-cn.d.ts.map +0 -1
- package/dist/lib/arrange/domain/ast/collectors-jsx.d.ts.map +0 -1
- package/dist/lib/arrange/domain/ast/collectors-tv.d.ts.map +0 -1
- package/dist/lib/arrange/domain/ast/targets.d.ts.map +0 -1
- package/dist/lib/arrange/domain/constants.d.ts.map +0 -1
- package/dist/lib/arrange/domain/errors.d.ts.map +0 -1
- package/dist/lib/arrange/domain/grouping.d.ts.map +0 -1
- package/dist/lib/arrange/domain/imports.d.ts.map +0 -1
- package/dist/lib/arrange/domain/source-text-formatters.d.ts.map +0 -1
- package/dist/lib/arrange/domain/tokenizer.d.ts.map +0 -1
- package/dist/lib/arrange/domain/types.d.ts.map +0 -1
- package/dist/lib/arrange/domain/types.js +0 -7
- package/dist/lib/arrange/infra/arrange-sync-cli-options.d.ts.map +0 -1
- package/dist/lib/arrange/infra/ensure-cn-import.d.ts.map +0 -1
- package/dist/lib/arrange/infra/merge-cn-literal-pool-for-test.d.ts.map +0 -1
- package/dist/lib/arrange/infra/ts-ast-translator.d.ts.map +0 -1
- package/dist/lib/arrange/presentation/formatters.d.ts.map +0 -1
- package/dist/lib/arrange/presentation/report.d.ts +0 -4
- package/dist/lib/arrange/presentation/report.d.ts.map +0 -1
- package/dist/lib/config/domain/schema.d.ts.map +0 -1
- package/dist/lib/config/infra/loader.d.ts.map +0 -1
- package/dist/lib/core/application/architecture-boundaries.d.ts.map +0 -1
- package/dist/lib/core/application/schema-parse.d.ts.map +0 -1
- package/dist/lib/core/application/utils/caught-unknown-message.d.ts.map +0 -1
- package/dist/lib/core/application/utils/verbose-diagnostics.d.ts.map +0 -1
- package/dist/lib/core/domain/errors.d.ts.map +0 -1
- package/dist/lib/core/domain/result.d.ts.map +0 -1
- package/dist/lib/core/infra/container.d.ts +0 -34
- package/dist/lib/core/infra/container.d.ts.map +0 -1
- package/dist/lib/core/infra/logging-decorator.d.ts.map +0 -1
- package/dist/lib/core/presentation/cli-executor.d.ts.map +0 -1
- package/dist/lib/core/presentation/create-command-handler.d.ts +0 -20
- package/dist/lib/core/presentation/create-command-handler.d.ts.map +0 -1
- package/dist/lib/core/presentation/create-command-handler.js +0 -70
- package/dist/lib/core/presentation/format-app-error.d.ts.map +0 -1
- package/dist/lib/infra/caught-unknown-message.d.ts +0 -2
- package/dist/lib/infra/caught-unknown-message.d.ts.map +0 -1
- package/dist/lib/infra/caught-unknown-message.js +0 -1
- package/dist/lib/infra/config-reporter.d.ts.map +0 -1
- package/dist/lib/infra/fs-contract.d.ts.map +0 -1
- package/dist/lib/infra/node-io.d.ts.map +0 -1
- package/dist/lib/infra/workspace/repo-root.d.ts.map +0 -1
- package/dist/lib/mirror/application/engine.d.ts.map +0 -1
- package/dist/lib/mirror/application/sync.d.ts.map +0 -1
- package/dist/lib/mirror/domain/constants.d.ts.map +0 -1
- package/dist/lib/mirror/domain/errors.d.ts.map +0 -1
- package/dist/lib/mirror/domain/types.d.ts.map +0 -1
- package/dist/lib/mirror/infra/dirent-list.d.ts.map +0 -1
- package/dist/lib/mirror/infra/mirror-sync-cli-options.d.ts.map +0 -1
- package/dist/lib/mirror/infra/package-filter.d.ts.map +0 -1
- package/dist/lib/mirror/infra/path-normalizer.d.ts.map +0 -1
- package/dist/lib/mirror/infra/update-pkg.d.ts.map +0 -1
- package/dist/lib/mirror/infra/workspace-packages.d.ts.map +0 -1
- package/dist/lib/mirror/presentation/reporter.d.ts.map +0 -1
- package/dist/lib/shared/source-code/domain/text-edit.d.ts.map +0 -1
- package/dist/lib/shared/source-code/infra/tsx-file-walk.d.ts.map +0 -1
- package/dist/lib/tag/application/engine.d.ts.map +0 -1
- package/dist/lib/tag/domain/types.d.ts.map +0 -1
- package/dist/lib/tag/infra/tag-sync-cli-options.d.ts.map +0 -1
- package/dist/lib/tag/infra/target-resolver.d.ts +0 -4
- package/dist/lib/tag/infra/target-resolver.d.ts.map +0 -1
- package/dist/lib/tag/presentation/colors.d.ts.map +0 -1
- package/dist/lib/tag/presentation/tag-presenter.d.ts.map +0 -1
- /package/dist/lib/arrange/domain/ast/{collectors-jsx.js → collectors-jsx.collector.js} +0 -0
- /package/dist/lib/arrange/domain/{errors.js → errors.domain.js} +0 -0
- /package/dist/lib/arrange/domain/{imports.js → imports.domain.js} +0 -0
- /package/dist/lib/arrange/infra/{arrange-sync-cli-options.js → arrange-sync-cli-options.adapter.js} +0 -0
- /package/dist/lib/arrange/infra/{ts-ast-translator.js → ts-ast-translator.adapter.js} +0 -0
- /package/dist/lib/config/domain/{schema.js → schema.domain.js} +0 -0
- /package/dist/lib/core/application/utils/{caught-unknown-message.js → caught-unknown-message.util.js} +0 -0
- /package/dist/lib/core/application/utils/{verbose-diagnostics.js → verbose-diagnostics.util.js} +0 -0
- /package/dist/lib/core/domain/{errors.js → errors.domain.js} +0 -0
- /package/dist/lib/core/infra/{logging-decorator.js → logging-decorator.adapter.js} +0 -0
- /package/dist/lib/core/presentation/{format-app-error.js → format-app-error.presenter.js} +0 -0
- /package/dist/lib/infra/{config-reporter.js → config-reporter.adapter.js} +0 -0
- /package/dist/lib/infra/{fs-contract.js → fs-contract.port.js} +0 -0
- /package/dist/lib/infra/workspace/{repo-root.js → repo-root.adapter.js} +0 -0
- /package/dist/lib/mirror/domain/{constants.js → constants.domain.js} +0 -0
- /package/dist/lib/mirror/domain/{errors.js → errors.domain.js} +0 -0
- /package/dist/lib/mirror/domain/{types.js → types.domain.js} +0 -0
- /package/dist/lib/mirror/infra/{dirent-list.js → dirent-list.adapter.js} +0 -0
- /package/dist/lib/mirror/infra/{mirror-sync-cli-options.js → mirror-sync-cli-options.adapter.js} +0 -0
- /package/dist/lib/mirror/infra/{path-normalizer.js → path-normalizer.adapter.js} +0 -0
- /package/dist/lib/shared/source-code/domain/{text-edit.js → text-edit.model.js} +0 -0
- /package/dist/lib/shared/source-code/infra/{tsx-file-walk.js → tsx-file-walk.adapter.js} +0 -0
- /package/dist/lib/tag/domain/{types.js → types.domain.js} +0 -0
- /package/dist/lib/tag/infra/{tag-sync-cli-options.js → tag-sync-cli-options.adapter.js} +0 -0
- /package/dist/lib/tag/presentation/{colors.js → colors.presenter.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CliFs } from "#lib/infra/fs-contract";
|
|
1
|
+
import type { CliFs } from "#lib/infra/fs-contract.port";
|
|
2
2
|
import type { PackageRepositoryPort } from "#lib/mirror/application/ports/package-repository.port";
|
|
3
|
-
import type { ExportMapData, ExportOriginalPathBySpecifier, PackageJsonShape } from "#lib/mirror/domain/types";
|
|
3
|
+
import type { ExportMapData, ExportOriginalPathBySpecifier, PackageJsonShape } from "#lib/mirror/domain/types.domain";
|
|
4
4
|
export declare class PackageRepositoryAdapter implements PackageRepositoryPort {
|
|
5
5
|
resolvePackageDisplayName(packageJson: {
|
|
6
6
|
name?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-repository.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/package-repository.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"package-repository.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/package-repository.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,KAAK,EACV,aAAa,EACb,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AAMzC,qBAAa,wBAAyB,YAAW,qBAAqB;IACpE,yBAAyB,CAAC,WAAW,EAAE;QAAE,IAAI,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM,CAEzF;IAED,6BAA6B,CAC3B,EAAE,EAAE,KAAK,EACT,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE;QACV,gBAAgB,EAAE,aAAa,CAAC;QAChC,uBAAuB,EAAE,MAAM,EAAE,CAAC;QAClC,uBAAuB,EAAE,6BAA6B,CAAC;KACxD,GACA,OAAO,CAAC;QAAE,UAAU,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAEnC;IAED,qBAAqB,CAAC,cAAc,EAAE,OAAO,GAAG,gBAAgB,CAS/D;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolvePackageDisplayName, writePackageJsonExportsAtomic, } from "#lib/mirror/infra/update-pkg";
|
|
1
|
+
import { resolvePackageDisplayName, writePackageJsonExportsAtomic, } from "#lib/mirror/infra/update-pkg.adapter";
|
|
2
2
|
export class PackageRepositoryAdapter {
|
|
3
3
|
resolvePackageDisplayName(packageJson, folderBasename) {
|
|
4
4
|
return resolvePackageDisplayName(packageJson, folderBasename);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function normalizePath(pathString: string): string;
|
|
2
|
-
//# sourceMappingURL=path-normalizer.d.ts.map
|
|
2
|
+
//# sourceMappingURL=path-normalizer.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-normalizer.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/path-normalizer.adapter.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAExD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CliFs } from "#lib/infra/fs-contract";
|
|
2
|
-
import type { ExportMapData, ExportOriginalPathBySpecifier } from "#lib/mirror/domain/types";
|
|
1
|
+
import type { CliFs } from "#lib/infra/fs-contract.port";
|
|
2
|
+
import type { ExportMapData, ExportOriginalPathBySpecifier } from "#lib/mirror/domain/types.domain";
|
|
3
3
|
/** Shared rule: show `package.json#name` when it is a non-empty string; else folder basename. */
|
|
4
4
|
export declare function resolvePackageDisplayName(packageJson: {
|
|
5
5
|
name?: unknown;
|
|
@@ -16,4 +16,4 @@ export declare function writePackageJsonExportsAtomic(fs: CliFs, packageJsonPath
|
|
|
16
16
|
}): Promise<{
|
|
17
17
|
prunedKeys: string[];
|
|
18
18
|
}>;
|
|
19
|
-
//# sourceMappingURL=update-pkg.d.ts.map
|
|
19
|
+
//# sourceMappingURL=update-pkg.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-pkg.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/update-pkg.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAGzD,OAAO,KAAK,EACV,aAAa,EACb,6BAA6B,EAE9B,MAAM,iCAAiC,CAAC;AAqDzC,iGAAiG;AACjG,wBAAgB,yBAAyB,CACvC,WAAW,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,EAC/B,cAAc,EAAE,MAAM,GACrB,MAAM,CAKR;AAED,wBAAsB,0BAA0B,CAC9C,EAAE,EAAE,KAAK,EACT,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED;;;GAGG;AACH,wBAAsB,6BAA6B,CACjD,EAAE,EAAE,KAAK,EACT,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE;IACV,gBAAgB,EAAE,aAAa,CAAC;IAChC,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,uBAAuB,EAAE,6BAA6B,CAAC;CACxD,GACA,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CA8GnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { messageFromCaughtUnknown } from "#lib/
|
|
2
|
-
import { MirrorError, MirrorErrorCode } from "#lib/mirror/domain/errors";
|
|
3
|
-
import { PACKAGE_JSON_EXPORT } from "#lib/mirror/domain/constants";
|
|
1
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
2
|
+
import { MirrorError, MirrorErrorCode } from "#lib/mirror/domain/errors.domain";
|
|
3
|
+
import { PACKAGE_JSON_EXPORT } from "#lib/mirror/domain/constants.domain";
|
|
4
4
|
function containsDistTarget(value) {
|
|
5
5
|
if (typeof value === "string") {
|
|
6
6
|
return value.startsWith("./dist/");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CliFs, CliLogger } from "#lib/infra/fs-contract";
|
|
2
|
-
import type { FindWorkspacePackagesResult } from "#lib/mirror/domain/types";
|
|
1
|
+
import type { CliFs, CliLogger } from "#lib/infra/fs-contract.port";
|
|
2
|
+
import type { FindWorkspacePackagesResult } from "#lib/mirror/domain/types.domain";
|
|
3
3
|
/** Turn a pnpm `packages` glob into a `globSync` pattern that finds `package.json` files. */
|
|
4
4
|
export declare function workspacePatternToPackageJsonGlob(pattern: string): string;
|
|
5
5
|
export declare function splitWorkspacePackageEntries(raw: unknown): {
|
|
@@ -23,4 +23,4 @@ export declare function parsePnpmWorkspaceDocument(doc: unknown): {
|
|
|
23
23
|
* Only paths with a `package.json` are returned (same practical rule as pnpm).
|
|
24
24
|
*/
|
|
25
25
|
export declare function findWorkspacePackageRelPaths(rootDir: string, fs: CliFs, logger: CliLogger): Promise<FindWorkspacePackagesResult>;
|
|
26
|
-
//# sourceMappingURL=workspace-packages.d.ts.map
|
|
26
|
+
//# sourceMappingURL=workspace-packages.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-packages.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/workspace-packages.adapter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,iCAAiC,CAAC;AAmBzC,6FAA6F;AAC7F,wBAAgB,iCAAiC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMzE;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,OAAO,GAAG;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAqBA;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG;IACxD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,6EAA6E;IAC7E,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAuBA;AAiCD;;;;GAIG;AACH,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,KAAK,EACT,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,2BAA2B,CAAC,CAoEtC"}
|
|
@@ -2,9 +2,9 @@ import { globSync } from "node:fs";
|
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import picomatch from "picomatch";
|
|
4
4
|
import { parse as parseYaml } from "yaml";
|
|
5
|
-
import { messageFromCaughtUnknown } from "#lib/
|
|
6
|
-
import { normalizePath } from "#lib/mirror/infra/path-normalizer";
|
|
7
|
-
import { mirrorGlobWarning } from "#lib/mirror/presentation/reporter";
|
|
5
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
6
|
+
import { normalizePath } from "#lib/mirror/infra/path-normalizer.adapter";
|
|
7
|
+
import { mirrorGlobWarning } from "#lib/mirror/presentation/reporter.presenter";
|
|
8
8
|
const PNPM_WORKSPACE = "pnpm-workspace.yaml";
|
|
9
9
|
/** Default when the workspace file is missing or has no `packages` key. */
|
|
10
10
|
const DEFAULT_INCLUDE = ["packages/*"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CliFs, CliLogger } from "#lib/infra/fs-contract";
|
|
1
|
+
import type { CliFs, CliLogger } from "#lib/infra/fs-contract.port";
|
|
2
2
|
import type { WorkspaceServicePort } from "#lib/mirror/application/ports/workspace-service.port";
|
|
3
|
-
import type { FindWorkspacePackagesResult } from "#lib/mirror/domain/types";
|
|
3
|
+
import type { FindWorkspacePackagesResult } from "#lib/mirror/domain/types.domain";
|
|
4
4
|
export declare class WorkspaceServiceAdapter implements WorkspaceServicePort {
|
|
5
5
|
resolvePackageFilterUnderRoot(rootDir: string, packageFilter: string): string;
|
|
6
6
|
findWorkspacePackageRelPaths(rootDir: string, fs: CliFs, logger: CliLogger): Promise<FindWorkspacePackagesResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-service.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/workspace-service.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"workspace-service.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/infra/workspace-service.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAInF,qBAAa,uBAAwB,YAAW,oBAAoB;IAClE,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAE5E;IAED,4BAA4B,CAC1B,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,KAAK,EACT,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,2BAA2B,CAAC,CAEtC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolvePackageFilterUnderRoot } from "#lib/mirror/infra/package-filter";
|
|
2
|
-
import { findWorkspacePackageRelPaths } from "#lib/mirror/infra/workspace-packages";
|
|
1
|
+
import { resolvePackageFilterUnderRoot } from "#lib/mirror/infra/package-filter.adapter";
|
|
2
|
+
import { findWorkspacePackageRelPaths } from "#lib/mirror/infra/workspace-packages.adapter";
|
|
3
3
|
export class WorkspaceServiceAdapter {
|
|
4
4
|
resolvePackageFilterUnderRoot(rootDir, packageFilter) {
|
|
5
5
|
return resolvePackageFilterUnderRoot(rootDir, packageFilter);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CodefastConfig } from "#lib/config/domain/schema.domain";
|
|
2
|
+
import type { AppError } from "#lib/core/domain/errors.domain";
|
|
3
|
+
import { type Result } from "#lib/core/domain/result.model";
|
|
4
|
+
import type { CliContainer } from "#lib/core/infra/container.adapter";
|
|
5
|
+
import { type GlobalCliOptions } from "#lib/core/presentation/global-cli-options.presenter";
|
|
6
|
+
export type MirrorSyncCommandPrelude = {
|
|
7
|
+
readonly globals: GlobalCliOptions;
|
|
8
|
+
readonly rootDir: string;
|
|
9
|
+
readonly config: CodefastConfig;
|
|
10
|
+
readonly packageFilter: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare function prepareMirrorSync(cli: CliContainer, args: {
|
|
13
|
+
readonly currentWorkingDirectory: string;
|
|
14
|
+
readonly packageArg: string | undefined;
|
|
15
|
+
readonly globalCliRaw: unknown;
|
|
16
|
+
}): Promise<Result<MirrorSyncCommandPrelude, AppError>>;
|
|
17
|
+
//# sourceMappingURL=mirror-prelude.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mirror-prelude.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/presentation/mirror-prelude.presenter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAM,KAAK,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,qDAAqD,CAAC;AAI7D,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,YAAY,EACjB,IAAI,EAAE;IACJ,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC,GACA,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC,CA6BrD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ok } from "#lib/core/domain/result.model";
|
|
2
|
+
import { tryLoadCodefastConfig } from "#lib/core/presentation/load-codefast-config.presenter";
|
|
3
|
+
import { parseGlobalCliOptions, } from "#lib/core/presentation/global-cli-options.presenter";
|
|
4
|
+
import { resolveCliWorkspaceRootStrict } from "#lib/core/presentation/workspace-root-strict.presenter";
|
|
5
|
+
import { resolveMirrorPackageArgToRelative } from "#lib/mirror/presentation/resolve-mirror-package-arg.presenter";
|
|
6
|
+
export async function prepareMirrorSync(cli, args) {
|
|
7
|
+
const globalsOutcome = parseGlobalCliOptions(args.globalCliRaw);
|
|
8
|
+
if (!globalsOutcome.ok) {
|
|
9
|
+
return globalsOutcome;
|
|
10
|
+
}
|
|
11
|
+
const rootOutcome = resolveCliWorkspaceRootStrict(cli);
|
|
12
|
+
if (!rootOutcome.ok) {
|
|
13
|
+
return rootOutcome;
|
|
14
|
+
}
|
|
15
|
+
const rootDir = rootOutcome.value;
|
|
16
|
+
const filterOutcome = resolveMirrorPackageArgToRelative({
|
|
17
|
+
fs: cli.fs,
|
|
18
|
+
rootDir,
|
|
19
|
+
packageArg: args.packageArg,
|
|
20
|
+
currentWorkingDirectory: args.currentWorkingDirectory,
|
|
21
|
+
});
|
|
22
|
+
if (!filterOutcome.ok) {
|
|
23
|
+
return filterOutcome;
|
|
24
|
+
}
|
|
25
|
+
const loadedOutcome = await tryLoadCodefastConfig(cli, rootDir);
|
|
26
|
+
if (!loadedOutcome.ok) {
|
|
27
|
+
return loadedOutcome;
|
|
28
|
+
}
|
|
29
|
+
return ok({
|
|
30
|
+
globals: globalsOutcome.value,
|
|
31
|
+
rootDir,
|
|
32
|
+
config: loadedOutcome.value.config,
|
|
33
|
+
packageFilter: filterOutcome.value,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CliLogger } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
-
import type { GlobalStats, PackageStats, WorkspaceMultiDiscoverySource } from "#lib/mirror/domain/types";
|
|
2
|
+
import type { GlobalStats, PackageStats, WorkspaceMultiDiscoverySource } from "#lib/mirror/domain/types.domain";
|
|
3
3
|
export declare function configureMirrorColors(noColor: boolean): void;
|
|
4
4
|
export declare function printMirrorConfigWarnings(logger: CliLogger, warnings: string[]): void;
|
|
5
5
|
export declare function mirrorGlobWarning(logger: CliLogger, message: string): void;
|
|
@@ -22,4 +22,4 @@ export declare function logPackageError(logger: CliLogger, index: number, total:
|
|
|
22
22
|
export declare function mirrorSummarySeparator(logger: CliLogger): void;
|
|
23
23
|
export declare function mirrorSummary(logger: CliLogger, stats: GlobalStats, elapsedSeconds: number): void;
|
|
24
24
|
export declare function mirrorFatalError(logger: CliLogger, caughtError: unknown): void;
|
|
25
|
-
//# sourceMappingURL=reporter.d.ts.map
|
|
25
|
+
//# sourceMappingURL=reporter.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reporter.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/presentation/reporter.presenter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,6BAA6B,EAC9B,MAAM,iCAAiC,CAAC;AAuBzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAI5D;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAErF;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAG1E;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,GACb,IAAI,CAMN;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAIpD;AAED,MAAM,MAAM,oBAAoB,GAC5B;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,6BAA6B,CAAA;CAAE,CAAC;AAE7D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAqBxF;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAExD;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,YAAY,EACtB,wBAAwB,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,EAC/D,OAAO,EAAE,OAAO,GACf,IAAI,CA0CN;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI,CAIrF;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,OAAO,GACf,IAAI,CAeN;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAE9D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,CAkCjG;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,CAQ9E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
|
-
import { messageFromCaughtUnknown } from "#lib/
|
|
3
|
-
import { printConfigSchemaWarnings } from "#lib/infra/config-reporter";
|
|
2
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
3
|
+
import { printConfigSchemaWarnings } from "#lib/infra/config-reporter.adapter";
|
|
4
4
|
const Colors = {
|
|
5
5
|
RESET: "\x1b[0m",
|
|
6
6
|
BOLD: "\x1b[1m",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
+
import { type AppError } from "#lib/core/domain/errors.domain";
|
|
3
|
+
import { type Result } from "#lib/core/domain/result.model";
|
|
4
|
+
export type ResolveMirrorPackageArgInput = {
|
|
5
|
+
readonly fs: CliFs;
|
|
6
|
+
readonly rootDir: string;
|
|
7
|
+
readonly packageArg: string | undefined;
|
|
8
|
+
readonly currentWorkingDirectory: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function resolveMirrorPackageArgToRelative(input: ResolveMirrorPackageArgInput): Result<string | undefined, AppError>;
|
|
11
|
+
//# sourceMappingURL=resolve-mirror-package-arg.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-mirror-package-arg.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/mirror/presentation/resolve-mirror-package-arg.presenter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;CAC1C,CAAC;AAMF,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,4BAA4B,GAClC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,QAAQ,CAAC,CA2BtC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { appError } from "#lib/core/domain/errors.domain";
|
|
3
|
+
import { err, ok } from "#lib/core/domain/result.model";
|
|
4
|
+
function normalizePathSegments(relPath) {
|
|
5
|
+
return relPath.split(path.sep).join("/").replace(/\\/g, "/");
|
|
6
|
+
}
|
|
7
|
+
export function resolveMirrorPackageArgToRelative(input) {
|
|
8
|
+
const { fs, rootDir, packageArg, currentWorkingDirectory } = input;
|
|
9
|
+
if (!packageArg) {
|
|
10
|
+
return ok(undefined);
|
|
11
|
+
}
|
|
12
|
+
const rootReal = fs.canonicalPathSync(path.resolve(rootDir));
|
|
13
|
+
const cwdReal = fs.canonicalPathSync(currentWorkingDirectory);
|
|
14
|
+
const resolved = path.isAbsolute(packageArg)
|
|
15
|
+
? path.resolve(packageArg)
|
|
16
|
+
: path.resolve(cwdReal, packageArg);
|
|
17
|
+
const targetReal = fs.canonicalPathSync(resolved);
|
|
18
|
+
const rel = path.relative(rootReal, targetReal);
|
|
19
|
+
const normalized = normalizePathSegments(rel);
|
|
20
|
+
if (normalized.startsWith("..") ||
|
|
21
|
+
path.isAbsolute(normalized) ||
|
|
22
|
+
normalized === "" ||
|
|
23
|
+
normalized === ".") {
|
|
24
|
+
return err(appError("VALIDATION_ERROR", `Package path must be a subdirectory under monorepo root: ${rootDir}`));
|
|
25
|
+
}
|
|
26
|
+
return ok(normalized);
|
|
27
|
+
}
|
|
@@ -11,4 +11,4 @@ export type SourceTextEdit = Readonly<{
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function indentOfLineContaining(source: string, pos: number): string;
|
|
13
13
|
export declare function applyEditsDescending(sourceText: string, edits: ReadonlyArray<SourceTextEdit>): string;
|
|
14
|
-
//# sourceMappingURL=text-edit.d.ts.map
|
|
14
|
+
//# sourceMappingURL=text-edit.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-edit.model.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/source-code/domain/text-edit.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAEH;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAoB1E;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,GACnC,MAAM,CAOR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
2
2
|
export declare const DEFAULT_SKIP_DIRS: Set<string>;
|
|
3
3
|
export declare function walkTsxFiles(rootDirectoryPath: string, fs: CliFs): string[];
|
|
4
|
-
//# sourceMappingURL=tsx-file-walk.d.ts.map
|
|
4
|
+
//# sourceMappingURL=tsx-file-walk.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsx-file-walk.adapter.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/source-code/infra/tsx-file-walk.adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAErE,eAAO,MAAM,iBAAiB,aAY5B,CAAC;AAEH,wBAAgB,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,GAAG,MAAM,EAAE,CAsB3E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
-
import type { TagTargetCandidate } from "#lib/tag/domain/types";
|
|
2
|
+
import type { TagTargetCandidate } from "#lib/tag/domain/types.domain";
|
|
3
3
|
export interface TagTargetResolverPort {
|
|
4
4
|
resolveTagTargetCandidates(rootDir: string, explicitTarget: string | undefined, fileSystem: CliFs): Promise<TagTargetCandidate[]>;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"target-resolver.port.d.ts","sourceRoot":"","sources":["../../../../../src/lib/tag/application/ports/target-resolver.port.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"target-resolver.port.d.ts","sourceRoot":"","sources":["../../../../../src/lib/tag/application/ports/target-resolver.port.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACpC,0BAA0B,CACxB,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,UAAU,EAAE,KAAK,GAChB,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;CAClC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type AppError } from "#lib/core/domain/errors";
|
|
2
|
-
import { type Result } from "#lib/core/domain/result";
|
|
1
|
+
import { type AppError } from "#lib/core/domain/errors.domain";
|
|
2
|
+
import { type Result } from "#lib/core/domain/result.model";
|
|
3
3
|
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
4
4
|
import type { TagSyncRunRequest } from "#lib/tag/application/requests/tag-sync.request";
|
|
5
5
|
import type { TagTargetResolverPort } from "#lib/tag/application/ports/target-resolver.port";
|
|
6
6
|
import type { TypeScriptTreeWalkPort } from "#lib/tag/application/ports/typescript-tree-walk.port";
|
|
7
|
-
import type { TagProgressListener, TagRunOptions, TagRunResult, TagSyncResult } from "#lib/tag/domain/types";
|
|
7
|
+
import type { TagProgressListener, TagRunOptions, TagRunResult, TagSyncResult } from "#lib/tag/domain/types.domain";
|
|
8
8
|
export type TagSyncRunDeps = {
|
|
9
9
|
readonly fs: CliFs;
|
|
10
10
|
readonly targetResolver: TagTargetResolverPort;
|
|
@@ -20,4 +20,4 @@ export declare function runTagOnTarget(targetPath: string, opts: TagRunOptions,
|
|
|
20
20
|
* Returns structured execution data; presentation/logging belongs to command layer.
|
|
21
21
|
*/
|
|
22
22
|
export declare function runTagSync(input: TagSyncExecutionInput, deps: TagSyncRunDeps): Promise<Result<TagSyncResult, AppError>>;
|
|
23
|
-
//# sourceMappingURL=
|
|
23
|
+
//# sourceMappingURL=run-tag-sync.use-case.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-tag-sync.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/lib/tag/application/use-cases/run-tag-sync.use-case.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAMrE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAErE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AAC7F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,KAAK,EAEV,mBAAmB,EAInB,aAAa,EACb,YAAY,EACZ,aAAa,EAEd,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,cAAc,EAAE,qBAAqB,CAAC;IAC/C,QAAQ,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GAAG;IACtD,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC;AA2NF,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,GAAG,MAAM,CAwBlF;AAED,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,KAAK,EACT,kBAAkB,EAAE,sBAAsB,GACzC,YAAY,CAyBd;AAoJD;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,KAAK,EAAE,qBAAqB,EAC5B,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC,CAiE1C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import ts from "typescript";
|
|
3
|
-
import { appError } from "#lib/core/domain/errors";
|
|
4
|
-
import { err, ok } from "#lib/core/domain/result";
|
|
5
|
-
import { applyEditsDescending, indentOfLineContaining, } from "#lib/shared/source-code/domain/text-edit";
|
|
6
|
-
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message";
|
|
3
|
+
import { appError } from "#lib/core/domain/errors.domain";
|
|
4
|
+
import { err, ok } from "#lib/core/domain/result.model";
|
|
5
|
+
import { applyEditsDescending, indentOfLineContaining, } from "#lib/shared/source-code/domain/text-edit.model";
|
|
6
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
7
7
|
const PACKAGE_JSON = "package.json";
|
|
8
8
|
const VERSION_TAG = "@since";
|
|
9
9
|
function hasExportModifier(node) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.domain.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/domain/types.domain.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,aAAa,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAChC,iBAAiB,GACjB,mBAAmB,GACnB,mBAAmB,CAAC;AAExB,MAAM,MAAM,eAAe,GACvB,iBAAiB,GACjB,gCAAgC,GAChC,iCAAiC,GACjC,mBAAmB,CAAC;AAExB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,yBAAyB,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,wBAAwB,CAAC;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACrD,iBAAiB,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC1F;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,eAAe,EAAE,iBAAiB,EAAE,CAAC;IACrC,eAAe,EAAE,iBAAiB,EAAE,CAAC;IACrC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,EAAE,wBAAwB,EAAE,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC"}
|
package/dist/lib/tag/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
-
import { resolveNearestPackageVersion, runTagSync } from "#lib/tag/application/
|
|
3
|
-
import type { TagRunOptions, TagRunResult } from "#lib/tag/domain/types";
|
|
4
|
-
export { createNodeCliFs, createNodeCliLogger } from "#lib/infra/node-io";
|
|
2
|
+
import { resolveNearestPackageVersion, runTagSync } from "#lib/tag/application/use-cases/run-tag-sync.use-case";
|
|
3
|
+
import type { TagRunOptions, TagRunResult } from "#lib/tag/domain/types.domain";
|
|
4
|
+
export { createNodeCliFs, createNodeCliLogger } from "#lib/infra/node-io.adapter";
|
|
5
5
|
/** Default composition: uses the shared TS/TSX tree walk adapter. */
|
|
6
6
|
export declare function runTagOnTarget(targetPath: string, opts: TagRunOptions, fs: CliFs): TagRunResult;
|
|
7
7
|
export { runTagSync, resolveNearestPackageVersion };
|
|
8
|
-
export type { TagSyncExecutionInput, TagSyncRunDeps } from "#lib/tag/application/
|
|
8
|
+
export type { TagSyncExecutionInput, TagSyncRunDeps, } from "#lib/tag/application/use-cases/run-tag-sync.use-case";
|
|
9
9
|
export { tagTargetResolverAdapter } from "#lib/tag/infra/tag-target-resolver.adapter";
|
|
10
|
-
export type { TagFileResult, TagProgressListener, TagResolvedTarget, TagRunOptions, TagRunResult, TagSyncResult, TagTargetExecutionResult, } from "#lib/tag/domain/types";
|
|
11
|
-
export type { TagSyncOptions } from "#lib/tag/infra/tag-sync-cli-options";
|
|
12
|
-
export { createTagProgressListener, formatProgress, formatSummary, formatTargetTable, formatWarningsAndErrors, } from "#lib/tag/presentation/tag-presenter";
|
|
13
|
-
export type { TagProgressEvent } from "#lib/tag/presentation/tag-presenter";
|
|
10
|
+
export type { TagFileResult, TagProgressListener, TagResolvedTarget, TagRunOptions, TagRunResult, TagSyncResult, TagTargetExecutionResult, } from "#lib/tag/domain/types.domain";
|
|
11
|
+
export type { TagSyncOptions } from "#lib/tag/infra/tag-sync-cli-options.adapter";
|
|
12
|
+
export { createTagProgressListener, formatProgress, formatSummary, formatTargetTable, formatWarningsAndErrors, } from "#lib/tag/presentation/tag-sync.presenter";
|
|
13
|
+
export type { TagProgressEvent } from "#lib/tag/presentation/tag-sync.presenter";
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,UAAU,EACX,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,UAAU,EACX,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAGhF,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAElF,qEAAqE;AACrE,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,GAAG,YAAY,CAE/F;AAED,OAAO,EAAE,UAAU,EAAE,4BAA4B,EAAE,CAAC;AACpD,YAAY,EACV,qBAAqB,EACrB,cAAc,GACf,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,wBAAwB,GACzB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC"}
|
package/dist/lib/tag/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { resolveNearestPackageVersion, runTagOnTarget as runTagOnTargetWithTreeWalk, runTagSync, } from "#lib/tag/application/
|
|
1
|
+
import { resolveNearestPackageVersion, runTagOnTarget as runTagOnTargetWithTreeWalk, runTagSync, } from "#lib/tag/application/use-cases/run-tag-sync.use-case";
|
|
2
2
|
import { tagTypeScriptTreeWalkAdapter } from "#lib/tag/infra/typescript-tree-walk.adapter";
|
|
3
|
-
export { createNodeCliFs, createNodeCliLogger } from "#lib/infra/node-io";
|
|
3
|
+
export { createNodeCliFs, createNodeCliLogger } from "#lib/infra/node-io.adapter";
|
|
4
4
|
/** Default composition: uses the shared TS/TSX tree walk adapter. */
|
|
5
5
|
export function runTagOnTarget(targetPath, opts, fs) {
|
|
6
6
|
return runTagOnTargetWithTreeWalk(targetPath, opts, fs, tagTypeScriptTreeWalkAdapter);
|
|
7
7
|
}
|
|
8
8
|
export { runTagSync, resolveNearestPackageVersion };
|
|
9
9
|
export { tagTargetResolverAdapter } from "#lib/tag/infra/tag-target-resolver.adapter";
|
|
10
|
-
export { createTagProgressListener, formatProgress, formatSummary, formatTargetTable, formatWarningsAndErrors, } from "#lib/tag/presentation/tag-presenter";
|
|
10
|
+
export { createTagProgressListener, formatProgress, formatSummary, formatTargetTable, formatWarningsAndErrors, } from "#lib/tag/presentation/tag-sync.presenter";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CodefastTagConfig } from "#lib/config/domain/schema";
|
|
2
|
-
import type { CliFs } from "#lib/infra/fs-contract";
|
|
3
|
-
import type { TagProgressListener } from "#lib/tag/domain/types";
|
|
1
|
+
import type { CodefastTagConfig } from "#lib/config/domain/schema.domain";
|
|
2
|
+
import type { CliFs } from "#lib/infra/fs-contract.port";
|
|
3
|
+
import type { TagProgressListener } from "#lib/tag/domain/types.domain";
|
|
4
4
|
/** CLI / container wiring: filesystem injected at the boundary. */
|
|
5
5
|
export type TagSyncOptions = {
|
|
6
6
|
rootDir: string;
|
|
@@ -11,4 +11,4 @@ export type TagSyncOptions = {
|
|
|
11
11
|
fs: CliFs;
|
|
12
12
|
listener?: TagProgressListener;
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=tag-sync-cli-options.d.ts.map
|
|
14
|
+
//# sourceMappingURL=tag-sync-cli-options.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-sync-cli-options.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/infra/tag-sync-cli-options.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,mEAAmE;AACnE,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,EAAE,KAAK,CAAC;IACV,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CliFs } from "#lib/infra/fs-contract.port";
|
|
2
|
+
import type { TagTargetCandidate } from "#lib/tag/domain/types.domain";
|
|
3
|
+
export declare function resolveTagTargetCandidates(rootDir: string, explicitTarget: string | undefined, fs: CliFs): Promise<TagTargetCandidate[]>;
|
|
4
|
+
//# sourceMappingURL=tag-target-candidates.adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-target-candidates.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/infra/tag-target-candidates.adapter.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AA2MvE,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,EAAE,EAAE,KAAK,GACR,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAkC/B"}
|
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import picomatch from "picomatch";
|
|
4
4
|
import { parse as parseYaml } from "yaml";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
import { messageFromCaughtUnknown } from "#lib/
|
|
6
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
7
7
|
const PNPM_WORKSPACE_FILE = "pnpm-workspace.yaml";
|
|
8
8
|
const PACKAGE_JSON_FILE = "package.json";
|
|
9
9
|
const DEFAULT_WORKSPACE_PACKAGE_PATTERNS = ["packages/*"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/colors.presenter.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;aACrB,KAAK,EAAE,WAAS;aAChB,GAAG,EAAE,YAAU;aACf,KAAK,EAAE,YAAU;aACjB,MAAM,EAAE,YAAU;CACV,CAAC;AAEX,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEpE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CliFs } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
+
export type ResolveTagCliTargetPathInput = {
|
|
3
|
+
readonly fs: CliFs;
|
|
4
|
+
readonly currentWorkingDirectory: string;
|
|
5
|
+
readonly rawTarget: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare function resolveTagCliTargetPath(input: ResolveTagCliTargetPathInput): string | undefined;
|
|
8
|
+
//# sourceMappingURL=resolve-tag-cli-target.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-tag-cli-target.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/resolve-tag-cli-target.presenter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAErE,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,GAAG,SAAS,CAQ/F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
export function resolveTagCliTargetPath(input) {
|
|
3
|
+
if (input.rawTarget === undefined) {
|
|
4
|
+
return undefined;
|
|
5
|
+
}
|
|
6
|
+
const candidate = path.isAbsolute(input.rawTarget)
|
|
7
|
+
? path.resolve(input.rawTarget)
|
|
8
|
+
: path.resolve(input.currentWorkingDirectory, input.rawTarget);
|
|
9
|
+
return input.fs.canonicalPathSync(candidate);
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CliLogger } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
+
export type ResolveTagWorkspaceRootPathInput = {
|
|
3
|
+
readonly resolveStrictRepoRoot: () => string;
|
|
4
|
+
readonly logger: CliLogger;
|
|
5
|
+
readonly currentWorkingDirectory: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function resolveTagWorkspaceRootPath(input: ResolveTagWorkspaceRootPathInput): string;
|
|
8
|
+
//# sourceMappingURL=resolve-tag-workspace-root.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-tag-workspace-root.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/resolve-tag-workspace-root.presenter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,CAAC,qBAAqB,EAAE,MAAM,MAAM,CAAC;IAC7C,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,GAAG,MAAM,CAS3F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { messageFromCaughtUnknown } from "#lib/core/application/utils/caught-unknown-message.util";
|
|
2
|
+
export function resolveTagWorkspaceRootPath(input) {
|
|
3
|
+
try {
|
|
4
|
+
return input.resolveStrictRepoRoot();
|
|
5
|
+
}
|
|
6
|
+
catch (caughtRepoRootError) {
|
|
7
|
+
input.logger.out(`[tag] workspace root auto-detection failed (${messageFromCaughtUnknown(caughtRepoRootError)}), using cwd=${input.currentWorkingDirectory}`);
|
|
8
|
+
return input.currentWorkingDirectory;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CodefastConfig } from "#lib/config/domain/schema.domain";
|
|
2
|
+
import type { AppError } from "#lib/core/domain/errors.domain";
|
|
3
|
+
import { type Result } from "#lib/core/domain/result.model";
|
|
4
|
+
import type { CliContainer } from "#lib/core/infra/container.adapter";
|
|
5
|
+
export type TagCommandPrelude = {
|
|
6
|
+
readonly rootDir: string;
|
|
7
|
+
readonly config: CodefastConfig;
|
|
8
|
+
readonly resolvedTargetPath: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare function prepareTagSync(cli: CliContainer, args: {
|
|
11
|
+
readonly currentWorkingDirectory: string;
|
|
12
|
+
readonly rawTarget: string | undefined;
|
|
13
|
+
readonly globalCliRaw: unknown;
|
|
14
|
+
}): Promise<Result<TagCommandPrelude, AppError>>;
|
|
15
|
+
//# sourceMappingURL=tag-prelude.presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-prelude.presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/tag-prelude.presenter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAM,KAAK,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAOtE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,wBAAsB,cAAc,CAClC,GAAG,EAAE,YAAY,EACjB,IAAI,EAAE;IACJ,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC,GACA,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAwB9C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ok } from "#lib/core/domain/result.model";
|
|
2
|
+
import { tryLoadCodefastConfig } from "#lib/core/presentation/load-codefast-config.presenter";
|
|
3
|
+
import { parseGlobalCliOptions } from "#lib/core/presentation/global-cli-options.presenter";
|
|
4
|
+
import { findRepoRoot } from "#lib/infra/workspace/repo-root.adapter";
|
|
5
|
+
import { resolveTagCliTargetPath } from "#lib/tag/presentation/resolve-tag-cli-target.presenter";
|
|
6
|
+
import { resolveTagWorkspaceRootPath } from "#lib/tag/presentation/resolve-tag-workspace-root.presenter";
|
|
7
|
+
export async function prepareTagSync(cli, args) {
|
|
8
|
+
const globalsOutcome = parseGlobalCliOptions(args.globalCliRaw);
|
|
9
|
+
if (!globalsOutcome.ok) {
|
|
10
|
+
return globalsOutcome;
|
|
11
|
+
}
|
|
12
|
+
const rootDir = resolveTagWorkspaceRootPath({
|
|
13
|
+
resolveStrictRepoRoot: () => findRepoRoot(cli.fs),
|
|
14
|
+
logger: cli.logger,
|
|
15
|
+
currentWorkingDirectory: args.currentWorkingDirectory,
|
|
16
|
+
});
|
|
17
|
+
const loadedOutcome = await tryLoadCodefastConfig(cli, rootDir);
|
|
18
|
+
if (!loadedOutcome.ok) {
|
|
19
|
+
return loadedOutcome;
|
|
20
|
+
}
|
|
21
|
+
const resolvedTargetPath = resolveTagCliTargetPath({
|
|
22
|
+
fs: cli.fs,
|
|
23
|
+
currentWorkingDirectory: args.currentWorkingDirectory,
|
|
24
|
+
rawTarget: args.rawTarget,
|
|
25
|
+
});
|
|
26
|
+
return ok({
|
|
27
|
+
rootDir,
|
|
28
|
+
config: loadedOutcome.value.config,
|
|
29
|
+
resolvedTargetPath,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CliLogger } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
-
import type { TagProgressListener, TagResolvedTarget, TagSyncResult, TagTargetExecutionResult } from "#lib/tag/domain/types";
|
|
2
|
+
import type { TagProgressListener, TagResolvedTarget, TagSyncResult, TagTargetExecutionResult } from "#lib/tag/domain/types.domain";
|
|
3
3
|
export type TagProgressEvent = {
|
|
4
4
|
type: "target-started";
|
|
5
5
|
target: TagResolvedTarget;
|
|
@@ -17,4 +17,4 @@ export declare function formatSummary(result: TagSyncResult): string;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function presentTagSyncCliResult(logger: CliLogger, tagResult: TagSyncResult, rootDir: string): number;
|
|
19
19
|
export declare function createTagProgressListener(onProgressLine: (line: string) => void): TagProgressListener;
|
|
20
|
-
//# sourceMappingURL=tag-presenter.d.ts.map
|
|
20
|
+
//# sourceMappingURL=tag-sync.presenter.d.ts.map
|