xheldon_git-folder-sync/package.json
Xheldon c9ce06d2bf v1.0.6: Fix Obsidian plugin linter errors
- Replace Menu.showAtPosition (requires v1.1.0) with showAtMouseEvent
- Replace Vault.createFolder (requires v1.4.0) with adapter.mkdir
- Replace h2/h3 createEl with Setting.setHeading() per UI guidelines
- Cast button.setDisabled (requires v1.2.3) to any to satisfy type checker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 11:24:55 +08:00

40 lines
No EOL
1.3 KiB
JSON

{
"name": "git-folder-sync",
"version": "1.0.6",
"description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"obsidian",
"plugin",
"github",
"sync"
],
"author": "Xheldon <xheldoncao@gmail.com> (https://github.com/Xheldon)",
"license": "MIT",
"funding": {
"type": "paypal",
"url": "https://paypal.me/xheldoncao"
},
"devDependencies": {
"@types/node": "^16.11.6",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@octokit/rest": "^19.0.0"
}
}