@sdd-method/verify-cli 1.1.0-rc.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lib/lock-file.js +5 -0
- package/dist/maintain-version.json +2 -2
- package/dist/verify-program.js +1 -1
- package/dist/verify-version.json +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
Verbs: `validate`, `list`, `pack validate`, `catalogue validate` (incl. `--coverage`), `catalogue impact`, `catalogue baseline-check`, `catalogue version`.
|
|
6
6
|
|
|
7
|
-
The package contains only the code those verbs reach. Authoring and maintenance verbs — `sync`, `catalogue build`, `init`, `scaffold
|
|
7
|
+
The package contains only the code those verbs reach. Authoring and maintenance verbs — `sync`, `catalogue build`, `init`, `scaffold` and the rest — are not present in it, and are in `@sdd-method/sdd-cli`. Invoking one fails with exit 1.
|
package/dist/lib/lock-file.js
CHANGED
|
@@ -63,6 +63,7 @@ export function serialiseLockFile(lock) {
|
|
|
63
63
|
`method_repo: ${lock.methodRepo}`,
|
|
64
64
|
`lock_version: ${lock.lockVersion}`,
|
|
65
65
|
...(lock.ciBinding !== undefined ? [`ci_binding: ${lock.ciBinding}`] : []),
|
|
66
|
+
...(lock.ciRunner !== undefined ? [`ci_runner: "${lock.ciRunner}"`] : []),
|
|
66
67
|
...(lock.ciWorkflowBlockSha256 !== undefined ? [`ci_workflow_block_sha256: "${lock.ciWorkflowBlockSha256}"`] : []),
|
|
67
68
|
...(lock.ciModuleSha256 !== undefined ? [`ci_module_sha256: "${lock.ciModuleSha256}"`] : []),
|
|
68
69
|
"bundles:",
|
|
@@ -114,6 +115,7 @@ function parseVersioned(raw) {
|
|
|
114
115
|
let lockVersion;
|
|
115
116
|
let ciWorkflowBlockSha256;
|
|
116
117
|
let ciBinding;
|
|
118
|
+
let ciRunner;
|
|
117
119
|
let ciModuleSha256;
|
|
118
120
|
const bundles = [];
|
|
119
121
|
let inBundles = false;
|
|
@@ -180,6 +182,8 @@ function parseVersioned(raw) {
|
|
|
180
182
|
ciWorkflowBlockSha256 = stripQuotes(value);
|
|
181
183
|
else if (key === "ci_binding")
|
|
182
184
|
ciBinding = stripQuotes(value);
|
|
185
|
+
else if (key === "ci_runner")
|
|
186
|
+
ciRunner = stripQuotes(value);
|
|
183
187
|
else if (key === "ci_module_sha256")
|
|
184
188
|
ciModuleSha256 = stripQuotes(value);
|
|
185
189
|
}
|
|
@@ -306,6 +310,7 @@ function parseVersioned(raw) {
|
|
|
306
310
|
lockVersion: LOCK_VERSION,
|
|
307
311
|
bundles,
|
|
308
312
|
...(ciBinding !== undefined ? { ciBinding } : {}),
|
|
313
|
+
...(ciRunner !== undefined ? { ciRunner } : {}),
|
|
309
314
|
...(ciWorkflowBlockSha256 !== undefined ? { ciWorkflowBlockSha256 } : {}),
|
|
310
315
|
...(ciModuleSha256 !== undefined ? { ciModuleSha256 } : {}),
|
|
311
316
|
};
|
package/dist/verify-program.js
CHANGED
|
@@ -91,7 +91,7 @@ export function buildVerifyProgram() {
|
|
|
91
91
|
.name("sdd-verify")
|
|
92
92
|
.description("Verify an SDD repository without changing it — validate, list, and read-only catalogue and pack checks. Cannot write to the repository it is pointed at.")
|
|
93
93
|
.version(getPackageVersion(), "-v, --version")
|
|
94
|
-
.addHelpText("after", `\nSpec: ${SPEC_URL}\nAuthoring and maintenance verbs (sync, catalogue build, init, scaffold,
|
|
94
|
+
.addHelpText("after", `\nSpec: ${SPEC_URL}\nAuthoring and maintenance verbs (sync, catalogue build, init, scaffold, …) are in @sdd-method/sdd-cli.`)
|
|
95
95
|
.exitOverride()
|
|
96
96
|
.configureOutput({
|
|
97
97
|
writeOut: (str) => process.stdout.write(str),
|
package/dist/verify-version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdd-method/verify-cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"sddCliVersion": "1.
|
|
5
|
-
"description": "Verify an SDD repository without changing it
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"sddCliVersion": "1.43.0",
|
|
5
|
+
"description": "Verify an SDD repository without changing it — validate, list, and read-only catalogue and pack checks. Ships only the code those verbs reach; it cannot write to the repository it is pointed at. Authoring and maintenance are in @sdd-method/sdd-cli.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": {
|