outfitter 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add.d.ts +1 -1
- package/dist/actions/add.js +6 -5
- package/dist/actions/check-automation.d.ts +4 -2
- package/dist/actions/check-automation.js +13 -9
- package/dist/actions/check.d.ts +2 -2
- package/dist/actions/check.js +6 -6
- package/dist/actions/demo.d.ts +1 -1
- package/dist/actions/demo.js +3 -4
- package/dist/actions/docs.d.ts +7 -7
- package/dist/actions/docs.js +12 -13
- package/dist/actions/doctor.d.ts +1 -1
- package/dist/actions/doctor.js +8 -7
- package/dist/actions/init.d.ts +9 -7
- package/dist/actions/init.js +12 -10
- package/dist/actions/scaffold.d.ts +1 -1
- package/dist/actions/scaffold.js +14 -12
- package/dist/actions/shared.d.ts +1 -20
- package/dist/actions/shared.js +1 -5
- package/dist/actions/upgrade.d.ts +10 -2
- package/dist/actions/upgrade.js +15 -8
- package/dist/actions.js +51 -48
- package/dist/cli.js +51 -48
- package/dist/commands/add.js +4 -3
- package/dist/commands/check-action-ceremony.d.ts +1 -1
- package/dist/commands/check-action-ceremony.js +2 -2
- package/dist/commands/check-action-registry.d.ts +52 -0
- package/dist/commands/check-action-registry.js +13 -0
- package/dist/commands/check-docs-sentinel.d.ts +1 -1
- package/dist/commands/check-docs-sentinel.js +2 -2
- package/dist/commands/check-orchestrator.d.ts +1 -1
- package/dist/commands/check-orchestrator.js +2 -2
- package/dist/commands/check-preset-versions.d.ts +4 -2
- package/dist/commands/check-preset-versions.js +8 -3
- package/dist/commands/check-publish-guardrails.d.ts +1 -1
- package/dist/commands/check-publish-guardrails.js +2 -2
- package/dist/commands/check-surface-map-format.d.ts +1 -1
- package/dist/commands/check-surface-map-format.js +2 -2
- package/dist/commands/check-surface-map.d.ts +1 -1
- package/dist/commands/check-surface-map.js +2 -2
- package/dist/commands/check-tsdoc.d.ts +2 -2
- package/dist/commands/check.js +3 -3
- package/dist/commands/demo.d.ts +1 -1
- package/dist/commands/demo.js +1 -1
- package/dist/commands/docs-api.d.ts +3 -3
- package/dist/commands/docs-api.js +2 -2
- package/dist/commands/docs-export.d.ts +2 -2
- package/dist/commands/docs-export.js +2 -2
- package/dist/commands/docs-list.d.ts +2 -2
- package/dist/commands/docs-list.js +2 -2
- package/dist/commands/docs-search.d.ts +2 -2
- package/dist/commands/docs-search.js +2 -2
- package/dist/commands/docs-show.d.ts +2 -2
- package/dist/commands/docs-show.js +2 -2
- package/dist/commands/doctor.js +6 -5
- package/dist/commands/init-execution.d.ts +5 -5
- package/dist/commands/init-execution.js +6 -4
- package/dist/commands/init-option-resolution.d.ts +3 -3
- package/dist/commands/init-option-resolution.js +1 -1
- package/dist/commands/init-output.d.ts +5 -5
- package/dist/commands/init-output.js +3 -3
- package/dist/commands/init.d.ts +5 -5
- package/dist/commands/init.js +9 -9
- package/dist/commands/scaffold-output.js +3 -3
- package/dist/commands/scaffold-planning.d.ts +9 -10
- package/dist/commands/scaffold-planning.js +6 -4
- package/dist/commands/scaffold.js +12 -10
- package/dist/commands/shared-deps.js +2 -2
- package/dist/commands/upgrade-codemod-builder.d.ts +45 -0
- package/dist/commands/upgrade-codemod-builder.js +14 -0
- package/dist/commands/upgrade-output.js +2 -2
- package/dist/commands/upgrade-workspace.js +5 -1
- package/dist/commands/upgrade.js +9 -5
- package/dist/create/index.d.ts +1 -1
- package/dist/create/planner.js +1 -1
- package/dist/engine/blocks.d.ts +2 -2
- package/dist/engine/blocks.js +5 -4
- package/dist/engine/config.d.ts +2 -2
- package/dist/engine/config.js +6 -5
- package/dist/engine/dependency-versions.d.ts +11 -3
- package/dist/engine/dependency-versions.js +6 -2
- package/dist/engine/executor.d.ts +2 -2
- package/dist/engine/executor.js +23 -10
- package/dist/engine/index.d.ts +8 -9
- package/dist/engine/index.js +1 -5
- package/dist/engine/package-json.d.ts +3 -0
- package/dist/engine/package-json.js +10 -0
- package/dist/engine/post-scaffold.js +1 -1
- package/dist/engine/preset.d.ts +3 -3
- package/dist/engine/preset.js +4 -2
- package/dist/engine/render-plan.js +2 -2
- package/dist/engine/types.d.ts +1 -1
- package/dist/engine/workspace.d.ts +2 -2
- package/dist/engine/workspace.js +3 -2
- package/dist/index.d.ts +7 -7
- package/dist/manifest.js +1 -1
- package/dist/output-mode.d.ts +2 -2
- package/dist/output-mode.js +2 -4
- package/dist/scaffold-e2e/cli.d.ts +19 -0
- package/dist/scaffold-e2e/cli.js +14 -0
- package/dist/scaffold-e2e/config.d.ts +6 -0
- package/dist/scaffold-e2e/config.js +14 -0
- package/dist/scaffold-e2e/runner.d.ts +29 -0
- package/dist/scaffold-e2e/runner.js +17 -0
- package/dist/scaffold-e2e/template-guardrails.d.ts +25 -0
- package/dist/scaffold-e2e/template-guardrails.js +183 -0
- package/dist/scaffold-e2e/workspace.d.ts +27 -0
- package/dist/scaffold-e2e/workspace.js +18 -0
- package/dist/scripts/scaffold-e2e.js +78 -0
- package/dist/shared/{outfitter-qsrx7m4w.js → outfitter-00wxeg2g.js} +8 -8
- package/dist/shared/{outfitter-ex8gn945.js → outfitter-0cspz333.js} +4 -6
- package/dist/shared/{outfitter-rp89dafm.js → outfitter-0xp447gf.js} +55 -8
- package/dist/shared/outfitter-0zs8makw.js +94 -0
- package/dist/shared/{outfitter-5d9wbzhh.d.ts → outfitter-11r5ny73.d.ts} +2 -2
- package/dist/shared/{outfitter-gyayfx5r.js → outfitter-18s82np1.js} +1 -1
- package/dist/shared/{outfitter-954y4mzx.d.ts → outfitter-1dekqnaw.d.ts} +1 -1
- package/dist/shared/{outfitter-6t7xeyg1.js → outfitter-1t8gjzw6.js} +91 -3
- package/dist/shared/{outfitter-tqznjgbm.js → outfitter-23159bef.js} +6 -3
- package/dist/shared/{outfitter-y6ee0k45.d.ts → outfitter-232ean4v.d.ts} +1 -1
- package/dist/shared/{outfitter-3rcrvva8.js → outfitter-247et71q.js} +8 -8
- package/dist/shared/{outfitter-xs94pkfe.js → outfitter-3f261xh0.js} +5 -7
- package/dist/shared/outfitter-4bs5a2n4.js +31 -0
- package/dist/shared/{outfitter-76k25svs.js → outfitter-4c4q091c.js} +6 -28
- package/dist/shared/{outfitter-738z4c37.js → outfitter-4t818mq5.js} +21 -9
- package/dist/shared/{outfitter-4s9meh3j.js → outfitter-4w9sc6bw.js} +24 -0
- package/dist/shared/outfitter-5gaptj9b.js +83 -0
- package/dist/shared/{outfitter-2ysjerp6.d.ts → outfitter-5rc4hxdn.d.ts} +2 -2
- package/dist/shared/{outfitter-ttjr95y9.js → outfitter-7krhbg3b.js} +3 -3
- package/dist/shared/{outfitter-7n7vsz95.js → outfitter-7t7ces1x.js} +1 -42
- package/dist/shared/{outfitter-gdc7b7de.d.ts → outfitter-8231g70k.d.ts} +1 -1
- package/dist/shared/{outfitter-yhb23pjc.js → outfitter-8jd1sak0.js} +4 -4
- package/dist/shared/{outfitter-wkt0a0ra.js → outfitter-93e1shd4.js} +4 -6
- package/dist/shared/{outfitter-wyg1tpp5.d.ts → outfitter-a93yanw6.d.ts} +1 -1
- package/dist/shared/{outfitter-mstr60zz.js → outfitter-aa5nzw14.js} +47 -22
- package/dist/shared/{outfitter-fxry5n58.js → outfitter-b05mvbmx.js} +4 -4
- package/dist/shared/{outfitter-1fy7byz5.js → outfitter-bsjq8gkk.js} +6 -4
- package/dist/shared/{outfitter-ssrtakh3.js → outfitter-c50y6yr3.js} +4 -4
- package/dist/shared/{outfitter-cyvr4r8d.d.ts → outfitter-crxe5gth.d.ts} +4 -0
- package/dist/shared/{outfitter-fj2v5ffz.js → outfitter-d5kz9x7g.js} +1 -1
- package/dist/shared/{outfitter-k6zyvg2n.js → outfitter-dna8exj2.js} +19 -10
- package/dist/shared/{outfitter-940h0x7b.js → outfitter-e44qcs0w.js} +3 -3
- package/dist/shared/{outfitter-r2awqszh.d.ts → outfitter-e5x0ybqt.d.ts} +12 -3
- package/dist/shared/{outfitter-3tx3adgj.js → outfitter-ez7qffv5.js} +8 -6
- package/dist/shared/outfitter-fgrqt6aq.js +179 -0
- package/dist/shared/outfitter-fhahf9f3.d.ts +14 -0
- package/dist/shared/{outfitter-c7sbs7es.js → outfitter-g6r9avgz.js} +3 -3
- package/dist/shared/{outfitter-ssynegbs.js → outfitter-ga59fa45.js} +1 -1
- package/dist/shared/{outfitter-tavatb5p.js → outfitter-gna739c3.js} +86 -31
- package/dist/shared/{outfitter-nxvjxrmw.d.ts → outfitter-grt5ngqq.d.ts} +1 -1
- package/dist/shared/{outfitter-58rn1sj1.d.ts → outfitter-gsjbcta2.d.ts} +1 -1
- package/dist/shared/{outfitter-q1g58t85.js → outfitter-gvpwpqnc.js} +0 -1
- package/dist/shared/{outfitter-x39awx8g.js → outfitter-hr4cvmjy.js} +47 -25
- package/dist/shared/{outfitter-84chvazx.js → outfitter-hw9f0zq9.js} +75 -31
- package/dist/shared/{outfitter-ksyvwmb5.js → outfitter-jhpcjeg1.js} +5 -5
- package/dist/shared/outfitter-kc46jq69.d.ts +12 -0
- package/dist/shared/{outfitter-px5sv5gn.js → outfitter-ksg34wka.js} +5 -5
- package/dist/shared/{outfitter-wrcqq29p.js → outfitter-n63ygpv3.js} +30 -23
- package/dist/shared/{outfitter-qsd5638j.js → outfitter-n9jp1abt.js} +16 -40
- package/dist/shared/{outfitter-d0kqashd.d.ts → outfitter-nhft74pe.d.ts} +4 -2
- package/dist/shared/{outfitter-8kmak0wc.d.ts → outfitter-nx1sywpb.d.ts} +1 -1
- package/dist/shared/{outfitter-5r6q2749.d.ts → outfitter-pw74st5t.d.ts} +1 -1
- package/dist/shared/{outfitter-h0wmtxw8.d.ts → outfitter-qka1skyw.d.ts} +1 -1
- package/dist/shared/{outfitter-6mpkh3zn.js → outfitter-qps83547.js} +30 -23
- package/dist/shared/outfitter-qzd5djgx.js +88 -0
- package/dist/shared/{outfitter-hf5bj2gq.js → outfitter-sh015v8k.js} +4 -4
- package/dist/shared/{outfitter-ypcvwg1s.js → outfitter-srznx3hj.js} +1 -1
- package/dist/shared/{outfitter-n0ed012k.js → outfitter-ssq33ym3.js} +8 -8
- package/dist/shared/outfitter-sxf8jjjn.js +7 -0
- package/dist/shared/{outfitter-p2wn07b7.js → outfitter-t535h0mw.js} +1 -1
- package/dist/shared/{outfitter-znbqe5zy.d.ts → outfitter-t8dg4tg5.d.ts} +1 -1
- package/dist/shared/{outfitter-ydw7x6bh.js → outfitter-t8mvabed.js} +1 -1
- package/dist/shared/{outfitter-6ddf91vh.js → outfitter-t9xkn37g.js} +11 -12
- package/dist/shared/{outfitter-x4cc5xsq.js → outfitter-wmgzyymq.js} +4 -4
- package/dist/shared/outfitter-wna6gp2t.js +56 -0
- package/dist/shared/outfitter-x0r7mfvy.js +142 -0
- package/dist/shared/{outfitter-b9cpnr7e.js → outfitter-x4f8v5vf.js} +1 -1
- package/dist/shared/{outfitter-x8w5sjnd.d.ts → outfitter-x6322tjp.d.ts} +1 -1
- package/dist/shared/{outfitter-6rtcemk7.d.ts → outfitter-xa4915yp.d.ts} +3 -2
- package/dist/shared/{outfitter-2z61gp5w.js → outfitter-xg5yryp2.js} +1 -1
- package/dist/shared/{outfitter-rdpw2sbp.d.ts → outfitter-xn5km042.d.ts} +6 -0
- package/dist/shared/{outfitter-cyhzstz0.js → outfitter-xqr4fp1n.js} +4 -4
- package/dist/shared/outfitter-z6tg0swx.js +87 -0
- package/dist/shared/{outfitter-dx4hn4ta.js → outfitter-zmzrsvcn.js} +17 -21
- package/dist/shared/{outfitter-8ggmja91.js → outfitter-zqj1nte1.js} +66 -67
- package/dist/targets/index.d.ts +2 -2
- package/dist/targets/registry.d.ts +2 -2
- package/dist/targets/registry.js +13 -1
- package/dist/targets/types.d.ts +1 -1
- package/package.json +85 -39
- package/dist/actions/docs-output-mode.d.ts +0 -4
- package/dist/actions/docs-output-mode.js +0 -8
- package/dist/engine/template.d.ts +0 -4
- package/dist/engine/template.js +0 -34
- package/dist/shared/outfitter-7r12fj7f.js +0 -30
- package/dist/shared/outfitter-a79xrm12.d.ts +0 -17
- package/dist/shared/outfitter-ec83h4v2.js +0 -17
- package/dist/shared/outfitter-fbvfd5zq.d.ts +0 -13
- package/dist/shared/outfitter-jkct38dh.js +0 -53
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { INIT_TARGET_IDS, READY_TARGET_IDS, SCAFFOLD_TARGET_IDS, TARGET_IDS, TARGET_REGISTRY, getInitTarget, getReadyTarget, getScaffoldTarget, getTarget, listTargets, resolvePlacement } from "../shared/outfitter-
|
|
2
|
-
import "../shared/outfitter-
|
|
1
|
+
import { INIT_TARGET_IDS, READY_TARGET_IDS, SCAFFOLD_TARGET_IDS, TARGET_IDS, TARGET_REGISTRY, getInitTarget, getReadyTarget, getScaffoldTarget, getTarget, listTargets, resolvePlacement } from "../shared/outfitter-pw74st5t.js";
|
|
2
|
+
import "../shared/outfitter-gsjbcta2.js";
|
|
3
3
|
export { resolvePlacement, listTargets, getTarget, getScaffoldTarget, getReadyTarget, getInitTarget, TARGET_REGISTRY, TARGET_IDS, SCAFFOLD_TARGET_IDS, READY_TARGET_IDS, INIT_TARGET_IDS };
|
package/dist/targets/registry.js
CHANGED
|
@@ -4,7 +4,6 @@ import"../shared/outfitter-eepj7rf7.js";
|
|
|
4
4
|
// apps/outfitter/src/targets/registry.ts
|
|
5
5
|
import { NotFoundError, Result, ValidationError } from "@outfitter/contracts";
|
|
6
6
|
var TARGET_ALIASES = new Map([
|
|
7
|
-
["basic", "minimal"],
|
|
8
7
|
["lib", "library"]
|
|
9
8
|
]);
|
|
10
9
|
var TARGET_REGISTRY = new Map([
|
|
@@ -21,6 +20,19 @@ var TARGET_REGISTRY = new Map([
|
|
|
21
20
|
scope: "init-only"
|
|
22
21
|
}
|
|
23
22
|
],
|
|
23
|
+
[
|
|
24
|
+
"basic",
|
|
25
|
+
{
|
|
26
|
+
id: "basic",
|
|
27
|
+
description: "Basic Bun + TypeScript project with Outfitter conventions",
|
|
28
|
+
category: "library",
|
|
29
|
+
placement: "packages",
|
|
30
|
+
presetDir: "basic",
|
|
31
|
+
defaultBlocks: ["scaffolding"],
|
|
32
|
+
status: "ready",
|
|
33
|
+
scope: "init-only"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
24
36
|
[
|
|
25
37
|
"cli",
|
|
26
38
|
{
|
package/dist/targets/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TargetCategory, TargetDefinition, TargetId, TargetScope, TargetStatus } from "../shared/outfitter-
|
|
1
|
+
import { TargetCategory, TargetDefinition, TargetId, TargetScope, TargetStatus } from "../shared/outfitter-gsjbcta2.js";
|
|
2
2
|
export { TargetStatus, TargetScope, TargetId, TargetDefinition, TargetCategory };
|
package/package.json
CHANGED
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "outfitter",
|
|
3
|
-
"version": "0.3.3",
|
|
4
3
|
"description": "Outfitter umbrella CLI for scaffolding and project management",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"cli",
|
|
8
|
-
"outfitter",
|
|
9
|
-
"scaffolding",
|
|
10
|
-
"typescript"
|
|
11
|
-
],
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "https://github.com/outfitter-dev/outfitter.git",
|
|
16
|
-
"directory": "apps/outfitter"
|
|
17
|
-
},
|
|
18
|
-
"bin": {
|
|
19
|
-
"out": "./dist/cli.js",
|
|
20
|
-
"outfitter": "./dist/cli.js"
|
|
21
|
-
},
|
|
4
|
+
"version": "0.4.0",
|
|
5
|
+
"type": "module",
|
|
22
6
|
"files": [
|
|
23
7
|
"dist"
|
|
24
8
|
],
|
|
25
|
-
"type": "module",
|
|
26
|
-
"sideEffects": false,
|
|
27
9
|
"module": "./dist/index.js",
|
|
28
10
|
"types": "./dist/index.d.ts",
|
|
29
11
|
"exports": {
|
|
@@ -57,6 +39,12 @@
|
|
|
57
39
|
"default": "./dist/commands/check-action-ceremony.js"
|
|
58
40
|
}
|
|
59
41
|
},
|
|
42
|
+
"./commands/check-action-registry": {
|
|
43
|
+
"import": {
|
|
44
|
+
"types": "./dist/commands/check-action-registry.d.ts",
|
|
45
|
+
"default": "./dist/commands/check-action-registry.js"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
60
48
|
"./commands/check-docs-sentinel": {
|
|
61
49
|
"import": {
|
|
62
50
|
"types": "./dist/commands/check-docs-sentinel.d.ts",
|
|
@@ -225,6 +213,12 @@
|
|
|
225
213
|
"default": "./dist/commands/upgrade-apply.js"
|
|
226
214
|
}
|
|
227
215
|
},
|
|
216
|
+
"./commands/upgrade-codemod-builder": {
|
|
217
|
+
"import": {
|
|
218
|
+
"types": "./dist/commands/upgrade-codemod-builder.d.ts",
|
|
219
|
+
"default": "./dist/commands/upgrade-codemod-builder.js"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
228
222
|
"./commands/upgrade-codemods": {
|
|
229
223
|
"import": {
|
|
230
224
|
"types": "./dist/commands/upgrade-codemods.d.ts",
|
|
@@ -345,6 +339,12 @@
|
|
|
345
339
|
"default": "./dist/engine/names.js"
|
|
346
340
|
}
|
|
347
341
|
},
|
|
342
|
+
"./engine/package-json": {
|
|
343
|
+
"import": {
|
|
344
|
+
"types": "./dist/engine/package-json.d.ts",
|
|
345
|
+
"default": "./dist/engine/package-json.js"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
348
|
"./engine/post-scaffold": {
|
|
349
349
|
"import": {
|
|
350
350
|
"types": "./dist/engine/post-scaffold.d.ts",
|
|
@@ -363,12 +363,6 @@
|
|
|
363
363
|
"default": "./dist/engine/render-plan.js"
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
|
-
"./engine/template": {
|
|
367
|
-
"import": {
|
|
368
|
-
"types": "./dist/engine/template.d.ts",
|
|
369
|
-
"default": "./dist/engine/template.js"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
366
|
"./engine/types": {
|
|
373
367
|
"import": {
|
|
374
368
|
"types": "./dist/engine/types.d.ts",
|
|
@@ -388,6 +382,36 @@
|
|
|
388
382
|
}
|
|
389
383
|
},
|
|
390
384
|
"./package.json": "./package.json",
|
|
385
|
+
"./scaffold-e2e/config": {
|
|
386
|
+
"import": {
|
|
387
|
+
"types": "./dist/scaffold-e2e/config.d.ts",
|
|
388
|
+
"default": "./dist/scaffold-e2e/config.js"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"./scaffold-e2e/runner": {
|
|
392
|
+
"import": {
|
|
393
|
+
"types": "./dist/scaffold-e2e/runner.d.ts",
|
|
394
|
+
"default": "./dist/scaffold-e2e/runner.js"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"./scaffold-e2e/template-guardrails": {
|
|
398
|
+
"import": {
|
|
399
|
+
"types": "./dist/scaffold-e2e/template-guardrails.d.ts",
|
|
400
|
+
"default": "./dist/scaffold-e2e/template-guardrails.js"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"./scaffold-e2e/workspace": {
|
|
404
|
+
"import": {
|
|
405
|
+
"types": "./dist/scaffold-e2e/workspace.d.ts",
|
|
406
|
+
"default": "./dist/scaffold-e2e/workspace.js"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"./scripts/scaffold-e2e": {
|
|
410
|
+
"import": {
|
|
411
|
+
"types": "./dist/scripts/scaffold-e2e.d.ts",
|
|
412
|
+
"default": "./dist/scripts/scaffold-e2e.js"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
391
415
|
"./targets": {
|
|
392
416
|
"import": {
|
|
393
417
|
"types": "./dist/targets/index.d.ts",
|
|
@@ -407,10 +431,31 @@
|
|
|
407
431
|
}
|
|
408
432
|
}
|
|
409
433
|
},
|
|
434
|
+
"keywords": [
|
|
435
|
+
"bun",
|
|
436
|
+
"cli",
|
|
437
|
+
"outfitter",
|
|
438
|
+
"scaffolding",
|
|
439
|
+
"typescript"
|
|
440
|
+
],
|
|
441
|
+
"license": "MIT",
|
|
442
|
+
"repository": {
|
|
443
|
+
"type": "git",
|
|
444
|
+
"url": "https://github.com/outfitter-dev/outfitter.git",
|
|
445
|
+
"directory": "apps/outfitter"
|
|
446
|
+
},
|
|
447
|
+
"bin": {
|
|
448
|
+
"out": "./dist/cli.js",
|
|
449
|
+
"outfitter": "./dist/cli.js"
|
|
450
|
+
},
|
|
451
|
+
"sideEffects": false,
|
|
410
452
|
"scripts": {
|
|
411
|
-
"build": "cd ../.. && bunup --filter outfitter",
|
|
453
|
+
"build": "cd ../.. && bash ./scripts/run-bunup-with-lock.sh bunup --filter outfitter",
|
|
412
454
|
"postbuild": "bun link",
|
|
413
455
|
"dev": "bun run src/cli.ts",
|
|
456
|
+
"scaffold:e2e:ci": "bun run ./src/scripts/scaffold-e2e.ts --ci",
|
|
457
|
+
"scaffold:e2e": "bun run ./src/scripts/scaffold-e2e.ts",
|
|
458
|
+
"scaffold:e2e:clean": "bun run ./src/scripts/scaffold-e2e.ts --clean",
|
|
414
459
|
"test": "bun test",
|
|
415
460
|
"test:init-integration": "bun test ./src/__tests__/init-*.test.ts",
|
|
416
461
|
"test:upgrade-integration": "bun test ./src/__tests__/upgrade-integration-*.test.ts",
|
|
@@ -425,23 +470,24 @@
|
|
|
425
470
|
},
|
|
426
471
|
"dependencies": {
|
|
427
472
|
"@clack/prompts": "^1.0.1",
|
|
428
|
-
"@outfitter/cli": "0.
|
|
429
|
-
"@outfitter/config": "0.
|
|
430
|
-
"@outfitter/contracts": "0.
|
|
431
|
-
"@outfitter/daemon": "0.2.
|
|
432
|
-
"@outfitter/docs": "0.2.
|
|
433
|
-
"@outfitter/logging": "0.4.
|
|
434
|
-
"@outfitter/mcp": "0.
|
|
435
|
-
"@outfitter/oxlint-plugin": "0.
|
|
436
|
-
"@outfitter/presets": "0.
|
|
437
|
-
"@outfitter/tooling": "0.3.
|
|
438
|
-
"@outfitter/tui": "0.2.
|
|
439
|
-
"@outfitter/types": "0.2.
|
|
473
|
+
"@outfitter/cli": "1.0.0",
|
|
474
|
+
"@outfitter/config": "0.4.0",
|
|
475
|
+
"@outfitter/contracts": "0.5.0",
|
|
476
|
+
"@outfitter/daemon": "0.2.6",
|
|
477
|
+
"@outfitter/docs": "0.2.1",
|
|
478
|
+
"@outfitter/logging": "0.4.3",
|
|
479
|
+
"@outfitter/mcp": "0.5.0",
|
|
480
|
+
"@outfitter/oxlint-plugin": "0.2.0",
|
|
481
|
+
"@outfitter/presets": "0.3.0",
|
|
482
|
+
"@outfitter/tooling": "0.3.5",
|
|
483
|
+
"@outfitter/tui": "0.2.3",
|
|
484
|
+
"@outfitter/types": "0.2.5",
|
|
440
485
|
"commander": "^14.0.2",
|
|
441
486
|
"typescript": "^5.9.3",
|
|
442
487
|
"zod": "^4.3.5"
|
|
443
488
|
},
|
|
444
489
|
"devDependencies": {
|
|
490
|
+
"@outfitter/schema": "0.2.4",
|
|
445
491
|
"@types/bun": "^1.3.9",
|
|
446
492
|
"@types/node": "^25.3.0"
|
|
447
493
|
},
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { copyTemplateFiles, getOutputFilename, getTemplatesDir, isBinaryFile, replacePlaceholders } from "../shared/outfitter-fbvfd5zq.js";
|
|
2
|
-
import "../shared/outfitter-6rtcemk7.js";
|
|
3
|
-
import "../shared/outfitter-cyvr4r8d.js";
|
|
4
|
-
export { replacePlaceholders, isBinaryFile, getTemplatesDir, getOutputFilename, copyTemplateFiles };
|
package/dist/engine/template.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
copyPresetFiles,
|
|
4
|
-
getOutputFilename,
|
|
5
|
-
getPresetsBaseDir,
|
|
6
|
-
isBinaryFile,
|
|
7
|
-
replacePlaceholders
|
|
8
|
-
} from "../shared/outfitter-6t7xeyg1.js";
|
|
9
|
-
import"../shared/outfitter-8y2dfx6n.js";
|
|
10
|
-
import"../shared/outfitter-eepj7rf7.js";
|
|
11
|
-
|
|
12
|
-
// apps/outfitter/src/engine/template.ts
|
|
13
|
-
function getTemplatesDir() {
|
|
14
|
-
return getPresetsBaseDir();
|
|
15
|
-
}
|
|
16
|
-
function copyTemplateFiles(...args) {
|
|
17
|
-
return copyPresetFiles(...args);
|
|
18
|
-
}
|
|
19
|
-
function getOutputFilename2(templateFilename) {
|
|
20
|
-
return getOutputFilename(templateFilename);
|
|
21
|
-
}
|
|
22
|
-
function isBinaryFile2(filename) {
|
|
23
|
-
return isBinaryFile(filename);
|
|
24
|
-
}
|
|
25
|
-
function replacePlaceholders2(content, values) {
|
|
26
|
-
return replacePlaceholders(content, values);
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
replacePlaceholders2 as replacePlaceholders,
|
|
30
|
-
isBinaryFile2 as isBinaryFile,
|
|
31
|
-
getTemplatesDir,
|
|
32
|
-
getOutputFilename2 as getOutputFilename,
|
|
33
|
-
copyTemplateFiles
|
|
34
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// apps/outfitter/src/output-mode.ts
|
|
3
|
-
function resolveOutputModeFromContext(flags) {
|
|
4
|
-
if (flags["json"])
|
|
5
|
-
return "json";
|
|
6
|
-
if (flags["jsonl"])
|
|
7
|
-
return "jsonl";
|
|
8
|
-
if (process.env["OUTFITTER_JSONL"] === "1")
|
|
9
|
-
return "jsonl";
|
|
10
|
-
if (process.env["OUTFITTER_JSON"] === "1")
|
|
11
|
-
return "json";
|
|
12
|
-
return "human";
|
|
13
|
-
}
|
|
14
|
-
function resolveStructuredOutputMode(mode) {
|
|
15
|
-
if (mode !== undefined) {
|
|
16
|
-
if (mode === "json" || mode === "jsonl") {
|
|
17
|
-
return mode;
|
|
18
|
-
}
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
if (process.env["OUTFITTER_JSONL"] === "1") {
|
|
22
|
-
return "jsonl";
|
|
23
|
-
}
|
|
24
|
-
if (process.env["OUTFITTER_JSON"] === "1") {
|
|
25
|
-
return "json";
|
|
26
|
-
}
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { resolveOutputModeFromContext, resolveStructuredOutputMode };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OutputMode } from "@outfitter/cli/types";
|
|
2
|
-
type StructuredOutputMode = Extract<OutputMode, "json" | "jsonl">;
|
|
3
|
-
/** Output modes resolvable from CLI flags and env vars. */
|
|
4
|
-
type CliOutputMode = "human" | "json" | "jsonl";
|
|
5
|
-
/**
|
|
6
|
-
* Resolve output mode from CLI context (flags + env vars).
|
|
7
|
-
*
|
|
8
|
-
* Precedence: explicit flag > OUTFITTER_JSONL env > OUTFITTER_JSON env > "human"
|
|
9
|
-
*
|
|
10
|
-
* This function is pure -- no env var side effects.
|
|
11
|
-
*/
|
|
12
|
-
declare function resolveOutputModeFromContext(flags: Record<string, unknown>): CliOutputMode;
|
|
13
|
-
/**
|
|
14
|
-
* Resolve machine-readable output mode from explicit options first, then env.
|
|
15
|
-
*/
|
|
16
|
-
declare function resolveStructuredOutputMode(mode?: OutputMode): StructuredOutputMode | undefined;
|
|
17
|
-
export { StructuredOutputMode, CliOutputMode, resolveOutputModeFromContext, resolveStructuredOutputMode };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// apps/outfitter/src/actions/docs-output-mode.ts
|
|
3
|
-
function resolveDocsOutputMode(flags, presetOutputMode) {
|
|
4
|
-
const explicitOutput = typeof flags["output"] === "string";
|
|
5
|
-
if (explicitOutput) {
|
|
6
|
-
return presetOutputMode === "json" || presetOutputMode === "jsonl" ? presetOutputMode : "human";
|
|
7
|
-
}
|
|
8
|
-
if (process.env["OUTFITTER_JSONL"] === "1") {
|
|
9
|
-
return "jsonl";
|
|
10
|
-
}
|
|
11
|
-
if (process.env["OUTFITTER_JSON"] === "1") {
|
|
12
|
-
return "json";
|
|
13
|
-
}
|
|
14
|
-
return "human";
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { resolveDocsOutputMode };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { copyPresetFiles, replacePlaceholders } from "./outfitter-6rtcemk7.js";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated Use `getPresetsBaseDir` instead.
|
|
4
|
-
*/
|
|
5
|
-
declare function getTemplatesDir(): string;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `copyPresetFiles` instead.
|
|
8
|
-
*/
|
|
9
|
-
declare function copyTemplateFiles(...args: Parameters<typeof copyPresetFiles>): ReturnType<typeof copyPresetFiles>;
|
|
10
|
-
declare function getOutputFilename(templateFilename: string): string;
|
|
11
|
-
declare function isBinaryFile(filename: string): boolean;
|
|
12
|
-
declare function replacePlaceholders2(content: string, values: Parameters<typeof replacePlaceholders>[1]): string;
|
|
13
|
-
export { getTemplatesDir, copyTemplateFiles, getOutputFilename, isBinaryFile, replacePlaceholders2 as replacePlaceholders };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
scaffoldAction
|
|
4
|
-
} from "./outfitter-xs94pkfe.js";
|
|
5
|
-
import {
|
|
6
|
-
upgradeAction
|
|
7
|
-
} from "./outfitter-rp89dafm.js";
|
|
8
|
-
import {
|
|
9
|
-
createAction,
|
|
10
|
-
initAction,
|
|
11
|
-
initCliAction,
|
|
12
|
-
initDaemonAction,
|
|
13
|
-
initFullStackAction,
|
|
14
|
-
initLibraryAction,
|
|
15
|
-
initMcpAction
|
|
16
|
-
} from "./outfitter-738z4c37.js";
|
|
17
|
-
import {
|
|
18
|
-
docsApiAction,
|
|
19
|
-
docsExportAction,
|
|
20
|
-
docsListAction,
|
|
21
|
-
docsSearchAction,
|
|
22
|
-
docsShowAction
|
|
23
|
-
} from "./outfitter-dx4hn4ta.js";
|
|
24
|
-
import {
|
|
25
|
-
doctorAction
|
|
26
|
-
} from "./outfitter-ex8gn945.js";
|
|
27
|
-
import {
|
|
28
|
-
demoAction
|
|
29
|
-
} from "./outfitter-wkt0a0ra.js";
|
|
30
|
-
import {
|
|
31
|
-
checkAction,
|
|
32
|
-
checkTsdocAction
|
|
33
|
-
} from "./outfitter-k6zyvg2n.js";
|
|
34
|
-
import {
|
|
35
|
-
addAction,
|
|
36
|
-
listBlocksAction
|
|
37
|
-
} from "./outfitter-3rcrvva8.js";
|
|
38
|
-
import {
|
|
39
|
-
checkActionCeremonyAction,
|
|
40
|
-
checkDocsSentinelAction,
|
|
41
|
-
checkPresetVersionsAction,
|
|
42
|
-
checkPublishGuardrailsAction,
|
|
43
|
-
checkSurfaceMapAction,
|
|
44
|
-
checkSurfaceMapFormatAction
|
|
45
|
-
} from "./outfitter-mstr60zz.js";
|
|
46
|
-
|
|
47
|
-
// apps/outfitter/src/actions.ts
|
|
48
|
-
import {
|
|
49
|
-
createActionRegistry
|
|
50
|
-
} from "@outfitter/contracts";
|
|
51
|
-
var outfitterActions = createActionRegistry().add(createAction).add(scaffoldAction).add(initAction).add(initCliAction).add(initMcpAction).add(initDaemonAction).add(initLibraryAction).add(initFullStackAction).add(demoAction).add(doctorAction).add(addAction).add(listBlocksAction).add(checkAction).add(checkTsdocAction).add(checkPublishGuardrailsAction).add(checkPresetVersionsAction).add(checkSurfaceMapAction).add(checkSurfaceMapFormatAction).add(checkDocsSentinelAction).add(checkActionCeremonyAction).add(upgradeAction).add(docsListAction).add(docsShowAction).add(docsSearchAction).add(docsApiAction).add(docsExportAction);
|
|
52
|
-
|
|
53
|
-
export { outfitterActions };
|