mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-12 01:39:43 +00:00

* refactor: replace comlink with kkrpc * fix: import path in api pkg and btn styling in ui iframe page * fix: fixed fetch API from kkRPC migrate * refactor: replace comlink-stdio with kkrpc * update deno lock * bump @kksh/api * update API version * publish api pkg again to fix kkrpc version * update pnpm lock * dep: fix dependency problems * dep: update deno.lock * chore: remove 2 submodules they were added only for integration development * update pnpm lock * fix: test template path * format: with prettier * downgrade next version * ci: try to fix next build on windows * try to fix CI * Revert "try to fix CI" This reverts commit b9c63c392f50f1d2d3ceec406e49b1af2348c740. * upgrade tauri-api-adapter * try to fix next * remove templates from pnpm workspace * update CI test * publish @kksh/api with upgraded tauri-api-adapter to fix nextjs template
108 lines
1.9 KiB
JSON
108 lines
1.9 KiB
JSON
{
|
|
"$schema": "../../schema/manifest-json-schema.json",
|
|
"name": "demo-template-extension",
|
|
"version": "0.0.3",
|
|
"type": "module",
|
|
"kunkun": {
|
|
"name": "Demo Template Extension",
|
|
"shortDescription": "Demo Template Extension",
|
|
"longDescription": "Demo Template Extension",
|
|
"identifier": "demo-worker-template-ext",
|
|
"permissions": [
|
|
"fetch:all",
|
|
"shell:kill",
|
|
"security:mac:all",
|
|
"clipboard:read-all",
|
|
{
|
|
"permission": "shell:deno:spawn",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/deno-src/rpc.ts",
|
|
"env": "*",
|
|
"ffi": "*",
|
|
"read": "*",
|
|
"sys": "*",
|
|
"run": "*"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"permission": "open:file",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/src/deno-script.ts"
|
|
}
|
|
]
|
|
},
|
|
"shell:stdin-write",
|
|
{
|
|
"permission": "shell:execute",
|
|
"allow": [
|
|
{
|
|
"cmd": {
|
|
"program": "ls",
|
|
"args": [
|
|
"-l"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "bash",
|
|
"args": [
|
|
"-c",
|
|
".+"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "deno",
|
|
"args": [
|
|
"-A",
|
|
".+",
|
|
".+"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"demoImages": [],
|
|
"icon": {
|
|
"type": "iconify",
|
|
"value": "carbon:demo"
|
|
},
|
|
"customUiCmds": [],
|
|
"templateUiCmds": [
|
|
{
|
|
"name": "Demo Worker Template",
|
|
"main": "dist/index.js",
|
|
"cmds": []
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dev": "bun build.ts dev",
|
|
"build": "bun build.ts"
|
|
},
|
|
"dependencies": {
|
|
"@kksh/api": "workspace:*",
|
|
"@kunkun/api": "npm:@jsr/kunkun__api@^0.0.13"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@types/bun": "latest",
|
|
"rollup-plugin-visualizer": "^5.12.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"files": [
|
|
"./dist",
|
|
".gitignore"
|
|
]
|
|
}
|