Add local CLI (#144)

This commit is contained in:
Andras Schmelczer 2025-10-21 22:45:47 +01:00 committed by GitHub
parent a31c2d87b5
commit 90752e687a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1616 additions and 99 deletions

View file

@ -8,7 +8,8 @@
"workspaces": [
"sync-client",
"obsidian-plugin",
"test-client"
"test-client",
"local-client-cli"
],
"devDependencies": {
"concurrently": "^9.2.1",
@ -19,6 +20,33 @@
"typescript-eslint": "8.41.0"
}
},
"local-client-cli": {
"version": "0.8.2",
"dependencies": {
"commander": "^12.1.0"
},
"bin": {
"vaultlink": "dist/cli.js"
},
"devDependencies": {
"@types/node": "^24.8.1",
"sync-client": "file:../sync-client",
"ts-loader": "^9.5.2",
"tslib": "2.8.1",
"tsx": "^4.20.5",
"typescript": "5.8.3",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1"
}
},
"local-client-cli/node_modules/commander": {
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
"integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
"engines": {
"node": ">=18"
}
},
"node_modules/@codemirror/state": {
"version": "6.5.2",
"dev": true,
@ -1612,6 +1640,8 @@
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"node-gyp-build": "^4.3.0"
},
@ -2793,6 +2823,10 @@
"node": ">=8.9.0"
}
},
"node_modules/local-client-cli": {
"resolved": "local-client-cli",
"link": true
},
"node_modules/locate-path": {
"version": "6.0.0",
"dev": true,
@ -2995,6 +3029,8 @@
"version": "4.8.4",
"dev": true,
"license": "MIT",
"optional": true,
"peer": true,
"bin": {
"node-gyp-build": "bin.js",
"node-gyp-build-optional": "optional.js",
@ -4658,7 +4694,6 @@
},
"devDependencies": {
"@types/node": "^24.8.1",
"bufferutil": "^4.0.9",
"sync-client": "file:../sync-client",
"ts-loader": "^9.5.2",
"tslib": "2.8.1",