mirror of
https://github.com/mnaoumov/obsidian-backlink-full-path.git
synced 2026-07-22 05:41:39 +00:00
- Delete PluginTypes.ts and remove generic from PluginBase - Convert PluginSettingsManager to PluginSettingsComponent with DI params - Use constructor registerComponent() pattern for settings and settings tab - Replace onSaveSettings override with event subscription on settings component - Rename all source files to kebab-case (Plugin.ts -> plugin.ts, etc.) - Add vitest test infrastructure with jsdom environment and obsidian-test-mocks - Add 14 tests covering settings defaults, component creation, and plugin construction - Update tsconfig: remove allowJs, svelte types; add vitest.config.ts to include - Add obsidian-test-mocks, sass-embedded, vitest, jsdom as dev dependencies BREAKING CHANGE: Requires obsidian-dev-utils v2 (component architecture).
59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
{
|
|
"name": "backlink-full-path",
|
|
"version": "1.6.2",
|
|
"description": "Shows the backlink's full path in the backlinks panel.",
|
|
"keywords": [],
|
|
"license": "MIT",
|
|
"author": "mnaoumov",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "jiti scripts/build.ts",
|
|
"build:clean": "jiti scripts/build-clean.ts",
|
|
"build:compile": "jiti scripts/build-compile.ts",
|
|
"build:compile:typescript": "jiti scripts/build-compile-typescript.ts",
|
|
"commit": "jiti scripts/commit.ts",
|
|
"dev": "jiti scripts/dev.ts",
|
|
"format": "jiti scripts/format.ts",
|
|
"format:check": "jiti scripts/format-check.ts",
|
|
"lint": "jiti scripts/lint.ts",
|
|
"lint:fix": "jiti scripts/lint-fix.ts",
|
|
"lint:md": "jiti scripts/lint-md.ts",
|
|
"lint:md:fix": "jiti scripts/lint-md-fix.ts",
|
|
"prepare": "jiti scripts/prepare.ts",
|
|
"spellcheck": "jiti scripts/spellcheck.ts",
|
|
"test": "jiti scripts/test.ts",
|
|
"test:coverage": "jiti scripts/test-coverage.ts",
|
|
"version": "jiti scripts/version.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "latest",
|
|
"@commitlint/config-conventional": "latest",
|
|
"@commitlint/types": "latest",
|
|
"@total-typescript/ts-reset": "latest",
|
|
"@tsconfig/strictest": "latest",
|
|
"@types/node": "25.0.3",
|
|
"@vitest/coverage-v8": "latest",
|
|
"better-typescript-lib": "latest",
|
|
"commitizen": "latest",
|
|
"cz-conventional-changelog": "latest",
|
|
"eslint": "latest",
|
|
"husky": "latest",
|
|
"jiti": "latest",
|
|
"jsdom": "latest",
|
|
"nano-staged": "latest",
|
|
"obsidian": "latest",
|
|
"obsidian-dev-utils": "file:F:/tmp/obsidian-dev-utils-v2",
|
|
"obsidian-test-mocks": "latest",
|
|
"obsidian-typings": "obsidian-public-latest",
|
|
"sass-embedded": "latest",
|
|
"vitest": "latest"
|
|
},
|
|
"overrides": {
|
|
"@antfu/utils": "9.2.0",
|
|
"boolean": "npm:dry-uninstall",
|
|
"dompurify": "3.0.1",
|
|
"eslint": "latest",
|
|
"type-fest": "latest",
|
|
"typescript": "latest"
|
|
}
|
|
}
|