inkly.lock helps keep published demos stable. It records the exact viewer runtime that Inkly resolved for the hub, so later previews and publishing runs use the same runtime unless you intentionally update it.
Use inkly lock --check in CI when you want publishing to fail if the lock file no longer matches inkly.json. See CLI commands.
Fields
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
$schema | string | No | — | Optional JSON Schema URL. |
runtime | object | Yes | — | Resolved runtime record. See Runtime. |
Runtime
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
version | string | Yes | — | Exact semver version that was resolved. Ranges are rejected. |
url | string | Yes | — | Source URL the runtime bundle was fetched from. Must be a valid URL. |
integrity | string | Yes | — | Integrity string for the resolved runtime bundle. |

