Skip to main content
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.
{
  "$schema": "https://inklyai.dev/inkly.lock",
  "runtime": {
    "version": "0.6.2",
    "url": "https://www.runtime.inklyai.dev/runtime/0.6.2/runtime.js",
    "integrity": "sha384-…"
  }
}

Fields

FieldTypeRequiredDefaultNotes
$schemastringNoOptional JSON Schema URL.
runtimeobjectYesResolved runtime record. See Runtime.

Runtime

FieldTypeRequiredDefaultNotes
versionstringYesExact semver version that was resolved. Ranges are rejected.
urlstringYesSource URL the runtime bundle was fetched from. Must be a valid URL.
integritystringYesIntegrity string for the resolved runtime bundle.