mirror of
https://github.com/firstsun-dev/git-files-sync.git
synced 2026-07-22 17:20:30 +00:00
- Implement conflict detection in pushFile and pullFile using SHA comparison.
- Use SyncConflictModal to prompt users for manual resolution ('Use local' or 'Use remote').
- Added unit tests in sync-manager.test.ts to verify conflict handling logic.
- Fixed linting issues related to unhandled promises and mock type safety.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 lines
950 B
JSON
37 lines
950 B
JSON
{
|
|
"name": "gitlab-files-push",
|
|
"version": "1.0.0",
|
|
"description": "Push and pull individual notes to GitLab across mobile and desktop.",
|
|
"main": "main.js",
|
|
"type": "module",
|
|
"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",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:ui": "vitest --ui",
|
|
"prepare": "husky"
|
|
},
|
|
"keywords": [],
|
|
"license": "0-BSD",
|
|
"devDependencies": {
|
|
"@eslint/js": "9.30.1",
|
|
"@eslint/json": "^1.2.0",
|
|
"@types/node": "^16.11.6",
|
|
"@vitest/ui": "^4.1.2",
|
|
"esbuild": "0.25.5",
|
|
"eslint-plugin-obsidianmd": "0.1.9",
|
|
"globals": "14.0.0",
|
|
"husky": "^9.1.7",
|
|
"jiti": "2.6.1",
|
|
"jsdom": "^29.0.1",
|
|
"tslib": "2.4.0",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "8.35.1",
|
|
"vitest": "^1.6.1"
|
|
},
|
|
"dependencies": {
|
|
"obsidian": "latest"
|
|
}
|
|
}
|