@orkestrel/scaffold 0.0.113 → 0.0.115
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-publish/scripts/wave.js +83 -16
- package/dist/bin/main.js +71 -23
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +5 -3
- package/dist/host/agents/platforms/windows.md +1 -0
- package/dist/host/agents/skills/orkestrel-align/references/integration.md +1 -1
- package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +4 -4
- package/dist/host/agents/skills/orkestrel-dispatch/SKILL.md +4 -1
- package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +8 -2
- package/dist/host/agents/skills/orkestrel-harden/references/equivalence.md +1 -0
- package/dist/host/agents/skills/orkestrel-harden/references/hardening.md +1 -1
- package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-parallel/references/codex.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/SKILL.md +7 -7
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +31 -11
- package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +150 -49
- package/dist/host/claude/agents/analyst.md +1 -1
- package/dist/host/claude/agents/astra.md +2 -2
- package/dist/host/claude/agents/builder.md +4 -4
- package/dist/host/claude/agents/opus.md +3 -3
- package/dist/host/claude/agents/orkestrel.md +57 -59
- package/dist/host/claude/agents/planner.md +8 -2
- package/dist/host/claude/rules/campaign.md +2 -1
- package/dist/host/claude/rules/documentation.md +1 -0
- package/dist/host/claude/rules/tests.md +13 -8
- package/dist/host/claude/rules/workspace.md +28 -28
- package/dist/host/claude/rules/writing.md +1 -0
- package/dist/host/claude/skills/enterprise-bootstrap/SKILL.md +1 -2
- package/dist/host/claude/skills/orkestrel-align/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-build/SKILL.md +1 -2
- package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +1 -2
- package/dist/host/claude/skills/orkestrel-dispatch/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-falsify/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-harden/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-journey/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-parallel/SKILL.md +1 -1
- package/dist/host/claude/skills/orkestrel-polish/SKILL.md +1 -2
- package/dist/host/claude/skills/orkestrel-publish/SKILL.md +1 -2
- package/dist/host/claude/skills/orkestrel-scout/SKILL.md +1 -1
- package/dist/host/codex/agents/analyst.toml +8 -5
- package/dist/host/codex/agents/astra.toml +4 -5
- package/dist/host/codex/agents/builder.toml +5 -5
- package/dist/host/codex/agents/opus.toml +3 -4
- package/dist/host/codex/agents/orkestrel.toml +2 -1
- package/dist/host/codex/agents/planner.toml +8 -5
- package/dist/host/codex/agents/reviewer.toml +5 -4
- package/dist/host/guides/agent.md +13 -13
- package/dist/host/guides/brief.md +4 -0
- package/dist/host/guides/browser.md +162 -44
- package/dist/host/guides/budget.md +1 -1
- package/dist/host/guides/capture.md +4 -0
- package/dist/host/guides/console.md +13 -0
- package/dist/host/guides/contract.md +38 -3
- package/dist/host/guides/csv.md +5 -0
- package/dist/host/guides/database.md +58 -8
- package/dist/host/guides/form.md +17 -0
- package/dist/host/guides/guide.md +36 -33
- package/dist/host/guides/html.md +72 -44
- package/dist/host/guides/indexeddb.md +4 -0
- package/dist/host/guides/lsp.md +49 -8
- package/dist/host/guides/markdown.md +146 -1
- package/dist/host/guides/mcp.md +117 -22
- package/dist/host/guides/middleware.md +194 -26
- package/dist/host/guides/msg.md +9 -5
- package/dist/host/guides/pool.md +8 -1
- package/dist/host/guides/probe.md +13 -1
- package/dist/host/guides/process.md +102 -90
- package/dist/host/guides/program.md +4 -0
- package/dist/host/guides/qualifier.md +4 -0
- package/dist/host/guides/rater.md +4 -0
- package/dist/host/guides/reason.md +6 -4
- package/dist/host/guides/relation.md +4 -0
- package/dist/host/guides/scaffold.md +32 -14
- package/dist/host/guides/server.md +29 -13
- package/dist/host/guides/sqlite.md +6 -0
- package/dist/host/guides/sse.md +6 -0
- package/dist/host/guides/study.md +473 -473
- package/dist/host/guides/table.md +3 -0
- package/dist/host/guides/template.md +3 -0
- package/dist/host/guides/test.md +38 -20
- package/dist/host/guides/tool.md +3 -0
- package/dist/host/guides/toolbox.md +21 -0
- package/dist/host/guides/websocket.md +3 -1
- package/dist/host/guides/workflow.md +103 -11
- package/dist/host/guides/workspace.md +4 -0
- package/dist/host/manifest.json +84 -84
- package/dist/host/tests/config.test.ts +7 -13
- package/dist/src/core/index.cjs +20 -28
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +7 -7
- package/dist/src/core/index.d.ts +7 -7
- package/dist/src/core/index.js +20 -28
- package/dist/src/core/index.js.map +1 -1
- package/package.json +12 -12
|
@@ -810,12 +810,13 @@ export declare function blueprintToRootVite(blueprint: Blueprint): string;
|
|
|
810
810
|
* proofs every workspace can pass before it has a public API, and one build per
|
|
811
811
|
* target that actually builds.
|
|
812
812
|
*
|
|
813
|
-
* A publishing workspace isolates its distribution
|
|
813
|
+
* A publishing workspace isolates its distribution and live-service proofs
|
|
814
814
|
* from `test` and runs them from `prepublishOnly` instead. Publishing is what
|
|
815
815
|
* selects the distribution proof: what that proof measures is the packed tarball,
|
|
816
816
|
* so a workspace that packs no published source has nothing for it to read. A
|
|
817
|
-
* private workspace therefore omits it and runs a
|
|
818
|
-
*
|
|
817
|
+
* private workspace therefore omits it and runs a live-service proof from `test`.
|
|
818
|
+
* Study proofs run on demand through `test:studies` in either workspace; no gate
|
|
819
|
+
* or chain runs them.
|
|
819
820
|
* Integration and conformance stay in `test` because they neither pack nor
|
|
820
821
|
* install the workspace and drive no external service. A conformance run may
|
|
821
822
|
* start a server, but it starts its own and reaches it over loopback, so the run
|
|
@@ -948,9 +949,8 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
948
949
|
* `probe` project through `vitest bench`, before the dedicated bench project
|
|
949
950
|
* existed. The pack hook accepts the build chain emitted before it
|
|
950
951
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
951
|
-
* {@link RELEASE_PROOF_COMMAND}.
|
|
952
|
-
*
|
|
953
|
-
* the release proof. The value being written is always writable, so
|
|
952
|
+
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
953
|
+
* step. The value being written is always writable, so
|
|
954
954
|
* it is not repeated there. Any other value is a script the workspace author
|
|
955
955
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
956
956
|
* other named scripts independently.
|
|
@@ -1606,7 +1606,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
1606
1606
|
tree: "// The laws this package states about its own real tree.\n// Standalone Node proof; reads the tree without a build, install, or service.\nexport function tree(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'tree', color: 'magenta' },\n\t\t\tinclude: ['tests/tree.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupServer.ts'],\n\t\t\tpool: 'threads',\n\t\t\tisolate: false,\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1607
1607
|
conformance: "// Where this package drifts from the official tooling it stays compatible with.\n// The subject is this package, so the proof is hermetic and stays in `npm test`.\nexport function conformance(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'conformance', color: 'magenta' },\n\t\t\tinclude: ['tests/conformance.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupServer.ts'],\n\t\t\tpool: 'threads',\n\t\t\tisolate: false,\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1608
1608
|
service: "// The caller prepares the live external services before this project.\n// `tests/setupService.ts` verifies readiness, and the project stays out of `npm test`\n// because a real service answers it.\nexport function service(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'service', color: 'red' },\n\t\t\tinclude: ['tests/service/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupService.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1609
|
-
studies: "//
|
|
1609
|
+
studies: "// Run these @orkestrel/study proofs on demand with npm run test:studies; no gate or chain runs them.\nexport function studies(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'studies', color: 'red' },\n\t\t\tinclude: ['tests/studies/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1610
1610
|
distribution: "export function distribution(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'distribution', color: 'cyan' },\n\t\t\tinclude: ['tests/distribution.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1611
1611
|
probe: "// A workbench, not a proof. No gate selects this project. Run in test mode by the\n// `test:probe` script, it collects `tmp/probes/**/*.test.ts`. Run in benchmark mode by the\n// `test:bench` script, it collects `*.bench.ts` files under `tmp/probes` and `tests`.\n// Each benchmark is a regular test that uses its context's `bench` fixture and awaits\n// `bench(name, options, fn).run()` or `bench.compare(...)`.\nexport function probe(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'probe', color: 'black' },\n\t\t\tinclude: ['tmp/probes/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t\tpool: 'threads',\n\t\t\tbenchmark: { include: ['tmp/probes/**/*.bench.ts', 'tests/**/*.bench.ts'] },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1612
1612
|
integration: Readonly<{
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -810,12 +810,13 @@ export declare function blueprintToRootVite(blueprint: Blueprint): string;
|
|
|
810
810
|
* proofs every workspace can pass before it has a public API, and one build per
|
|
811
811
|
* target that actually builds.
|
|
812
812
|
*
|
|
813
|
-
* A publishing workspace isolates its distribution
|
|
813
|
+
* A publishing workspace isolates its distribution and live-service proofs
|
|
814
814
|
* from `test` and runs them from `prepublishOnly` instead. Publishing is what
|
|
815
815
|
* selects the distribution proof: what that proof measures is the packed tarball,
|
|
816
816
|
* so a workspace that packs no published source has nothing for it to read. A
|
|
817
|
-
* private workspace therefore omits it and runs a
|
|
818
|
-
*
|
|
817
|
+
* private workspace therefore omits it and runs a live-service proof from `test`.
|
|
818
|
+
* Study proofs run on demand through `test:studies` in either workspace; no gate
|
|
819
|
+
* or chain runs them.
|
|
819
820
|
* Integration and conformance stay in `test` because they neither pack nor
|
|
820
821
|
* install the workspace and drive no external service. A conformance run may
|
|
821
822
|
* start a server, but it starts its own and reaches it over loopback, so the run
|
|
@@ -948,9 +949,8 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
|
|
|
948
949
|
* `probe` project through `vitest bench`, before the dedicated bench project
|
|
949
950
|
* existed. The pack hook accepts the build chain emitted before it
|
|
950
951
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
951
|
-
* {@link RELEASE_PROOF_COMMAND}.
|
|
952
|
-
*
|
|
953
|
-
* the release proof. The value being written is always writable, so
|
|
952
|
+
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
953
|
+
* step. The value being written is always writable, so
|
|
954
954
|
* it is not repeated there. Any other value is a script the workspace author
|
|
955
955
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
956
956
|
* other named scripts independently.
|
|
@@ -1606,7 +1606,7 @@ export declare class Compiler implements CompilerInterface {
|
|
|
1606
1606
|
tree: "// The laws this package states about its own real tree.\n// Standalone Node proof; reads the tree without a build, install, or service.\nexport function tree(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'tree', color: 'magenta' },\n\t\t\tinclude: ['tests/tree.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupServer.ts'],\n\t\t\tpool: 'threads',\n\t\t\tisolate: false,\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1607
1607
|
conformance: "// Where this package drifts from the official tooling it stays compatible with.\n// The subject is this package, so the proof is hermetic and stays in `npm test`.\nexport function conformance(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'conformance', color: 'magenta' },\n\t\t\tinclude: ['tests/conformance.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupServer.ts'],\n\t\t\tpool: 'threads',\n\t\t\tisolate: false,\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1608
1608
|
service: "// The caller prepares the live external services before this project.\n// `tests/setupService.ts` verifies readiness, and the project stays out of `npm test`\n// because a real service answers it.\nexport function service(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'service', color: 'red' },\n\t\t\tinclude: ['tests/service/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts', './tests/setupService.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1609
|
-
studies: "//
|
|
1609
|
+
studies: "// Run these @orkestrel/study proofs on demand with npm run test:studies; no gate or chain runs them.\nexport function studies(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'studies', color: 'red' },\n\t\t\tinclude: ['tests/studies/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1610
1610
|
distribution: "export function distribution(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'distribution', color: 'cyan' },\n\t\t\tinclude: ['tests/distribution.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\ttestTimeout: 120_000,\n\t\t\thookTimeout: 120_000,\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1611
1611
|
probe: "// A workbench, not a proof. No gate selects this project. Run in test mode by the\n// `test:probe` script, it collects `tmp/probes/**/*.test.ts`. Run in benchmark mode by the\n// `test:bench` script, it collects `*.bench.ts` files under `tmp/probes` and `tests`.\n// Each benchmark is a regular test that uses its context's `bench` fixture and awaits\n// `bench(name, options, fn).run()` or `bench.compare(...)`.\nexport function probe(override?: UserConfig): UserConfig {\n\tconst project: UserConfig = {\n\t\tresolve,\n\t\ttest: {\n\t\t\tname: { label: 'probe', color: 'black' },\n\t\t\tinclude: ['tmp/probes/**/*.test.ts'],\n\t\t\tsetupFiles: ['./tests/setup.ts'],\n\t\t\tenvironment: 'node',\n\t\t\tbrowser: { enabled: false },\n\t\t\tfileParallelism: false,\n\t\t\tsequence: { groupOrder: 1 },\n\t\t\tpool: 'threads',\n\t\t\tbenchmark: { include: ['tmp/probes/**/*.bench.ts', 'tests/**/*.bench.ts'] },\n\t\t},\n\t}\n\treturn mergeOverride(project, override)\n}\n";
|
|
1612
1612
|
integration: Readonly<{
|
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.115",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -94,20 +94,20 @@ var package_default = {
|
|
|
94
94
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
95
95
|
},
|
|
96
96
|
dependencies: {
|
|
97
|
-
"@orkestrel/console": "^0.0.
|
|
98
|
-
"@orkestrel/contract": "^0.0.
|
|
99
|
-
"@orkestrel/emitter": "^0.0.
|
|
100
|
-
"@orkestrel/markdown": "^0.0.
|
|
101
|
-
"@orkestrel/process": "^0.0.
|
|
102
|
-
"@orkestrel/template": "^0.0.
|
|
97
|
+
"@orkestrel/console": "^0.0.17",
|
|
98
|
+
"@orkestrel/contract": "^0.0.20",
|
|
99
|
+
"@orkestrel/emitter": "^0.0.13",
|
|
100
|
+
"@orkestrel/markdown": "^0.0.18",
|
|
101
|
+
"@orkestrel/process": "^0.0.16",
|
|
102
|
+
"@orkestrel/template": "^0.0.11"
|
|
103
103
|
},
|
|
104
104
|
devDependencies: {
|
|
105
105
|
"@microsoft/api-extractor": "^7.60.0",
|
|
106
|
-
"@orkestrel/browser": "^0.0.
|
|
107
|
-
"@orkestrel/guide": "^0.0.
|
|
108
|
-
"@orkestrel/html": "^0.0.
|
|
109
|
-
"@orkestrel/probe": "^0.0.
|
|
110
|
-
"@orkestrel/test": "^0.0.
|
|
106
|
+
"@orkestrel/browser": "^0.0.30",
|
|
107
|
+
"@orkestrel/guide": "^0.0.26",
|
|
108
|
+
"@orkestrel/html": "^0.0.13",
|
|
109
|
+
"@orkestrel/probe": "^0.0.26",
|
|
110
|
+
"@orkestrel/test": "^0.0.31",
|
|
111
111
|
"@types/node": "^24.19.2",
|
|
112
112
|
"@vitest/browser-playwright": "^5.0.5",
|
|
113
113
|
"oxfmt": "^0.75.0",
|
|
@@ -1611,9 +1611,7 @@ export function service(override?: UserConfig): UserConfig {
|
|
|
1611
1611
|
return mergeOverride(project, override)
|
|
1612
1612
|
}
|
|
1613
1613
|
`,
|
|
1614
|
-
studies: `//
|
|
1615
|
-
// subprocesses and protocol fixtures, so this project is isolated in its own gate script,
|
|
1616
|
-
// test:studies.
|
|
1614
|
+
studies: `// Run these @orkestrel/study proofs on demand with npm run test:studies; no gate or chain runs them.
|
|
1617
1615
|
export function studies(override?: UserConfig): UserConfig {
|
|
1618
1616
|
const project: UserConfig = {
|
|
1619
1617
|
resolve,
|
|
@@ -6959,12 +6957,13 @@ function replaceManifestOverride(manifest, path, range) {
|
|
|
6959
6957
|
* proofs every workspace can pass before it has a public API, and one build per
|
|
6960
6958
|
* target that actually builds.
|
|
6961
6959
|
*
|
|
6962
|
-
* A publishing workspace isolates its distribution
|
|
6960
|
+
* A publishing workspace isolates its distribution and live-service proofs
|
|
6963
6961
|
* from `test` and runs them from `prepublishOnly` instead. Publishing is what
|
|
6964
6962
|
* selects the distribution proof: what that proof measures is the packed tarball,
|
|
6965
6963
|
* so a workspace that packs no published source has nothing for it to read. A
|
|
6966
|
-
* private workspace therefore omits it and runs a
|
|
6967
|
-
*
|
|
6964
|
+
* private workspace therefore omits it and runs a live-service proof from `test`.
|
|
6965
|
+
* Study proofs run on demand through `test:studies` in either workspace; no gate
|
|
6966
|
+
* or chain runs them.
|
|
6968
6967
|
* Integration and conformance stay in `test` because they neither pack nor
|
|
6969
6968
|
* install the workspace and drive no external service. A conformance run may
|
|
6970
6969
|
* start a server, but it starts its own and reaches it over loopback, so the run
|
|
@@ -7044,7 +7043,6 @@ function blueprintToScripts(blueprint) {
|
|
|
7044
7043
|
...blueprint.conformance ? ["npm run test:conformance"] : [],
|
|
7045
7044
|
...blueprint.tree ? ["npm run test:tree"] : [],
|
|
7046
7045
|
...integrates ? ["npm run test:integration"] : [],
|
|
7047
|
-
...!publishes && blueprint.studies ? ["npm run test:studies"] : [],
|
|
7048
7046
|
...!publishes && blueprint.service ? ["npm run test:service"] : []
|
|
7049
7047
|
].join(" && "),
|
|
7050
7048
|
...compiles ? {
|
|
@@ -7128,7 +7126,6 @@ function blueprintToScripts(blueprint) {
|
|
|
7128
7126
|
"npm run format:check && npm run lint:check && npm run check && npm run build",
|
|
7129
7127
|
...blueprint.showcase && blueprint.app.includes("browser") ? ["npm run build:showcase", ...application.map((name) => `npm run build:showcase:${name}`)] : [],
|
|
7130
7128
|
"npm test",
|
|
7131
|
-
...blueprint.studies ? ["npm run test:studies"] : [],
|
|
7132
7129
|
RELEASE_PROOF_COMMAND,
|
|
7133
7130
|
...blueprint.service ? ["npm run test:service"] : []
|
|
7134
7131
|
].join(" && ")
|
|
@@ -7159,9 +7156,8 @@ function blueprintToScripts(blueprint) {
|
|
|
7159
7156
|
* `probe` project through `vitest bench`, before the dedicated bench project
|
|
7160
7157
|
* existed. The pack hook accepts the build chain emitted before it
|
|
7161
7158
|
* delegated to `build`. The publication hook accepts the same gate chain without
|
|
7162
|
-
* {@link RELEASE_PROOF_COMMAND}.
|
|
7163
|
-
*
|
|
7164
|
-
* the release proof. The value being written is always writable, so
|
|
7159
|
+
* {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
|
|
7160
|
+
* step. The value being written is always writable, so
|
|
7165
7161
|
* it is not repeated there. Any other value is a script the workspace author
|
|
7166
7162
|
* customized, and {@link replaceManifestScripts} retains it while writing the
|
|
7167
7163
|
* other named scripts independently.
|
|
@@ -7203,11 +7199,7 @@ function blueprintToWritableScripts(blueprint) {
|
|
|
7203
7199
|
...prepublish === void 0 || unreleased === void 0 ? [] : [{
|
|
7204
7200
|
name: "prepublishOnly",
|
|
7205
7201
|
command: prepublish,
|
|
7206
|
-
accepted:
|
|
7207
|
-
unreleased,
|
|
7208
|
-
prepublish.replace(" && npm run test:studies", ""),
|
|
7209
|
-
unreleased.replace(" && npm run test:studies", "")
|
|
7210
|
-
] : [unreleased]
|
|
7202
|
+
accepted: [unreleased]
|
|
7211
7203
|
}]
|
|
7212
7204
|
];
|
|
7213
7205
|
}
|