@codefast/cli 0.3.13-canary.0 → 0.3.13-canary.2
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/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/{bin.mjs → bin.js} +1 -4
- package/dist/commands/arrange.d.ts +3 -0
- package/dist/commands/arrange.d.ts.map +1 -0
- package/dist/commands/arrange.js +129 -0
- package/dist/commands/mirror.d.ts +4 -0
- package/dist/commands/mirror.d.ts.map +1 -0
- package/dist/commands/mirror.js +75 -0
- package/dist/commands/tag.d.ts +3 -0
- package/dist/commands/tag.d.ts.map +1 -0
- package/dist/commands/tag.js +41 -0
- package/dist/lib/arrange/application/analyze.d.ts +17 -0
- package/dist/lib/arrange/application/analyze.d.ts.map +1 -0
- package/dist/lib/arrange/application/analyze.js +24 -0
- package/dist/lib/arrange/application/group-file-preview.d.ts +17 -0
- package/dist/lib/arrange/application/group-file-preview.d.ts.map +1 -0
- package/dist/lib/arrange/application/group-file-preview.js +46 -0
- package/dist/lib/arrange/application/group-file.d.ts +5 -0
- package/dist/lib/arrange/application/group-file.d.ts.map +1 -0
- package/dist/lib/arrange/application/group-file.js +40 -0
- package/dist/lib/arrange/application/ports/domain-source-parser.port.d.ts +5 -0
- package/dist/lib/arrange/application/ports/domain-source-parser.port.d.ts.map +1 -0
- package/dist/lib/arrange/application/ports/file-walker.port.d.ts +5 -0
- package/dist/lib/arrange/application/ports/file-walker.port.d.ts.map +1 -0
- package/dist/lib/arrange/application/requests/analyze-directory.request.d.ts +6 -0
- package/dist/lib/arrange/application/requests/analyze-directory.request.d.ts.map +1 -0
- package/dist/lib/arrange/application/requests/analyze-directory.request.js +4 -0
- package/dist/lib/arrange/application/requests/arrange-sync.request.d.ts +18 -0
- package/dist/lib/arrange/application/requests/arrange-sync.request.d.ts.map +1 -0
- package/dist/lib/arrange/application/requests/arrange-sync.request.js +15 -0
- package/dist/lib/arrange/application/run-target.d.ts +19 -0
- package/dist/lib/arrange/application/run-target.d.ts.map +1 -0
- package/dist/lib/arrange/application/run-target.js +85 -0
- package/dist/lib/arrange/domain/arrange-analyze.service.d.ts +12 -0
- package/dist/lib/arrange/domain/arrange-analyze.service.d.ts.map +1 -0
- package/dist/lib/arrange/domain/arrange-analyze.service.js +116 -0
- package/dist/lib/arrange/domain/arrange-grouping.service.d.ts +53 -0
- package/dist/lib/arrange/domain/arrange-grouping.service.d.ts.map +1 -0
- package/dist/lib/arrange/domain/arrange-grouping.service.js +106 -0
- package/dist/lib/arrange/domain/ast/ast-helpers.d.ts +28 -0
- package/dist/lib/arrange/domain/ast/ast-helpers.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/ast-helpers.js +130 -0
- package/dist/lib/arrange/domain/ast/ast-node.model.d.ts +179 -0
- package/dist/lib/arrange/domain/ast/ast-node.model.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/ast-node.model.js +210 -0
- package/dist/lib/arrange/domain/ast/collectors-cn.d.ts +7 -0
- package/dist/lib/arrange/domain/ast/collectors-cn.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/collectors-cn.js +70 -0
- package/dist/lib/arrange/domain/ast/collectors-jsx.d.ts +4 -0
- package/dist/lib/arrange/domain/ast/collectors-jsx.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/collectors-jsx.js +21 -0
- package/dist/lib/arrange/domain/ast/collectors-tv.d.ts +13 -0
- package/dist/lib/arrange/domain/ast/collectors-tv.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/collectors-tv.js +302 -0
- package/dist/lib/arrange/domain/ast/targets.d.ts +8 -0
- package/dist/lib/arrange/domain/ast/targets.d.ts.map +1 -0
- package/dist/lib/arrange/domain/ast/targets.js +147 -0
- package/dist/lib/arrange/domain/constants.d.ts +68 -0
- package/dist/lib/arrange/domain/constants.d.ts.map +1 -0
- package/dist/lib/arrange/domain/constants.js +180 -0
- package/dist/lib/arrange/domain/errors.d.ts +14 -0
- package/dist/lib/arrange/domain/errors.d.ts.map +1 -0
- package/dist/lib/arrange/domain/errors.js +16 -0
- package/dist/lib/arrange/domain/grouping.d.ts +41 -0
- package/dist/lib/arrange/domain/grouping.d.ts.map +1 -0
- package/dist/lib/arrange/domain/grouping.js +307 -0
- package/dist/lib/arrange/domain/imports.d.ts +7 -0
- package/dist/lib/arrange/domain/imports.d.ts.map +1 -0
- package/dist/lib/arrange/domain/imports.js +80 -0
- package/dist/lib/arrange/domain/source-text-formatters.d.ts +16 -0
- package/dist/lib/arrange/domain/source-text-formatters.d.ts.map +1 -0
- package/dist/lib/arrange/domain/source-text-formatters.js +55 -0
- package/dist/lib/arrange/domain/tokenizer.d.ts +45 -0
- package/dist/lib/arrange/domain/tokenizer.d.ts.map +1 -0
- package/dist/lib/arrange/domain/tokenizer.js +466 -0
- package/dist/lib/arrange/domain/types.d.ts +112 -0
- package/dist/lib/arrange/domain/types.d.ts.map +1 -0
- package/dist/lib/arrange/domain/types.js +7 -0
- package/dist/lib/arrange/index.d.ts +45 -0
- package/dist/lib/arrange/index.d.ts.map +1 -0
- package/dist/lib/arrange/index.js +41 -0
- package/dist/lib/arrange/infra/arrange-sync-cli-options.d.ts +14 -0
- package/dist/lib/arrange/infra/arrange-sync-cli-options.d.ts.map +1 -0
- package/dist/lib/arrange/infra/domain-source-parser.adapter.d.ts +11 -0
- package/dist/lib/arrange/infra/domain-source-parser.adapter.d.ts.map +1 -0
- package/dist/lib/arrange/infra/domain-source-parser.adapter.js +19 -0
- package/dist/lib/arrange/infra/ensure-cn-import.d.ts +3 -0
- package/dist/lib/arrange/infra/ensure-cn-import.d.ts.map +1 -0
- package/dist/lib/arrange/infra/ensure-cn-import.js +6 -0
- package/dist/lib/arrange/infra/file-walker.adapter.d.ts +8 -0
- package/dist/lib/arrange/infra/file-walker.adapter.d.ts.map +1 -0
- package/dist/lib/arrange/infra/file-walker.adapter.js +17 -0
- package/dist/lib/arrange/infra/merge-cn-literal-pool-for-test.d.ts +8 -0
- package/dist/lib/arrange/infra/merge-cn-literal-pool-for-test.d.ts.map +1 -0
- package/dist/lib/arrange/infra/merge-cn-literal-pool-for-test.js +25 -0
- package/dist/lib/arrange/infra/ts-ast-translator.d.ts +10 -0
- package/dist/lib/arrange/infra/ts-ast-translator.d.ts.map +1 -0
- package/dist/lib/arrange/infra/ts-ast-translator.js +363 -0
- package/dist/lib/arrange/presentation/formatters.d.ts +3 -0
- package/dist/lib/arrange/presentation/formatters.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/formatters.js +2 -0
- package/dist/lib/arrange/presentation/report.d.ts +4 -0
- package/dist/lib/arrange/presentation/report.d.ts.map +1 -0
- package/dist/lib/arrange/presentation/report.js +37 -0
- package/dist/lib/config/domain/schema.d.ts +50 -0
- package/dist/lib/config/domain/schema.d.ts.map +1 -0
- package/dist/lib/config/domain/schema.js +43 -0
- package/dist/lib/config/index.d.ts +4 -0
- package/dist/lib/config/index.d.ts.map +1 -0
- package/dist/lib/config/index.js +2 -0
- package/dist/lib/config/infra/loader.d.ts +11 -0
- package/dist/lib/config/infra/loader.d.ts.map +1 -0
- package/dist/lib/config/infra/loader.js +90 -0
- package/dist/lib/core/application/architecture-boundaries.d.ts +19 -0
- package/dist/lib/core/application/architecture-boundaries.d.ts.map +1 -0
- package/dist/lib/core/application/architecture-boundaries.js +263 -0
- package/dist/lib/core/application/ports/cli-io.port.d.ts +27 -0
- package/dist/lib/core/application/ports/cli-io.port.d.ts.map +1 -0
- package/dist/lib/core/application/schema-parse.d.ts +8 -0
- package/dist/lib/core/application/schema-parse.d.ts.map +1 -0
- package/dist/lib/core/application/schema-parse.js +20 -0
- package/dist/lib/core/application/utils/caught-unknown-message.d.ts +6 -0
- package/dist/lib/core/application/utils/caught-unknown-message.d.ts.map +1 -0
- package/dist/lib/core/application/utils/caught-unknown-message.js +34 -0
- package/dist/lib/core/application/utils/verbose-diagnostics.d.ts +5 -0
- package/dist/lib/core/application/utils/verbose-diagnostics.d.ts.map +1 -0
- package/dist/lib/core/application/utils/verbose-diagnostics.js +7 -0
- package/dist/lib/core/domain/errors.d.ts +11 -0
- package/dist/lib/core/domain/errors.d.ts.map +1 -0
- package/dist/lib/core/domain/errors.js +9 -0
- package/dist/lib/core/domain/result.d.ts +15 -0
- package/dist/lib/core/domain/result.d.ts.map +1 -0
- package/dist/lib/core/domain/result.js +9 -0
- package/dist/lib/core/infra/container.d.ts +34 -0
- package/dist/lib/core/infra/container.d.ts.map +1 -0
- package/dist/lib/core/infra/container.js +65 -0
- package/dist/lib/core/infra/logging-decorator.d.ts +12 -0
- package/dist/lib/core/infra/logging-decorator.d.ts.map +1 -0
- package/dist/lib/core/infra/logging-decorator.js +75 -0
- package/dist/lib/core/presentation/cli-executor.d.ts +33 -0
- package/dist/lib/core/presentation/cli-executor.d.ts.map +1 -0
- package/dist/lib/core/presentation/cli-executor.js +73 -0
- package/dist/lib/core/presentation/create-command-handler.d.ts +20 -0
- package/dist/lib/core/presentation/create-command-handler.d.ts.map +1 -0
- package/dist/lib/core/presentation/create-command-handler.js +70 -0
- package/dist/lib/core/presentation/format-app-error.d.ts +6 -0
- package/dist/lib/core/presentation/format-app-error.d.ts.map +1 -0
- package/dist/lib/core/presentation/format-app-error.js +19 -0
- package/dist/lib/infra/caught-unknown-message.d.ts +2 -0
- package/dist/lib/infra/caught-unknown-message.d.ts.map +1 -0
- package/dist/lib/infra/caught-unknown-message.js +1 -0
- package/dist/lib/infra/config-reporter.d.ts +4 -0
- package/dist/lib/infra/config-reporter.d.ts.map +1 -0
- package/dist/lib/infra/config-reporter.js +9 -0
- package/dist/lib/infra/fs-contract.d.ts +2 -0
- package/dist/lib/infra/fs-contract.d.ts.map +1 -0
- package/dist/lib/infra/fs-contract.js +1 -0
- package/dist/lib/infra/node-io.d.ts +4 -0
- package/dist/lib/infra/node-io.d.ts.map +1 -0
- package/dist/lib/infra/node-io.js +27 -0
- package/dist/lib/infra/workspace/repo-root.d.ts +7 -0
- package/dist/lib/infra/workspace/repo-root.d.ts.map +1 -0
- package/dist/lib/infra/workspace/repo-root.js +23 -0
- package/dist/lib/mirror/application/engine.d.ts +10 -0
- package/dist/lib/mirror/application/engine.d.ts.map +1 -0
- package/dist/lib/mirror/application/engine.js +271 -0
- package/dist/lib/mirror/application/ports/file-system-service.port.d.ts +6 -0
- package/dist/lib/mirror/application/ports/file-system-service.port.d.ts.map +1 -0
- package/dist/lib/mirror/application/ports/file-system-service.port.js +1 -0
- package/dist/lib/mirror/application/ports/mirror-sync-reporter.port.d.ts +27 -0
- package/dist/lib/mirror/application/ports/mirror-sync-reporter.port.d.ts.map +1 -0
- package/dist/lib/mirror/application/ports/mirror-sync-reporter.port.js +1 -0
- package/dist/lib/mirror/application/ports/package-repository.port.d.ts +16 -0
- package/dist/lib/mirror/application/ports/package-repository.port.d.ts.map +1 -0
- package/dist/lib/mirror/application/ports/package-repository.port.js +1 -0
- package/dist/lib/mirror/application/ports/workspace-service.port.d.ts +7 -0
- package/dist/lib/mirror/application/ports/workspace-service.port.d.ts.map +1 -0
- package/dist/lib/mirror/application/ports/workspace-service.port.js +1 -0
- package/dist/lib/mirror/application/requests/mirror-sync.request.d.ts +10 -0
- package/dist/lib/mirror/application/requests/mirror-sync.request.d.ts.map +1 -0
- package/dist/lib/mirror/application/requests/mirror-sync.request.js +8 -0
- package/dist/lib/mirror/application/sync.d.ts +19 -0
- package/dist/lib/mirror/application/sync.d.ts.map +1 -0
- package/dist/lib/mirror/application/sync.js +168 -0
- package/dist/lib/mirror/domain/constants.d.ts +6 -0
- package/dist/lib/mirror/domain/constants.d.ts.map +1 -0
- package/dist/lib/mirror/domain/constants.js +5 -0
- package/dist/lib/mirror/domain/errors.d.ts +10 -0
- package/dist/lib/mirror/domain/errors.d.ts.map +1 -0
- package/dist/lib/mirror/domain/errors.js +12 -0
- package/dist/lib/mirror/domain/types.d.ts +65 -0
- package/dist/lib/mirror/domain/types.d.ts.map +1 -0
- package/dist/lib/mirror/domain/types.js +1 -0
- package/dist/lib/mirror/index.d.ts +6 -0
- package/dist/lib/mirror/index.d.ts.map +1 -0
- package/dist/lib/mirror/index.js +1 -0
- package/dist/lib/mirror/infra/dirent-list.d.ts +9 -0
- package/dist/lib/mirror/infra/dirent-list.d.ts.map +1 -0
- package/dist/lib/mirror/infra/dirent-list.js +13 -0
- package/dist/lib/mirror/infra/file-system-service.adapter.d.ts +7 -0
- package/dist/lib/mirror/infra/file-system-service.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/file-system-service.adapter.js +47 -0
- package/dist/lib/mirror/infra/mirror-sync-cli-options.d.ts +14 -0
- package/dist/lib/mirror/infra/mirror-sync-cli-options.d.ts.map +1 -0
- package/dist/lib/mirror/infra/mirror-sync-cli-options.js +1 -0
- package/dist/lib/mirror/infra/mirror-sync-reporter.adapter.d.ts +3 -0
- package/dist/lib/mirror/infra/mirror-sync-reporter.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/mirror-sync-reporter.adapter.js +13 -0
- package/dist/lib/mirror/infra/package-filter.d.ts +8 -0
- package/dist/lib/mirror/infra/package-filter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/package-filter.js +33 -0
- package/dist/lib/mirror/infra/package-repository.adapter.d.ts +17 -0
- package/dist/lib/mirror/infra/package-repository.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/package-repository.adapter.js +17 -0
- package/dist/lib/mirror/infra/path-normalizer.d.ts +2 -0
- package/dist/lib/mirror/infra/path-normalizer.d.ts.map +1 -0
- package/dist/lib/mirror/infra/path-normalizer.js +4 -0
- package/dist/lib/mirror/infra/update-pkg.d.ts +19 -0
- package/dist/lib/mirror/infra/update-pkg.d.ts.map +1 -0
- package/dist/lib/mirror/infra/update-pkg.js +156 -0
- package/dist/lib/mirror/infra/workspace-packages.d.ts +26 -0
- package/dist/lib/mirror/infra/workspace-packages.d.ts.map +1 -0
- package/dist/lib/mirror/infra/workspace-packages.js +170 -0
- package/dist/lib/mirror/infra/workspace-service.adapter.d.ts +8 -0
- package/dist/lib/mirror/infra/workspace-service.adapter.d.ts.map +1 -0
- package/dist/lib/mirror/infra/workspace-service.adapter.js +10 -0
- package/dist/lib/mirror/presentation/reporter.d.ts +25 -0
- package/dist/lib/mirror/presentation/reporter.d.ts.map +1 -0
- package/dist/lib/mirror/presentation/reporter.js +140 -0
- package/dist/lib/shared/source-code/domain/text-edit.d.ts +14 -0
- package/dist/lib/shared/source-code/domain/text-edit.d.ts.map +1 -0
- package/dist/lib/shared/source-code/domain/text-edit.js +30 -0
- package/dist/lib/shared/source-code/infra/tsx-file-walk.d.ts +4 -0
- package/dist/lib/shared/source-code/infra/tsx-file-walk.d.ts.map +1 -0
- package/dist/lib/shared/source-code/infra/tsx-file-walk.js +37 -0
- package/dist/lib/tag/application/engine.d.ts +23 -0
- package/dist/lib/tag/application/engine.d.ts.map +1 -0
- package/dist/lib/tag/application/engine.js +357 -0
- package/dist/lib/tag/application/ports/target-resolver.port.d.ts +6 -0
- package/dist/lib/tag/application/ports/target-resolver.port.d.ts.map +1 -0
- package/dist/lib/tag/application/ports/target-resolver.port.js +1 -0
- package/dist/lib/tag/application/ports/typescript-tree-walk.port.d.ts +6 -0
- package/dist/lib/tag/application/ports/typescript-tree-walk.port.d.ts.map +1 -0
- package/dist/lib/tag/application/ports/typescript-tree-walk.port.js +1 -0
- package/dist/lib/tag/application/requests/tag-sync.request.d.ts +10 -0
- package/dist/lib/tag/application/requests/tag-sync.request.d.ts.map +1 -0
- package/dist/lib/tag/application/requests/tag-sync.request.js +8 -0
- package/dist/lib/tag/domain/types.d.ts +56 -0
- package/dist/lib/tag/domain/types.d.ts.map +1 -0
- package/dist/lib/tag/domain/types.js +1 -0
- package/dist/lib/tag/index.d.ts +14 -0
- package/dist/lib/tag/index.d.ts.map +1 -0
- package/dist/lib/tag/index.js +10 -0
- package/dist/lib/tag/infra/tag-sync-cli-options.d.ts +14 -0
- package/dist/lib/tag/infra/tag-sync-cli-options.d.ts.map +1 -0
- package/dist/lib/tag/infra/tag-sync-cli-options.js +1 -0
- package/dist/lib/tag/infra/tag-target-resolver.adapter.d.ts +3 -0
- package/dist/lib/tag/infra/tag-target-resolver.adapter.d.ts.map +1 -0
- package/dist/lib/tag/infra/tag-target-resolver.adapter.js +4 -0
- package/dist/lib/tag/infra/target-resolver.d.ts +4 -0
- package/dist/lib/tag/infra/target-resolver.d.ts.map +1 -0
- package/dist/lib/tag/infra/target-resolver.js +200 -0
- package/dist/lib/tag/infra/typescript-tree-walk.adapter.d.ts +3 -0
- package/dist/lib/tag/infra/typescript-tree-walk.adapter.d.ts.map +1 -0
- package/dist/lib/tag/infra/typescript-tree-walk.adapter.js +4 -0
- package/dist/lib/tag/presentation/colors.d.ts +8 -0
- package/dist/lib/tag/presentation/colors.d.ts.map +1 -0
- package/dist/lib/tag/presentation/colors.js +9 -0
- package/dist/lib/tag/presentation/tag-presenter.d.ts +20 -0
- package/dist/lib/tag/presentation/tag-presenter.d.ts.map +1 -0
- package/dist/lib/tag/presentation/tag-presenter.js +92 -0
- package/dist/program.d.ts +4 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +40 -0
- package/package.json +8 -5
- package/dist/analyze-DvtJ3j9m.mjs +0 -92
- package/dist/arrange-Bbh62DrU.mjs +0 -107
- package/dist/arrange-BqP2DI3w.mjs +0 -8
- package/dist/ast-helpers-MDRYuIAk.mjs +0 -115
- package/dist/caught-unknown-message-CRhkDWO7.mjs +0 -20
- package/dist/collectors-cn-BS8TTQ8O.mjs +0 -61
- package/dist/collectors-jsx-D9tL2ZPM.mjs +0 -20
- package/dist/collectors-tv-D2PXZaRt.mjs +0 -170
- package/dist/colors-BjdkCfGK.mjs +0 -12
- package/dist/commands/arrange.mjs +0 -2
- package/dist/commands/mirror.mjs +0 -2
- package/dist/commands/mirror.test.mjs +0 -48
- package/dist/commands/tag.mjs +0 -2
- package/dist/config-DVia_f9a.mjs +0 -3
- package/dist/config-reporter-SCcWDZc1.mjs +0 -10
- package/dist/constants-AtPhF-Ct.mjs +0 -169
- package/dist/constants-Bq5wdyLC.mjs +0 -8
- package/dist/dirent-list-BSDeRG5i.mjs +0 -14
- package/dist/engine-CcWEHSCq.mjs +0 -287
- package/dist/engine-DRTdkc5u.mjs +0 -236
- package/dist/errors-CFH4w6ic.mjs +0 -15
- package/dist/errors-CpU1ogfA.mjs +0 -19
- package/dist/formatters-DGE8jJ53.mjs +0 -52
- package/dist/group-file-ClW7XdD6.mjs +0 -113
- package/dist/grouping-c1grpCQT.mjs +0 -235
- package/dist/imports-DSVq1xhB.mjs +0 -54
- package/dist/lib/arrange/application/analyze.mjs +0 -2
- package/dist/lib/arrange/application/analyze.test.mjs +0 -171
- package/dist/lib/arrange/application/group-file.mjs +0 -2
- package/dist/lib/arrange/application/group-file.test.mjs +0 -273
- package/dist/lib/arrange/application/run-target.mjs +0 -2
- package/dist/lib/arrange/application/run-target.test.mjs +0 -97
- package/dist/lib/arrange/domain/ast/ast-helpers.mjs +0 -2
- package/dist/lib/arrange/domain/ast/ast-helpers.test.mjs +0 -148
- package/dist/lib/arrange/domain/ast/collectors-cn.mjs +0 -2
- package/dist/lib/arrange/domain/ast/collectors-cn.test.mjs +0 -58
- package/dist/lib/arrange/domain/ast/collectors-jsx.mjs +0 -2
- package/dist/lib/arrange/domain/ast/collectors-jsx.test.mjs +0 -20
- package/dist/lib/arrange/domain/ast/collectors-tv.mjs +0 -2
- package/dist/lib/arrange/domain/ast/collectors-tv.test.mjs +0 -145
- package/dist/lib/arrange/domain/ast/targets.mjs +0 -2
- package/dist/lib/arrange/domain/ast/targets.test.mjs +0 -50
- package/dist/lib/arrange/domain/constants.mjs +0 -2
- package/dist/lib/arrange/domain/errors.mjs +0 -2
- package/dist/lib/arrange/domain/grouping.mjs +0 -2
- package/dist/lib/arrange/domain/grouping.test.mjs +0 -186
- package/dist/lib/arrange/domain/imports.mjs +0 -2
- package/dist/lib/arrange/domain/imports.test.mjs +0 -48
- package/dist/lib/arrange/domain/tokenizer.mjs +0 -2
- package/dist/lib/arrange/domain/tokenizer.test.mjs +0 -165
- package/dist/lib/arrange/index.mjs +0 -16
- package/dist/lib/arrange/infra/walk.mjs +0 -2
- package/dist/lib/arrange/infra/walk.test.mjs +0 -50
- package/dist/lib/arrange/presentation/formatters.mjs +0 -2
- package/dist/lib/arrange/presentation/formatters.test.mjs +0 -73
- package/dist/lib/arrange/presentation/report.mjs +0 -2
- package/dist/lib/config/domain/schema.mjs +0 -2
- package/dist/lib/config/index.mjs +0 -4
- package/dist/lib/config/infra/loader.mjs +0 -2
- package/dist/lib/config/infra/loader.test.mjs +0 -116
- package/dist/lib/infra/caught-unknown-message.mjs +0 -2
- package/dist/lib/infra/config-reporter.mjs +0 -2
- package/dist/lib/infra/node-io.mjs +0 -2
- package/dist/lib/infra/workspace/repo-root.mjs +0 -2
- package/dist/lib/infra/workspace/repo-root.test.mjs +0 -45
- package/dist/lib/mirror/application/engine.mjs +0 -2
- package/dist/lib/mirror/application/sync.mjs +0 -2
- package/dist/lib/mirror/application/sync.test.mjs +0 -482
- package/dist/lib/mirror/domain/constants.mjs +0 -2
- package/dist/lib/mirror/domain/errors.mjs +0 -2
- package/dist/lib/mirror/index.mjs +0 -3
- package/dist/lib/mirror/infra/dirent-list.mjs +0 -2
- package/dist/lib/mirror/infra/dirent-list.test.mjs +0 -18
- package/dist/lib/mirror/infra/package-filter.mjs +0 -2
- package/dist/lib/mirror/infra/package-filter.test.mjs +0 -32
- package/dist/lib/mirror/infra/path-normalizer.mjs +0 -2
- package/dist/lib/mirror/infra/update-pkg.mjs +0 -2
- package/dist/lib/mirror/infra/workspace-packages.mjs +0 -2
- package/dist/lib/mirror/infra/workspace-packages.test.mjs +0 -167
- package/dist/lib/mirror/presentation/reporter.mjs +0 -2
- package/dist/lib/tag/application/engine.mjs +0 -2
- package/dist/lib/tag/application/engine.test.mjs +0 -159
- package/dist/lib/tag/index.mjs +0 -5
- package/dist/lib/tag/infra/target-resolver.mjs +0 -2
- package/dist/lib/tag/presentation/colors.mjs +0 -2
- package/dist/lib/tag/presentation/tag-presenter.mjs +0 -2
- package/dist/lib/tag/presentation/tag-presenter.test.mjs +0 -29
- package/dist/loader-DpN-zl5g.mjs +0 -78
- package/dist/mirror-CbGiLXKT.mjs +0 -2
- package/dist/mirror-DqJE3ejL.mjs +0 -66
- package/dist/node-io-DFRbHO6m.mjs +0 -30
- package/dist/package-filter-C_8ryqvz.mjs +0 -26
- package/dist/path-normalizer-D4ceBO3l.mjs +0 -7
- package/dist/program-DR-H4tH3.mjs +0 -34
- package/dist/program.mjs +0 -2
- package/dist/repo-root-HmtIEm6J.mjs +0 -22
- package/dist/report-DYxvw34T.mjs +0 -24
- package/dist/reporter-CwIe_tAM.mjs +0 -108
- package/dist/run-target-CJWrqNT4.mjs +0 -65
- package/dist/schema-Or8RAARd.mjs +0 -25
- package/dist/sync-e1Sp-shi.mjs +0 -157
- package/dist/tag-Cd9JujU5.mjs +0 -2
- package/dist/tag-hEKVZ_-7.mjs +0 -58
- package/dist/tag-presenter-Cs66UBsH.mjs +0 -63
- package/dist/target-resolver-CR3FXMTy.mjs +0 -170
- package/dist/targets-pCTslnFh.mjs +0 -106
- package/dist/tokenizer-CeZx73Zu.mjs +0 -216
- package/dist/update-pkg-CnGfjWBy.mjs +0 -37
- package/dist/walk-DjgQn66n.mjs +0 -33
- package/dist/workspace-packages-K2NYTHJq.mjs +0 -159
- /package/dist/lib/arrange/{domain/types.mjs → application/ports/domain-source-parser.port.js} +0 -0
- /package/dist/lib/{infra/fs-contract.mjs → arrange/application/ports/file-walker.port.js} +0 -0
- /package/dist/lib/{mirror/domain/types.mjs → arrange/infra/arrange-sync-cli-options.js} +0 -0
- /package/dist/lib/{tag/domain/types.mjs → core/application/ports/cli-io.port.js} +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { globSync } from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import picomatch from "picomatch";
|
|
4
|
+
import { parse as parseYaml } from "yaml";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
import { messageFromCaughtUnknown } from "#lib/infra/caught-unknown-message";
|
|
7
|
+
const PNPM_WORKSPACE_FILE = "pnpm-workspace.yaml";
|
|
8
|
+
const PACKAGE_JSON_FILE = "package.json";
|
|
9
|
+
const DEFAULT_WORKSPACE_PACKAGE_PATTERNS = ["packages/*"];
|
|
10
|
+
const PnpmWorkspaceSchema = z
|
|
11
|
+
.object({
|
|
12
|
+
packages: z.array(z.string()).optional(),
|
|
13
|
+
})
|
|
14
|
+
.passthrough();
|
|
15
|
+
const PackageNameSchema = z
|
|
16
|
+
.object({
|
|
17
|
+
name: z.string().min(1).optional(),
|
|
18
|
+
})
|
|
19
|
+
.passthrough();
|
|
20
|
+
function toPosix(filePath) {
|
|
21
|
+
return filePath.split(path.sep).join("/");
|
|
22
|
+
}
|
|
23
|
+
function workspacePatternToPackageJsonGlob(pattern) {
|
|
24
|
+
const normalizedPattern = toPosix(pattern.trim()).replace(/\/+$/, "");
|
|
25
|
+
if (!normalizedPattern) {
|
|
26
|
+
return `**/${PACKAGE_JSON_FILE}`;
|
|
27
|
+
}
|
|
28
|
+
return `${normalizedPattern}/${PACKAGE_JSON_FILE}`;
|
|
29
|
+
}
|
|
30
|
+
function splitWorkspacePackagePatterns(rawPatterns) {
|
|
31
|
+
const include = [];
|
|
32
|
+
const exclude = [];
|
|
33
|
+
for (const rawPattern of rawPatterns) {
|
|
34
|
+
const trimmedPattern = rawPattern.trim();
|
|
35
|
+
if (!trimmedPattern) {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (trimmedPattern.startsWith("!")) {
|
|
39
|
+
exclude.push(trimmedPattern.slice(1).trim());
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
include.push(trimmedPattern);
|
|
43
|
+
}
|
|
44
|
+
return { include, exclude };
|
|
45
|
+
}
|
|
46
|
+
async function readWorkspacePackagePatterns(rootDir, fs) {
|
|
47
|
+
const workspaceYamlPath = path.join(rootDir, PNPM_WORKSPACE_FILE);
|
|
48
|
+
if (!fs.existsSync(workspaceYamlPath)) {
|
|
49
|
+
return {
|
|
50
|
+
patterns: [...DEFAULT_WORKSPACE_PACKAGE_PATTERNS],
|
|
51
|
+
hasWorkspaceFile: false,
|
|
52
|
+
declaredEmptyPackages: false,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
let workspaceYamlRaw = "";
|
|
56
|
+
try {
|
|
57
|
+
workspaceYamlRaw = await fs.readFile(workspaceYamlPath, "utf8");
|
|
58
|
+
}
|
|
59
|
+
catch (caughtReadError) {
|
|
60
|
+
throw new Error(`Failed to read ${PNPM_WORKSPACE_FILE}: ${messageFromCaughtUnknown(caughtReadError)}`);
|
|
61
|
+
}
|
|
62
|
+
let parsedWorkspaceDoc;
|
|
63
|
+
try {
|
|
64
|
+
parsedWorkspaceDoc = parseYaml(workspaceYamlRaw);
|
|
65
|
+
}
|
|
66
|
+
catch (caughtParseError) {
|
|
67
|
+
throw new Error(`Failed to parse ${PNPM_WORKSPACE_FILE}: ${messageFromCaughtUnknown(caughtParseError)}`);
|
|
68
|
+
}
|
|
69
|
+
const parsedWorkspaceResult = PnpmWorkspaceSchema.safeParse(parsedWorkspaceDoc);
|
|
70
|
+
if (!parsedWorkspaceResult.success) {
|
|
71
|
+
const issuePath = parsedWorkspaceResult.error.issues[0]?.path.join(".") ?? "<root>";
|
|
72
|
+
const issueMessage = parsedWorkspaceResult.error.issues[0]?.message ?? "Invalid value";
|
|
73
|
+
throw new Error(`Invalid ${PNPM_WORKSPACE_FILE} schema at "${issuePath}": ${issueMessage}`);
|
|
74
|
+
}
|
|
75
|
+
const hasPackagesKey = typeof parsedWorkspaceDoc === "object" &&
|
|
76
|
+
parsedWorkspaceDoc !== null &&
|
|
77
|
+
Object.prototype.hasOwnProperty.call(parsedWorkspaceDoc, "packages");
|
|
78
|
+
const workspacePackages = parsedWorkspaceResult.data.packages;
|
|
79
|
+
if (!workspacePackages) {
|
|
80
|
+
return {
|
|
81
|
+
patterns: [...DEFAULT_WORKSPACE_PACKAGE_PATTERNS],
|
|
82
|
+
hasWorkspaceFile: true,
|
|
83
|
+
declaredEmptyPackages: false,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
if (workspacePackages.length === 0 && hasPackagesKey) {
|
|
87
|
+
return { patterns: [], hasWorkspaceFile: true, declaredEmptyPackages: true };
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
patterns: workspacePackages,
|
|
91
|
+
hasWorkspaceFile: true,
|
|
92
|
+
declaredEmptyPackages: false,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
async function discoverWorkspacePackageDirs(rootDir, fs) {
|
|
96
|
+
const workspacePackages = await readWorkspacePackagePatterns(rootDir, fs);
|
|
97
|
+
const { include, exclude } = splitWorkspacePackagePatterns(workspacePackages.patterns);
|
|
98
|
+
const includePatterns = include.length > 0 ? include : [...DEFAULT_WORKSPACE_PACKAGE_PATTERNS];
|
|
99
|
+
const foundPackageDirs = new Set();
|
|
100
|
+
const globOptions = {
|
|
101
|
+
cwd: rootDir,
|
|
102
|
+
posix: true,
|
|
103
|
+
...(path.sep === "\\" ? { windowsPathsNoEscape: true } : {}),
|
|
104
|
+
};
|
|
105
|
+
for (const pattern of includePatterns) {
|
|
106
|
+
const packageJsonGlob = workspacePatternToPackageJsonGlob(pattern);
|
|
107
|
+
const matches = globSync(packageJsonGlob, globOptions);
|
|
108
|
+
for (const matchedPath of matches) {
|
|
109
|
+
if (!matchedPath.endsWith(`/${PACKAGE_JSON_FILE}`)) {
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
const packageRelDir = matchedPath.slice(0, -`/${PACKAGE_JSON_FILE}`.length);
|
|
113
|
+
if (!packageRelDir) {
|
|
114
|
+
continue;
|
|
115
|
+
}
|
|
116
|
+
foundPackageDirs.add(path.resolve(rootDir, packageRelDir));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
if (exclude.length === 0) {
|
|
120
|
+
return {
|
|
121
|
+
packageDirs: [...foundPackageDirs].sort((leftDir, rightDir) => leftDir.localeCompare(rightDir)),
|
|
122
|
+
hasWorkspaceFile: workspacePackages.hasWorkspaceFile,
|
|
123
|
+
declaredEmptyPackages: workspacePackages.declaredEmptyPackages,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
const excludeMatchers = exclude.map((excludePattern) => picomatch(excludePattern, { dot: true }));
|
|
127
|
+
const discoveredDirs = [...foundPackageDirs].filter((packageDir) => {
|
|
128
|
+
const relativePackagePath = toPosix(path.relative(rootDir, packageDir));
|
|
129
|
+
return !excludeMatchers.some((excludeMatcher) => excludeMatcher(relativePackagePath));
|
|
130
|
+
});
|
|
131
|
+
discoveredDirs.sort((leftDir, rightDir) => leftDir.localeCompare(rightDir));
|
|
132
|
+
return {
|
|
133
|
+
packageDirs: discoveredDirs,
|
|
134
|
+
hasWorkspaceFile: workspacePackages.hasWorkspaceFile,
|
|
135
|
+
declaredEmptyPackages: workspacePackages.declaredEmptyPackages,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
function readPackageName(packageDir, fs) {
|
|
139
|
+
const packageJsonPath = path.join(packageDir, PACKAGE_JSON_FILE);
|
|
140
|
+
if (!fs.existsSync(packageJsonPath)) {
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
|
+
try {
|
|
144
|
+
const rawPackageJson = fs.readFileSync(packageJsonPath, "utf8");
|
|
145
|
+
const parsedPackageJson = JSON.parse(rawPackageJson);
|
|
146
|
+
const parsedPackageName = PackageNameSchema.safeParse(parsedPackageJson);
|
|
147
|
+
if (!parsedPackageName.success) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
return parsedPackageName.data.name ?? null;
|
|
151
|
+
}
|
|
152
|
+
catch {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function toRootRelativePath(rootDir, absolutePath) {
|
|
157
|
+
const relativePath = path.relative(rootDir, absolutePath);
|
|
158
|
+
return relativePath ? toPosix(relativePath) : ".";
|
|
159
|
+
}
|
|
160
|
+
function toPackageTargetCandidate(rootDir, packageDir, fs) {
|
|
161
|
+
const packageName = readPackageName(packageDir, fs);
|
|
162
|
+
return {
|
|
163
|
+
candidatePath: packageDir,
|
|
164
|
+
rootRelativeCandidatePath: toRootRelativePath(rootDir, packageDir),
|
|
165
|
+
source: "workspace-package",
|
|
166
|
+
packageDir,
|
|
167
|
+
packageName,
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export async function resolveTagTargetCandidates(rootDir, explicitTarget, fs) {
|
|
171
|
+
if (explicitTarget) {
|
|
172
|
+
const resolvedExplicitTarget = path.resolve(explicitTarget);
|
|
173
|
+
return [
|
|
174
|
+
{
|
|
175
|
+
candidatePath: resolvedExplicitTarget,
|
|
176
|
+
rootRelativeCandidatePath: toRootRelativePath(rootDir, resolvedExplicitTarget),
|
|
177
|
+
source: "explicit-target",
|
|
178
|
+
packageDir: null,
|
|
179
|
+
packageName: null,
|
|
180
|
+
},
|
|
181
|
+
];
|
|
182
|
+
}
|
|
183
|
+
const workspaceDiscovery = await discoverWorkspacePackageDirs(rootDir, fs);
|
|
184
|
+
if (workspaceDiscovery.packageDirs.length === 0) {
|
|
185
|
+
if (workspaceDiscovery.hasWorkspaceFile) {
|
|
186
|
+
return [];
|
|
187
|
+
}
|
|
188
|
+
const repoSourceDir = path.join(rootDir, "src");
|
|
189
|
+
return [
|
|
190
|
+
{
|
|
191
|
+
candidatePath: repoSourceDir,
|
|
192
|
+
rootRelativeCandidatePath: toRootRelativePath(rootDir, repoSourceDir),
|
|
193
|
+
source: "repo-src-fallback",
|
|
194
|
+
packageDir: null,
|
|
195
|
+
packageName: null,
|
|
196
|
+
},
|
|
197
|
+
];
|
|
198
|
+
}
|
|
199
|
+
return workspaceDiscovery.packageDirs.map((packageDir) => toPackageTargetCandidate(rootDir, packageDir, fs));
|
|
200
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript-tree-walk.adapter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/infra/typescript-tree-walk.adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAEnG,eAAO,MAAM,4BAA4B,EAAE,sBAE1C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const TAG_COLORS: {
|
|
2
|
+
readonly RESET: "\u001B[0m";
|
|
3
|
+
readonly RED: "\u001B[31m";
|
|
4
|
+
readonly GREEN: "\u001B[32m";
|
|
5
|
+
readonly YELLOW: "\u001B[33m";
|
|
6
|
+
};
|
|
7
|
+
export declare function withTagColor(line: string, colorCode: string): string;
|
|
8
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/colors.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,20 @@
|
|
|
1
|
+
import type { CliLogger } from "#lib/core/application/ports/cli-io.port";
|
|
2
|
+
import type { TagProgressListener, TagResolvedTarget, TagSyncResult, TagTargetExecutionResult } from "#lib/tag/domain/types";
|
|
3
|
+
export type TagProgressEvent = {
|
|
4
|
+
type: "target-started";
|
|
5
|
+
target: TagResolvedTarget;
|
|
6
|
+
} | {
|
|
7
|
+
type: "target-completed";
|
|
8
|
+
target: TagResolvedTarget;
|
|
9
|
+
result: TagTargetExecutionResult;
|
|
10
|
+
};
|
|
11
|
+
export declare function formatProgress(event: TagProgressEvent): string;
|
|
12
|
+
export declare function formatTargetTable(targets: TagResolvedTarget[], rootDir: string): string;
|
|
13
|
+
export declare function formatWarningsAndErrors(result: TagSyncResult): string | null;
|
|
14
|
+
export declare function formatSummary(result: TagSyncResult): string;
|
|
15
|
+
/**
|
|
16
|
+
* Prints tag sync output and returns a process exit code (0 success, 1 when empty targets or hook/run errors).
|
|
17
|
+
*/
|
|
18
|
+
export declare function presentTagSyncCliResult(logger: CliLogger, tagResult: TagSyncResult, rootDir: string): number;
|
|
19
|
+
export declare function createTagProgressListener(onProgressLine: (line: string) => void): TagProgressListener;
|
|
20
|
+
//# sourceMappingURL=tag-presenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-presenter.d.ts","sourceRoot":"","sources":["../../../../src/lib/tag/presentation/tag-presenter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAG/B,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GACrD;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAC;IAAC,MAAM,EAAE,wBAAwB,CAAA;CAAE,CAAC;AAmB9F,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAM9D;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAyBvF;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAU5E;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAqB3D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,EACjB,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,MAAM,GACd,MAAM,CAiBR;AAED,wBAAgB,yBAAyB,CACvC,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GACrC,mBAAmB,CASrB"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { TAG_COLORS, withTagColor } from "#lib/tag/presentation/colors";
|
|
2
|
+
function targetDisplayName(target) {
|
|
3
|
+
return target.packageName ?? target.rootRelativeTargetPath;
|
|
4
|
+
}
|
|
5
|
+
function warningsAndErrorsFromResult(result) {
|
|
6
|
+
const entries = [];
|
|
7
|
+
for (const targetResult of result.targetResults) {
|
|
8
|
+
if (targetResult.runError) {
|
|
9
|
+
entries.push(targetResult.runError);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
if (result.hookError) {
|
|
13
|
+
entries.push(result.hookError);
|
|
14
|
+
}
|
|
15
|
+
return entries;
|
|
16
|
+
}
|
|
17
|
+
export function formatProgress(event) {
|
|
18
|
+
if (event.type === "target-started") {
|
|
19
|
+
return `[tag] Processing ${targetDisplayName(event.target)}...`;
|
|
20
|
+
}
|
|
21
|
+
const changedFiles = event.result.result?.filesChanged ?? 0;
|
|
22
|
+
return `[tag] Done ${targetDisplayName(event.target)} (${changedFiles} changes)`;
|
|
23
|
+
}
|
|
24
|
+
export function formatTargetTable(targets, rootDir) {
|
|
25
|
+
const packageColumnWidth = Math.max("package".length, ...targets.map((target) => (target.packageName ?? "-").length));
|
|
26
|
+
const pathColumnWidth = Math.max("path".length, ...targets.map((target) => target.rootRelativeTargetPath.length));
|
|
27
|
+
const lines = [];
|
|
28
|
+
lines.push(`[tag] Root: ${rootDir}`);
|
|
29
|
+
lines.push(`[tag] Resolved targets: ${targets.length}`);
|
|
30
|
+
lines.push("[tag] Targets:");
|
|
31
|
+
lines.push(` ${"package".padEnd(packageColumnWidth)} ${"path".padEnd(pathColumnWidth)} source`);
|
|
32
|
+
lines.push(` ${"-".repeat(packageColumnWidth)} ${"-".repeat(pathColumnWidth)} ${"-".repeat("source".length)}`);
|
|
33
|
+
for (const target of targets) {
|
|
34
|
+
lines.push(` ${(target.packageName ?? "-").padEnd(packageColumnWidth)} ${target.rootRelativeTargetPath.padEnd(pathColumnWidth)} ${target.source}`);
|
|
35
|
+
}
|
|
36
|
+
return lines.join("\n");
|
|
37
|
+
}
|
|
38
|
+
export function formatWarningsAndErrors(result) {
|
|
39
|
+
const entries = warningsAndErrorsFromResult(result);
|
|
40
|
+
if (entries.length === 0) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
const lines = [withTagColor("⚠️ Warnings & Errors", TAG_COLORS.YELLOW)];
|
|
44
|
+
for (const entry of entries) {
|
|
45
|
+
lines.push(withTagColor(`- ${entry}`, TAG_COLORS.RED));
|
|
46
|
+
}
|
|
47
|
+
return lines.join("\n");
|
|
48
|
+
}
|
|
49
|
+
export function formatSummary(result) {
|
|
50
|
+
const isDryRun = result.mode === "dry-run";
|
|
51
|
+
const summaryPrefix = isDryRun ? "[tag:dry-run]" : "[tag]";
|
|
52
|
+
const versionSuffix = result.versionSummary === "mixed" && result.distinctVersions.length > 0
|
|
53
|
+
? ` [${result.distinctVersions.join(", ")}]`
|
|
54
|
+
: "";
|
|
55
|
+
const hasError = result.targetResults.some((targetResult) => targetResult.runError !== null) ||
|
|
56
|
+
result.hookError !== null;
|
|
57
|
+
const summaryColor = hasError ? TAG_COLORS.RED : isDryRun ? TAG_COLORS.YELLOW : TAG_COLORS.GREEN;
|
|
58
|
+
const lines = [
|
|
59
|
+
withTagColor(`${summaryPrefix} version=${result.versionSummary}${versionSuffix} files=${result.filesChanged}/${result.filesScanned} declarations=${result.taggedDeclarations}`, summaryColor),
|
|
60
|
+
];
|
|
61
|
+
if (result.skippedPackages.length > 0) {
|
|
62
|
+
lines.push(`[tag] Skipped: ${result.skippedPackages.length} package(s)`);
|
|
63
|
+
}
|
|
64
|
+
return lines.join("\n");
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Prints tag sync output and returns a process exit code (0 success, 1 when empty targets or hook/run errors).
|
|
68
|
+
*/
|
|
69
|
+
export function presentTagSyncCliResult(logger, tagResult, rootDir) {
|
|
70
|
+
logger.out(formatTargetTable(tagResult.selectedTargets, rootDir));
|
|
71
|
+
if (tagResult.selectedTargets.length === 0) {
|
|
72
|
+
logger.err("No packages found in workspace. Check your pnpm-workspace.yaml or provide an explicit target path.");
|
|
73
|
+
return 1;
|
|
74
|
+
}
|
|
75
|
+
const warningsAndErrorsSection = formatWarningsAndErrors(tagResult);
|
|
76
|
+
if (warningsAndErrorsSection) {
|
|
77
|
+
logger.err(warningsAndErrorsSection);
|
|
78
|
+
}
|
|
79
|
+
logger.out(formatSummary(tagResult));
|
|
80
|
+
const hasRunErrors = tagResult.targetResults.some((targetResult) => targetResult.runError !== null);
|
|
81
|
+
return hasRunErrors || tagResult.hookError ? 1 : 0;
|
|
82
|
+
}
|
|
83
|
+
export function createTagProgressListener(onProgressLine) {
|
|
84
|
+
return {
|
|
85
|
+
onTargetStarted: (target) => {
|
|
86
|
+
onProgressLine(formatProgress({ type: "target-started", target }));
|
|
87
|
+
},
|
|
88
|
+
onTargetCompleted: (target, result) => {
|
|
89
|
+
onProgressLine(formatProgress({ type: "target-completed", target, result }));
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,wBAAgB,aAAa,IAAI,OAAO,CAevC;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAK5D"}
|
package/dist/program.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { readFileSync } from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import process from "node:process";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { Command } from "commander";
|
|
6
|
+
import { registerArrangeCommand } from "#commands/arrange";
|
|
7
|
+
import { registerMirrorCommand } from "#commands/mirror";
|
|
8
|
+
import { registerTagCommand } from "#commands/tag";
|
|
9
|
+
function readVersion() {
|
|
10
|
+
try {
|
|
11
|
+
const dir = path.dirname(fileURLToPath(import.meta.url));
|
|
12
|
+
const pkgPath = path.join(dir, "..", "package.json");
|
|
13
|
+
const raw = readFileSync(pkgPath, "utf-8");
|
|
14
|
+
const pkgVersion = JSON.parse(raw).version;
|
|
15
|
+
return typeof pkgVersion === "string" && pkgVersion.length > 0 ? pkgVersion : "unknown";
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
return "unknown";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export function createProgram() {
|
|
22
|
+
const program = new Command();
|
|
23
|
+
program
|
|
24
|
+
.name("codefast")
|
|
25
|
+
.description("Codefast monorepo developer CLI")
|
|
26
|
+
.version(readVersion())
|
|
27
|
+
.option("--no-color", "Disable ANSI color output")
|
|
28
|
+
.configureHelp({ sortSubcommands: true })
|
|
29
|
+
.showHelpAfterError("(use --help for usage)");
|
|
30
|
+
registerMirrorCommand(program);
|
|
31
|
+
registerArrangeCommand(program);
|
|
32
|
+
registerTagCommand(program);
|
|
33
|
+
return program;
|
|
34
|
+
}
|
|
35
|
+
export async function runCli(argv) {
|
|
36
|
+
const program = createProgram();
|
|
37
|
+
await program.parseAsync(argv, { from: "node" });
|
|
38
|
+
const code = process.exitCode ?? 0;
|
|
39
|
+
return typeof code === "number" ? code : Number(code) || 0;
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/cli",
|
|
3
|
-
"version": "0.3.13-canary.
|
|
3
|
+
"version": "0.3.13-canary.2",
|
|
4
4
|
"description": "Developer CLI for the Codefast monorepo (mirror, arrange)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"directory": "packages/cli"
|
|
23
23
|
},
|
|
24
24
|
"bin": {
|
|
25
|
-
"codefast": "./dist/bin.
|
|
25
|
+
"codefast": "./dist/bin.js"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"type": "module",
|
|
34
34
|
"imports": {
|
|
35
35
|
"#*": [
|
|
36
|
+
"./dist/*.js",
|
|
37
|
+
"./dist/*/index.js",
|
|
38
|
+
"./dist/*",
|
|
36
39
|
"./src/*",
|
|
37
40
|
"./src/*.ts",
|
|
38
41
|
"./src/*.tsx",
|
|
@@ -59,17 +62,17 @@
|
|
|
59
62
|
"@types/picomatch": "^4.0.3",
|
|
60
63
|
"@typescript/native-preview": "7.0.0-dev.20260411.1",
|
|
61
64
|
"jest": "^30.3.0",
|
|
62
|
-
"
|
|
63
|
-
"@codefast/typescript-config": "0.3.13-canary.0"
|
|
65
|
+
"@codefast/typescript-config": "0.3.13-canary.2"
|
|
64
66
|
},
|
|
65
67
|
"engines": {
|
|
66
68
|
"node": ">=22.0.0"
|
|
67
69
|
},
|
|
68
70
|
"scripts": {
|
|
69
|
-
"build": "
|
|
71
|
+
"build": "rm -rf dist && tsgo -p tsconfig.build.json",
|
|
70
72
|
"check-types": "tsgo --noEmit",
|
|
71
73
|
"clean": "rm -rf dist",
|
|
72
74
|
"test": "jest",
|
|
75
|
+
"test:architecture": "jest src/__tests__/architecture.test.ts",
|
|
73
76
|
"test:coverage": "jest --coverage",
|
|
74
77
|
"test:coverage:ci": "jest --coverage --ci",
|
|
75
78
|
"test:watch": "jest --watch"
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import "./constants-AtPhF-Ct.mjs";
|
|
2
|
-
import { d as tokenizeClassString } from "./tokenizer-CeZx73Zu.mjs";
|
|
3
|
-
import { r as forEachStringLiteralInClassExpression } from "./collectors-cn-BS8TTQ8O.mjs";
|
|
4
|
-
import { t as jsxClassNameStaticLiteral } from "./collectors-jsx-D9tL2ZPM.mjs";
|
|
5
|
-
import { a as isCnOrTvIdentifier, o as lineOf, r as buildKnownCnTvBindings } from "./ast-helpers-MDRYuIAk.mjs";
|
|
6
|
-
import { c as traverseTvObject, t as collectCnCallsInsideTv } from "./collectors-tv-D2PXZaRt.mjs";
|
|
7
|
-
import { n as walkTsxFiles } from "./walk-DjgQn66n.mjs";
|
|
8
|
-
import ts from "typescript";
|
|
9
|
-
//#region src/lib/arrange/application/analyze.ts
|
|
10
|
-
function analyzeCnCall(sf, call, report) {
|
|
11
|
-
for (const arg of call.arguments) forEachStringLiteralInClassExpression(arg, (lit) => {
|
|
12
|
-
const text = lit.text;
|
|
13
|
-
const tokenCount = tokenizeClassString(text).length;
|
|
14
|
-
if (tokenCount >= 18) report.longCnStringLiterals.push({
|
|
15
|
-
file: sf.fileName,
|
|
16
|
-
line: lineOf(sf, lit),
|
|
17
|
-
tokenCount,
|
|
18
|
-
preview: text.length > 72 ? `${text.slice(0, 72)}…` : text
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
function visitCallExpressionForArrangeAnalyze(callExpression, sf, sourceText, knownBindings, report) {
|
|
23
|
-
if (isCnOrTvIdentifier(callExpression.expression, "cn", knownBindings)) {
|
|
24
|
-
report.cnCallExpressions++;
|
|
25
|
-
analyzeCnCall(sf, callExpression, report);
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
if (!isCnOrTvIdentifier(callExpression.expression, "tv", knownBindings)) return;
|
|
29
|
-
report.tvCallExpressions++;
|
|
30
|
-
const arg0 = callExpression.arguments[0];
|
|
31
|
-
if (!arg0 || !ts.isObjectLiteralExpression(arg0)) return;
|
|
32
|
-
for (const nestedCn of collectCnCallsInsideTv(sf, arg0, knownBindings, 0)) {
|
|
33
|
-
const src = sourceText.slice(nestedCn.getStart(sf), nestedCn.getEnd());
|
|
34
|
-
const preview = src.length > 72 ? `${src.slice(0, 72)}…` : src;
|
|
35
|
-
report.cnInsideTvCalls.push({
|
|
36
|
-
file: sf.fileName,
|
|
37
|
-
line: lineOf(sf, nestedCn),
|
|
38
|
-
argCount: nestedCn.arguments.length,
|
|
39
|
-
preview
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
traverseTvObject(sf, arg0, (classLiteral) => {
|
|
43
|
-
const text = classLiteral.text;
|
|
44
|
-
const tokenCount = tokenizeClassString(text).length;
|
|
45
|
-
if (tokenCount >= 18) report.longTvStringLiterals.push({
|
|
46
|
-
file: sf.fileName,
|
|
47
|
-
line: lineOf(sf, classLiteral),
|
|
48
|
-
tokenCount,
|
|
49
|
-
preview: text.length > 72 ? `${text.slice(0, 72)}…` : text
|
|
50
|
-
});
|
|
51
|
-
}, 0, knownBindings);
|
|
52
|
-
}
|
|
53
|
-
function visitJsxAttributeForArrangeAnalyze(jsxClassAttribute, sf, filePath, report) {
|
|
54
|
-
if (!filePath.endsWith(".tsx")) return;
|
|
55
|
-
const parsed = jsxClassNameStaticLiteral(jsxClassAttribute);
|
|
56
|
-
if (!parsed) return;
|
|
57
|
-
const text = parsed.lit.text;
|
|
58
|
-
const tokenCount = tokenizeClassString(text).length;
|
|
59
|
-
if (tokenCount >= 18) report.longJsxClassNameLiterals.push({
|
|
60
|
-
file: sf.fileName,
|
|
61
|
-
line: lineOf(sf, parsed.lit),
|
|
62
|
-
tokenCount,
|
|
63
|
-
preview: text.length > 72 ? `${text.slice(0, 72)}…` : text
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function analyzeDirectory(analyzeRootPath, fs) {
|
|
67
|
-
const report = {
|
|
68
|
-
files: 0,
|
|
69
|
-
cnCallExpressions: 0,
|
|
70
|
-
tvCallExpressions: 0,
|
|
71
|
-
cnInsideTvCalls: [],
|
|
72
|
-
longCnStringLiterals: [],
|
|
73
|
-
longTvStringLiterals: [],
|
|
74
|
-
longJsxClassNameLiterals: []
|
|
75
|
-
};
|
|
76
|
-
const files = fs.statSync(analyzeRootPath).isDirectory() ? walkTsxFiles(analyzeRootPath, fs) : [analyzeRootPath];
|
|
77
|
-
for (const filePath of files) {
|
|
78
|
-
const sourceText = fs.readFileSync(filePath, "utf8");
|
|
79
|
-
const sf = ts.createSourceFile(filePath, sourceText, ts.ScriptTarget.Latest, true, filePath.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS);
|
|
80
|
-
report.files++;
|
|
81
|
-
const knownBindings = buildKnownCnTvBindings(sf);
|
|
82
|
-
const visitTypeScriptSubtree = (tsNode) => {
|
|
83
|
-
if (ts.isCallExpression(tsNode)) visitCallExpressionForArrangeAnalyze(tsNode, sf, sourceText, knownBindings, report);
|
|
84
|
-
if (ts.isJsxAttribute(tsNode)) visitJsxAttributeForArrangeAnalyze(tsNode, sf, filePath, report);
|
|
85
|
-
ts.forEachChild(tsNode, visitTypeScriptSubtree);
|
|
86
|
-
};
|
|
87
|
-
visitTypeScriptSubtree(sf);
|
|
88
|
-
}
|
|
89
|
-
return report;
|
|
90
|
-
}
|
|
91
|
-
//#endregion
|
|
92
|
-
export { analyzeDirectory as t };
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { t as messageFromCaughtUnknown } from "./caught-unknown-message-CRhkDWO7.mjs";
|
|
2
|
-
import { t as loadConfig } from "./loader-DpN-zl5g.mjs";
|
|
3
|
-
import "./config-DVia_f9a.mjs";
|
|
4
|
-
import { t as printConfigSchemaWarnings } from "./config-reporter-SCcWDZc1.mjs";
|
|
5
|
-
import { i as DEFAULT_ARRANGE_TARGET } from "./constants-AtPhF-Ct.mjs";
|
|
6
|
-
import { t as analyzeDirectory } from "./analyze-DvtJ3j9m.mjs";
|
|
7
|
-
import { t as printAnalyzeReport } from "./report-DYxvw34T.mjs";
|
|
8
|
-
import { a as suggestCnGroups, o as summarizeGroupBucketLabels } from "./grouping-c1grpCQT.mjs";
|
|
9
|
-
import { i as formatCnCall, n as formatArray } from "./formatters-DGE8jJ53.mjs";
|
|
10
|
-
import { t as runArrangeSync } from "./run-target-CJWrqNT4.mjs";
|
|
11
|
-
import { n as createNodeCliLogger, t as createNodeCliFs } from "./node-io-DFRbHO6m.mjs";
|
|
12
|
-
import "./arrange-BqP2DI3w.mjs";
|
|
13
|
-
import { t as findRepoRoot } from "./repo-root-HmtIEm6J.mjs";
|
|
14
|
-
import process from "node:process";
|
|
15
|
-
import path from "node:path";
|
|
16
|
-
import { Option } from "commander";
|
|
17
|
-
//#region src/commands/arrange.ts
|
|
18
|
-
/** Commander attribute `withClassName` (second long flag `--with-class-name`). */
|
|
19
|
-
function createWithClassNameOption() {
|
|
20
|
-
return new Option("--with-classname, --with-class-name", "Append className as final cn() argument").default(false);
|
|
21
|
-
}
|
|
22
|
-
function defaultTargetPath() {
|
|
23
|
-
return path.resolve(process.cwd(), DEFAULT_ARRANGE_TARGET);
|
|
24
|
-
}
|
|
25
|
-
function checkTargetExists(resolved, fs, logger) {
|
|
26
|
-
if (!fs.existsSync(resolved)) {
|
|
27
|
-
logger.err(`Not found: ${resolved}`);
|
|
28
|
-
process.exitCode = 1;
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
async function loadArrangeCommandConfig(fs, logger, rootDir) {
|
|
34
|
-
try {
|
|
35
|
-
const { config, warnings } = await loadConfig(fs, rootDir);
|
|
36
|
-
printConfigSchemaWarnings(logger, warnings);
|
|
37
|
-
return { arrangeConfig: config.arrange ?? {} };
|
|
38
|
-
} catch (caughtConfigError) {
|
|
39
|
-
logger.err(messageFromCaughtUnknown(caughtConfigError));
|
|
40
|
-
process.exitCode = 1;
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function registerArrangeCommand(program) {
|
|
45
|
-
const arrange = program.command("arrange").description("Analyze and regroup Tailwind classes in cn() / tv() calls (Tailwind v4)");
|
|
46
|
-
arrange.command("analyze").description("Report long strings, nested cn in tv(), and related findings").argument("[target]", "Directory or file (default: packages/ui/src/components)").action(async (target) => {
|
|
47
|
-
const fs = createNodeCliFs();
|
|
48
|
-
const logger = createNodeCliLogger();
|
|
49
|
-
const resolved = target ? path.resolve(target) : defaultTargetPath();
|
|
50
|
-
if (!checkTargetExists(resolved, fs, logger)) return;
|
|
51
|
-
if (!await loadArrangeCommandConfig(fs, logger, findRepoRoot(fs))) return;
|
|
52
|
-
printAnalyzeReport(resolved, analyzeDirectory(resolved, fs), logger);
|
|
53
|
-
});
|
|
54
|
-
arrange.command("preview").description("Dry-run: print suggested replacements without writing files").argument("[target]", "Directory or file (default: packages/ui/src/components)").addOption(createWithClassNameOption()).option("--cn-import <spec>", "Override module specifier when adding cn import").action(async (target, opts) => {
|
|
55
|
-
const fs = createNodeCliFs();
|
|
56
|
-
const logger = createNodeCliLogger();
|
|
57
|
-
const resolved = target ? path.resolve(target) : defaultTargetPath();
|
|
58
|
-
if (!checkTargetExists(resolved, fs, logger)) return;
|
|
59
|
-
const rootDir = findRepoRoot(fs);
|
|
60
|
-
const loaded = await loadArrangeCommandConfig(fs, logger, rootDir);
|
|
61
|
-
if (!loaded) return;
|
|
62
|
-
process.exitCode = await runArrangeSync({
|
|
63
|
-
rootDir,
|
|
64
|
-
config: loaded.arrangeConfig,
|
|
65
|
-
targetPath: resolved,
|
|
66
|
-
write: false,
|
|
67
|
-
withClassName: opts.withClassName,
|
|
68
|
-
cnImport: opts.cnImport,
|
|
69
|
-
fs,
|
|
70
|
-
logger
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
arrange.command("apply").description("Apply grouping and cn-in-tv unwrap edits to files").argument("[target]", "Directory or file (default: packages/ui/src/components)").addOption(createWithClassNameOption()).option("--cn-import <spec>", "Override module specifier when adding cn import").action(async (target, opts) => {
|
|
74
|
-
const fs = createNodeCliFs();
|
|
75
|
-
const logger = createNodeCliLogger();
|
|
76
|
-
const resolved = target ? path.resolve(target) : defaultTargetPath();
|
|
77
|
-
if (!checkTargetExists(resolved, fs, logger)) return;
|
|
78
|
-
const rootDir = findRepoRoot(fs);
|
|
79
|
-
const loaded = await loadArrangeCommandConfig(fs, logger, rootDir);
|
|
80
|
-
if (!loaded) return;
|
|
81
|
-
process.exitCode = await runArrangeSync({
|
|
82
|
-
rootDir,
|
|
83
|
-
config: loaded.arrangeConfig,
|
|
84
|
-
targetPath: resolved,
|
|
85
|
-
write: true,
|
|
86
|
-
withClassName: opts.withClassName,
|
|
87
|
-
cnImport: opts.cnImport,
|
|
88
|
-
fs,
|
|
89
|
-
logger
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
arrange.command("group").description("Try grouping on a pasted class string (stdout: cn(...) or tv array with --tv)").argument("[tokens...]", "Class tokens (quote a single string if it contains spaces)").option("--tv", "Emit tv()-style array instead of cn() call", false).addOption(createWithClassNameOption()).action((tokens, opts) => {
|
|
93
|
-
const inlineClasses = tokens.join(" ").trim();
|
|
94
|
-
if (!inlineClasses) {
|
|
95
|
-
process.stderr.write("Pass a class string. Example: codefast arrange group \"flex gap-2 text-sm rounded-md\"\n");
|
|
96
|
-
process.exitCode = 1;
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const groups = suggestCnGroups(inlineClasses);
|
|
100
|
-
const result = opts.tv ? formatArray(groups) : formatCnCall(groups, { trailingClassName: !!opts.withClassName });
|
|
101
|
-
process.stdout.write(`${result}\n`);
|
|
102
|
-
const bucketSummary = summarizeGroupBucketLabels(groups);
|
|
103
|
-
process.stdout.write(`\n// Buckets: ${JSON.stringify(bucketSummary)}\n`);
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
//#endregion
|
|
107
|
-
export { registerArrangeCommand as t };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./collectors-cn-BS8TTQ8O.mjs";
|
|
2
|
-
import "./ast-helpers-MDRYuIAk.mjs";
|
|
3
|
-
import "./analyze-DvtJ3j9m.mjs";
|
|
4
|
-
import "./formatters-DGE8jJ53.mjs";
|
|
5
|
-
import "./imports-DSVq1xhB.mjs";
|
|
6
|
-
import "./group-file-ClW7XdD6.mjs";
|
|
7
|
-
import "./run-target-CJWrqNT4.mjs";
|
|
8
|
-
export {};
|