@orkestrel/scaffold 0.0.128 → 0.0.130

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.
@@ -353,6 +353,9 @@ export declare const AXES: readonly Axis[];
353
353
  /** Names the workspace axis an extension occupies. */
354
354
  export declare type Axis = 'src' | 'app';
355
355
 
356
+ /** Lists the configuration file a workspace with studies and a server application adds, frozen. */
357
+ export declare const BARREL_CONFIGS: readonly string[];
358
+
356
359
  /** Holds the baseline tooling versions, before framework holds apply. */
357
360
  export declare const BASE_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
358
361
 
@@ -1738,6 +1741,7 @@ export declare class Compiler implements CompilerInterface {
1738
1741
  readonly journey: string;
1739
1742
  readonly showcase: string;
1740
1743
  readonly server: string;
1744
+ readonly barrel: string;
1741
1745
  };
1742
1746
  readonly policy: string;
1743
1747
  readonly config: string;
@@ -1788,6 +1792,7 @@ export declare class Compiler implements CompilerInterface {
1788
1792
  readonly vue: string;
1789
1793
  readonly browser: string;
1790
1794
  readonly server: string;
1795
+ readonly barrel: string;
1791
1796
  readonly showcase: string;
1792
1797
  readonly journey: string;
1793
1798
  };
@@ -3086,6 +3091,21 @@ export declare class Compiler implements CompilerInterface {
3086
3091
  */
3087
3092
  export declare function matchesArtifactDriftReachability(ownership: Ownership, finding: ArtifactFinding): boolean;
3088
3093
 
3094
+ /**
3095
+ * Tests whether a workspace plans the application server barrel build.
3096
+ *
3097
+ * @param blueprint - The workspace specification.
3098
+ * @returns True if the workspace selects `studies` and the `server` application; false otherwise.
3099
+ *
3100
+ * @example
3101
+ * ```ts
3102
+ * import { createBlueprint, matchesBarrel } from '@orkestrel/scaffold'
3103
+ *
3104
+ * matchesBarrel(createBlueprint('crm', { app: ['core', 'server'], studies: true })) // true
3105
+ * ```
3106
+ */
3107
+ export declare function matchesBarrel(blueprint: Blueprint): boolean;
3108
+
3089
3109
  /**
3090
3110
  * Tests whether a declared engines floor is at or above the supported minimum.
3091
3111
  *
@@ -353,6 +353,9 @@ export declare const AXES: readonly Axis[];
353
353
  /** Names the workspace axis an extension occupies. */
354
354
  export declare type Axis = 'src' | 'app';
355
355
 
356
+ /** Lists the configuration file a workspace with studies and a server application adds, frozen. */
357
+ export declare const BARREL_CONFIGS: readonly string[];
358
+
356
359
  /** Holds the baseline tooling versions, before framework holds apply. */
357
360
  export declare const BASE_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
358
361
 
@@ -1738,6 +1741,7 @@ export declare class Compiler implements CompilerInterface {
1738
1741
  readonly journey: string;
1739
1742
  readonly showcase: string;
1740
1743
  readonly server: string;
1744
+ readonly barrel: string;
1741
1745
  };
1742
1746
  readonly policy: string;
1743
1747
  readonly config: string;
@@ -1788,6 +1792,7 @@ export declare class Compiler implements CompilerInterface {
1788
1792
  readonly vue: string;
1789
1793
  readonly browser: string;
1790
1794
  readonly server: string;
1795
+ readonly barrel: string;
1791
1796
  readonly showcase: string;
1792
1797
  readonly journey: string;
1793
1798
  };
@@ -3086,6 +3091,21 @@ export declare class Compiler implements CompilerInterface {
3086
3091
  */
3087
3092
  export declare function matchesArtifactDriftReachability(ownership: Ownership, finding: ArtifactFinding): boolean;
3088
3093
 
3094
+ /**
3095
+ * Tests whether a workspace plans the application server barrel build.
3096
+ *
3097
+ * @param blueprint - The workspace specification.
3098
+ * @returns True if the workspace selects `studies` and the `server` application; false otherwise.
3099
+ *
3100
+ * @example
3101
+ * ```ts
3102
+ * import { createBlueprint, matchesBarrel } from '@orkestrel/scaffold'
3103
+ *
3104
+ * matchesBarrel(createBlueprint('crm', { app: ['core', 'server'], studies: true })) // true
3105
+ * ```
3106
+ */
3107
+ export declare function matchesBarrel(blueprint: Blueprint): boolean;
3108
+
3089
3109
  /**
3090
3110
  * Tests whether a declared engines floor is at or above the supported minimum.
3091
3111
  *
@@ -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.128",
6
+ version: "0.0.130",
7
7
  description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
8
8
  keywords: [
9
9
  "audit",
@@ -247,6 +247,8 @@ var APP_MATRIX = Object.freeze({
247
247
  });
248
248
  /** Lists the configuration files a workspace that ships its own executable adds, frozen. */
249
249
  var BIN_CONFIGS = Object.freeze(["configs/src/vite.bin.config.ts", "configs/src/tsconfig.bin.json"]);
250
+ /** Lists the configuration file a workspace with studies and a server application adds, frozen. */
251
+ var BARREL_CONFIGS = Object.freeze(["configs/app/vite.barrel.config.ts"]);
250
252
  /** Names the executable entry whose presence makes a workspace `bin`. */
251
253
  var BIN_ENTRY_PATH = "src/bin/main.ts";
252
254
  /** Names the built executable a bin workspace's manifest command runs. */
@@ -1494,6 +1496,37 @@ export function appServer(override?: UserConfig): UserConfig {
1494
1496
  },
1495
1497
  }
1496
1498
  }
