@orkestrel/scaffold 0.0.98 → 0.0.100
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/agents/skills/orkestrel-scout/scripts/map.js +14 -3
- package/dist/bin/main.js +74 -19
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +43 -40
- package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +3 -3
- package/dist/host/agents/skills/orkestrel-dispatch/references/bench.md +1 -1
- package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-falsify/references/reconcile.md +1 -1
- package/dist/host/agents/skills/orkestrel-scout/SKILL.md +4 -4
- package/dist/host/agents/skills/orkestrel-scout/scripts/map.ts +14 -3
- package/dist/host/agents/transports/claude-cli.md +2 -2
- package/dist/host/agents/transports/codex.md +4 -4
- package/dist/host/agents/transports/cursor.md +1 -1
- package/dist/host/claude/AGENTS.md +2 -2
- package/dist/host/claude/agents/grok.md +1 -1
- package/dist/host/claude/agents/scout.md +4 -2
- package/dist/host/claude/rules/documentation.md +3 -3
- package/dist/host/claude/rules/styles.md +3 -0
- package/dist/host/codex/agents/builder.toml +1 -1
- package/dist/host/codex/agents/grok.toml +2 -2
- package/dist/host/codex/agents/opus.toml +19 -15
- package/dist/host/codex/agents/orkestrel.toml +1 -1
- package/dist/host/codex/agents/planner.toml +17 -12
- package/dist/host/codex/agents/reviewer.toml +22 -12
- package/dist/host/codex/agents/scout.toml +4 -2
- package/dist/host/codex/agents/verifier.toml +1 -1
- package/dist/host/codex/config.toml +6 -7
- package/dist/host/cursor/rules/orchestration.mdc +1 -1
- package/dist/host/guides/scaffold.md +26 -4
- package/dist/host/manifest.json +27 -27
- package/dist/host/scripts/browsers.sh +0 -0
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/npm.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/src/core/index.cjs +103 -4
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +40 -1
- package/dist/src/core/index.d.ts +40 -1
- package/dist/src/core/index.js +101 -5
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +9 -3
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +7 -1
- package/dist/src/server/index.d.ts +7 -1
- package/dist/src/server/index.js +11 -5
- package/dist/src/server/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -600,6 +600,20 @@ export declare function blueprintToMachinery(blueprint: Blueprint): ViteMachiner
|
|
|
600
600
|
*/
|
|
601
601
|
export declare function blueprintToManifest(blueprint: Blueprint): string;
|
|
602
602
|
|
|
603
|
+
/**
|
|
604
|
+
* Projects the scoped npm overrides required by a selected browser showcase.
|
|
605
|
+
*
|
|
606
|
+
* @param blueprint - The workspace specification.
|
|
607
|
+
* @returns The showcase override map, or an empty map for other workspaces.
|
|
608
|
+
* @example
|
|
609
|
+
* ```ts
|
|
610
|
+
* import { blueprintToManifestOverrides, createBlueprint } from '@orkestrel/scaffold'
|
|
611
|
+
* blueprintToManifestOverrides(createBlueprint('desk', { app: ['browser'], showcase: true }))
|
|
612
|
+
* // { 'vite-plugin-singlefile@2.3.3': { micromatch: 'npm:picomatch@2.3.2' } }
|
|
613
|
+
* ```
|
|
614
|
+
*/
|
|
615
|
+
export declare function blueprintToManifestOverrides(blueprint: Blueprint): Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
616
|
+
|
|
603
617
|
/**
|
|
604
618
|
* Compiles the browser projects' pre-bundled dependency list for a blueprint.
|
|
605
619
|
*
|
|
@@ -2660,11 +2674,15 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2660
2674
|
* `additions` names dependencies the manifest does not declare, each inserted
|
|
2661
2675
|
* into the section its list names: `runtime` into `dependencies` and
|
|
2662
2676
|
* `development` into `devDependencies`. Absent, nothing is inserted.
|
|
2677
|
+
* `overrides` names npm selector maps whose string leaves are replaced or inserted.
|
|
2678
|
+
* Malformed ancestors and duplicate selected keys refuse the write. This metadata
|
|
2679
|
+
* is independent of the artifact replacements carried by `Blueprint.overrides`.
|
|
2663
2680
|
*/
|
|
2664
2681
|
export declare interface ManifestRegionSet {
|
|
2665
2682
|
readonly pins: DependencyPinSet;
|
|
2666
2683
|
readonly scripts: readonly ManifestScript[];
|
|
2667
2684
|
readonly additions?: DependencyPinSet;
|
|
2685
|
+
readonly overrides?: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
2668
2686
|
}
|
|
2669
2687
|
|
|
2670
2688
|
/**
|
|
@@ -3422,6 +3440,24 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3422
3440
|
*/
|
|
3423
3441
|
export declare function renderSkillPointer(canonical: string, name: string): string | undefined;
|
|
3424
3442
|
|
|
3443
|
+
/**
|
|
3444
|
+
* Replaces selected npm override leaves while preserving every byte outside the edited path.
|
|
3445
|
+
*
|
|
3446
|
+
* @param manifest - The JSON package manifest text.
|
|
3447
|
+
* @param overrides - The scoped selectors and string leaves to write.
|
|
3448
|
+
* @returns The aligned text, or `undefined` for invalid JSON, duplicate selected keys, malformed ancestors, or non-string owned leaves.
|
|
3449
|
+
* @remarks
|
|
3450
|
+
* Absent ancestors and leaves are inserted. Aligned strings retain their original spelling.
|
|
3451
|
+
* Unrelated overrides remain caller-owned. Artifact replacements in `Blueprint.overrides` are independent.
|
|
3452
|
+
* @example
|
|
3453
|
+
* ```ts
|
|
3454
|
+
* import { replaceManifestOverrides } from '@orkestrel/scaffold'
|
|
3455
|
+
* replaceManifestOverrides('{}', { 'plugin@1.0.0': { child: '2.0.0' } })
|
|
3456
|
+
* // '{"overrides":{"plugin@1.0.0":{"child":"2.0.0"}}}'
|
|
3457
|
+
* ```
|
|
3458
|
+
*/
|
|
3459
|
+
export declare function replaceManifestOverrides(manifest: string, overrides: Readonly<Record<string, Readonly<Record<string, string>>>>): string | undefined;
|
|
3460
|
+
|
|
3425
3461
|
/**
|
|
3426
3462
|
* Replaces the runtime and development dependency ranges in package manifest text, and never a
|
|
3427
3463
|
* peer range.
|
|
@@ -3681,7 +3717,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3681
3717
|
export declare const SHOWCASE_CONFIG_PATH = "configs/app/vite.showcase.config.ts";
|
|
3682
3718
|
|
|
3683
3719
|
/**
|
|
3684
|
-
* Names the
|
|
3720
|
+
* Names the tested dependency pair selected by the optional single-file showcase build.
|
|
3685
3721
|
*
|
|
3686
3722
|
* @example
|
|
3687
3723
|
* ```ts
|
|
@@ -3692,6 +3728,9 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3692
3728
|
*/
|
|
3693
3729
|
export declare const SHOWCASE_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
|
|
3694
3730
|
|
|
3731
|
+
/** Names the scoped npm override required by the tested showcase plugin. */
|
|
3732
|
+
export declare const SHOWCASE_OVERRIDES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
3733
|
+
|
|
3695
3734
|
/** Names the physical showcase output directory. */
|
|
3696
3735
|
export declare const SHOWCASE_PAGES_PATH = "showcase";
|
|
3697
3736
|
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -600,6 +600,20 @@ export declare function blueprintToMachinery(blueprint: Blueprint): ViteMachiner
|
|
|
600
600
|
*/
|
|
601
601
|
export declare function blueprintToManifest(blueprint: Blueprint): string;
|
|
602
602
|
|
|
603
|
+
/**
|
|
604
|
+
* Projects the scoped npm overrides required by a selected browser showcase.
|
|
605
|
+
*
|
|
606
|
+
* @param blueprint - The workspace specification.
|
|
607
|
+
* @returns The showcase override map, or an empty map for other workspaces.
|
|
608
|
+
* @example
|
|
609
|
+
* ```ts
|
|
610
|
+
* import { blueprintToManifestOverrides, createBlueprint } from '@orkestrel/scaffold'
|
|
611
|
+
* blueprintToManifestOverrides(createBlueprint('desk', { app: ['browser'], showcase: true }))
|
|
612
|
+
* // { 'vite-plugin-singlefile@2.3.3': { micromatch: 'npm:picomatch@2.3.2' } }
|
|
613
|
+
* ```
|
|
614
|
+
*/
|
|
615
|
+
export declare function blueprintToManifestOverrides(blueprint: Blueprint): Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
616
|
+
|
|
603
617
|
/**
|
|
604
618
|
* Compiles the browser projects' pre-bundled dependency list for a blueprint.
|
|
605
619
|
*
|
|
@@ -2660,11 +2674,15 @@ export declare class Compiler implements CompilerInterface {
|
|
|
2660
2674
|
* `additions` names dependencies the manifest does not declare, each inserted
|
|
2661
2675
|
* into the section its list names: `runtime` into `dependencies` and
|
|
2662
2676
|
* `development` into `devDependencies`. Absent, nothing is inserted.
|
|
2677
|
+
* `overrides` names npm selector maps whose string leaves are replaced or inserted.
|
|
2678
|
+
* Malformed ancestors and duplicate selected keys refuse the write. This metadata
|
|
2679
|
+
* is independent of the artifact replacements carried by `Blueprint.overrides`.
|
|
2663
2680
|
*/
|
|
2664
2681
|
export declare interface ManifestRegionSet {
|
|
2665
2682
|
readonly pins: DependencyPinSet;
|
|
2666
2683
|
readonly scripts: readonly ManifestScript[];
|
|
2667
2684
|
readonly additions?: DependencyPinSet;
|
|
2685
|
+
readonly overrides?: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
2668
2686
|
}
|
|
2669
2687
|
|
|
2670
2688
|
/**
|
|
@@ -3422,6 +3440,24 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3422
3440
|
*/
|
|
3423
3441
|
export declare function renderSkillPointer(canonical: string, name: string): string | undefined;
|
|
3424
3442
|
|
|
3443
|
+
/**
|
|
3444
|
+
* Replaces selected npm override leaves while preserving every byte outside the edited path.
|
|
3445
|
+
*
|
|
3446
|
+
* @param manifest - The JSON package manifest text.
|
|
3447
|
+
* @param overrides - The scoped selectors and string leaves to write.
|
|
3448
|
+
* @returns The aligned text, or `undefined` for invalid JSON, duplicate selected keys, malformed ancestors, or non-string owned leaves.
|
|
3449
|
+
* @remarks
|
|
3450
|
+
* Absent ancestors and leaves are inserted. Aligned strings retain their original spelling.
|
|
3451
|
+
* Unrelated overrides remain caller-owned. Artifact replacements in `Blueprint.overrides` are independent.
|
|
3452
|
+
* @example
|
|
3453
|
+
* ```ts
|
|
3454
|
+
* import { replaceManifestOverrides } from '@orkestrel/scaffold'
|
|
3455
|
+
* replaceManifestOverrides('{}', { 'plugin@1.0.0': { child: '2.0.0' } })
|
|
3456
|
+
* // '{"overrides":{"plugin@1.0.0":{"child":"2.0.0"}}}'
|
|
3457
|
+
* ```
|
|
3458
|
+
*/
|
|
3459
|
+
export declare function replaceManifestOverrides(manifest: string, overrides: Readonly<Record<string, Readonly<Record<string, string>>>>): string | undefined;
|
|
3460
|
+
|
|
3425
3461
|
/**
|
|
3426
3462
|
* Replaces the runtime and development dependency ranges in package manifest text, and never a
|
|
3427
3463
|
* peer range.
|
|
@@ -3681,7 +3717,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3681
3717
|
export declare const SHOWCASE_CONFIG_PATH = "configs/app/vite.showcase.config.ts";
|
|
3682
3718
|
|
|
3683
3719
|
/**
|
|
3684
|
-
* Names the
|
|
3720
|
+
* Names the tested dependency pair selected by the optional single-file showcase build.
|
|
3685
3721
|
*
|
|
3686
3722
|
* @example
|
|
3687
3723
|
* ```ts
|
|
@@ -3692,6 +3728,9 @@ export declare class Compiler implements CompilerInterface {
|
|
|
3692
3728
|
*/
|
|
3693
3729
|
export declare const SHOWCASE_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
|
|
3694
3730
|
|
|
3731
|
+
/** Names the scoped npm override required by the tested showcase plugin. */
|
|
3732
|
+
export declare const SHOWCASE_OVERRIDES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
3733
|
+
|
|
3695
3734
|
/** Names the physical showcase output directory. */
|
|
3696
3735
|
export declare const SHOWCASE_PAGES_PATH = "showcase";
|
|
3697
3736
|
|
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.100",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -709,7 +709,7 @@ var APP_BROWSER_DEV_DEPENDENCIES = Object.freeze({
|
|
|
709
709
|
"@orkestrel/html": package_default.devDependencies["@orkestrel/html"]
|
|
710
710
|
});
|
|
711
711
|
/**
|
|
712
|
-
* Names the
|
|
712
|
+
* Names the tested dependency pair selected by the optional single-file showcase build.
|
|
713
713
|
*
|
|
714
714
|
* @example
|
|
715
715
|
* ```ts
|
|
@@ -718,7 +718,12 @@ var APP_BROWSER_DEV_DEPENDENCIES = Object.freeze({
|
|
|
718
718
|
* SHOWCASE_DEV_DEPENDENCIES['vite-plugin-singlefile'] // the showcase plugin range
|
|
719
719
|
* ```
|
|
720
720
|
*/
|
|
721
|
-
var SHOWCASE_DEV_DEPENDENCIES = Object.freeze({
|
|
721
|
+
var SHOWCASE_DEV_DEPENDENCIES = Object.freeze({
|
|
722
|
+
"vite-plugin-singlefile": "2.3.3",
|
|
723
|
+
vite: package_default.devDependencies.vite
|
|
724
|
+
});
|
|
725
|
+
/** Names the scoped npm override required by the tested showcase plugin. */
|
|
726
|
+
var SHOWCASE_OVERRIDES = Object.freeze({ [`vite-plugin-singlefile@${SHOWCASE_DEV_DEPENDENCIES["vite-plugin-singlefile"]}`]: Object.freeze({ micromatch: "npm:picomatch@2.3.2" }) });
|
|
722
727
|
/** Lists the development dependencies a private server application adds. */
|
|
723
728
|
var APP_SERVER_DEV_DEPENDENCIES = Object.freeze({
|
|
724
729
|
"@orkestrel/emitter": package_default.dependencies["@orkestrel/emitter"],
|
|
@@ -5764,16 +5769,106 @@ function blueprintToDevDependencies(blueprint) {
|
|
|
5764
5769
|
...blueprint.src.includes("browser") || blueprint.setup.includes("browser") || sheets ? SOURCE_BROWSER_DEV_DEPENDENCIES : {},
|
|
5765
5770
|
...blueprint.app.length > 0 ? APP_DEV_DEPENDENCIES : {},
|
|
5766
5771
|
...blueprint.app.includes("browser") ? APP_BROWSER_DEV_DEPENDENCIES : {},
|
|
5767
|
-
...blueprint.showcase && blueprint.app.includes("browser") ? SHOWCASE_DEV_DEPENDENCIES : {},
|
|
5768
5772
|
...blueprint.app.includes("server") ? APP_SERVER_DEV_DEPENDENCIES : {}
|
|
5769
5773
|
};
|
|
5770
5774
|
for (const framework of blueprintToMachinery(blueprint).frameworks) Object.assign(merged, FRAMEWORK_MATRIX[framework].dependencies);
|
|
5771
5775
|
for (const extra of blueprint.extras) merged[extra.name] = extra.range;
|
|
5776
|
+
if (blueprint.showcase && blueprint.app.includes("browser")) Object.assign(merged, SHOWCASE_DEV_DEPENDENCIES);
|
|
5772
5777
|
for (const peer of blueprint.peers) if (!Object.hasOwn(merged, peer.name)) merged[peer.name] = peer.range;
|
|
5773
5778
|
const runtime = new Set(blueprint.dependencies.map((dependency) => dependency.name));
|
|
5774
5779
|
return Object.fromEntries(Object.entries(merged).filter(([name]) => name !== own && !runtime.has(name)).sort(([left], [right]) => compareValues(left, right)));
|
|
5775
5780
|
}
|
|
5776
5781
|
/**
|
|
5782
|
+
* Projects the scoped npm overrides required by a selected browser showcase.
|
|
5783
|
+
*
|
|
5784
|
+
* @param blueprint - The workspace specification.
|
|
5785
|
+
* @returns The showcase override map, or an empty map for other workspaces.
|
|
5786
|
+
* @example
|
|
5787
|
+
* ```ts
|
|
5788
|
+
* import { blueprintToManifestOverrides, createBlueprint } from '@orkestrel/scaffold'
|
|
5789
|
+
* blueprintToManifestOverrides(createBlueprint('desk', { app: ['browser'], showcase: true }))
|
|
5790
|
+
* // { 'vite-plugin-singlefile@2.3.3': { micromatch: 'npm:picomatch@2.3.2' } }
|
|
5791
|
+
* ```
|
|
5792
|
+
*/
|
|
5793
|
+
function blueprintToManifestOverrides(blueprint) {
|
|
5794
|
+
return blueprint.showcase && blueprint.app.includes("browser") ? SHOWCASE_OVERRIDES : {};
|
|
5795
|
+
}
|
|
5796
|
+
/**
|
|
5797
|
+
* Replaces selected npm override leaves while preserving every byte outside the edited path.
|
|
5798
|
+
*
|
|
5799
|
+
* @param manifest - The JSON package manifest text.
|
|
5800
|
+
* @param overrides - The scoped selectors and string leaves to write.
|
|
5801
|
+
* @returns The aligned text, or `undefined` for invalid JSON, duplicate selected keys, malformed ancestors, or non-string owned leaves.
|
|
5802
|
+
* @remarks
|
|
5803
|
+
* Absent ancestors and leaves are inserted. Aligned strings retain their original spelling.
|
|
5804
|
+
* Unrelated overrides remain caller-owned. Artifact replacements in `Blueprint.overrides` are independent.
|
|
5805
|
+
* @example
|
|
5806
|
+
* ```ts
|
|
5807
|
+
* import { replaceManifestOverrides } from '@orkestrel/scaffold'
|
|
5808
|
+
* replaceManifestOverrides('{}', { 'plugin@1.0.0': { child: '2.0.0' } })
|
|
5809
|
+
* // '{"overrides":{"plugin@1.0.0":{"child":"2.0.0"}}}'
|
|
5810
|
+
* ```
|
|
5811
|
+
*/
|
|
5812
|
+
function replaceManifestOverrides(manifest, overrides) {
|
|
5813
|
+
if (!isRecord(parseJSON(manifest))) return void 0;
|
|
5814
|
+
let compiled = manifest;
|
|
5815
|
+
for (const [selector, children] of Object.entries(overrides)) for (const [child, range] of Object.entries(children)) {
|
|
5816
|
+
const path = [
|
|
5817
|
+
"overrides",
|
|
5818
|
+
selector,
|
|
5819
|
+
child
|
|
5820
|
+
];
|
|
5821
|
+
let open = compiled.indexOf("{");
|
|
5822
|
+
for (let level = 0; level < path.length; level += 1) {
|
|
5823
|
+
const key = path[level];
|
|
5824
|
+
let depth = 0;
|
|
5825
|
+
let close = -1;
|
|
5826
|
+
let start = -1;
|
|
5827
|
+
let end = -1;
|
|
5828
|
+
let count = 0;
|
|
5829
|
+
for (const token of compiled.slice(open).matchAll(/"(?:\\[\s\S]|[^"\\])*"|[{}[\]]/gu)) {
|
|
5830
|
+
const position = open + token.index;
|
|
5831
|
+
const text = token[0];
|
|
5832
|
+
if (text === "{" || text === "[") depth += 1;
|
|
5833
|
+
else if (text === "}" || text === "]") {
|
|
5834
|
+
depth -= 1;
|
|
5835
|
+
if (depth === 1 && start >= 0 && end < 0) end = position + 1;
|
|
5836
|
+
if (depth === 0) {
|
|
5837
|
+
close = position;
|
|
5838
|
+
break;
|
|
5839
|
+
}
|
|
5840
|
+
} else if (depth === 1) {
|
|
5841
|
+
if (position === start) end = position + text.length;
|
|
5842
|
+
let colon = position + text.length;
|
|
5843
|
+
while (/\s/u.test(compiled.charAt(colon))) colon += 1;
|
|
5844
|
+
if (compiled.charAt(colon) !== ":" || parseJSON(text) !== key) continue;
|
|
5845
|
+
count += 1;
|
|
5846
|
+
start = colon + 1;
|
|
5847
|
+
while (/\s/u.test(compiled.charAt(start))) start += 1;
|
|
5848
|
+
end = -1;
|
|
5849
|
+
}
|
|
5850
|
+
}
|
|
5851
|
+
if (close < 0 || count > 1) return void 0;
|
|
5852
|
+
if (count === 0) {
|
|
5853
|
+
let insertion = JSON.stringify(range);
|
|
5854
|
+
for (const name of path.slice(level).reverse()) insertion = `{${JSON.stringify(name)}:${insertion}}`;
|
|
5855
|
+
let tail = close - 1;
|
|
5856
|
+
while (tail > open && /\s/u.test(compiled.charAt(tail))) tail -= 1;
|
|
5857
|
+
compiled = compiled.slice(0, tail + 1) + (tail === open ? "" : ",") + insertion.slice(1, -1) + compiled.slice(tail + 1);
|
|
5858
|
+
break;
|
|
5859
|
+
}
|
|
5860
|
+
if (level < path.length - 1) {
|
|
5861
|
+
if (compiled.charAt(start) !== "{") return void 0;
|
|
5862
|
+
open = start;
|
|
5863
|
+
} else {
|
|
5864
|
+
if (compiled.charAt(start) !== "\"" || end < 0) return void 0;
|
|
5865
|
+
if (parseJSON(compiled.slice(start, end)) !== range) compiled = compiled.slice(0, start) + JSON.stringify(range) + compiled.slice(end);
|
|
5866
|
+
}
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
return compiled;
|
|
5870
|
+
}
|
|
5871
|
+
/**
|
|
5777
5872
|
* Projects a blueprint into the scripts its manifest declares.
|
|
5778
5873
|
*
|
|
5779
5874
|
* @param blueprint - The workspace specification.
|
|
@@ -6106,6 +6201,7 @@ function blueprintToManifest(blueprint) {
|
|
|
6106
6201
|
scripts: blueprintToScripts(blueprint),
|
|
6107
6202
|
dependencies,
|
|
6108
6203
|
devDependencies: blueprintToDevDependencies(blueprint),
|
|
6204
|
+
...Object.keys(blueprintToManifestOverrides(blueprint)).length > 0 ? { overrides: blueprintToManifestOverrides(blueprint) } : {},
|
|
6109
6205
|
...Object.keys(peerDependencies).length > 0 ? { peerDependencies } : {},
|
|
6110
6206
|
...Object.keys(peerDependenciesMeta).length > 0 ? { peerDependenciesMeta } : {},
|
|
6111
6207
|
devEngines: WORKSPACE_DEV_ENGINES,
|
|
@@ -8705,6 +8801,6 @@ var Compiler = class {
|
|
|
8705
8801
|
}
|
|
8706
8802
|
};
|
|
8707
8803
|
//#endregion
|
|
8708
|
-
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, 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, FRAMEWORKS, FRAMEWORK_MATRIX, 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, 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_PAGES_PATH, SKILLS_CONFIG_PATH, SOURCE_BROWSER_DEV_DEPENDENCIES, SRC_MATRIX, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, insertManifestDependencies, isArtifact, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseExtension, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
8804
|
+
export { APP_BROWSER_DEV_DEPENDENCIES, APP_DEV_DEPENDENCIES, APP_MATRIX, APP_SERVER_DEV_DEPENDENCIES, ARTIFACT_TEMPLATES, AXES, BASE_DEV_DEPENDENCIES, BIN_CONFIGS, BIN_ENTRY_PATH, BROWSE_DEV_DEPENDENCIES, BROWSE_UPSTREAM, 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, FRAMEWORKS, FRAMEWORK_MATRIX, 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, 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, STYLES_DEV_DEPENDENCIES, STYLES_ENTRY_PATH, SURFACES, ScaffoldError, TAB_WIDTH, TARGET_SKILL_NAMES, THEMES_BARREL_PATH, THEMES_ENTRY_PATH, VERSION_PATTERN, WORKSPACE_DEV_ENGINES, WORKSPACE_OWNED_PATHS, applyOverrides, artifactToFinding, artifactToHex, artifactsToQuestions, blueprintToConfigArtifacts, blueprintToDevDependencies, blueprintToDocumentArtifacts, blueprintToExports, blueprintToFaces, blueprintToGuideArtifacts, blueprintToHostArtifacts, blueprintToMachinery, blueprintToManifest, blueprintToManifestOverrides, blueprintToOptimizedDependencies, blueprintToOrchestrationArtifacts, blueprintToProjects, blueprintToQuestions, blueprintToRootTsconfig, blueprintToRootVite, blueprintToScripts, blueprintToSheets, blueprintToSourceArtifacts, blueprintToTestArtifacts, blueprintToWritableScripts, bytesToHex, catalogToLayers, cloneValue, compareVersions, computeBytes, computeHash, contentToHex, createBlueprint, dependenciesToQuestions, extractRangeMajor, extractVersion, inferDrift, inferGroup, insertManifestDependencies, isArtifact, isAudit, isBlueprint, isBrowserExtension, isCanonPath, isCatalogEntry, isCollection, isCompilerHooks, isCompilerOptions, isContent, isDeferredPath, isDependency, isDependencyName, isEnvironment, isExtension, isFinding, isFloorPath, isGroup, isGroups, isHex, isManifestScript, isMirror, isOverride, isPath, isPlan, isQuestion, isRetainedPath, isScaffoldError, isSheetName, isSnapshot, isStylesExtension, isSurface, manifestToDependencies, manifestToName, matchesDriftReachability, matchesEngines, matchesOrchestrationPath, matchesPrintWidth, matchesRange, nameToGuide, overridesToQuestions, parseBlueprint, parseCompilerOptions, parseExtension, parseGroups, parseSnapshot, pathToCondition, planToFindings, planToHash, planToSummary, renderSkillPointer, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts, replacePlanRanges, selectGroups, selectHostPaths, serializeTypeScriptString, srcToEntry, srcToExports, srcToRoot };
|
|
8709
8805
|
|
|
8710
8806
|
//# sourceMappingURL=index.js.map
|