mirror of
https://github.com/iosonntag/obsidian-plugin-treefocus.git
synced 2026-07-22 08:40:29 +00:00
The Obsidian community plugin scan flagged the pnpm lockfile as out of date. The committed lockfile was lockfileVersion 6.1 (pnpm 8), which a modern pnpm rejects (ERR_PNPM_LOCKFILE_BREAKING_CHANGE) - the plugin was removed from the community list on 2026-05-12. Regenerate the lockfile to 9.0 and modernize the toolchain so it stays valid: - pnpm 11 (packageManager) + lockfile regenerated to 9.0 - update all dependencies to latest (esbuild 0.28, typescript 6, husky 9, semantic-release 25, commitlint 21, @types/node 22) - pin obsidian (^1.13.0) instead of floating "latest" - tsconfig: bundler resolution + src/* paths (replaces deprecated baseUrl), explicit types: [node] - pnpm-workspace.yaml allowBuilds for esbuild (pnpm 11 build-script gate) - husky 9 hook format - CI: Node 22, pnpm 11, all actions pinned by commit SHA, Trivy supply-chain gate (fails on HIGH/CRITICAL vulns or leaked secrets), frozen-lockfile install, least-privilege permissions - remove dead eslint config Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "obsidian-treefocus",
|
|
"version": "1.1.5",
|
|
"description": "Obsidian plugin: Highlight, dim & style your files & folders in the file explorer (navigation) based on predefined or custom rules.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"tsc": "tsc -noEmit -skipLibCheck",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"semantic-release": "semantic-release",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json",
|
|
"prepare": "husky",
|
|
"commitlint": "commitlint --edit"
|
|
},
|
|
"keywords": [],
|
|
"author": {
|
|
"name": "iOSonntag",
|
|
"url": "https://iOSonntag.com"
|
|
},
|
|
"homepage": "https://iOSonntag.com",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/exec": "^7.1.0",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@types/node": "^22",
|
|
"builtin-modules": "5.2.0",
|
|
"commitlint": "^21.0.2",
|
|
"esbuild": "0.28.0",
|
|
"husky": "^9.1.7",
|
|
"obsidian": "^1.13.0",
|
|
"semantic-release": "^25.0.3",
|
|
"tslib": "2.8.1",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"dependencies": {
|
|
"deepmerge": "^4.3.1"
|
|
},
|
|
"packageManager": "pnpm@11.1.2"
|
|
}
|