mirror of
https://github.com/chrishoward-projects/related-notes-by-tag.git
synced 2026-07-22 13:00:29 +00:00
Added runtime type guard in getView() to verify the view is fully initialized before calling methods. This prevents the "updateView is not a function" error that occurred when the active-leaf-change event fired during plugin initialization. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "related-notes-by-tag",
|
|
"version": "0.4.4",
|
|
"description": "Displays list of notes in the sidebar that share tags with the currently active note.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "node esbuild.config.mjs production",
|
|
"lint": "eslint .",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json CHANGELOG.md main.js",
|
|
"update-version": "npm version patch --no-git-tag-version && node version-bump.mjs",
|
|
"changelog": "node prepare-changelog.mjs",
|
|
"deploy": "./deploy.sh",
|
|
"release": "./release.sh"
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"obsidian-md",
|
|
"obsidian-plugin",
|
|
"tags"
|
|
],
|
|
"author": "Chris Howard",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.29.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
"@typescript-eslint/parser": "^7.2.0",
|
|
"builtin-modules": "^3.3.0",
|
|
"esbuild": "^0.21.4",
|
|
"eslint": "^8.57.1",
|
|
"globals": "^16.2.0",
|
|
"obsidian": "^1.8.7",
|
|
"tslib": "^2.8.1",
|
|
"typescript-eslint": "^8.34.0"
|
|
}
|
|
}
|