Files
openclaw/extensions/diffs-language-pack/package.json
Dallin Romney d638611684 feat: split diffs language pack
Split the diffs viewer Shiki language pack into an external publishable plugin.

The diffs plugin keeps the default curated syntax set, while the new @openclaw/diffs-language-pack package carries the extended Shiki languages for npm and ClawHub distribution. The install metadata includes the external ClawHub spec, and the curated C# alias set keeps both c# and cs supported without the language pack.

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-05-27 18:08:40 +01:00

48 lines
1.1 KiB
JSON

{
"name": "@openclaw/diffs-language-pack",
"version": "2026.5.26",
"description": "OpenClaw diffs viewer syntax highlighting language pack",
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
},
"type": "module",
"scripts": {
"build:viewer": "node scripts/build-viewer.mjs"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"
},
"openclaw": {
"extensions": [
"./index.ts"
],
"install": {
"npmSpec": "@openclaw/diffs-language-pack",
"clawhubSpec": "clawhub:@openclaw/diffs-language-pack",
"localPath": "extensions/diffs-language-pack",
"defaultChoice": "npm",
"minHostVersion": ">=2026.4.30"
},
"compat": {
"pluginApi": ">=2026.5.26"
},
"assetScripts": {
"build": "pnpm build:viewer"
},
"build": {
"openclawVersion": "2026.5.26",
"staticAssets": [
{
"source": "./assets/viewer-runtime.js",
"output": "assets/viewer-runtime.js"
}
]
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}