@orkestrel/scaffold 0.0.73 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/main.js +75 -34
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/skills/orkestrel-prove-journey/SKILL.md +212 -29
- package/dist/host/agents/skills/orkestrel-prove-journey/references/captures.md +40 -15
- package/dist/host/agents/skills/orkestrel-prove-journey/references/decide.md +34 -15
- package/dist/host/agents/skills/orkestrel-prove-journey/references/layer.md +248 -52
- package/dist/host/agents/skills/orkestrel-prove-journey/references/statechart.md +255 -49
- package/dist/host/agents/skills/orkestrel-prove-journey/references/styles.md +111 -23
- package/dist/host/agents/transports/codex.md +7 -0
- package/dist/host/claude/agents/orkestrel.md +2 -2
- package/dist/host/claude/rules/documentation.md +2 -0
- package/dist/host/claude/rules/tests.md +5 -3
- package/dist/host/claude/rules/workspace.md +26 -15
- package/dist/host/codex/config.toml +4 -7
- package/dist/host/guides/README.md +5 -0
- package/dist/host/guides/scaffold.md +104 -14
- package/dist/host/guides/test.md +744 -184
- package/dist/host/manifest.json +19 -19
- package/dist/host/tests/config.test.ts +159 -64
- package/dist/host/tests/policy.test.ts +11 -1
- package/dist/host/tests/setupPolicy.ts +571 -7
- package/dist/src/core/index.cjs +112 -18
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +19 -6
- package/dist/src/core/index.d.ts +19 -6
- package/dist/src/core/index.js +112 -19
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +6 -4
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +9 -7
- package/dist/src/server/index.d.ts +9 -7
- package/dist/src/server/index.js +6 -4
- package/dist/src/server/index.js.map +1 -1
- package/package.json +2 -2
package/dist/src/core/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fillTemplate } from "@orkestrel/template";
|
|
|
3
3
|
import { Emitter } from "@orkestrel/emitter";
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@orkestrel/scaffold",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.75",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -101,7 +101,7 @@ var package_default = {
|
|
|
101
101
|
"@orkestrel/guide": "^0.0.20",
|
|
102
102
|
"@orkestrel/html": "^0.0.10",
|
|
103
103
|
"@orkestrel/probe": "^0.0.16",
|
|
104
|
-
"@orkestrel/test": "^0.0.
|
|
104
|
+
"@orkestrel/test": "^0.0.18",
|
|
105
105
|
"@types/node": "^26.5.1",
|
|
106
106
|
"@vitest/browser-playwright": "^4.1.11",
|
|
107
107
|
"oxfmt": "^0.68.0",
|
|
@@ -434,6 +434,8 @@ var SERVICE_SETUP_PATH = "tests/setupService.ts";
|
|
|
434
434
|
var SERVICE_TEST_INCLUDE = "tests/service/**/*.test.ts";
|
|
435
435
|
/** Names the Vite wrapper whose presence makes a workspace `showcase`. */
|
|
436
436
|
var SHOWCASE_CONFIG_PATH = "configs/app/vite.showcase.config.ts";
|
|
437
|
+
/** Names the Vite wrapper whose presence makes a workspace `journey`. */
|
|
438
|
+
var JOURNEY_CONFIG_PATH = "configs/app/vite.journey.config.ts";
|
|
437
439
|
/** Matches the bare workspace name syntax: lowercase alphanumeric with hyphens, letter first. */
|
|
438
440
|
var NAME_PATTERN = /^[a-z][a-z0-9-]*$/;
|
|
439
441
|
/**
|
|
@@ -670,7 +672,7 @@ var CONFIG_TEMPLATES = Object.freeze({
|
|
|
670
672
|
"exclude": ["node_modules", "dist", "tmp"]
|
|
671
673
|
}
|
|
672
674
|
`,
|
|
673
|
-
vite: `import type { PluginOption, UserConfig } from 'vite'
|
|
675
|
+
vite: `{{journey}}import type { PluginOption, UserConfig } from 'vite'
|
|
674
676
|
import { mergeConfig } from 'vite'
|
|
675
677
|
{{imports}}import { defineConfig } from 'vitest/config'
|
|
676
678
|
import manifest from './package.json' with { type: 'json' }
|
|
@@ -944,7 +946,7 @@ function isNamedPlugin(plugin: PluginOption): plugin is { name: string } {
|
|
|
944
946
|
root: resolveWorkspacePath('.'),
|
|
945
947
|
dir: resolveWorkspacePath('.'),
|
|
946
948
|
include: ['tests/app/browser/**/*.test.ts'],
|
|
947
|
-
setupFiles: ['./tests/setup.ts', './tests/setupBrowser.ts'],
|
|
949
|
+
{{journeyExclude}} setupFiles: ['./tests/setup.ts', './tests/setupBrowser.ts'],
|
|
948
950
|
browser: {
|
|
949
951
|
enabled: true,
|
|
950
952
|
provider: playwright(browserOptions),
|
|
@@ -955,7 +957,32 @@ function isNamedPlugin(plugin: PluginOption): plugin is { name: string } {
|
|
|
955
957
|
}
|
|
956
958
|
return mergeOverride(project, override)
|
|
957
959
|
}
|
|
958
|
-
{{showcaseFactory}}`,
|
|
960
|
+
{{showcaseFactory}}{{journeyFactory}}`,
|
|
961
|
+
journey: `
|
|
962
|
+
// Replace the journey fields directly: merging would concatenate the ordinary include
|
|
963
|
+
// and retain the exclusion of the journey suite.
|
|
964
|
+
export function appJourney(
|
|
965
|
+
variant: JourneyVariant,
|
|
966
|
+
variants: readonly JourneyVariant[],
|
|
967
|
+
): UserConfig {
|
|
968
|
+
const browser = appBrowser()
|
|
969
|
+
return {
|
|
970
|
+
...browser,
|
|
971
|
+
test: {
|
|
972
|
+
...browser.test,
|
|
973
|
+
name: { label: \`journey:\${variant.name}\`, color: 'green' },
|
|
974
|
+
include: ['tests/app/browser/integration.test.ts'],
|
|
975
|
+
exclude: [],
|
|
976
|
+
provide: { variant: variant.name, variants, capture },
|
|
977
|
+
browser: {
|
|
978
|
+
...browser.test?.browser,
|
|
979
|
+
enabled: true,
|
|
980
|
+
viewport: { width: variant.width, height: variant.height },
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
`,
|
|
959
986
|
showcase: `
|
|
960
987
|
export function appShowcase(override?: UserConfig): UserConfig {
|
|
961
988
|
const output = 'dist/showcase'
|
|
@@ -1067,6 +1094,7 @@ export function appShowcase(override?: UserConfig): UserConfig {
|
|
|
1067
1094
|
test: {
|
|
1068
1095
|
name: { label: 'setup', color: 'white' },
|
|
1069
1096
|
include: ['tests/setup*.test.ts'],
|
|
1097
|
+
exclude: ['tests/setupBrowser.test.ts'],
|
|
1070
1098
|
setupFiles: ['./tests/setup.ts'],
|
|
1071
1099
|
environment: 'node',
|
|
1072
1100
|
browser: { enabled: false },
|
|
@@ -1074,6 +1102,23 @@ export function appShowcase(override?: UserConfig): UserConfig {
|
|
|
1074
1102
|
}
|
|
1075
1103
|
return mergeOverride(project, override)
|
|
1076
1104
|
}
|
|
1105
|
+
`,
|
|
1106
|
+
browser: `export function setupBrowser(override?: UserConfig): UserConfig {
|
|
1107
|
+
const project: UserConfig = {
|
|
1108
|
+
resolve,
|
|
1109
|
+
{{plugins}} test: {
|
|
1110
|
+
name: { label: 'setup:browser', color: 'blue' },
|
|
1111
|
+
include: ['tests/setupBrowser.test.ts'],
|
|
1112
|
+
setupFiles: ['./tests/setup.ts', './tests/setupBrowser.ts'],
|
|
1113
|
+
browser: {
|
|
1114
|
+
enabled: true,
|
|
1115
|
+
provider: playwright(browserOptions),
|
|
1116
|
+
instances: [{ browser: 'chromium', headless: true }],
|
|
1117
|
+
},
|
|
1118
|
+
},
|
|
1119
|
+
}
|
|
1120
|
+
return mergeOverride(project, override)
|
|
1121
|
+
}
|
|
1077
1122
|
`,
|
|
1078
1123
|
guides: `export function guides(override?: UserConfig): UserConfig {
|
|
1079
1124
|
const project: UserConfig = {
|
|
@@ -1406,6 +1451,22 @@ export default defineConfig(appServer())
|
|
|
1406
1451
|
import { appShowcase } from '../../vite.config.ts'
|
|
1407
1452
|
|
|
1408
1453
|
export default defineConfig(appShowcase())
|
|
1454
|
+
`,
|
|
1455
|
+
journey: `import type { JourneyVariant } from '@orkestrel/test'
|
|
1456
|
+
import { defineConfig } from 'vitest/config'
|
|
1457
|
+
import { appJourney } from '../../vite.config.ts'
|
|
1458
|
+
|
|
1459
|
+
// Rename and extend these viewports for the application. Apply themes through its interface.
|
|
1460
|
+
const VARIANTS: readonly JourneyVariant[] = Object.freeze([
|
|
1461
|
+
{ name: 'desktop', width: 1280, height: 800 },
|
|
1462
|
+
{ name: 'compact', width: 390, height: 844 },
|
|
1463
|
+
])
|
|
1464
|
+
|
|
1465
|
+
export default defineConfig({
|
|
1466
|
+
test: {
|
|
1467
|
+
projects: VARIANTS.map((variant) => () => appJourney(variant, VARIANTS)),
|
|
1468
|
+
},
|
|
1469
|
+
})
|
|
1409
1470
|
`
|
|
1410
1471
|
})
|
|
1411
1472
|
}),
|
|
@@ -1668,7 +1729,7 @@ export function resolveSystemBrowser(
|
|
|
1668
1729
|
}
|
|
1669
1730
|
|
|
1670
1731
|
/**
|
|
1671
|
-
* Resolves Playwright provider options for
|
|
1732
|
+
* Resolves Playwright provider options for Chromium on this host.
|
|
1672
1733
|
*
|
|
1673
1734
|
* @param pinned - The executable path for Playwright's pinned Chromium revision, when it has one.
|
|
1674
1735
|
* @param platform - The Node platform whose standard layouts this call probes.
|
|
@@ -1688,6 +1749,10 @@ export function resolveSystemBrowser(
|
|
|
1688
1749
|
* as well and exists only as a last resort: Windows takes \`msedge\`, which ships with the OS and
|
|
1689
1750
|
* never collides with a foreground Chrome.
|
|
1690
1751
|
*
|
|
1752
|
+
* The resolver and the gate cover Chromium alone. Reopen engine selection when another
|
|
1753
|
+
* Playwright engine is installed and launches on the host with a \`captureFrame\` reading
|
|
1754
|
+
* back at its declared size, or when a journey or style divergence is recorded.
|
|
1755
|
+
*
|
|
1691
1756
|
* @example
|
|
1692
1757
|
* \`\`\`ts
|
|
1693
1758
|
* resolveBrowser(resolvePinnedBrowser(), process.platform, process.env)
|
|
@@ -3246,14 +3311,15 @@ var isBlueprint = recordOf({
|
|
|
3246
3311
|
engines: isString,
|
|
3247
3312
|
overrides: andOf(isCollection, arrayOf(isOverride)),
|
|
3248
3313
|
bin: isBoolean,
|
|
3249
|
-
setup:
|
|
3314
|
+
setup: andOf(isCollection, arrayOf(literalOf("node", "browser"))),
|
|
3250
3315
|
guides: isBoolean,
|
|
3251
3316
|
integration: isBoolean,
|
|
3252
3317
|
conformance: isBoolean,
|
|
3253
3318
|
service: isBoolean,
|
|
3254
3319
|
vendors: andOf(isCollection, arrayOf(isString)),
|
|
3255
3320
|
global: isBoolean,
|
|
3256
|
-
showcase: isBoolean
|
|
3321
|
+
showcase: isBoolean,
|
|
3322
|
+
journey: isBoolean
|
|
3257
3323
|
}, ["description"]);
|
|
3258
3324
|
/**
|
|
3259
3325
|
* Narrows a value to an {@link Artifact}.
|
|
@@ -4729,7 +4795,7 @@ function blueprintToDevDependencies(blueprint) {
|
|
|
4729
4795
|
const merged = {
|
|
4730
4796
|
...BASE_DEV_DEPENDENCIES,
|
|
4731
4797
|
...blueprint.src.length > 0 || blueprint.bin ? DECLARATION_DEV_DEPENDENCIES : {},
|
|
4732
|
-
...blueprint.src.includes("browser") ? SOURCE_BROWSER_DEV_DEPENDENCIES : {},
|
|
4798
|
+
...blueprint.src.includes("browser") || blueprint.setup.includes("browser") ? SOURCE_BROWSER_DEV_DEPENDENCIES : {},
|
|
4733
4799
|
...blueprint.app.length > 0 ? APP_DEV_DEPENDENCIES : {},
|
|
4734
4800
|
...blueprint.app.includes("browser") ? APP_BROWSER_DEV_DEPENDENCIES : {},
|
|
4735
4801
|
...blueprint.showcase && blueprint.app.includes("browser") ? SHOWCASE_DEV_DEPENDENCIES : {},
|
|
@@ -4808,9 +4874,11 @@ function blueprintToScripts(blueprint) {
|
|
|
4808
4874
|
scripts.test = [
|
|
4809
4875
|
...compiles ? ["npm run test:src"] : [],
|
|
4810
4876
|
...blueprint.app.length > 0 ? ["npm run test:app"] : [],
|
|
4877
|
+
...blueprint.journey && blueprint.app.includes("browser") ? ["npm run test:journey"] : [],
|
|
4811
4878
|
"npm run test:policy",
|
|
4812
4879
|
"npm run test:config",
|
|
4813
|
-
...blueprint.setup ? ["npm run test:setup"] : [],
|
|
4880
|
+
...blueprint.setup.includes("node") ? ["npm run test:setup"] : [],
|
|
4881
|
+
...blueprint.setup.includes("browser") ? ["npm run test:setup:browser"] : [],
|
|
4814
4882
|
...blueprint.guides ? ["npm run test:guides"] : [],
|
|
4815
4883
|
...blueprint.conformance ? ["npm run test:conformance"] : [],
|
|
4816
4884
|
...integrates ? ["npm run test:integration"] : [],
|
|
@@ -4831,7 +4899,9 @@ function blueprintToScripts(blueprint) {
|
|
|
4831
4899
|
}
|
|
4832
4900
|
scripts["test:policy"] = `${vitest} --project policy`;
|
|
4833
4901
|
scripts["test:config"] = `${vitest} --project config`;
|
|
4834
|
-
if (blueprint.setup) scripts["test:setup"] = `${vitest} --project setup`;
|
|
4902
|
+
if (blueprint.setup.includes("node")) scripts["test:setup"] = `${vitest} --project setup`;
|
|
4903
|
+
if (blueprint.setup.includes("browser")) scripts["test:setup:browser"] = `${vitest} --project setup:browser`;
|
|
4904
|
+
if (blueprint.journey && blueprint.app.includes("browser")) scripts["test:journey"] = `vitest run --config ${JOURNEY_CONFIG_PATH} --no-cache --reporter=dot`;
|
|
4835
4905
|
if (blueprint.guides) scripts["test:guides"] = `node --experimental-strip-types ${GUIDES_TEST_PATH}`;
|
|
4836
4906
|
if (blueprint.conformance) scripts["test:conformance"] = `${vitest} --project conformance`;
|
|
4837
4907
|
scripts["test:probe"] = "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe";
|
|
@@ -5055,7 +5125,7 @@ function blueprintToManifest(blueprint) {
|
|
|
5055
5125
|
function blueprintToMachinery(blueprint) {
|
|
5056
5126
|
const hosted = blueprint.app.some((environment) => environment !== "core");
|
|
5057
5127
|
return {
|
|
5058
|
-
browser: blueprint.src.includes("browser") || blueprint.app.includes("browser"),
|
|
5128
|
+
browser: blueprint.src.includes("browser") || blueprint.app.includes("browser") || blueprint.setup.includes("browser"),
|
|
5059
5129
|
vue: blueprint.app.includes("browser"),
|
|
5060
5130
|
output: blueprint.src.length > 0 || blueprint.bin || hosted,
|
|
5061
5131
|
showcase: blueprint.showcase && blueprint.app.includes("browser")
|
|
@@ -5195,7 +5265,11 @@ function blueprintToRootVite(blueprint) {
|
|
|
5195
5265
|
}
|
|
5196
5266
|
if (blueprint.app.includes("browser")) {
|
|
5197
5267
|
const showcaseFactory = machinery.showcase ? CONFIG_TEMPLATES.factories.app.showcase : "";
|
|
5198
|
-
factories.push(fillTemplate(CONFIG_TEMPLATES.factories.app.browser, {
|
|
5268
|
+
factories.push(fillTemplate(CONFIG_TEMPLATES.factories.app.browser, {
|
|
5269
|
+
showcaseFactory,
|
|
5270
|
+
journeyFactory: blueprint.journey ? CONFIG_TEMPLATES.factories.app.journey : "",
|
|
5271
|
+
journeyExclude: blueprint.journey ? " exclude: ['tests/app/browser/integration.test.ts'],\n" : ""
|
|
5272
|
+
}));
|
|
5199
5273
|
projects.push("appBrowser");
|
|
5200
5274
|
}
|
|
5201
5275
|
if (blueprint.app.includes("server")) {
|
|
@@ -5206,10 +5280,14 @@ function blueprintToRootVite(blueprint) {
|
|
|
5206
5280
|
projects.push("policy");
|
|
5207
5281
|
factories.push(CONFIG_TEMPLATES.factories.config);
|
|
5208
5282
|
projects.push("config");
|
|
5209
|
-
if (blueprint.setup) {
|
|
5283
|
+
if (blueprint.setup.includes("node")) {
|
|
5210
5284
|
factories.push(CONFIG_TEMPLATES.factories.setup);
|
|
5211
5285
|
projects.push("setup");
|
|
5212
5286
|
}
|
|
5287
|
+
if (blueprint.setup.includes("browser")) {
|
|
5288
|
+
factories.push(fillTemplate(CONFIG_TEMPLATES.factories.browser, { plugins: machinery.vue ? " plugins: [vue()],\n" : "" }));
|
|
5289
|
+
projects.push("setupBrowser");
|
|
5290
|
+
}
|
|
5213
5291
|
if (blueprint.guides) {
|
|
5214
5292
|
factories.push(CONFIG_TEMPLATES.factories.guides);
|
|
5215
5293
|
projects.push("guides");
|
|
@@ -5243,10 +5321,11 @@ ${projects.map((project) => `\t\t\t${project},`).join("\n")}
|
|
|
5243
5321
|
"outputBoundary"
|
|
5244
5322
|
].filter((helper) => body.includes(helper));
|
|
5245
5323
|
return fillTemplate(CONFIG_TEMPLATES.root.vite, {
|
|
5324
|
+
journey: blueprint.journey && machinery.vue ? "import type { JourneyVariant } from '@orkestrel/test'\n" : "",
|
|
5246
5325
|
imports: imports.length === 0 ? "" : `${imports.join("\n")}\n`,
|
|
5247
5326
|
helpers: helpers.length === 0 ? "" : `import { ${helpers.join(", ")} } from './configs/helpers.js'\n`,
|
|
5248
5327
|
browsers: machinery.browser ? "import { resolveBrowser, resolvePinnedBrowser } from './configs/browsers.js'\n" : "",
|
|
5249
|
-
options: machinery.browser ? "const browserOptions = resolveBrowser(resolvePinnedBrowser(), process.platform, process.env)\n\n" : "",
|
|
5328
|
+
options: (machinery.browser ? "const browserOptions = resolveBrowser(resolvePinnedBrowser(), process.platform, process.env)\n\n" : "") + (blueprint.journey && machinery.vue ? "const capture = process.env.CAPTURE === '1'\n\n" : ""),
|
|
5250
5329
|
factories: body,
|
|
5251
5330
|
projects: projectRows
|
|
5252
5331
|
});
|
|
@@ -5359,6 +5438,14 @@ ${paths.join("\n")}
|
|
|
5359
5438
|
environment: "browser",
|
|
5360
5439
|
content: CONFIG_TEMPLATES.vites.app.showcase
|
|
5361
5440
|
});
|
|
5441
|
+
if (blueprint.journey && blueprint.app.includes("browser")) artifacts.push({
|
|
5442
|
+
path: JOURNEY_CONFIG_PATH,
|
|
5443
|
+
group: "configs",
|
|
5444
|
+
ownership: "birth",
|
|
5445
|
+
origin: "template",
|
|
5446
|
+
environment: "browser",
|
|
5447
|
+
content: CONFIG_TEMPLATES.vites.app.journey
|
|
5448
|
+
});
|
|
5362
5449
|
return artifacts;
|
|
5363
5450
|
}
|
|
5364
5451
|
/**
|
|
@@ -5479,7 +5566,7 @@ function blueprintToTestArtifacts(blueprint) {
|
|
|
5479
5566
|
origin: "template",
|
|
5480
5567
|
content: ARTIFACT_TEMPLATES.tests.setup
|
|
5481
5568
|
}];
|
|
5482
|
-
if (blueprint
|
|
5569
|
+
if (blueprintToMachinery(blueprint).browser) artifacts.push({
|
|
5483
5570
|
path: "tests/setupBrowser.ts",
|
|
5484
5571
|
group: "tests",
|
|
5485
5572
|
ownership: "birth",
|
|
@@ -6528,6 +6615,11 @@ function blueprintToQuestions(blueprint) {
|
|
|
6528
6615
|
message: "showcase projects a browser app, and this workspace declares none, so it emits nothing.",
|
|
6529
6616
|
blocking: false
|
|
6530
6617
|
});
|
|
6618
|
+
if (blueprint.journey && !blueprint.app.includes("browser")) questions.push({
|
|
6619
|
+
field: "journey",
|
|
6620
|
+
message: "journey projects a browser app, and this workspace declares none, so it emits nothing.",
|
|
6621
|
+
blocking: false
|
|
6622
|
+
});
|
|
6531
6623
|
questions.push(...dependenciesToQuestions(blueprint.dependencies, "dependencies", DEPENDENCY_NAME_PATTERN, ORKESTREL_RANGE_PATTERN), ...dependenciesToQuestions(blueprint.peers.filter((peer) => peer.name.startsWith("@orkestrel/")), "peers", DEPENDENCY_NAME_PATTERN, ORKESTREL_RANGE_PATTERN), ...dependenciesToQuestions(blueprint.peers.filter((peer) => !peer.name.startsWith("@orkestrel/")), "peers", FOREIGN_NAME_PATTERN, FLOOR_RANGE_PATTERN), ...dependenciesToQuestions(blueprint.extras, "extras", FOREIGN_NAME_PATTERN, EXTRA_RANGE_PATTERN));
|
|
6532
6624
|
const lists = [
|
|
6533
6625
|
["dependencies", blueprint.dependencies],
|
|
@@ -6735,14 +6827,15 @@ function createBlueprint(name, input) {
|
|
|
6735
6827
|
engines: input?.engines ?? DEFAULT_ENGINES,
|
|
6736
6828
|
overrides: input?.overrides ?? [],
|
|
6737
6829
|
bin: input?.bin ?? false,
|
|
6738
|
-
setup: input?.setup ??
|
|
6830
|
+
setup: input?.setup ?? [],
|
|
6739
6831
|
guides: input?.guides ?? false,
|
|
6740
6832
|
integration: input?.integration ?? false,
|
|
6741
6833
|
conformance: input?.conformance ?? false,
|
|
6742
6834
|
service: input?.service ?? false,
|
|
6743
6835
|
vendors: input?.vendors ?? [],
|
|
6744
6836
|
global: input?.global ?? false,
|
|
6745
|
-
showcase: input?.showcase ?? false
|
|
6837
|
+
showcase: input?.showcase ?? false,
|
|
6838
|
+
journey: input?.journey ?? false
|
|
6746
6839
|
}));
|
|
6747
6840
|
if (blueprint === void 0) throw new ScaffoldError("INVALID", "The filled record is not a blueprint.", { name });
|
|
6748
6841
|
return blueprint;
|
|
@@ -7051,6 +7144,6 @@ var Compiler = class {
|
|
|
7051
7144
|
}
|
|
7052
7145
|
};
|
|
7053
7146
|
//#endregion
|
|
7054
|
-
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_CLOSING_MARKER, CATALOG_OPENING_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, ScaffoldError, TAB_WIDTH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToOrchestrationArtifacts, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, isArtifact, isAudit, isBlueprint, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSnapshot, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
7147
|
+
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_CLOSING_MARKER, CATALOG_OPENING_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, GLOBAL_SETUP_PATH, GROUPS, GUIDES_TEST_PATH, HEX_PATTERN, HOST_INVENTORY_PATH, HOST_PATHS, INTEGRATION_TEST_PATH, INVALID_PATH_CHARACTER_PATTERN, JOURNEY_CONFIG_PATH, MANIFEST_PATH, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_AUDIT_FINDINGS, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_NAME_LENGTH, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_SCRIPT_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, MINIMUM_NODE_VERSION, MINIMUM_NPM_VERSION, NAME_PATTERN, ORCHESTRATION_PATH_NAMES, ORCHESTRATION_PATH_PREFIXES, ORKESTREL_RANGE_PATTERN, PRINT_WIDTH, REFERENCE_PATHS, RELEASE_PROOF_COMMAND, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, ScaffoldError, TAB_WIDTH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToOrchestrationArtifacts, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, isArtifact, isAudit, isBlueprint, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSnapshot, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
7055
7148
|
|
|
7056
7149
|
//# sourceMappingURL=index.js.map
|