@kanonak-protocol/cli 6.5.0 → 6.7.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/dist/commands/install.d.ts +7 -0
- package/dist/commands/validate.d.ts +6 -6
- package/dist/index.js +227 -224
- package/package.json +3 -3
|
@@ -20,6 +20,13 @@ import { FileCache } from '../cache/FileCache.js';
|
|
|
20
20
|
* Usage: kanonak install kanonak.org/core-rdf (install what the lock pins)
|
|
21
21
|
* kanonak install kanonak.org/core-rdf@1.0.1 (must match the pinned version)
|
|
22
22
|
* kanonak install (install from the local kanonak.lock)
|
|
23
|
+
*
|
|
24
|
+
* A version the lock does not pin is not installed: the lock has no sha256
|
|
25
|
+
* for it, nor a closure. A package that needs an older version imports it
|
|
26
|
+
* with an exact pin, which resolves against the publisher's archive of
|
|
27
|
+
* published versions (`HttpKanonakDocumentRepository`).
|
|
28
|
+
*
|
|
29
|
+
* A refusal throws; the CLI reports it and exits 1.
|
|
23
30
|
*/
|
|
24
31
|
export declare function installCommand(packageRef?: string): Promise<void>;
|
|
25
32
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export interface ValidateOptions {
|
|
2
2
|
/**
|
|
3
|
-
* Additionally evaluate SHACL INSTANCE conformance
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* component. Off by default: `kanonak validate` stays
|
|
7
|
-
* validation (the common case), and conformance is the
|
|
8
|
-
*
|
|
3
|
+
* Additionally evaluate SHACL INSTANCE conformance: each validated
|
|
4
|
+
* document's nodes against every sh:NodeShape in its own import closure, at
|
|
5
|
+
* the versions it resolves, and each finding prints with its focus node,
|
|
6
|
+
* path, and constraint component. Off by default: `kanonak validate` stays
|
|
7
|
+
* definition validation (the common case), and conformance is the
|
|
8
|
+
* deliberate opt-in.
|
|
9
9
|
*/
|
|
10
10
|
conformance?: boolean;
|
|
11
11
|
/**
|