@kanonak-protocol/cli 5.18.0 → 5.20.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/serve.d.ts +3 -2
- package/dist/commands/validate.d.ts +12 -1
- package/dist/index.js +213 -212
- package/package.json +4 -4
package/dist/commands/serve.d.ts
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
* rendering lives in `@kanonak-protocol/sdk/server` (`loadServerModel` /
|
|
6
6
|
* `loadResourceModel` + `route`), which makes the SAME `LookRenderer` calls
|
|
7
7
|
* `kanonak publish` does — so a live response is byte-equivalent to the static
|
|
8
|
-
* page `publish` would write, plus the machine-facing endpoints
|
|
9
|
-
* (`/.well-known/kanonak.json`, `/
|
|
8
|
+
* page `publish` would write, plus the machine-facing endpoints
|
|
9
|
+
* (`/.well-known/kanonak.json`, `/kanonak.lock`, raw
|
|
10
|
+
* `{package}/{version}.kan.yml`), which `publish` freezes to disk.
|
|
10
11
|
*
|
|
11
12
|
* serve does ONE thing — be the origin (render + machine endpoints). It is not
|
|
12
13
|
* a search engine: ad-hoc site search is a separate, stateful concern that
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface ValidateOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Additionally evaluate SHACL INSTANCE conformance over the workspace
|
|
4
|
+
* scope — every sh:NodeShape in the resolved catalog runs against the
|
|
5
|
+
* data, and each finding prints with its focus node, path, and constraint
|
|
6
|
+
* component. Off by default: `kanonak validate` stays definition
|
|
7
|
+
* validation (the common case), and conformance is the deliberate opt-in
|
|
8
|
+
* whose scope is the workspace's own pinned closure.
|
|
9
|
+
*/
|
|
10
|
+
conformance?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function validateCommand(path: string, options?: ValidateOptions): Promise<void>;
|