outfitter 0.3.2 → 0.3.4
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 +33 -5
- 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 +2 -0
- package/dist/actions.js +66 -0
- package/dist/cli.js +66 -4
- package/dist/commands/add.d.ts +54 -0
- package/dist/commands/add.js +16 -0
- 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 +3 -0
- package/dist/commands/check-tsdoc.js +9 -0
- package/dist/commands/check.d.ts +93 -0
- package/dist/commands/check.js +14 -0
- package/dist/commands/demo.d.ts +21 -0
- package/dist/commands/demo.js +8 -0
- 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 -0
- package/dist/commands/docs-module-loader.js +8 -0
- 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/docs-types.js +1 -0
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/doctor.js +17 -0
- 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 +9 -0
- package/dist/commands/init.js +24 -0
- package/dist/commands/jq-utils.d.ts +17 -0
- package/dist/commands/jq-utils.js +8 -0
- package/dist/commands/repo.d.ts +3 -0
- package/dist/commands/repo.js +13 -0
- 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 +4 -0
- package/dist/commands/scaffold.js +26 -0
- package/dist/commands/shared-deps.d.ts +22 -0
- package/dist/commands/shared-deps.js +11 -0
- package/dist/commands/upgrade-apply.d.ts +14 -0
- package/dist/commands/upgrade-apply.js +8 -0
- package/dist/commands/upgrade-codemods.d.ts +47 -0
- package/dist/commands/upgrade-codemods.js +14 -0
- 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.d.ts +58 -0
- package/dist/commands/upgrade-planner.js +8 -0
- package/dist/commands/upgrade-report.d.ts +5 -0
- package/dist/commands/upgrade-report.js +8 -0
- package/dist/commands/upgrade-workspace.d.ts +2 -0
- package/dist/commands/upgrade-workspace.js +16 -0
- package/dist/commands/upgrade.d.ts +5 -0
- package/dist/commands/upgrade.js +37 -0
- package/dist/create/index.d.ts +5 -0
- package/dist/create/index.js +2 -0
- package/dist/create/planner.d.ts +3 -0
- package/dist/create/planner.js +85 -0
- package/dist/create/presets.d.ts +3 -0
- package/dist/create/presets.js +12 -0
- package/dist/create/types.d.ts +2 -0
- package/dist/create/types.js +1 -0
- package/dist/engine/blocks.d.ts +3 -0
- package/dist/engine/blocks.js +12 -0
- package/dist/engine/collector.d.ts +2 -0
- package/dist/engine/collector.js +8 -0
- package/dist/engine/config.d.ts +3 -0
- package/dist/engine/config.js +15 -0
- package/dist/engine/dependency-versions.d.ts +17 -0
- package/dist/engine/dependency-versions.js +12 -0
- package/dist/engine/executor.d.ts +3 -0
- package/dist/engine/executor.js +156 -0
- package/dist/engine/index.d.ts +10 -0
- package/dist/engine/index.js +54 -0
- package/dist/engine/names.d.ts +2 -0
- package/dist/engine/names.js +24 -0
- package/dist/engine/post-scaffold.d.ts +3 -0
- package/dist/engine/post-scaffold.js +8 -0
- package/dist/engine/preset.d.ts +3 -0
- package/dist/engine/preset.js +17 -0
- package/dist/engine/render-plan.d.ts +7 -0
- package/dist/engine/render-plan.js +9 -0
- package/dist/engine/template.d.ts +4 -0
- package/dist/engine/template.js +34 -0
- package/dist/engine/types.d.ts +2 -0
- package/dist/engine/types.js +8 -0
- package/dist/engine/workspace.d.ts +3 -0
- package/dist/engine/workspace.js +20 -0
- package/dist/index.d.ts +17 -397
- package/dist/index.js +7 -165
- package/dist/manifest.d.ts +71 -0
- package/dist/manifest.js +16 -0
- package/dist/output-mode.d.ts +2 -0
- package/dist/output-mode.js +10 -0
- package/dist/shared/outfitter-109s75x0.d.ts +76 -0
- package/dist/shared/outfitter-1fy7byz5.js +170 -0
- package/dist/shared/outfitter-1gmrtapz.js +325 -0
- package/dist/shared/outfitter-1h7k8xxt.js +29 -0
- package/dist/shared/outfitter-1tfa9hke.d.ts +55 -0
- package/dist/shared/outfitter-2nx0k4b3.d.ts +4 -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-3dq4r10s.d.ts +24 -0
- package/dist/shared/outfitter-3rcrvva8.js +103 -0
- package/dist/shared/outfitter-3tx3adgj.js +278 -0
- package/dist/shared/outfitter-4q1zfmvc.js +154 -0
- package/dist/shared/outfitter-4s9meh3j.js +221 -0
- package/dist/shared/outfitter-507ra35w.js +285 -0
- package/dist/shared/outfitter-56jq0rh2.d.ts +42 -0
- package/dist/shared/outfitter-58rn1sj1.d.ts +30 -0
- package/dist/shared/outfitter-5d9wbzhh.d.ts +19 -0
- package/dist/shared/outfitter-5j7zee11.d.ts +180 -0
- package/dist/shared/outfitter-5r6q2749.d.ts +18 -0
- package/dist/shared/outfitter-5vx1bp7h.js +41 -0
- package/dist/shared/outfitter-6ddf91vh.js +190 -0
- package/dist/shared/outfitter-6mpkh3zn.js +432 -0
- package/dist/shared/outfitter-6rtcemk7.d.ts +18 -0
- package/dist/shared/outfitter-6t7xeyg1.js +159 -0
- package/dist/shared/outfitter-738z4c37.js +262 -0
- package/dist/shared/outfitter-76k25svs.js +322 -0
- package/dist/shared/outfitter-7n7vsz95.js +101 -0
- package/dist/shared/outfitter-7q9fnbwa.js +60 -0
- package/dist/shared/outfitter-7r12fj7f.js +30 -0
- package/dist/shared/outfitter-8ggmja91.js +301 -0
- package/dist/shared/outfitter-8kmak0wc.d.ts +4 -0
- package/dist/shared/outfitter-8y2dfx6n.js +11 -0
- package/dist/shared/outfitter-940h0x7b.js +71 -0
- package/dist/shared/outfitter-954y4mzx.d.ts +5 -0
- package/dist/shared/outfitter-a79xrm12.d.ts +17 -0
- package/dist/shared/outfitter-b9cpnr7e.js +110 -0
- package/dist/shared/outfitter-bpr28y54.js +70 -0
- package/dist/shared/outfitter-c7sbs7es.js +92 -0
- package/dist/shared/outfitter-cyhzstz0.js +93 -0
- package/dist/shared/outfitter-cyvr4r8d.d.ts +67 -0
- package/dist/shared/outfitter-d0kqashd.d.ts +98 -0
- package/dist/shared/outfitter-dmfac1w9.js +306 -0
- package/dist/shared/outfitter-e84cr97g.js +232 -0
- package/dist/shared/outfitter-ec83h4v2.js +17 -0
- package/dist/shared/outfitter-eepj7rf7.js +4 -0
- package/dist/shared/outfitter-ekb6t1zz.js +35 -0
- 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-gdc7b7de.d.ts +5 -0
- package/dist/shared/outfitter-gyayfx5r.js +156 -0
- package/dist/shared/outfitter-h0wmtxw8.d.ts +23 -0
- package/dist/shared/outfitter-hcexcvxe.d.ts +25 -0
- package/dist/shared/outfitter-hf5bj2gq.js +117 -0
- package/dist/shared/outfitter-hsp8vy5m.d.ts +146 -0
- package/dist/shared/outfitter-htx4asgr.d.ts +52 -0
- package/dist/shared/outfitter-jwxggvz4.js +42 -0
- package/dist/shared/outfitter-ksyvwmb5.js +191 -0
- package/dist/shared/outfitter-m3ehh37q.d.ts +22 -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-px5sv5gn.js +321 -0
- package/dist/shared/outfitter-q1g58t85.js +8 -0
- package/dist/shared/outfitter-qsd5638j.js +378 -0
- 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-ssrtakh3.js +342 -0
- package/dist/shared/outfitter-ssynegbs.js +167 -0
- package/dist/shared/outfitter-svts4wk2.js +36 -0
- package/dist/shared/outfitter-tavatb5p.js +166 -0
- package/dist/shared/outfitter-tqznjgbm.js +44 -0
- package/dist/shared/outfitter-ttjr95y9.js +98 -0
- package/dist/shared/outfitter-wcrp7d7m.d.ts +5 -0
- package/dist/shared/outfitter-wkt0a0ra.js +67 -0
- package/dist/shared/outfitter-wrcqq29p.js +132 -0
- package/dist/shared/outfitter-wyg1tpp5.d.ts +43 -0
- package/dist/shared/outfitter-x0vpb7tj.js +126 -0
- package/dist/shared/outfitter-x39awx8g.js +146 -0
- package/dist/shared/outfitter-x4cc5xsq.js +168 -0
- package/dist/shared/outfitter-x8w5sjnd.d.ts +39 -0
- package/dist/shared/outfitter-xr6g13nz.d.ts +50 -0
- package/dist/shared/outfitter-xs94pkfe.js +106 -0
- package/dist/shared/outfitter-xwzjgswj.js +488 -0
- package/dist/shared/outfitter-y37yfehn.d.ts +37 -0
- package/dist/shared/outfitter-y6ee0k45.d.ts +18 -0
- package/dist/shared/outfitter-ydw7x6bh.js +61 -0
- package/dist/shared/outfitter-yhb23pjc.js +89 -0
- package/dist/shared/outfitter-ypcvwg1s.js +91 -0
- package/dist/shared/outfitter-yywcypw8.js +53 -0
- package/dist/shared/outfitter-znbqe5zy.d.ts +45 -0
- package/dist/shared/outfitter-zng6w0t9.d.ts +4 -0
- package/dist/targets/index.d.ts +4 -0
- package/dist/targets/index.js +28 -0
- package/dist/targets/registry.d.ts +3 -0
- package/dist/targets/registry.js +221 -0
- package/dist/targets/types.d.ts +2 -0
- package/dist/targets/types.js +1 -0
- package/package.json +194 -35
- package/dist/shared/chunk-3pwh8ys4.js +0 -6461
package/README.md
CHANGED
|
@@ -38,7 +38,8 @@ Top-level commands:
|
|
|
38
38
|
|
|
39
39
|
- `init [directory]` - Create a new project from scratch (interactive or scripted)
|
|
40
40
|
- `scaffold <target> [name]` - Add a new capability to an existing project
|
|
41
|
-
- `add <block>` - Add a tooling block (`claude`, `
|
|
41
|
+
- `add <block>` - Add a tooling block (`claude`, `linter`, `lefthook`, `bootstrap`, `scaffolding`)
|
|
42
|
+
- `docs <subject>` - Documentation discovery and export commands (`list|show|search|api|export`)
|
|
42
43
|
- `repo <action> <subject>` - Repository maintenance namespace (`check|sync|export`)
|
|
43
44
|
- `upgrade` - Check installed `@outfitter/*` versions and optionally show migration guidance
|
|
44
45
|
- `doctor` - Validate local environment and project dependencies
|
|
@@ -106,7 +107,7 @@ Examples:
|
|
|
106
107
|
```bash
|
|
107
108
|
outfitter scaffold mcp
|
|
108
109
|
outfitter scaffold lib shared-utils
|
|
109
|
-
outfitter scaffold cli admin-console --with
|
|
110
|
+
outfitter scaffold cli admin-console --with linter,lefthook
|
|
110
111
|
```
|
|
111
112
|
|
|
112
113
|
### `add`
|
|
@@ -127,7 +128,7 @@ Examples:
|
|
|
127
128
|
|
|
128
129
|
```bash
|
|
129
130
|
outfitter add scaffolding
|
|
130
|
-
outfitter add
|
|
131
|
+
outfitter add linter --dry-run
|
|
131
132
|
outfitter add list
|
|
132
133
|
```
|
|
133
134
|
|
|
@@ -144,7 +145,7 @@ outfitter repo export <subject> [options]
|
|
|
144
145
|
Current subjects:
|
|
145
146
|
|
|
146
147
|
- `check docs` - Validate generated package docs are up to date
|
|
147
|
-
- `sync docs` - Generate package docs
|
|
148
|
+
- `sync docs` - Generate package docs mirrors locally
|
|
148
149
|
- `export docs` - Export package and LLM docs artifacts
|
|
149
150
|
- `check exports` - Validate package export maps
|
|
150
151
|
- `check readme` - Validate README import examples
|
|
@@ -152,6 +153,7 @@ Current subjects:
|
|
|
152
153
|
- `check changeset` - Validate required changesets for package changes
|
|
153
154
|
- `check tree` - Assert no modified/untracked files
|
|
154
155
|
- `check boundary-invocations` - Disallow direct `packages/*/src` execution from root/app scripts
|
|
156
|
+
- `check markdown-links` - Validate markdown relative links resolve to files
|
|
155
157
|
|
|
156
158
|
Examples:
|
|
157
159
|
|
|
@@ -163,6 +165,28 @@ outfitter repo check exports --json
|
|
|
163
165
|
outfitter repo check readme
|
|
164
166
|
```
|
|
165
167
|
|
|
168
|
+
### `docs`
|
|
169
|
+
|
|
170
|
+
Discover and export documentation from the workspace docs map.
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
outfitter docs list [options]
|
|
174
|
+
outfitter docs show <id> [options]
|
|
175
|
+
outfitter docs search <query> [options]
|
|
176
|
+
outfitter docs api [options]
|
|
177
|
+
outfitter docs export [options]
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Examples:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
outfitter docs list --kind reference
|
|
184
|
+
outfitter docs show cli/README.md
|
|
185
|
+
outfitter docs search "surface map" --package schema
|
|
186
|
+
outfitter docs api --level undocumented --package cli
|
|
187
|
+
outfitter docs export --target llms-full
|
|
188
|
+
```
|
|
189
|
+
|
|
166
190
|
### `upgrade`
|
|
167
191
|
|
|
168
192
|
Check installed `@outfitter/*` packages against npm versions.
|
|
@@ -231,6 +255,10 @@ outfitter schema diff # Compare runtime vs committed
|
|
|
231
255
|
outfitter schema diff --output json # Structured diff as JSON
|
|
232
256
|
```
|
|
233
257
|
|
|
258
|
+
Canonical artifact policy: commit root `.outfitter/surface.json` only. Do not
|
|
259
|
+
commit `apps/outfitter/.outfitter/surface.json`.
|
|
260
|
+
Surface map formatting is enforced by `outfitter check surface-map-format`.
|
|
261
|
+
|
|
234
262
|
### `check`
|
|
235
263
|
|
|
236
264
|
Compare local config blocks against the registry for drift detection.
|
|
@@ -309,7 +337,7 @@ if (result.isErr()) {
|
|
|
309
337
|
|
|
310
338
|
## Requirements
|
|
311
339
|
|
|
312
|
-
- Bun >= 1.3.
|
|
340
|
+
- Bun >= 1.3.10
|
|
313
341
|
|
|
314
342
|
## Related Packages
|
|
315
343
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface AddActionInput {
|
|
4
|
+
readonly block: string;
|
|
5
|
+
readonly cwd?: string | undefined;
|
|
6
|
+
readonly dryRun: boolean;
|
|
7
|
+
readonly force: boolean;
|
|
8
|
+
readonly outputMode: CliOutputMode;
|
|
9
|
+
}
|
|
10
|
+
type AddAction = ReturnType<typeof defineAction<AddActionInput, unknown>>;
|
|
11
|
+
/** Add a block from the registry to the current project. */
|
|
12
|
+
declare const addAction: AddAction;
|
|
13
|
+
type ListBlocksAction = ReturnType<typeof defineAction<{
|
|
14
|
+
outputMode: CliOutputMode;
|
|
15
|
+
}, unknown>>;
|
|
16
|
+
/** List all blocks available in the registry. */
|
|
17
|
+
declare const listBlocksAction: ListBlocksAction;
|
|
18
|
+
export { listBlocksAction, addAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
addAction,
|
|
4
|
+
listBlocksAction
|
|
5
|
+
} from "../shared/outfitter-3rcrvva8.js";
|
|
6
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
7
|
+
import"../shared/outfitter-3tx3adgj.js";
|
|
8
|
+
import"../shared/outfitter-ypcvwg1s.js";
|
|
9
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
10
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
11
|
+
export {
|
|
12
|
+
listBlocksAction,
|
|
13
|
+
addAction
|
|
14
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface CheckAutomationInput {
|
|
4
|
+
cwd: string;
|
|
5
|
+
outputMode: CliOutputMode;
|
|
6
|
+
}
|
|
7
|
+
type CheckAutomationAction = ReturnType<typeof defineAction<CheckAutomationInput, unknown>>;
|
|
8
|
+
/** Validate that publishable packages enforce prepublishOnly guardrails. */
|
|
9
|
+
declare const checkPublishGuardrailsAction: CheckAutomationAction;
|
|
10
|
+
/** Validate preset dependency versions, registry versions, and Bun version consistency. */
|
|
11
|
+
declare const checkPresetVersionsAction: CheckAutomationAction;
|
|
12
|
+
/** Validate that surface map references use the canonical root path only. */
|
|
13
|
+
declare const checkSurfaceMapAction: CheckAutomationAction;
|
|
14
|
+
/** Validate canonical JSON formatting of `.outfitter/surface.json`. */
|
|
15
|
+
declare const checkSurfaceMapFormatAction: CheckAutomationAction;
|
|
16
|
+
/** Validate that the `docs/README.md` PACKAGE_LIST sentinel is up to date. */
|
|
17
|
+
declare const checkDocsSentinelAction: CheckAutomationAction;
|
|
18
|
+
/** Validate action ceremony guardrails (TSDoc, input schemas, handler patterns). */
|
|
19
|
+
declare const checkActionCeremonyAction: CheckAutomationAction;
|
|
20
|
+
export { checkSurfaceMapFormatAction, checkSurfaceMapAction, checkPublishGuardrailsAction, checkPresetVersionsAction, checkDocsSentinelAction, checkActionCeremonyAction };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
checkActionCeremonyAction,
|
|
4
|
+
checkDocsSentinelAction,
|
|
5
|
+
checkPresetVersionsAction,
|
|
6
|
+
checkPublishGuardrailsAction,
|
|
7
|
+
checkSurfaceMapAction,
|
|
8
|
+
checkSurfaceMapFormatAction
|
|
9
|
+
} from "../shared/outfitter-mstr60zz.js";
|
|
10
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
11
|
+
import"../shared/outfitter-fj2v5ffz.js";
|
|
12
|
+
import"../shared/outfitter-gyayfx5r.js";
|
|
13
|
+
import"../shared/outfitter-p2wn07b7.js";
|
|
14
|
+
import"../shared/outfitter-b9cpnr7e.js";
|
|
15
|
+
import"../shared/outfitter-8ggmja91.js";
|
|
16
|
+
import"../shared/outfitter-ssynegbs.js";
|
|
17
|
+
import"../shared/outfitter-svts4wk2.js";
|
|
18
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
19
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
20
|
+
export {
|
|
21
|
+
checkSurfaceMapFormatAction,
|
|
22
|
+
checkSurfaceMapAction,
|
|
23
|
+
checkPublishGuardrailsAction,
|
|
24
|
+
checkPresetVersionsAction,
|
|
25
|
+
checkDocsSentinelAction,
|
|
26
|
+
checkActionCeremonyAction
|
|
27
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CheckOrchestratorMode } from "../shared/outfitter-rdpw2sbp.js";
|
|
2
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
3
|
+
import { defineAction, InternalError, ValidationError } from "@outfitter/contracts";
|
|
4
|
+
import { TsDocCheckResult } from "@outfitter/tooling";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
interface CheckActionInput {
|
|
7
|
+
readonly block?: string | undefined;
|
|
8
|
+
readonly compact: boolean;
|
|
9
|
+
readonly cwd: string;
|
|
10
|
+
readonly manifestOnly: boolean;
|
|
11
|
+
readonly mode?: CheckOrchestratorMode | undefined;
|
|
12
|
+
readonly outputMode: CliOutputMode;
|
|
13
|
+
readonly stagedFiles?: string[] | undefined;
|
|
14
|
+
readonly verbose: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface CheckTsDocActionInput {
|
|
17
|
+
readonly cwd: string;
|
|
18
|
+
readonly jq?: string | undefined;
|
|
19
|
+
readonly level?: "documented" | "partial" | "undocumented" | undefined;
|
|
20
|
+
readonly minCoverage: number;
|
|
21
|
+
readonly outputMode: CliOutputMode;
|
|
22
|
+
readonly packages: string[];
|
|
23
|
+
readonly strict: boolean;
|
|
24
|
+
readonly summary: boolean;
|
|
25
|
+
}
|
|
26
|
+
type CheckAction = ReturnType<typeof defineAction<CheckActionInput, unknown>>;
|
|
27
|
+
type CheckTsdocAction = ReturnType<typeof defineAction<CheckTsDocActionInput, TsDocCheckResult, ValidationError | InternalError>>;
|
|
28
|
+
/** Compare local config blocks against the registry for drift, or orchestrate a suite of checks. */
|
|
29
|
+
declare const checkAction: CheckAction;
|
|
30
|
+
/** Zod schema describing the output shape of a TSDoc coverage check. */
|
|
31
|
+
declare const checkTsdocOutputSchema: z.ZodType<TsDocCheckResult>;
|
|
32
|
+
/** Check TSDoc coverage on exported declarations across workspace packages. */
|
|
33
|
+
declare const checkTsdocAction: CheckTsdocAction;
|
|
34
|
+
export { checkTsdocOutputSchema, checkTsdocAction, checkAction };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
checkAction,
|
|
4
|
+
checkTsdocAction,
|
|
5
|
+
checkTsdocOutputSchema
|
|
6
|
+
} from "../shared/outfitter-dmfac1w9.js";
|
|
7
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
8
|
+
import"../shared/outfitter-xwzjgswj.js";
|
|
9
|
+
import"../shared/outfitter-507ra35w.js";
|
|
10
|
+
import"../shared/outfitter-ssrtakh3.js";
|
|
11
|
+
import"../shared/outfitter-5vx1bp7h.js";
|
|
12
|
+
import"../shared/outfitter-ypcvwg1s.js";
|
|
13
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
14
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
15
|
+
export {
|
|
16
|
+
checkTsdocOutputSchema,
|
|
17
|
+
checkTsdocAction,
|
|
18
|
+
checkAction
|
|
19
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface DemoActionInput {
|
|
4
|
+
readonly animate?: boolean | undefined;
|
|
5
|
+
readonly list?: boolean | undefined;
|
|
6
|
+
readonly outputMode: CliOutputMode;
|
|
7
|
+
readonly section?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
type DemoAction = ReturnType<typeof defineAction<DemoActionInput, unknown>>;
|
|
10
|
+
/** Run the interactive CLI demo showcasing TUI components and output modes. */
|
|
11
|
+
declare const demoAction: DemoAction;
|
|
12
|
+
export { demoAction };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
demoAction
|
|
4
|
+
} from "../shared/outfitter-wkt0a0ra.js";
|
|
5
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
6
|
+
import"../shared/outfitter-ksyvwmb5.js";
|
|
7
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
8
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
9
|
+
export {
|
|
10
|
+
demoAction
|
|
11
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DocsListInput } from "../shared/outfitter-znbqe5zy.js";
|
|
2
|
+
import { DocsApiInput } from "../shared/outfitter-2ysjerp6.js";
|
|
3
|
+
import { DocsSearchInput } from "../shared/outfitter-nxvjxrmw.js";
|
|
4
|
+
import { DocsExportInput } from "../shared/outfitter-x8w5sjnd.js";
|
|
5
|
+
import "../shared/outfitter-h0wmtxw8.js";
|
|
6
|
+
import { DocsShowInput } from "../shared/outfitter-wyg1tpp5.js";
|
|
7
|
+
import "../shared/outfitter-a79xrm12.js";
|
|
8
|
+
import "../shared/outfitter-1tfa9hke.js";
|
|
9
|
+
import { defineAction } from "@outfitter/contracts";
|
|
10
|
+
type DocsListAction = ReturnType<typeof defineAction<DocsListInput, unknown>>;
|
|
11
|
+
/** List documentation entries from the workspace docs map. */
|
|
12
|
+
declare const docsListAction: DocsListAction;
|
|
13
|
+
type DocsShowAction = ReturnType<typeof defineAction<DocsShowInput, unknown>>;
|
|
14
|
+
/** Show a specific documentation entry by ID, including its content. */
|
|
15
|
+
declare const docsShowAction: DocsShowAction;
|
|
16
|
+
type DocsSearchAction = ReturnType<typeof defineAction<DocsSearchInput, unknown>>;
|
|
17
|
+
/** Search documentation content for a query string. */
|
|
18
|
+
declare const docsSearchAction: DocsSearchAction;
|
|
19
|
+
type DocsApiAction = ReturnType<typeof defineAction<DocsApiInput, unknown>>;
|
|
20
|
+
/** Extract API reference from TSDoc coverage data. */
|
|
21
|
+
declare const docsApiAction: DocsApiAction;
|
|
22
|
+
type DocsExportAction = ReturnType<typeof defineAction<DocsExportInput, unknown>>;
|
|
23
|
+
/** Export documentation to package READMEs, llms.txt, or both. */
|
|
24
|
+
declare const docsExportAction: DocsExportAction;
|
|
25
|
+
export { docsShowAction, docsSearchAction, docsListAction, docsExportAction, docsApiAction };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
docsApiAction,
|
|
4
|
+
docsExportAction,
|
|
5
|
+
docsListAction,
|
|
6
|
+
docsSearchAction,
|
|
7
|
+
docsShowAction
|
|
8
|
+
} from "../shared/outfitter-1gmrtapz.js";
|
|
9
|
+
import"../shared/outfitter-dmfac1w9.js";
|
|
10
|
+
import"../shared/outfitter-ec83h4v2.js";
|
|
11
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
12
|
+
import"../shared/outfitter-yhb23pjc.js";
|
|
13
|
+
import"../shared/outfitter-xwzjgswj.js";
|
|
14
|
+
import"../shared/outfitter-cyhzstz0.js";
|
|
15
|
+
import"../shared/outfitter-hf5bj2gq.js";
|
|
16
|
+
import"../shared/outfitter-940h0x7b.js";
|
|
17
|
+
import"../shared/outfitter-507ra35w.js";
|
|
18
|
+
import"../shared/outfitter-ssrtakh3.js";
|
|
19
|
+
import"../shared/outfitter-c7sbs7es.js";
|
|
20
|
+
import"../shared/outfitter-5vx1bp7h.js";
|
|
21
|
+
import"../shared/outfitter-svts4wk2.js";
|
|
22
|
+
import"../shared/outfitter-ypcvwg1s.js";
|
|
23
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
24
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
25
|
+
export {
|
|
26
|
+
docsShowAction,
|
|
27
|
+
docsSearchAction,
|
|
28
|
+
docsListAction,
|
|
29
|
+
docsExportAction,
|
|
30
|
+
docsApiAction
|
|
31
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface DoctorActionInput {
|
|
4
|
+
readonly cwd: string;
|
|
5
|
+
readonly outputMode: CliOutputMode;
|
|
6
|
+
}
|
|
7
|
+
type DoctorAction = ReturnType<typeof defineAction<DoctorActionInput, unknown>>;
|
|
8
|
+
/** Validate the local environment, toolchain, and project dependencies. */
|
|
9
|
+
declare const doctorAction: DoctorAction;
|
|
10
|
+
export { doctorAction };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
doctorAction
|
|
4
|
+
} from "../shared/outfitter-ex8gn945.js";
|
|
5
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
6
|
+
import"../shared/outfitter-px5sv5gn.js";
|
|
7
|
+
import"../shared/outfitter-q1g58t85.js";
|
|
8
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
9
|
+
import"../shared/outfitter-1fy7byz5.js";
|
|
10
|
+
import"../shared/outfitter-4q1zfmvc.js";
|
|
11
|
+
import"../shared/outfitter-8y2dfx6n.js";
|
|
12
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
13
|
+
export {
|
|
14
|
+
doctorAction
|
|
15
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { InitOptions } from "../shared/outfitter-d0kqashd.js";
|
|
3
|
+
import "../shared/outfitter-r2awqszh.js";
|
|
4
|
+
import "../shared/outfitter-5d9wbzhh.js";
|
|
5
|
+
import "../shared/outfitter-y784nh31.js";
|
|
6
|
+
import "../shared/outfitter-5r6q2749.js";
|
|
7
|
+
import "../shared/outfitter-58rn1sj1.js";
|
|
8
|
+
import "../shared/outfitter-hcexcvxe.js";
|
|
9
|
+
import "../shared/outfitter-xr6g13nz.js";
|
|
10
|
+
import { ActionSpec, InternalError } from "@outfitter/contracts";
|
|
11
|
+
interface InitActionInput extends InitOptions {
|
|
12
|
+
outputMode: CliOutputMode;
|
|
13
|
+
}
|
|
14
|
+
/** Removed stub -- directs users to `outfitter init`. */
|
|
15
|
+
declare const createAction: ActionSpec<{}, unknown, InternalError>;
|
|
16
|
+
/** Create a new Outfitter project with an optional preset. */
|
|
17
|
+
declare const initAction: ActionSpec<InitActionInput, unknown>;
|
|
18
|
+
/** Create a new CLI project using the `cli` preset. */
|
|
19
|
+
declare const initCliAction: ActionSpec<InitActionInput, unknown>;
|
|
20
|
+
/** Create a new MCP server project using the `mcp` preset. */
|
|
21
|
+
declare const initMcpAction: ActionSpec<InitActionInput, unknown>;
|
|
22
|
+
/** Create a new daemon project using the `daemon` preset. */
|
|
23
|
+
declare const initDaemonAction: ActionSpec<InitActionInput, unknown>;
|
|
24
|
+
/** Create a new library project using the `library` preset. */
|
|
25
|
+
declare const initLibraryAction: ActionSpec<InitActionInput, unknown>;
|
|
26
|
+
/** Create a full-stack workspace with CLI, MCP, daemon, and library targets. */
|
|
27
|
+
declare const initFullStackAction: ActionSpec<InitActionInput, unknown>;
|
|
28
|
+
export { initMcpAction, initLibraryAction, initFullStackAction, initDaemonAction, initCliAction, initAction, createAction };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createAction,
|
|
4
|
+
initAction,
|
|
5
|
+
initCliAction,
|
|
6
|
+
initDaemonAction,
|
|
7
|
+
initFullStackAction,
|
|
8
|
+
initLibraryAction,
|
|
9
|
+
initMcpAction
|
|
10
|
+
} from "../shared/outfitter-738z4c37.js";
|
|
11
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
12
|
+
import"../shared/outfitter-6mpkh3zn.js";
|
|
13
|
+
import"../shared/outfitter-n0ed012k.js";
|
|
14
|
+
import"../shared/outfitter-2z61gp5w.js";
|
|
15
|
+
import"../shared/outfitter-tavatb5p.js";
|
|
16
|
+
import"../shared/outfitter-g3hvjshg.js";
|
|
17
|
+
import"../shared/outfitter-q1g58t85.js";
|
|
18
|
+
import"../shared/outfitter-4s9meh3j.js";
|
|
19
|
+
import"../shared/outfitter-ttjr95y9.js";
|
|
20
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
21
|
+
import"../shared/outfitter-1h7k8xxt.js";
|
|
22
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
23
|
+
export {
|
|
24
|
+
initMcpAction,
|
|
25
|
+
initLibraryAction,
|
|
26
|
+
initFullStackAction,
|
|
27
|
+
initDaemonAction,
|
|
28
|
+
initCliAction,
|
|
29
|
+
initAction,
|
|
30
|
+
createAction
|
|
31
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface ScaffoldActionInput {
|
|
4
|
+
cwd: string;
|
|
5
|
+
dryRun: boolean;
|
|
6
|
+
force: boolean;
|
|
7
|
+
installTimeout?: number | undefined;
|
|
8
|
+
local?: boolean | undefined;
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
noTooling?: boolean | undefined;
|
|
11
|
+
outputMode: CliOutputMode;
|
|
12
|
+
skipInstall: boolean;
|
|
13
|
+
target: string;
|
|
14
|
+
with?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
type ScaffoldAction = ReturnType<typeof defineAction<ScaffoldActionInput, unknown>>;
|
|
17
|
+
/** Add a capability (CLI, MCP, daemon, library) to an existing project. */
|
|
18
|
+
declare const scaffoldAction: ScaffoldAction;
|
|
19
|
+
export { scaffoldAction };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
scaffoldAction
|
|
4
|
+
} from "../shared/outfitter-xs94pkfe.js";
|
|
5
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
6
|
+
import"../shared/outfitter-6ddf91vh.js";
|
|
7
|
+
import"../shared/outfitter-qsd5638j.js";
|
|
8
|
+
import"../shared/outfitter-g3hvjshg.js";
|
|
9
|
+
import"../shared/outfitter-q1g58t85.js";
|
|
10
|
+
import"../shared/outfitter-qsrx7m4w.js";
|
|
11
|
+
import"../shared/outfitter-4s9meh3j.js";
|
|
12
|
+
import"../shared/outfitter-ttjr95y9.js";
|
|
13
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
14
|
+
import"../shared/outfitter-1fy7byz5.js";
|
|
15
|
+
import"../shared/outfitter-4q1zfmvc.js";
|
|
16
|
+
import"../shared/outfitter-8y2dfx6n.js";
|
|
17
|
+
import"../shared/outfitter-1h7k8xxt.js";
|
|
18
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
19
|
+
export {
|
|
20
|
+
scaffoldAction
|
|
21
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { InternalError, Result } from "@outfitter/contracts";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
/** Zod schema for CLI output mode with "human" as the default. */
|
|
4
|
+
declare const outputModeSchema: z.ZodType<"human" | "json" | "jsonl">;
|
|
5
|
+
/**
|
|
6
|
+
* Detect whether the user explicitly passed an output mode flag.
|
|
7
|
+
*
|
|
8
|
+
* Returns `true` when the resolved mode differs from the default,
|
|
9
|
+
* or when `-o`/`--output` appears in the raw argv.
|
|
10
|
+
*/
|
|
11
|
+
declare function hasExplicitOutputFlag(flags: Record<string, unknown>, options?: {
|
|
12
|
+
readonly argv?: readonly string[];
|
|
13
|
+
readonly defaultMode?: "human" | "json" | "jsonl";
|
|
14
|
+
}): boolean;
|
|
15
|
+
/** Coerce a flag value to a non-empty string, or `undefined`. */
|
|
16
|
+
declare function resolveStringFlag(value: unknown): string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Resolve the `--no-tooling` / `--tooling` flag pair.
|
|
19
|
+
*
|
|
20
|
+
* Returns `true` to include tooling, `false` to skip, or `undefined`
|
|
21
|
+
* when neither flag was provided.
|
|
22
|
+
*/
|
|
23
|
+
declare function resolveNoToolingFlag(flags: {
|
|
24
|
+
readonly noTooling?: unknown;
|
|
25
|
+
readonly tooling?: unknown;
|
|
26
|
+
}): boolean | undefined;
|
|
27
|
+
/** Resolve `--local` or its `--workspace` alias to a boolean, or `undefined` when absent. */
|
|
28
|
+
declare function resolveLocalFlag(flags: {
|
|
29
|
+
readonly local?: unknown;
|
|
30
|
+
readonly workspace?: unknown;
|
|
31
|
+
}): boolean | undefined;
|
|
32
|
+
/** Parse `--install-timeout` as an integer, accepting string or number input. */
|
|
33
|
+
declare function resolveInstallTimeoutFlag(value: unknown): number | undefined;
|
|
34
|
+
interface CwdPresetResolver {
|
|
35
|
+
resolve(flags: Record<string, unknown>): {
|
|
36
|
+
cwd: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/** Resolve the working directory from a `cwdPreset`, making relative paths absolute. */
|
|
40
|
+
declare function resolveCwdFromPreset(flags: Record<string, unknown>, cwdPreset: CwdPresetResolver): string;
|
|
41
|
+
/**
|
|
42
|
+
* Resolve output mode with environment variable fallback.
|
|
43
|
+
*
|
|
44
|
+
* When the user did not pass an explicit flag, checks
|
|
45
|
+
* `OUTFITTER_JSONL` and `OUTFITTER_JSON` before defaulting to "human".
|
|
46
|
+
*/
|
|
47
|
+
declare function resolveOutputModeWithEnvFallback(flags: Record<string, unknown>, explicitMode: "human" | "json" | "jsonl", options?: {
|
|
48
|
+
readonly forceHumanWhenImplicit?: boolean;
|
|
49
|
+
}): "human" | "json" | "jsonl";
|
|
50
|
+
/** Resolve a boolean flag that may appear under either its camelCase key or its kebab-case alias. */
|
|
51
|
+
declare function resolveBooleanFlagAlias(flags: Record<string, unknown>, key: string, alias: string): boolean;
|
|
52
|
+
interface ActionBoundaryErrorLike {
|
|
53
|
+
readonly message: string;
|
|
54
|
+
}
|
|
55
|
+
/** Wrap an error at the action boundary into a tagged `InternalError`. */
|
|
56
|
+
declare function toActionInternalError(action: string, error: ActionBoundaryErrorLike): InternalError;
|
|
57
|
+
/** Shorthand for returning `Result.err` with a tagged `InternalError` from an action handler. */
|
|
58
|
+
declare function actionInternalErr<T = never>(action: string, error: ActionBoundaryErrorLike): Result<T, InternalError>;
|
|
59
|
+
/** Convert an `unknown` catch value into a tagged `InternalError`, using a fallback message for non-Error values. */
|
|
60
|
+
declare function toActionInternalErrorFromUnknown(action: string, error: unknown, fallbackMessage: string): InternalError;
|
|
61
|
+
export { toActionInternalErrorFromUnknown, toActionInternalError, resolveStringFlag, resolveOutputModeWithEnvFallback, resolveNoToolingFlag, resolveLocalFlag, resolveInstallTimeoutFlag, resolveCwdFromPreset, resolveBooleanFlagAlias, outputModeSchema, hasExplicitOutputFlag, actionInternalErr };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
actionInternalErr,
|
|
4
|
+
hasExplicitOutputFlag,
|
|
5
|
+
outputModeSchema,
|
|
6
|
+
resolveBooleanFlagAlias,
|
|
7
|
+
resolveCwdFromPreset,
|
|
8
|
+
resolveInstallTimeoutFlag,
|
|
9
|
+
resolveLocalFlag,
|
|
10
|
+
resolveNoToolingFlag,
|
|
11
|
+
resolveOutputModeWithEnvFallback,
|
|
12
|
+
resolveStringFlag,
|
|
13
|
+
toActionInternalError,
|
|
14
|
+
toActionInternalErrorFromUnknown
|
|
15
|
+
} from "../shared/outfitter-7n7vsz95.js";
|
|
16
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
17
|
+
export {
|
|
18
|
+
toActionInternalErrorFromUnknown,
|
|
19
|
+
toActionInternalError,
|
|
20
|
+
resolveStringFlag,
|
|
21
|
+
resolveOutputModeWithEnvFallback,
|
|
22
|
+
resolveNoToolingFlag,
|
|
23
|
+
resolveLocalFlag,
|
|
24
|
+
resolveInstallTimeoutFlag,
|
|
25
|
+
resolveCwdFromPreset,
|
|
26
|
+
resolveBooleanFlagAlias,
|
|
27
|
+
outputModeSchema,
|
|
28
|
+
hasExplicitOutputFlag,
|
|
29
|
+
actionInternalErr
|
|
30
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CliOutputMode } from "../shared/outfitter-a79xrm12.js";
|
|
2
|
+
import { defineAction } from "@outfitter/contracts";
|
|
3
|
+
interface UpgradeActionInput {
|
|
4
|
+
readonly all: boolean;
|
|
5
|
+
readonly cwd: string;
|
|
6
|
+
readonly dryRun: boolean;
|
|
7
|
+
readonly guide: boolean;
|
|
8
|
+
readonly guidePackages?: string[] | undefined;
|
|
9
|
+
readonly interactive: boolean;
|
|
10
|
+
readonly noCodemods: boolean;
|
|
11
|
+
readonly outputMode: CliOutputMode;
|
|
12
|
+
readonly yes: boolean;
|
|
13
|
+
}
|
|
14
|
+
type UpgradeAction = ReturnType<typeof defineAction<UpgradeActionInput, unknown>>;
|
|
15
|
+
/** Check for available `@outfitter/*` package updates and show migration guidance. */
|
|
16
|
+
declare const upgradeAction: UpgradeAction;
|
|
17
|
+
export { upgradeAction };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
upgradeAction
|
|
4
|
+
} from "../shared/outfitter-rp89dafm.js";
|
|
5
|
+
import"../shared/outfitter-7n7vsz95.js";
|
|
6
|
+
import"../shared/outfitter-fxry5n58.js";
|
|
7
|
+
import"../shared/outfitter-76k25svs.js";
|
|
8
|
+
import"../shared/outfitter-jwxggvz4.js";
|
|
9
|
+
import"../shared/outfitter-x4cc5xsq.js";
|
|
10
|
+
import"../shared/outfitter-f3a70135.js";
|
|
11
|
+
import"../shared/outfitter-bpr28y54.js";
|
|
12
|
+
import"../shared/outfitter-n13pqaft.js";
|
|
13
|
+
import"../shared/outfitter-x0vpb7tj.js";
|
|
14
|
+
import"../shared/outfitter-fx1m251y.js";
|
|
15
|
+
import"../shared/outfitter-s1c0whzj.js";
|
|
16
|
+
import"../shared/outfitter-7q9fnbwa.js";
|
|
17
|
+
import"../shared/outfitter-7r12fj7f.js";
|
|
18
|
+
import"../shared/outfitter-eepj7rf7.js";
|
|
19
|
+
export {
|
|
20
|
+
upgradeAction
|
|
21
|
+
};
|