sdkasper_lean-obsidian-term.../package.json
LeanProductivity 7db8ab0cc4
fix: replace text-decoration sub-properties with shorthand (0.16.4) (#59)
* fix: address CSS lint and source code warnings for plugin submission

- binary-manager.ts: remove redundant non-null assertion on version (already narrowed)
- styles.css: expand 3-digit hex to 6-digit (#000 -> #000000, #FFF -> #ffffff)
- styles.css: split text-decoration shorthand into text-decoration-line + text-decoration-style
  for better browser compatibility
- styles.css: remove !important by increasing selector specificity (.xterm .xterm-dim)
  and relying on already-higher specificity for .view-content overrides
- bump to 0.16.3

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: explain extra release files in release.yml and README

node-pty zips and checksums.json are fetched on-demand by BinaryManager
when the user clicks "Download binaries" in plugin settings. Obsidian
itself only installs main.js, manifest.json, and styles.css.

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: replace text-decoration sub-properties with shorthand (0.16.4)

Obsidian CSS scanner flags text-decoration-line and text-decoration-style
as partially supported browser features. Replace all four xterm-underline
variants (2-5) with plain text-decoration: underline to pass the check.
Style variants degrade to normal underline visually.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-05-13 10:54:06 +03:00

33 lines
No EOL
807 B
JSON

{
"name": "lean-terminal",
"version": "0.16.4",
"description": "Embedded terminal for Obsidian using xterm.js and node-pty",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"test": "vitest run"
},
"keywords": [
"obsidian",
"terminal",
"xterm",
"pty"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^22.0.0",
"esbuild": "^0.25.0",
"node-pty": "^1.0.0",
"obsidian": "^1.7.0",
"typescript": "^5.8.0",
"vitest": "^3.0.0"
},
"dependencies": {
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-search": "^0.16.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0"
}
}