outfitter 0.2.7 → 0.3.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 +34 -7
- package/dist/actions/add.d.ts +18 -0
- package/dist/actions/add.js +14 -0
- package/dist/actions/check-automation.d.ts +20 -0
- package/dist/actions/check-automation.js +27 -0
- package/dist/actions/check.d.ts +34 -0
- package/dist/actions/check.js +19 -0
- package/dist/actions/demo.d.ts +12 -0
- package/dist/actions/demo.js +11 -0
- package/dist/actions/docs-output-mode.d.ts +4 -0
- package/dist/actions/docs-output-mode.js +8 -0
- package/dist/actions/docs.d.ts +25 -0
- package/dist/actions/docs.js +31 -0
- package/dist/actions/doctor.d.ts +10 -0
- package/dist/actions/doctor.js +15 -0
- package/dist/actions/init.d.ts +28 -0
- package/dist/actions/init.js +31 -0
- package/dist/actions/scaffold.d.ts +19 -0
- package/dist/actions/scaffold.js +21 -0
- package/dist/actions/shared.d.ts +61 -0
- package/dist/actions/shared.js +30 -0
- package/dist/actions/upgrade.d.ts +17 -0
- package/dist/actions/upgrade.js +21 -0
- package/dist/actions.d.ts +1 -1
- package/dist/actions.js +53 -22
- package/dist/cli.js +66 -4
- package/dist/commands/add.js +3 -3
- package/dist/commands/check-action-ceremony.d.ts +55 -0
- package/dist/commands/check-action-ceremony.js +15 -0
- package/dist/commands/check-docs-sentinel.d.ts +27 -0
- package/dist/commands/check-docs-sentinel.js +18 -0
- package/dist/commands/check-orchestrator.d.ts +2 -0
- package/dist/commands/check-orchestrator.js +17 -0
- package/dist/commands/check-preset-versions.d.ts +20 -0
- package/dist/commands/check-preset-versions.js +15 -0
- package/dist/commands/check-publish-guardrails.d.ts +38 -0
- package/dist/commands/check-publish-guardrails.js +19 -0
- package/dist/commands/check-surface-map-format.d.ts +29 -0
- package/dist/commands/check-surface-map-format.js +19 -0
- package/dist/commands/check-surface-map.d.ts +20 -0
- package/dist/commands/check-surface-map.js +15 -0
- package/dist/commands/check-tsdoc.d.ts +2 -21
- package/dist/commands/check-tsdoc.js +3 -2
- package/dist/commands/check.d.ts +2 -0
- package/dist/commands/check.js +3 -3
- package/dist/commands/demo.js +1 -1
- package/dist/commands/docs-api.d.ts +4 -0
- package/dist/commands/docs-api.js +13 -0
- package/dist/commands/docs-export.d.ts +4 -0
- package/dist/commands/docs-export.js +12 -0
- package/dist/commands/docs-list.d.ts +3 -0
- package/dist/commands/docs-list.js +13 -0
- package/dist/commands/docs-module-loader.d.ts +2 -2
- package/dist/commands/docs-module-loader.js +2 -2
- package/dist/commands/docs-search.d.ts +3 -0
- package/dist/commands/docs-search.js +13 -0
- package/dist/commands/docs-show.d.ts +3 -0
- package/dist/commands/docs-show.js +13 -0
- package/dist/commands/docs-types.d.ts +21 -0
- package/dist/commands/doctor.js +4 -12
- package/dist/commands/init-execution.d.ts +8 -0
- package/dist/commands/init-execution.js +11 -0
- package/dist/commands/init-option-resolution.d.ts +5 -0
- package/dist/commands/init-option-resolution.js +14 -0
- package/dist/commands/init-output.d.ts +9 -0
- package/dist/commands/init-output.js +11 -0
- package/dist/commands/init.d.ts +7 -5
- package/dist/commands/init.js +10 -18
- package/dist/commands/jq-utils.d.ts +17 -0
- package/dist/commands/jq-utils.js +8 -0
- package/dist/commands/repo.d.ts +3 -3
- package/dist/commands/repo.js +8 -4
- package/dist/commands/scaffold-output.d.ts +4 -0
- package/dist/commands/scaffold-output.js +11 -0
- package/dist/commands/scaffold-planning.d.ts +65 -0
- package/dist/commands/scaffold-planning.js +20 -0
- package/dist/commands/scaffold.d.ts +3 -3
- package/dist/commands/scaffold.js +10 -16
- package/dist/commands/shared-deps.d.ts +5 -4
- package/dist/commands/shared-deps.js +3 -3
- package/dist/commands/upgrade-apply.d.ts +14 -0
- package/dist/commands/upgrade-apply.js +8 -0
- package/dist/commands/upgrade-codemods.d.ts +5 -0
- package/dist/commands/upgrade-codemods.js +4 -5
- package/dist/commands/upgrade-latest-version.d.ts +8 -0
- package/dist/commands/upgrade-latest-version.js +8 -0
- package/dist/commands/upgrade-migration-docs.d.ts +3 -0
- package/dist/commands/upgrade-migration-docs.js +15 -0
- package/dist/commands/upgrade-migration-frontmatter.d.ts +2 -0
- package/dist/commands/upgrade-migration-frontmatter.js +10 -0
- package/dist/commands/upgrade-migration-guides.d.ts +5 -0
- package/dist/commands/upgrade-migration-guides.js +10 -0
- package/dist/commands/upgrade-output.d.ts +5 -0
- package/dist/commands/upgrade-output.js +11 -0
- package/dist/commands/upgrade-planner.js +1 -1
- package/dist/commands/upgrade-report.d.ts +5 -0
- package/dist/commands/upgrade-report.js +8 -0
- package/dist/commands/upgrade-workspace.js +2 -2
- package/dist/commands/upgrade.d.ts +4 -220
- package/dist/commands/upgrade.js +21 -9
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +2 -30
- package/dist/create/planner.d.ts +2 -2
- package/dist/create/planner.js +80 -17
- package/dist/create/presets.d.ts +2 -2
- package/dist/create/presets.js +2 -2
- package/dist/create/types.d.ts +1 -1
- package/dist/engine/blocks.d.ts +2 -2
- package/dist/engine/blocks.js +5 -5
- package/dist/engine/collector.d.ts +1 -1
- package/dist/engine/collector.js +1 -1
- package/dist/engine/config.d.ts +2 -2
- package/dist/engine/config.js +4 -4
- package/dist/engine/dependency-versions.d.ts +13 -8
- package/dist/engine/dependency-versions.js +4 -4
- package/dist/engine/executor.d.ts +2 -2
- package/dist/engine/executor.js +149 -12
- package/dist/engine/index.d.ts +9 -7
- package/dist/engine/index.js +17 -31
- package/dist/engine/names.js +1 -1
- package/dist/engine/post-scaffold.d.ts +2 -2
- package/dist/engine/post-scaffold.js +1 -1
- package/dist/engine/preset.d.ts +3 -0
- package/dist/engine/preset.js +17 -0
- package/dist/engine/render-plan.d.ts +1 -1
- package/dist/engine/render-plan.js +1 -1
- package/dist/engine/template.d.ts +3 -2
- package/dist/engine/template.js +24 -7
- package/dist/engine/types.d.ts +1 -1
- package/dist/engine/types.js +1 -1
- package/dist/engine/workspace.d.ts +2 -2
- package/dist/engine/workspace.js +1 -1
- package/dist/index.d.ts +17 -398
- package/dist/index.js +7 -164
- package/dist/manifest.js +2 -2
- package/dist/output-mode.js +1 -1
- package/dist/shared/{outfitter-6fgk6adm.d.ts → outfitter-1tfa9hke.d.ts} +16 -1
- package/dist/shared/{outfitter-6bkqjk86.d.ts → outfitter-2nx0k4b3.d.ts} +1 -0
- package/dist/shared/outfitter-2ysjerp6.d.ts +44 -0
- package/dist/shared/outfitter-2z61gp5w.js +29 -0
- package/dist/shared/outfitter-34vg353f.d.ts +82 -0
- package/dist/shared/{outfitter-5yjr404v.d.ts → outfitter-3dq4r10s.d.ts} +5 -3
- package/dist/shared/outfitter-3rcrvva8.js +103 -0
- package/dist/shared/{outfitter-79vfxt6y.js → outfitter-3tx3adgj.js} +12 -3
- package/dist/shared/{outfitter-63gse8fv.js → outfitter-507ra35w.js} +33 -64
- package/dist/shared/outfitter-56jq0rh2.d.ts +42 -0
- package/dist/shared/{outfitter-r419zfgs.d.ts → outfitter-58rn1sj1.d.ts} +1 -1
- package/dist/shared/outfitter-5d9wbzhh.d.ts +19 -0
- package/dist/shared/outfitter-5j7zee11.d.ts +180 -0
- package/dist/shared/{outfitter-s7jetkge.d.ts → outfitter-5r6q2749.d.ts} +1 -1
- package/dist/shared/outfitter-5vx1bp7h.js +41 -0
- package/dist/shared/outfitter-6ddf91vh.js +190 -0
- package/dist/shared/{outfitter-mt7d1ek2.js → outfitter-6mpkh3zn.js} +39 -305
- package/dist/shared/{outfitter-ybbazsxq.d.ts → outfitter-6rtcemk7.d.ts} +8 -4
- package/dist/shared/{outfitter-9x1brcmq.js → outfitter-6t7xeyg1.js} +13 -38
- package/dist/shared/outfitter-738z4c37.js +262 -0
- package/dist/shared/{outfitter-yvksv5qb.js → outfitter-76k25svs.js} +4 -4
- package/dist/shared/outfitter-7n7vsz95.js +101 -0
- package/dist/shared/outfitter-7q9fnbwa.js +60 -0
- package/dist/shared/outfitter-84chvazx.js +480 -0
- package/dist/shared/outfitter-8ggmja91.js +301 -0
- package/dist/shared/{outfitter-qakwgrrh.d.ts → outfitter-8kmak0wc.d.ts} +1 -1
- package/dist/shared/outfitter-940h0x7b.js +71 -0
- package/dist/shared/{outfitter-fn20r49x.d.ts → outfitter-954y4mzx.d.ts} +1 -1
- package/dist/shared/outfitter-b9cpnr7e.js +110 -0
- package/dist/shared/outfitter-c7sbs7es.js +92 -0
- package/dist/shared/outfitter-cyhzstz0.js +93 -0
- package/dist/shared/{outfitter-n9g1zk4x.d.ts → outfitter-cyvr4r8d.d.ts} +3 -2
- package/dist/shared/outfitter-d0kqashd.d.ts +98 -0
- package/dist/shared/outfitter-dx4hn4ta.js +325 -0
- package/dist/shared/{outfitter-bn9c8p2e.js → outfitter-e84cr97g.js} +37 -9
- package/dist/shared/outfitter-ec83h4v2.js +17 -0
- package/dist/shared/{outfitter-vh4xgb93.js → outfitter-ekb6t1zz.js} +4 -4
- package/dist/shared/outfitter-ex8gn945.js +51 -0
- package/dist/shared/outfitter-f3a70135.js +75 -0
- package/dist/shared/outfitter-fbvfd5zq.d.ts +13 -0
- package/dist/shared/outfitter-fj2v5ffz.js +165 -0
- package/dist/shared/outfitter-fx1m251y.js +122 -0
- package/dist/shared/outfitter-fxry5n58.js +254 -0
- package/dist/shared/outfitter-g3hvjshg.js +1 -0
- package/dist/shared/{outfitter-f9znfhkn.d.ts → outfitter-gdc7b7de.d.ts} +1 -1
- package/dist/shared/outfitter-gyayfx5r.js +156 -0
- package/dist/shared/outfitter-h0wmtxw8.d.ts +23 -0
- package/dist/shared/{outfitter-z5sx06qe.d.ts → outfitter-hcexcvxe.d.ts} +1 -1
- package/dist/shared/outfitter-hf5bj2gq.js +117 -0
- package/dist/shared/{outfitter-e9rrfekb.d.ts → outfitter-htx4asgr.d.ts} +4 -3
- package/dist/shared/outfitter-jkct38dh.js +53 -0
- package/dist/shared/outfitter-jwxggvz4.js +42 -0
- package/dist/shared/outfitter-k6zyvg2n.js +306 -0
- package/dist/shared/outfitter-mstr60zz.js +215 -0
- package/dist/shared/outfitter-n0ed012k.js +101 -0
- package/dist/shared/outfitter-n13pqaft.js +19 -0
- package/dist/shared/outfitter-nxvjxrmw.d.ts +48 -0
- package/dist/shared/outfitter-p2wn07b7.js +160 -0
- package/dist/shared/{outfitter-5y646xzk.js → outfitter-px5sv5gn.js} +29 -9
- package/dist/shared/outfitter-q1g58t85.js +8 -0
- package/dist/shared/{outfitter-pj9vp00r.js → outfitter-qsd5638j.js} +26 -249
- package/dist/shared/outfitter-qsrx7m4w.js +72 -0
- package/dist/shared/outfitter-r2awqszh.d.ts +52 -0
- package/dist/shared/outfitter-rdpw2sbp.d.ts +77 -0
- package/dist/shared/outfitter-rp89dafm.js +109 -0
- package/dist/shared/outfitter-s1c0whzj.js +121 -0
- package/dist/shared/{outfitter-w1j80j1r.js → outfitter-ssrtakh3.js} +21 -5
- package/dist/shared/outfitter-ssynegbs.js +167 -0
- package/dist/shared/{outfitter-zwyvewr1.js → outfitter-svts4wk2.js} +1 -1
- package/dist/shared/outfitter-tavatb5p.js +166 -0
- package/dist/shared/outfitter-tqznjgbm.js +44 -0
- package/dist/shared/{outfitter-yraebrmw.d.ts → outfitter-wcrp7d7m.d.ts} +1 -1
- package/dist/shared/outfitter-wkt0a0ra.js +67 -0
- package/dist/shared/{outfitter-ha89qf8q.js → outfitter-wrcqq29p.js} +4 -4
- package/dist/shared/outfitter-wyg1tpp5.d.ts +43 -0
- package/dist/shared/outfitter-x0vpb7tj.js +126 -0
- package/dist/shared/{outfitter-m44n0qzw.js → outfitter-x39awx8g.js} +11 -26
- package/dist/shared/outfitter-x4cc5xsq.js +168 -0
- package/dist/shared/outfitter-x8w5sjnd.d.ts +39 -0
- package/dist/shared/{outfitter-amc4jbs1.d.ts → outfitter-xr6g13nz.d.ts} +2 -2
- package/dist/shared/outfitter-xs94pkfe.js +106 -0
- package/dist/shared/outfitter-y37yfehn.d.ts +37 -0
- package/dist/shared/{outfitter-fhnjpjwc.d.ts → outfitter-y6ee0k45.d.ts} +1 -1
- package/dist/shared/{outfitter-j833sxws.js → outfitter-ydw7x6bh.js} +1 -1
- package/dist/shared/outfitter-yhb23pjc.js +89 -0
- package/dist/shared/{outfitter-mtbpabf3.js → outfitter-ypcvwg1s.js} +1 -1
- package/dist/shared/outfitter-znbqe5zy.d.ts +45 -0
- package/dist/shared/{outfitter-dpj9erew.d.ts → outfitter-zng6w0t9.d.ts} +1 -1
- package/dist/targets/index.d.ts +2 -2
- package/dist/targets/index.js +2 -3
- package/dist/targets/registry.d.ts +2 -2
- package/dist/targets/registry.js +207 -14
- package/dist/targets/types.d.ts +1 -1
- package/package.json +203 -40
- package/dist/shared/chunk-x6644tk8.js +0 -6491
- package/dist/shared/outfitter-20f6a2n4.js +0 -35
- package/dist/shared/outfitter-5akzvppx.js +0 -125
- package/dist/shared/outfitter-7ch26yq8.js +0 -885
- package/dist/shared/outfitter-ehp18x1n.js +0 -1
- package/dist/shared/outfitter-h3q6ae6d.d.ts +0 -48
- package/dist/shared/outfitter-hvsaxgcp.js +0 -1
- package/dist/shared/outfitter-p71qb0f0.js +0 -82
- package/dist/shared/outfitter-pcj9gg2g.js +0 -909
- package/dist/shared/outfitter-xe5mzgdc.js +0 -208
- package/dist/shared/outfitter-z0we32cp.d.ts +0 -63
- package/template-versions.json +0 -22
- package/templates/.gitkeep +0 -0
- package/templates/basic/.gitignore.template +0 -30
- package/templates/basic/.lefthook.yml.template +0 -26
- package/templates/basic/package.json.template +0 -46
- package/templates/basic/src/index.ts.template +0 -26
- package/templates/basic/tsconfig.json.template +0 -34
- package/templates/cli/.gitignore.template +0 -4
- package/templates/cli/.lefthook.yml.template +0 -26
- package/templates/cli/README.md.template +0 -35
- package/templates/cli/biome.json.template +0 -4
- package/templates/cli/package.json.template +0 -53
- package/templates/cli/src/cli.ts.template +0 -8
- package/templates/cli/src/index.ts.template +0 -7
- package/templates/cli/src/program.ts.template +0 -31
- package/templates/cli/tsconfig.json.template +0 -34
- package/templates/daemon/.gitignore.template +0 -4
- package/templates/daemon/.lefthook.yml.template +0 -26
- package/templates/daemon/README.md.template +0 -67
- package/templates/daemon/biome.json.template +0 -4
- package/templates/daemon/package.json.template +0 -56
- package/templates/daemon/src/cli.ts.template +0 -96
- package/templates/daemon/src/daemon-main.ts.template +0 -79
- package/templates/daemon/src/daemon.ts.template +0 -11
- package/templates/daemon/src/index.ts.template +0 -7
- package/templates/daemon/tsconfig.json.template +0 -23
- package/templates/full-stack/.gitignore.template +0 -30
- package/templates/full-stack/README.md.template +0 -30
- package/templates/full-stack/apps/cli/package.json.template +0 -39
- package/templates/full-stack/apps/cli/src/cli.ts.template +0 -24
- package/templates/full-stack/apps/cli/src/index.test.ts.template +0 -18
- package/templates/full-stack/apps/cli/src/index.ts.template +0 -5
- package/templates/full-stack/apps/cli/tsconfig.json.template +0 -37
- package/templates/full-stack/apps/mcp/package.json.template +0 -40
- package/templates/full-stack/apps/mcp/src/index.test.ts.template +0 -18
- package/templates/full-stack/apps/mcp/src/index.ts.template +0 -6
- package/templates/full-stack/apps/mcp/src/mcp.ts.template +0 -22
- package/templates/full-stack/apps/mcp/src/server.ts.template +0 -10
- package/templates/full-stack/apps/mcp/tsconfig.json.template +0 -37
- package/templates/full-stack/package.json.template +0 -16
- package/templates/full-stack/packages/core/package.json.template +0 -36
- package/templates/full-stack/packages/core/src/handlers.ts.template +0 -31
- package/templates/full-stack/packages/core/src/index.test.ts.template +0 -30
- package/templates/full-stack/packages/core/src/index.ts.template +0 -8
- package/templates/full-stack/packages/core/src/types.ts.template +0 -13
- package/templates/full-stack/packages/core/tsconfig.json.template +0 -34
- package/templates/library/.gitignore.template +0 -30
- package/templates/library/README.md.template +0 -29
- package/templates/library/bunup.config.ts.template +0 -20
- package/templates/library/package.json.template +0 -55
- package/templates/library/src/handlers.ts.template +0 -31
- package/templates/library/src/index.test.ts.template +0 -35
- package/templates/library/src/index.ts.template +0 -8
- package/templates/library/src/types.ts.template +0 -13
- package/templates/library/tsconfig.json.template +0 -34
- package/templates/mcp/.gitignore.template +0 -4
- package/templates/mcp/.lefthook.yml.template +0 -26
- package/templates/mcp/README.md.template +0 -54
- package/templates/mcp/biome.json.template +0 -4
- package/templates/mcp/package.json.template +0 -53
- package/templates/mcp/src/index.ts.template +0 -7
- package/templates/mcp/src/mcp.ts.template +0 -33
- package/templates/mcp/src/server.ts.template +0 -8
- package/templates/mcp/tsconfig.json.template +0 -23
- package/templates/minimal/.gitignore.template +0 -30
- package/templates/minimal/.lefthook.yml.template +0 -26
- package/templates/minimal/package.json.template +0 -53
- package/templates/minimal/src/index.ts.template +0 -26
- package/templates/minimal/tsconfig.json.template +0 -34
- /package/dist/{shared/outfitter-344t1r38.js → commands/docs-types.js} +0 -0
- /package/dist/shared/{outfitter-mdt37hqm.js → outfitter-eepj7rf7.js} +0 -0
package/dist/actions.js
CHANGED
|
@@ -1,35 +1,66 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
outfitterActions
|
|
4
|
-
} from "./shared/outfitter-
|
|
5
|
-
import"./shared/outfitter-
|
|
6
|
-
import"./shared/outfitter-
|
|
4
|
+
} from "./shared/outfitter-jkct38dh.js";
|
|
5
|
+
import"./shared/outfitter-xs94pkfe.js";
|
|
6
|
+
import"./shared/outfitter-rp89dafm.js";
|
|
7
|
+
import"./shared/outfitter-738z4c37.js";
|
|
8
|
+
import"./shared/outfitter-dx4hn4ta.js";
|
|
9
|
+
import"./shared/outfitter-ex8gn945.js";
|
|
10
|
+
import"./shared/outfitter-wkt0a0ra.js";
|
|
11
|
+
import"./shared/outfitter-k6zyvg2n.js";
|
|
12
|
+
import"./shared/outfitter-3rcrvva8.js";
|
|
13
|
+
import"./shared/outfitter-ec83h4v2.js";
|
|
14
|
+
import"./shared/outfitter-mstr60zz.js";
|
|
15
|
+
import"./shared/outfitter-7n7vsz95.js";
|
|
16
|
+
import"./shared/outfitter-fxry5n58.js";
|
|
17
|
+
import"./shared/outfitter-6mpkh3zn.js";
|
|
18
|
+
import"./shared/outfitter-n0ed012k.js";
|
|
19
|
+
import"./shared/outfitter-fj2v5ffz.js";
|
|
20
|
+
import"./shared/outfitter-gyayfx5r.js";
|
|
21
|
+
import"./shared/outfitter-yhb23pjc.js";
|
|
22
|
+
import"./shared/outfitter-2z61gp5w.js";
|
|
23
|
+
import"./shared/outfitter-84chvazx.js";
|
|
24
|
+
import"./shared/outfitter-cyhzstz0.js";
|
|
25
|
+
import"./shared/outfitter-76k25svs.js";
|
|
26
|
+
import"./shared/outfitter-hf5bj2gq.js";
|
|
27
|
+
import"./shared/outfitter-jwxggvz4.js";
|
|
28
|
+
import"./shared/outfitter-tavatb5p.js";
|
|
29
|
+
import"./shared/outfitter-6ddf91vh.js";
|
|
30
|
+
import"./shared/outfitter-qsd5638j.js";
|
|
31
|
+
import"./shared/outfitter-g3hvjshg.js";
|
|
32
|
+
import"./shared/outfitter-940h0x7b.js";
|
|
7
33
|
import"./shared/outfitter-ksyvwmb5.js";
|
|
8
|
-
import"./shared/outfitter-
|
|
9
|
-
import"./shared/outfitter-
|
|
10
|
-
import"./shared/outfitter-
|
|
11
|
-
import"./shared/outfitter-
|
|
34
|
+
import"./shared/outfitter-507ra35w.js";
|
|
35
|
+
import"./shared/outfitter-x4cc5xsq.js";
|
|
36
|
+
import"./shared/outfitter-ssrtakh3.js";
|
|
37
|
+
import"./shared/outfitter-p2wn07b7.js";
|
|
38
|
+
import"./shared/outfitter-b9cpnr7e.js";
|
|
39
|
+
import"./shared/outfitter-px5sv5gn.js";
|
|
40
|
+
import"./shared/outfitter-f3a70135.js";
|
|
12
41
|
import"./shared/outfitter-bpr28y54.js";
|
|
13
|
-
import"./shared/outfitter-
|
|
42
|
+
import"./shared/outfitter-n13pqaft.js";
|
|
43
|
+
import"./shared/outfitter-8ggmja91.js";
|
|
44
|
+
import"./shared/outfitter-ssynegbs.js";
|
|
45
|
+
import"./shared/outfitter-q1g58t85.js";
|
|
46
|
+
import"./shared/outfitter-x0vpb7tj.js";
|
|
47
|
+
import"./shared/outfitter-fx1m251y.js";
|
|
48
|
+
import"./shared/outfitter-s1c0whzj.js";
|
|
49
|
+
import"./shared/outfitter-c7sbs7es.js";
|
|
50
|
+
import"./shared/outfitter-5vx1bp7h.js";
|
|
51
|
+
import"./shared/outfitter-svts4wk2.js";
|
|
52
|
+
import"./shared/outfitter-qsrx7m4w.js";
|
|
53
|
+
import"./shared/outfitter-7q9fnbwa.js";
|
|
14
54
|
import"./shared/outfitter-4s9meh3j.js";
|
|
15
|
-
import"./shared/outfitter-
|
|
16
|
-
import"./shared/outfitter-
|
|
17
|
-
import"./shared/outfitter-1h7k8xxt.js";
|
|
55
|
+
import"./shared/outfitter-3tx3adgj.js";
|
|
56
|
+
import"./shared/outfitter-ypcvwg1s.js";
|
|
18
57
|
import"./shared/outfitter-ttjr95y9.js";
|
|
19
|
-
import"./shared/outfitter-
|
|
20
|
-
import"./shared/outfitter-5akzvppx.js";
|
|
21
|
-
import"./shared/outfitter-ha89qf8q.js";
|
|
22
|
-
import"./shared/outfitter-20f6a2n4.js";
|
|
23
|
-
import"./shared/outfitter-m44n0qzw.js";
|
|
24
|
-
import"./shared/outfitter-9x1brcmq.js";
|
|
25
|
-
import"./shared/outfitter-j833sxws.js";
|
|
26
|
-
import"./shared/outfitter-79vfxt6y.js";
|
|
58
|
+
import"./shared/outfitter-7r12fj7f.js";
|
|
27
59
|
import"./shared/outfitter-1fy7byz5.js";
|
|
28
60
|
import"./shared/outfitter-4q1zfmvc.js";
|
|
29
61
|
import"./shared/outfitter-8y2dfx6n.js";
|
|
30
|
-
import"./shared/outfitter-
|
|
31
|
-
import"./shared/outfitter-
|
|
32
|
-
import"./shared/outfitter-mdt37hqm.js";
|
|
62
|
+
import"./shared/outfitter-1h7k8xxt.js";
|
|
63
|
+
import"./shared/outfitter-eepj7rf7.js";
|
|
33
64
|
export {
|
|
34
65
|
outfitterActions
|
|
35
66
|
};
|
package/dist/cli.js
CHANGED
|
@@ -1,11 +1,73 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
+
// @bun
|
|
3
|
+
import {
|
|
4
|
+
createRepoCommand
|
|
5
|
+
} from "./shared/outfitter-e84cr97g.js";
|
|
2
6
|
import {
|
|
3
|
-
createRepoCommand,
|
|
4
7
|
outfitterActions
|
|
5
|
-
} from "./shared/
|
|
8
|
+
} from "./shared/outfitter-jkct38dh.js";
|
|
9
|
+
import"./shared/outfitter-xs94pkfe.js";
|
|
10
|
+
import"./shared/outfitter-rp89dafm.js";
|
|
11
|
+
import"./shared/outfitter-738z4c37.js";
|
|
12
|
+
import"./shared/outfitter-dx4hn4ta.js";
|
|
13
|
+
import"./shared/outfitter-ex8gn945.js";
|
|
14
|
+
import"./shared/outfitter-wkt0a0ra.js";
|
|
15
|
+
import"./shared/outfitter-k6zyvg2n.js";
|
|
16
|
+
import"./shared/outfitter-3rcrvva8.js";
|
|
17
|
+
import"./shared/outfitter-ec83h4v2.js";
|
|
18
|
+
import"./shared/outfitter-mstr60zz.js";
|
|
19
|
+
import"./shared/outfitter-7n7vsz95.js";
|
|
20
|
+
import"./shared/outfitter-fxry5n58.js";
|
|
21
|
+
import"./shared/outfitter-6mpkh3zn.js";
|
|
22
|
+
import"./shared/outfitter-n0ed012k.js";
|
|
23
|
+
import"./shared/outfitter-fj2v5ffz.js";
|
|
24
|
+
import"./shared/outfitter-gyayfx5r.js";
|
|
25
|
+
import"./shared/outfitter-yhb23pjc.js";
|
|
26
|
+
import"./shared/outfitter-2z61gp5w.js";
|
|
27
|
+
import"./shared/outfitter-84chvazx.js";
|
|
28
|
+
import"./shared/outfitter-cyhzstz0.js";
|
|
29
|
+
import"./shared/outfitter-76k25svs.js";
|
|
30
|
+
import"./shared/outfitter-hf5bj2gq.js";
|
|
31
|
+
import"./shared/outfitter-jwxggvz4.js";
|
|
32
|
+
import"./shared/outfitter-tavatb5p.js";
|
|
33
|
+
import"./shared/outfitter-6ddf91vh.js";
|
|
34
|
+
import"./shared/outfitter-qsd5638j.js";
|
|
35
|
+
import"./shared/outfitter-g3hvjshg.js";
|
|
36
|
+
import"./shared/outfitter-940h0x7b.js";
|
|
37
|
+
import"./shared/outfitter-ksyvwmb5.js";
|
|
38
|
+
import"./shared/outfitter-507ra35w.js";
|
|
39
|
+
import"./shared/outfitter-x4cc5xsq.js";
|
|
40
|
+
import"./shared/outfitter-ssrtakh3.js";
|
|
41
|
+
import"./shared/outfitter-p2wn07b7.js";
|
|
42
|
+
import"./shared/outfitter-b9cpnr7e.js";
|
|
43
|
+
import"./shared/outfitter-px5sv5gn.js";
|
|
44
|
+
import"./shared/outfitter-f3a70135.js";
|
|
45
|
+
import"./shared/outfitter-bpr28y54.js";
|
|
46
|
+
import"./shared/outfitter-n13pqaft.js";
|
|
47
|
+
import"./shared/outfitter-8ggmja91.js";
|
|
48
|
+
import"./shared/outfitter-ssynegbs.js";
|
|
49
|
+
import"./shared/outfitter-q1g58t85.js";
|
|
50
|
+
import"./shared/outfitter-x0vpb7tj.js";
|
|
51
|
+
import"./shared/outfitter-fx1m251y.js";
|
|
52
|
+
import"./shared/outfitter-s1c0whzj.js";
|
|
53
|
+
import"./shared/outfitter-c7sbs7es.js";
|
|
54
|
+
import"./shared/outfitter-5vx1bp7h.js";
|
|
55
|
+
import"./shared/outfitter-svts4wk2.js";
|
|
56
|
+
import"./shared/outfitter-qsrx7m4w.js";
|
|
57
|
+
import"./shared/outfitter-7q9fnbwa.js";
|
|
58
|
+
import"./shared/outfitter-4s9meh3j.js";
|
|
59
|
+
import"./shared/outfitter-3tx3adgj.js";
|
|
60
|
+
import"./shared/outfitter-ypcvwg1s.js";
|
|
61
|
+
import"./shared/outfitter-ttjr95y9.js";
|
|
62
|
+
import"./shared/outfitter-7r12fj7f.js";
|
|
63
|
+
import"./shared/outfitter-1fy7byz5.js";
|
|
64
|
+
import"./shared/outfitter-4q1zfmvc.js";
|
|
65
|
+
import"./shared/outfitter-8y2dfx6n.js";
|
|
66
|
+
import"./shared/outfitter-1h7k8xxt.js";
|
|
67
|
+
import"./shared/outfitter-eepj7rf7.js";
|
|
6
68
|
|
|
7
|
-
// src/cli.ts
|
|
8
|
-
import { readFileSync } from "
|
|
69
|
+
// apps/outfitter/src/cli.ts
|
|
70
|
+
import { readFileSync } from "fs";
|
|
9
71
|
import { exitWithError } from "@outfitter/cli";
|
|
10
72
|
import { buildCliCommands } from "@outfitter/cli/actions";
|
|
11
73
|
import { createCLI } from "@outfitter/cli/command";
|
package/dist/commands/add.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
listBlocks,
|
|
5
5
|
printAddResults,
|
|
6
6
|
runAdd
|
|
7
|
-
} from "../shared/outfitter-
|
|
8
|
-
import"../shared/outfitter-
|
|
7
|
+
} from "../shared/outfitter-3tx3adgj.js";
|
|
8
|
+
import"../shared/outfitter-ypcvwg1s.js";
|
|
9
9
|
import"../shared/outfitter-7r12fj7f.js";
|
|
10
|
-
import"../shared/outfitter-
|
|
10
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
11
11
|
export {
|
|
12
12
|
runAdd,
|
|
13
13
|
printAddResults,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
/** Options for the action-ceremony guardrail check. */
|
|
4
|
+
interface CheckActionCeremonyOptions {
|
|
5
|
+
/** Workspace root used to locate the actions directory. */
|
|
6
|
+
readonly cwd: string;
|
|
7
|
+
}
|
|
8
|
+
/** Result for a single ceremony budget after scanning action sources. */
|
|
9
|
+
interface CeremonyBudgetResult {
|
|
10
|
+
/** Number of pattern occurrences found. */
|
|
11
|
+
readonly count: number;
|
|
12
|
+
readonly description: string;
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/** Maximum allowed occurrences before the budget is exceeded. */
|
|
15
|
+
readonly maxCount: number;
|
|
16
|
+
/** Whether the count is within the allowed budget. */
|
|
17
|
+
readonly ok: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** Aggregate result of the action-ceremony check across all budgets. */
|
|
20
|
+
interface CheckActionCeremonyResult {
|
|
21
|
+
/** Resolved path to the scanned actions directory. */
|
|
22
|
+
readonly actionsDir: string;
|
|
23
|
+
readonly budgets: readonly CeremonyBudgetResult[];
|
|
24
|
+
/** True when every budget is within its allowed count. */
|
|
25
|
+
readonly ok: boolean;
|
|
26
|
+
}
|
|
27
|
+
/** Error raised when the action-ceremony check cannot complete. */
|
|
28
|
+
declare class CheckActionCeremonyError extends Error {
|
|
29
|
+
readonly _tag: "CheckActionCeremonyError";
|
|
30
|
+
constructor(message: string);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Scan action source files and evaluate each ceremony budget.
|
|
34
|
+
*
|
|
35
|
+
* Reads all `.ts` files under the actions directory and counts pattern
|
|
36
|
+
* matches against pre-defined budgets. Returns per-budget results and
|
|
37
|
+
* an aggregate pass/fail.
|
|
38
|
+
*/
|
|
39
|
+
declare function runCheckActionCeremony(options: CheckActionCeremonyOptions): Promise<Result<CheckActionCeremonyResult, CheckActionCeremonyError>>;
|
|
40
|
+
/**
|
|
41
|
+
* Render ceremony check results to stdout/stderr.
|
|
42
|
+
*
|
|
43
|
+
* Emits JSON/JSONL for structured modes or a human-readable summary
|
|
44
|
+
* listing any budgets that exceeded their limit.
|
|
45
|
+
*/
|
|
46
|
+
declare function printCheckActionCeremonyResult(result: CheckActionCeremonyResult, options?: {
|
|
47
|
+
mode?: CliOutputMode;
|
|
48
|
+
}): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* CLI entry point: parse argv, run the ceremony check, and print results.
|
|
51
|
+
*
|
|
52
|
+
* @returns Exit code (0 on success, 1 on failure or error).
|
|
53
|
+
*/
|
|
54
|
+
declare function runCheckActionCeremonyFromArgv(argv: readonly string[]): Promise<number>;
|
|
55
|
+
export { runCheckActionCeremonyFromArgv, runCheckActionCeremony, printCheckActionCeremonyResult, CheckActionCeremonyResult, CheckActionCeremonyOptions, CheckActionCeremonyError, CeremonyBudgetResult };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckActionCeremonyError,
|
|
4
|
+
printCheckActionCeremonyResult,
|
|
5
|
+
runCheckActionCeremony,
|
|
6
|
+
runCheckActionCeremonyFromArgv
|
|
7
|
+
} from "../shared/outfitter-p2wn07b7.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
|
+
export {
|
|
11
|
+
runCheckActionCeremonyFromArgv,
|
|
12
|
+
runCheckActionCeremony,
|
|
13
|
+
printCheckActionCeremonyResult,
|
|
14
|
+
CheckActionCeremonyError
|
|
15
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
type DocsReadmeSentinelCheckReason = "missing-markers" | "out-of-date" | "up-to-date";
|
|
4
|
+
interface DocsReadmeSentinelCheckResult {
|
|
5
|
+
readonly reason: DocsReadmeSentinelCheckReason;
|
|
6
|
+
readonly updatedContent: string;
|
|
7
|
+
}
|
|
8
|
+
interface CheckDocsSentinelOptions {
|
|
9
|
+
readonly cwd: string;
|
|
10
|
+
}
|
|
11
|
+
interface CheckDocsSentinelResult {
|
|
12
|
+
readonly ok: boolean;
|
|
13
|
+
readonly readmePath: string;
|
|
14
|
+
readonly reason: DocsReadmeSentinelCheckReason;
|
|
15
|
+
readonly updatedContent: string;
|
|
16
|
+
}
|
|
17
|
+
declare class CheckDocsSentinelError extends Error {
|
|
18
|
+
readonly _tag: "CheckDocsSentinelError";
|
|
19
|
+
constructor(message: string);
|
|
20
|
+
}
|
|
21
|
+
declare function checkDocsReadmeSentinelContent(readmeContent: string, packageListContent: string, replaceSentinelSection?: (input: string, sentinelId: string, replacement: string) => string): DocsReadmeSentinelCheckResult;
|
|
22
|
+
declare function runCheckDocsSentinel(options: CheckDocsSentinelOptions): Promise<Result<CheckDocsSentinelResult, CheckDocsSentinelError>>;
|
|
23
|
+
declare function printCheckDocsSentinelResult(result: CheckDocsSentinelResult, options?: {
|
|
24
|
+
mode?: CliOutputMode;
|
|
25
|
+
}): Promise<void>;
|
|
26
|
+
declare function runCheckDocsSentinelFromArgv(argv: readonly string[]): Promise<number>;
|
|
27
|
+
export { runCheckDocsSentinelFromArgv, runCheckDocsSentinel, printCheckDocsSentinelResult, checkDocsReadmeSentinelContent, DocsReadmeSentinelCheckResult, DocsReadmeSentinelCheckReason, CheckDocsSentinelResult, CheckDocsSentinelOptions, CheckDocsSentinelError };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckDocsSentinelError,
|
|
4
|
+
checkDocsReadmeSentinelContent,
|
|
5
|
+
printCheckDocsSentinelResult,
|
|
6
|
+
runCheckDocsSentinel,
|
|
7
|
+
runCheckDocsSentinelFromArgv
|
|
8
|
+
} from "../shared/outfitter-fj2v5ffz.js";
|
|
9
|
+
import"../shared/outfitter-svts4wk2.js";
|
|
10
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
11
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
12
|
+
export {
|
|
13
|
+
runCheckDocsSentinelFromArgv,
|
|
14
|
+
runCheckDocsSentinel,
|
|
15
|
+
printCheckDocsSentinelResult,
|
|
16
|
+
checkDocsReadmeSentinelContent,
|
|
17
|
+
CheckDocsSentinelError
|
|
18
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CheckOrchestratorError, CheckOrchestratorMode, CheckOrchestratorOptions, CheckOrchestratorResult, buildCheckOrchestratorPlan, parseTreePaths, printCheckOrchestratorResults, runCheckOrchestrator } from "../shared/outfitter-rdpw2sbp.js";
|
|
2
|
+
export { runCheckOrchestrator, printCheckOrchestratorResults, parseTreePaths, buildCheckOrchestratorPlan, CheckOrchestratorResult, CheckOrchestratorOptions, CheckOrchestratorMode, CheckOrchestratorError };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckOrchestratorError,
|
|
4
|
+
buildCheckOrchestratorPlan,
|
|
5
|
+
parseTreePaths,
|
|
6
|
+
printCheckOrchestratorResults,
|
|
7
|
+
runCheckOrchestrator
|
|
8
|
+
} from "../shared/outfitter-84chvazx.js";
|
|
9
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
10
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
11
|
+
export {
|
|
12
|
+
runCheckOrchestrator,
|
|
13
|
+
printCheckOrchestratorResults,
|
|
14
|
+
parseTreePaths,
|
|
15
|
+
buildCheckOrchestratorPlan,
|
|
16
|
+
CheckOrchestratorError
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
interface CheckPresetVersionsOptions {
|
|
4
|
+
readonly cwd: string;
|
|
5
|
+
}
|
|
6
|
+
interface CheckPresetVersionsResult {
|
|
7
|
+
readonly ok: boolean;
|
|
8
|
+
readonly problems: readonly string[];
|
|
9
|
+
readonly workspaceRoot: string;
|
|
10
|
+
}
|
|
11
|
+
declare class CheckPresetVersionsError extends Error {
|
|
12
|
+
readonly _tag: "CheckPresetVersionsError";
|
|
13
|
+
constructor(message: string);
|
|
14
|
+
}
|
|
15
|
+
declare function runCheckPresetVersions(options: CheckPresetVersionsOptions): Promise<Result<CheckPresetVersionsResult, CheckPresetVersionsError>>;
|
|
16
|
+
declare function printCheckPresetVersionsResult(result: CheckPresetVersionsResult, options?: {
|
|
17
|
+
mode?: CliOutputMode;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
declare function runCheckPresetVersionsFromArgv(argv: readonly string[]): Promise<number>;
|
|
20
|
+
export { runCheckPresetVersionsFromArgv, runCheckPresetVersions, printCheckPresetVersionsResult, CheckPresetVersionsResult, CheckPresetVersionsOptions, CheckPresetVersionsError };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckPresetVersionsError,
|
|
4
|
+
printCheckPresetVersionsResult,
|
|
5
|
+
runCheckPresetVersions,
|
|
6
|
+
runCheckPresetVersionsFromArgv
|
|
7
|
+
} from "../shared/outfitter-8ggmja91.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
|
+
export {
|
|
11
|
+
runCheckPresetVersionsFromArgv,
|
|
12
|
+
runCheckPresetVersions,
|
|
13
|
+
printCheckPresetVersionsResult,
|
|
14
|
+
CheckPresetVersionsError
|
|
15
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
declare const REQUIRED_PREPUBLISH_ONLY = "bun ../../scripts/check-publish-manifest.ts";
|
|
4
|
+
interface PackageJson {
|
|
5
|
+
name?: string;
|
|
6
|
+
private?: boolean;
|
|
7
|
+
scripts?: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
interface WorkspacePackageManifest {
|
|
10
|
+
manifest: PackageJson;
|
|
11
|
+
path: string;
|
|
12
|
+
}
|
|
13
|
+
interface PublishGuardrailViolation {
|
|
14
|
+
actual: string | undefined;
|
|
15
|
+
expected: string;
|
|
16
|
+
packageName: string;
|
|
17
|
+
path: string;
|
|
18
|
+
}
|
|
19
|
+
interface CheckPublishGuardrailsOptions {
|
|
20
|
+
readonly cwd: string;
|
|
21
|
+
}
|
|
22
|
+
interface CheckPublishGuardrailsResult {
|
|
23
|
+
readonly checkedManifestCount: number;
|
|
24
|
+
readonly ok: boolean;
|
|
25
|
+
readonly violations: readonly PublishGuardrailViolation[];
|
|
26
|
+
readonly workspaceRoot: string;
|
|
27
|
+
}
|
|
28
|
+
declare class CheckPublishGuardrailsError extends Error {
|
|
29
|
+
readonly _tag: "CheckPublishGuardrailsError";
|
|
30
|
+
constructor(message: string);
|
|
31
|
+
}
|
|
32
|
+
declare function findPublishGuardrailViolations(packages: WorkspacePackageManifest[]): PublishGuardrailViolation[];
|
|
33
|
+
declare function runCheckPublishGuardrails(options: CheckPublishGuardrailsOptions): Promise<Result<CheckPublishGuardrailsResult, CheckPublishGuardrailsError>>;
|
|
34
|
+
declare function printCheckPublishGuardrailsResult(result: CheckPublishGuardrailsResult, options?: {
|
|
35
|
+
mode?: CliOutputMode;
|
|
36
|
+
}): Promise<void>;
|
|
37
|
+
declare function runCheckPublishGuardrailsFromArgv(argv: readonly string[]): Promise<number>;
|
|
38
|
+
export { runCheckPublishGuardrailsFromArgv, runCheckPublishGuardrails, printCheckPublishGuardrailsResult, findPublishGuardrailViolations, WorkspacePackageManifest, REQUIRED_PREPUBLISH_ONLY, PublishGuardrailViolation, CheckPublishGuardrailsResult, CheckPublishGuardrailsOptions, CheckPublishGuardrailsError };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckPublishGuardrailsError,
|
|
4
|
+
REQUIRED_PREPUBLISH_ONLY,
|
|
5
|
+
findPublishGuardrailViolations,
|
|
6
|
+
printCheckPublishGuardrailsResult,
|
|
7
|
+
runCheckPublishGuardrails,
|
|
8
|
+
runCheckPublishGuardrailsFromArgv
|
|
9
|
+
} from "../shared/outfitter-ssynegbs.js";
|
|
10
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
11
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
12
|
+
export {
|
|
13
|
+
runCheckPublishGuardrailsFromArgv,
|
|
14
|
+
runCheckPublishGuardrails,
|
|
15
|
+
printCheckPublishGuardrailsResult,
|
|
16
|
+
findPublishGuardrailViolations,
|
|
17
|
+
REQUIRED_PREPUBLISH_ONLY,
|
|
18
|
+
CheckPublishGuardrailsError
|
|
19
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
interface SurfaceMapFormatCheckResult {
|
|
4
|
+
readonly actual: string;
|
|
5
|
+
readonly expected: string;
|
|
6
|
+
readonly filePath: string;
|
|
7
|
+
readonly ok: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface CheckSurfaceMapFormatOptions {
|
|
10
|
+
readonly cwd: string;
|
|
11
|
+
}
|
|
12
|
+
interface CheckSurfaceMapFormatResult {
|
|
13
|
+
readonly filePath: string;
|
|
14
|
+
readonly format: SurfaceMapFormatCheckResult | null;
|
|
15
|
+
readonly ok: boolean;
|
|
16
|
+
readonly reason: "format-drift" | "missing-file" | "ok";
|
|
17
|
+
}
|
|
18
|
+
declare class CheckSurfaceMapFormatError extends Error {
|
|
19
|
+
readonly _tag: "CheckSurfaceMapFormatError";
|
|
20
|
+
constructor(message: string);
|
|
21
|
+
}
|
|
22
|
+
declare function canonicalizeJson(content: string, filePath: string): string;
|
|
23
|
+
declare function checkSurfaceMapFormat(content: string, filePath: string): SurfaceMapFormatCheckResult;
|
|
24
|
+
declare function runCheckSurfaceMapFormat(options: CheckSurfaceMapFormatOptions): Promise<Result<CheckSurfaceMapFormatResult, CheckSurfaceMapFormatError>>;
|
|
25
|
+
declare function printCheckSurfaceMapFormatResult(result: CheckSurfaceMapFormatResult, options?: {
|
|
26
|
+
mode?: CliOutputMode;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
declare function runCheckSurfaceMapFormatFromArgv(argv: readonly string[]): Promise<number>;
|
|
29
|
+
export { runCheckSurfaceMapFormatFromArgv, runCheckSurfaceMapFormat, printCheckSurfaceMapFormatResult, checkSurfaceMapFormat, canonicalizeJson, SurfaceMapFormatCheckResult, CheckSurfaceMapFormatResult, CheckSurfaceMapFormatOptions, CheckSurfaceMapFormatError };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckSurfaceMapFormatError,
|
|
4
|
+
canonicalizeJson,
|
|
5
|
+
checkSurfaceMapFormat,
|
|
6
|
+
printCheckSurfaceMapFormatResult,
|
|
7
|
+
runCheckSurfaceMapFormat,
|
|
8
|
+
runCheckSurfaceMapFormatFromArgv
|
|
9
|
+
} from "../shared/outfitter-gyayfx5r.js";
|
|
10
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
11
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
12
|
+
export {
|
|
13
|
+
runCheckSurfaceMapFormatFromArgv,
|
|
14
|
+
runCheckSurfaceMapFormat,
|
|
15
|
+
printCheckSurfaceMapFormatResult,
|
|
16
|
+
checkSurfaceMapFormat,
|
|
17
|
+
canonicalizeJson,
|
|
18
|
+
CheckSurfaceMapFormatError
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { Result } from "@outfitter/contracts";
|
|
3
|
+
interface CheckSurfaceMapOptions {
|
|
4
|
+
readonly cwd: string;
|
|
5
|
+
}
|
|
6
|
+
interface CheckSurfaceMapResult {
|
|
7
|
+
readonly canonicalPath: string;
|
|
8
|
+
readonly legacyTrackedPath: string;
|
|
9
|
+
readonly ok: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare class CheckSurfaceMapError extends Error {
|
|
12
|
+
readonly _tag: "CheckSurfaceMapError";
|
|
13
|
+
constructor(message: string);
|
|
14
|
+
}
|
|
15
|
+
declare function runCheckSurfaceMap(options: CheckSurfaceMapOptions): Promise<Result<CheckSurfaceMapResult, CheckSurfaceMapError>>;
|
|
16
|
+
declare function printCheckSurfaceMapResult(result: CheckSurfaceMapResult, options?: {
|
|
17
|
+
mode?: CliOutputMode;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
declare function runCheckSurfaceMapFromArgv(argv: readonly string[]): Promise<number>;
|
|
20
|
+
export { runCheckSurfaceMapFromArgv, runCheckSurfaceMap, printCheckSurfaceMapResult, CheckSurfaceMapResult, CheckSurfaceMapOptions, CheckSurfaceMapError };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CheckSurfaceMapError,
|
|
4
|
+
printCheckSurfaceMapResult,
|
|
5
|
+
runCheckSurfaceMap,
|
|
6
|
+
runCheckSurfaceMapFromArgv
|
|
7
|
+
} from "../shared/outfitter-b9cpnr7e.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
|
+
export {
|
|
11
|
+
runCheckSurfaceMapFromArgv,
|
|
12
|
+
runCheckSurfaceMap,
|
|
13
|
+
printCheckSurfaceMapResult,
|
|
14
|
+
CheckSurfaceMapError
|
|
15
|
+
};
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { CoverageLevel, TsDocCheckResult } from "@outfitter/tooling";
|
|
4
|
-
/** Validated input for the check-tsdoc action handler. */
|
|
5
|
-
interface CheckTsDocInput {
|
|
6
|
-
readonly cwd: string;
|
|
7
|
-
readonly jq: string | undefined;
|
|
8
|
-
readonly level: CoverageLevel | undefined;
|
|
9
|
-
readonly minCoverage: number;
|
|
10
|
-
readonly outputMode: CliOutputMode;
|
|
11
|
-
readonly packages: readonly string[];
|
|
12
|
-
readonly strict: boolean;
|
|
13
|
-
readonly summary: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Run TSDoc coverage analysis and format output.
|
|
17
|
-
*
|
|
18
|
-
* @param input - Validated action input
|
|
19
|
-
* @returns Result containing the coverage analysis
|
|
20
|
-
*/
|
|
21
|
-
declare function runCheckTsdoc(input: CheckTsDocInput): Promise<Result<TsDocCheckResult, Error>>;
|
|
1
|
+
import { CheckTsDocInput, runCheckTsdoc } from "../shared/outfitter-h0wmtxw8.js";
|
|
2
|
+
import "../shared/outfitter-a79xrm12.js";
|
|
22
3
|
export { runCheckTsdoc, CheckTsDocInput };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
runCheckTsdoc
|
|
4
|
-
} from "../shared/outfitter-
|
|
5
|
-
import"../shared/outfitter-
|
|
4
|
+
} from "../shared/outfitter-507ra35w.js";
|
|
5
|
+
import"../shared/outfitter-5vx1bp7h.js";
|
|
6
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
6
7
|
export {
|
|
7
8
|
runCheckTsdoc
|
|
8
9
|
};
|
package/dist/commands/check.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ interface CheckOptions {
|
|
|
10
10
|
readonly ci?: boolean;
|
|
11
11
|
/** Working directory to check. */
|
|
12
12
|
readonly cwd: string;
|
|
13
|
+
/** Only check manifest-tracked blocks; skip file-presence heuristic. */
|
|
14
|
+
readonly manifestOnly?: boolean;
|
|
13
15
|
/** Output mode override. */
|
|
14
16
|
readonly outputMode?: OutputMode;
|
|
15
17
|
/** Show diff information for drifted files. */
|
package/dist/commands/check.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
CheckError,
|
|
4
4
|
printCheckResults,
|
|
5
5
|
runCheck
|
|
6
|
-
} from "../shared/outfitter-
|
|
7
|
-
import"../shared/outfitter-
|
|
6
|
+
} from "../shared/outfitter-ssrtakh3.js";
|
|
7
|
+
import"../shared/outfitter-ypcvwg1s.js";
|
|
8
8
|
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
-
import"../shared/outfitter-
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
10
|
export {
|
|
11
11
|
runCheck,
|
|
12
12
|
printCheckResults,
|
package/dist/commands/demo.js
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
printDocsApiResults,
|
|
4
|
+
runDocsApi
|
|
5
|
+
} from "../shared/outfitter-cyhzstz0.js";
|
|
6
|
+
import"../shared/outfitter-507ra35w.js";
|
|
7
|
+
import"../shared/outfitter-5vx1bp7h.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
|
+
export {
|
|
11
|
+
runDocsApi,
|
|
12
|
+
printDocsApiResults
|
|
13
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocsExportInput, DocsExportOutput, printDocsExportResults, runDocsExport } from "../shared/outfitter-x8w5sjnd.js";
|
|
2
|
+
import "../shared/outfitter-a79xrm12.js";
|
|
3
|
+
import { DocsExportTarget } from "../shared/outfitter-1tfa9hke.js";
|
|
4
|
+
export { runDocsExport, printDocsExportResults, DocsExportTarget, DocsExportOutput, DocsExportInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
printDocsExportResults,
|
|
4
|
+
runDocsExport
|
|
5
|
+
} from "../shared/outfitter-940h0x7b.js";
|
|
6
|
+
import"../shared/outfitter-svts4wk2.js";
|
|
7
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
8
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
9
|
+
export {
|
|
10
|
+
runDocsExport,
|
|
11
|
+
printDocsExportResults
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
printDocsListResults,
|
|
4
|
+
runDocsList
|
|
5
|
+
} from "../shared/outfitter-yhb23pjc.js";
|
|
6
|
+
import"../shared/outfitter-5vx1bp7h.js";
|
|
7
|
+
import"../shared/outfitter-svts4wk2.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
10
|
+
export {
|
|
11
|
+
runDocsList,
|
|
12
|
+
printDocsListResults
|
|
13
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CreateDocsCommandOptions, DocsCommandIo, DocsExportTarget, ExecuteCheckCommandOptions, ExecuteExportCommandOptions, ExecuteSyncCommandOptions, loadDocsModule } from "../shared/outfitter-
|
|
2
|
-
export { loadDocsModule, ExecuteSyncCommandOptions, ExecuteExportCommandOptions, ExecuteCheckCommandOptions, DocsExportTarget, DocsCommandIo, CreateDocsCommandOptions };
|
|
1
|
+
import { CreateDocsCommandOptions, DocsCommandIo, DocsExportTarget, DocsModule, ExecuteCheckCommandOptions, ExecuteExportCommandOptions, ExecuteSyncCommandOptions, loadDocsModule } from "../shared/outfitter-1tfa9hke.js";
|
|
2
|
+
export { loadDocsModule, ExecuteSyncCommandOptions, ExecuteExportCommandOptions, ExecuteCheckCommandOptions, DocsModule, DocsExportTarget, DocsCommandIo, CreateDocsCommandOptions };
|