danderson1988_visual-notes/package.json
Daniel Anderson d88d1e35c8 Bump to 1.0.25: restore Obsidian 1.12 compatibility, lower minAppVersion to 1.7.2
Obsidian 1.13 is not generally available (stable is 1.12.x), so releases
1.0.20-1.0.24 — whose minAppVersion 1.13.0 floor was raised to satisfy
the review's no-unsupported-api check — were uninstallable for everyone;
updaters correctly capped users at 1.0.19, and on 1.12.7 the settings tab
rendered blank because 1.0.20 deleted the pre-1.13 display() path.

Restores dual-path settings rendering with zero 1.13-only API
references: getSettingDefinitions() still drives the declarative 1.13+
path, display() is back as the imperative fallback sharing the same
per-setting builders, internal refreshes rebuild imperatively (identical
output on both paths, avoids the 1.13-only update()), and the
Reset-everything button gets its destructive styling via the mod-warning
class rather than setDestructive()/setWarning(). minAppVersion back to
1.7.2; versions.json maps 1.0.25 accordingly so pre-1.13 devices jump
straight from 1.0.19 to 1.0.25.
2026-07-17 23:17:05 +10:00

42 lines
1.3 KiB
JSON

{
"name": "visual-notes",
"version": "1.0.25",
"description": "Visual Notes — a visual workspace for Obsidian",
"main": "main.js",
"scripts": {
"generate-templates": "node scripts/generate-starter-templates.mjs",
"generate-benchmarks": "node scripts/generate-benchmark-boards.mjs",
"predev": "npm run generate-templates",
"dev": "node esbuild.config.mjs",
"pretypecheck": "npm run generate-templates",
"typecheck": "tsc --noEmit -p .",
"pretest": "npm run generate-templates",
"test": "vitest run",
"build": "npm run typecheck && node esbuild.config.mjs production"
},
"keywords": [],
"author": "Daniel Anderson",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/danderson1988/visual-notes.git"
},
"bugs": {
"url": "https://github.com/danderson1988/visual-notes/issues"
},
"homepage": "https://github.com/danderson1988/visual-notes#readme",
"devDependencies": {
"@types/node": "^22.0.0",
"@types/sortablejs": "^1.15.9",
"@vitest/coverage-v8": "^4.1.10",
"esbuild": "^0.21.5",
"jsdom": "^29.1.1",
"obsidian": "1.13.0",
"tslib": "^2.6.3",
"typescript": "^5.9.3",
"vitest": "^4.1.10"
},
"dependencies": {
"sortablejs": "^1.15.7"
}
}