1499
+ `,
1500
+ barrel: `function resolveBarrelExternal(id: string): boolean {
1501
+ if (id.startsWith('node:')) return true
1502
+ if (id.startsWith('@app/') || id.startsWith('@src/') || id.startsWith('.') || id.startsWith('/'))
1503
+ return false
1504
+ return /^(?:@[\\w.~-]+\\/)?[\\w.~-]+(?:\\/|$)/u.test(id)
1505
+ }
1506
+
1507
+ export function appBarrel(override?: UserConfig): UserConfig {
1508
+ const project: UserConfig = {
1509
+ resolve,
1510
+ publicDir: false,
1511
+ plugins: [outputBoundary('dist/app/server'), environmentBoundary('app/server')],
1512
+ build: {
1513
+ emptyOutDir: false,
1514
+ lib: {
1515
+ entry: resolveWorkspacePath('app/server/index.ts'),
1516
+ formats: ['es'],
1517
+ fileName: () => 'index.js',
1518
+ },
1519
+ outDir: resolveWorkspacePath('dist/app/server'),
1520
+ target: 'node22',
1521
+ rolldownOptions: {
1522
+ onLog: enforceBuildLog,
1523
+ external: resolveBarrelExternal,
1524
+ output: { codeSplitting: false },
1525
+ },
1526
+ },
1527
+ }
1528
+ return mergeOverride(project, override)
1529
+ }
1497
1530
  `
1498
1531
  }),
1499
1532
  policy: `export function policy(override?: UserConfig): UserConfig {
@@ -2084,6 +2117,11 @@ export default defineConfig(appBrowser())
2084
2117
  import { appServer } from '../../vite.config.ts'
2085
2118
 
2086
2119
  export default defineConfig(appServer())
2120
+ `,
2121
+ barrel: `import { defineConfig } from 'vite'
2122
+ import { appBarrel } from '../../vite.config.ts'
2123
+
2124
+ export default defineConfig(appBarrel())
2087
2125
  `,
2088
2126
  showcase: `import { defineConfig } from 'vite'
2089
2127
  import { appShowcase } from '../../vite.config.ts'
@@ -2716,10 +2754,15 @@ export interface DistributionClassification {
2716
2754
  readonly targets: readonly string[]
2717
2755
  }
2718
2756
 
2757
+ /** Holds the file, leading arguments, and shell route an npm run spawns with. */
2758
+ export interface DistributionNpmCommand {
2759
+ readonly file: string
2760
+ readonly prefix: readonly string[]
2761
+ readonly shell: boolean
2762
+ }
2763
+
2719
2764
  /** Names the workspace whose packed artifact the proof consumes. */
2720
2765
  export const DISTRIBUTION_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..')
2721
- /** Names the npm executable on the running host. */
2722
- export const DISTRIBUTION_NPM = process.platform === 'win32' ? 'npm.cmd' : 'npm'
2723
2766
  // The compiler this workspace installs, run as a command rather than called in
2724
2767
  // process: the command and its plain-text diagnostics are the same across the
2725
2768
  // compiler majors this toolchain supports, and its in-process API is not. It is
@@ -2732,12 +2775,6 @@ export const DISTRIBUTION_TYPESCRIPT = createRequire(
2732
2775
  ).resolve('typescript/package.json')
2733
2776
  /** Names the compiler installed by the workspace under proof. */
2734
2777
  export const DISTRIBUTION_COMPILER = join(dirname(DISTRIBUTION_TYPESCRIPT), 'bin', 'tsc')
2735
- // Windows needs a shell to launch a \`.cmd\`: Node refuses one directly since the
2736
- // batch-argument hardening, and \`spawnSync\` returns \`EINVAL\` with a null status
2737
- // rather than an exit code a caller can read. Every following argument is a literal or
2738
- // a path this file built, so the shell has nothing to escape.
2739
- /** Selects the Windows command-shell route required by the npm shim. */
2740
- export const DISTRIBUTION_SHELL = process.platform === 'win32'
2741
2778
  // \`prepublishOnly\` runs this proof as \`npm run test:distribution -- --mode release\`,
2742
2779
  // and the root configuration's project factories carry that mode into this project.
2743
2780
  // Release is the publish gate, so evidence it cannot obtain fails there and skips
@@ -3064,6 +3101,50 @@ export function readDistributionOutput(result: SpawnSyncReturns<string>): string
3064
3101
  return \`\${result.stdout ?? ''}\${result.stderr ?? ''}\`.trim()
3065
3102
  }
3066
3103
 
3104
+ /**
3105
+ * Resolves the npm command for the running host.
3106
+ *
3107
+ * @remarks
3108
+ * npm's JavaScript entry beside the running Node binary spawns without a shell on every host. The
3109
+ * shim is the fallback where none sits there, and Windows needs a shell to launch its \`.cmd\`: Node
3110
+ * refuses one directly since the batch-argument hardening, and \`spawnSync\` returns \`EINVAL\` with a
3111
+ * null status rather than an exit code a caller can read. Every argument this file passes is a
3112
+ * literal or a path it built, so the shell has nothing to escape.
3113
+ *
3114
+ * @returns The file to spawn, the arguments that precede npm's own, and whether it needs a shell.
3115
+ */
3116
+ export function resolveDistributionNpm(): DistributionNpmCommand {
3117
+ const cli = join(dirname(process.execPath), 'node_modules', 'npm', 'bin', 'npm-cli.js')
3118
+ if (existsSync(cli)) return { file: process.execPath, prefix: [cli], shell: false }
3119
+ const windows = process.platform === 'win32'
3120
+ return { file: windows ? 'npm.cmd' : 'npm', prefix: [], shell: windows }
3121
+ }
3122
+
3123
+ /**
3124
+ * Merges added variables over an inherited environment by case-folded name.
3125
+ *
3126
+ * @remarks
3127
+ * A Windows environment block folds names by case, and npm reads its \`npm_config_\` variables
3128
+ * case-insensitively on every host, so every inherited name an added name claims is dropped first:
3129
+ * an inherited \`NPM_CONFIG_CACHE\` would otherwise outrank an added \`npm_config_cache\`.
3130
+ *
3131
+ * @param inherited - The environment the child would inherit.
3132
+ * @param added - The variables the call sets.
3133
+ * @returns The merged environment.
3134
+ */
3135
+ export function mergeDistributionEnvironment(
3136
+ inherited: Readonly<Record<string, string | undefined>>,
3137
+ added: Readonly<Record<string, string>>,
3138
+ ): Readonly<Record<string, string | undefined>> {
3139
+ const claimed = new Set(Object.keys(added).map((name) => name.toLowerCase()))
3140
+ return {
3141
+ ...Object.fromEntries(
3142
+ Object.entries(inherited).filter(([name]) => !claimed.has(name.toLowerCase())),
3143
+ ),
3144
+ ...added,
3145
+ }
3146
+ }
3147
+
3067
3148
  /**
3068
3149
  * Runs npm with a cache inside the owned scratch directory.
3069
3150
  *
@@ -3077,11 +3158,12 @@ export function runDistributionNpm(
3077
3158
  cwd: string,
3078
3159
  scratch: string,
3079
3160
  ): SpawnSyncReturns<string> {
3080
- return spawnSync(DISTRIBUTION_NPM, [...args], {
3161
+ const npm = resolveDistributionNpm()
3162
+ return spawnSync(npm.file, [...npm.prefix, ...args], {
3081
3163
  cwd,
3082
3164
  encoding: 'utf8',
3083
- env: { ...process.env, npm_config_cache: join(scratch, 'cache') },
3084
- shell: DISTRIBUTION_SHELL,
3165
+ env: mergeDistributionEnvironment(process.env, { npm_config_cache: join(scratch, 'cache') }),
3166
+ shell: npm.shell,
3085
3167
  windowsHide: true,
3086
3168
  })
3087
3169
  }
@@ -6162,6 +6244,22 @@ function matchesPrintWidth(line) {
6162
6244
  return line.replaceAll(" ", " ".repeat(2)).length <= 100;
6163
6245
  }
6164
6246
  /**
6247
+ * Tests whether a workspace plans the application server barrel build.
6248
+ *
6249
+ * @param blueprint - The workspace specification.
6250
+ * @returns True if the workspace selects `studies` and the `server` application; false otherwise.
6251
+ *
6252
+ * @example
6253
+ * ```ts
6254
+ * import { createBlueprint, matchesBarrel } from '@orkestrel/scaffold'
6255
+ *
6256
+ * matchesBarrel(createBlueprint('crm', { app: ['core', 'server'], studies: true })) // true
6257
+ * ```
6258
+ */
6259
+ function matchesBarrel(blueprint) {
6260
+ return blueprint.studies && blueprint.app.includes("server");
6261
+ }
6262
+ /**
6165
6263
  * Selects the single published environment a package root points at.
6166
6264
  *
6167
6265
  * @param src - The declared published environments.
@@ -7243,6 +7341,7 @@ function blueprintToScripts(blueprint) {
7243
7341
  const compiles = publishes || blueprint.bin;
7244
7342
  const runtime = blueprint.app.filter((environment) => environment !== "core" && (environment !== "browser" || base));
7245
7343
  const vitest = "vitest run --config vite.config.ts --no-cache --reporter=dot";
7344
+ const built = [...runtime, ...application].flatMap((environment) => environment === "server" && matchesBarrel(blueprint) ? [environment, "barrel"] : [environment]);
7246
7345
  const checks = [
7247
7346
  ...blueprint.src,
7248
7347
  ...source,
@@ -7355,8 +7454,8 @@ function blueprintToScripts(blueprint) {
7355
7454
  ...Object.fromEntries(targets.map((name) => [`build:src:${name}`, [`vite build --config configs/src/vite.${name}.config.ts`, ...name === "styles" && blueprint.themes ? ["vite build --config configs/src/vite.themes.config.ts"] : []].join(" && ")]))
7356
7455
  } : {},
7357
7456
  ...blueprint.app.length > 0 ? {
7358
- "build:app": runtime.length + application.length > 0 ? [...runtime, ...application].map((environment) => `npm run build:app:${environment}`).join(" && ") : `npm run check:app:${blueprint.app.includes("core") ? "core" : "browser"}`,
7359
- ...Object.fromEntries([...runtime, ...application].map((environment) => [`build:app:${environment}`, `vite build --config configs/app/vite.${environment}.config.ts`]))
7457
+ "build:app": runtime.length + application.length > 0 ? built.map((environment) => `npm run build:app:${environment}`).join(" && ") : `npm run check:app:${blueprint.app.includes("core") ? "core" : "browser"}`,
7458
+ ...Object.fromEntries(built.map((environment) => [`build:app:${environment}`, `vite build --config configs/app/vite.${environment}.config.ts`]))
7360
7459
  } : {},
7361
7460
  ...base ? {
7362
7461
  dev: "vite --config configs/app/vite.browser.config.ts",
@@ -7812,6 +7911,7 @@ function blueprintToRootVite(blueprint) {
7812
7911
  })] : [],
7813
7912
  ...planned.has("app:vue") ? [fillTemplate(CONFIG_TEMPLATES.factories.app.vue, { journeyExclude: journeyed ? " exclude: ['tests/app/vue/integration.test.ts'],\n" : " exclude: [],\n" })] : [],
7814
7913
  ...planned.has("app:server") ? [CONFIG_TEMPLATES.factories.app.server] : [],
7914
+ ...matchesBarrel(blueprint) ? [CONFIG_TEMPLATES.factories.app.barrel] : [],
7815
7915
  CONFIG_TEMPLATES.factories.policy,
7816
7916
  CONFIG_TEMPLATES.factories.config,
7817
7917
  ...planned.has("setup") ? [CONFIG_TEMPLATES.factories.setup] : [],
@@ -7961,6 +8061,14 @@ ${paths.join("\n")}
7961
8061
  origin: "template",
7962
8062
  content: path === "configs/src/tsconfig.bin.json" ? CONFIG_TEMPLATES.tsconfigs.bin : fillTemplate(CONFIG_TEMPLATES.vites.bin, { paths: renderedPaths })
7963
8063
  })) : [];
8064
+ const barrels = matchesBarrel(blueprint) ? BARREL_CONFIGS.map((path) => ({
8065
+ path,
8066
+ group: "configs",
8067
+ ownership: "content",
8068
+ origin: "template",
8069
+ environment: "server",
8070
+ content: CONFIG_TEMPLATES.vites.app.barrel
8071
+ })) : [];
7964
8072
  const includeSuffixes = [
7965
8073
  "cts",
7966
8074
  "mts",
@@ -8066,6 +8174,7 @@ ${paths.join("\n")}
8066
8174
  ...sources,
8067
8175
  ...bins,
8068
8176
  ...applications,
8177
+ ...barrels,
8069
8178
  ...faces,
8070
8179
  ...showcase,
8071
8180
  ...journey,
@@ -9895,6 +10004,6 @@ var Compiler = class {
9895
10004
  return error;
9896
10005
  }
9897
10006
  };
9898
- export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_GROUPS, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSER_ENTRIES, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, 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, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, SURFACE_TRANSFERS, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToArtifactFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferArtifactDrift, inferArtifactGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isArtifactFinding, isArtifactGroup, isArtifactGroups, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFloorPath, isHexContent, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesArtifactDriftReachability, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseArtifactGroups, parseBlueprint, parseCompilerOptions, parseExtension, parseOwnedJSONValue, parseSnapshot, pathToCondition, planToArtifactFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectArtifactGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
10007
+ export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_GROUPS, ARTIFACT_TEMPLATES, AXES, BARREL_CONFIGS, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BIN_OUTPUT_PATH, BROWSER_ENTRIES, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, CANON_PATHS, CAPTURE_DEV_DEPENDENCIES, CAPTURE_UPSTREAM, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONFIG_TEMPLATES, CONFORMANCE_TEST_PATH, CONTROL_CHARACTER_PATTERN, Compiler, DECLARATION_DEV_DEPENDENCIES, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, DISTRIBUTION_SETUP_PATH, DISTRIBUTION_TEST_PATH, ENGINES_PATTERN, ENVIRONMENTS, EXECUTABLE_PATHS, EXTRA_RANGE_PATTERN, FLOOR_RANGE_PATTERN, FOREIGN_NAME_PATTERN, FRAMEWORKS, FRAMEWORK_MATRIX, GLOBAL_SETUP_PATH, 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, RESERVED_SHEET_NAMES, SEED_GUIDE_PATHS, SERVICE_SCRIPT_PATH, SERVICE_SETUP_PATH, SERVICE_TEST_INCLUDE, SHEET_ENTRY_NAME, SHOWCASE_CONFIG_PATH, SHOWCASE_DEV_DEPENDENCIES, SHOWCASE_OVERRIDES, SHOWCASE_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STUDIES_TEST_INCLUDE, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, SURFACE_EDIT_LENGTH, SURFACE_TRANSFERS, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, TOOLCHAIN_HOLDS, TREE_TEST_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToArtifactFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToToolchainHolds, blueprintToWritableScripts, bytesToHex, catalogToLayers, collectSurfaceAdvisories, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeHash, computeTotal, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferArtifactDrift, inferArtifactGroup, inferSurfaceSimilarity, insertManifestDependencies, insertManifestSection, isArtifact, isArtifactFinding, isArtifactGroup, isArtifactGroups, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFloorPath, isHexContent, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, iterateAnswers, manifestToDependencies, manifestToName, matchesArtifactDriftReachability, matchesBarrel, matchesEngines, matchesGuideRefusal, matchesOrchestrationPath, matchesPrintWidth, matchesRange, matchesSurfaceStructure, nameToGuide, overridesToQuestions, parseArtifactGroups, parseBlueprint, parseCompilerOptions, parseExtension, parseOwnedJSONValue, parseSnapshot, pathToCondition, planToArtifactFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverride, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, scanManifestTokens, selectArtifactGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
9899
10008
 
9900
10009
  //# sourceMappingURL=index.js.map