build: PaddedCell-style install.mjs + SDK-aligned packaging
install.mjs (--install/--build-only/--uninstall/--openclaw-profile-path), tsconfig outDir dist/fabric, package.json openclaw file dep + main. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Fabric channel plugin for OpenClaw",
|
||||
"main": "index.js",
|
||||
"openclaw": {
|
||||
"extensions": ["./index.ts"],
|
||||
"setupEntry": "./src/setup-entry.ts",
|
||||
"channel": {
|
||||
"id": "fabric",
|
||||
"label": "Fabric",
|
||||
@@ -16,6 +15,11 @@
|
||||
"dependencies": {
|
||||
"socket.io-client": "^4.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.7.2",
|
||||
"@types/node": "^22.10.1",
|
||||
"openclaw": "file:/home/hzhang/.nvm/versions/node/v25.8.1/lib/node_modules/openclaw"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user