mirror of
https://github.com/moranrs/table-master.git
synced 2026-07-22 06:53:11 +00:00
- src/editor/actions.ts: drop two unnecessary type assertions on navigator.clipboard
- src/i18n/en.ts: rewrite 9 strings into sentence case (drop button-name parentheticals like ' (Tab)' and 'Excel/web')
- src/i18n/zh.ts: drop now-unused plugin.name key
- src/main.ts: split async init out of onload into a private bootstrap()
so Plugin.onload's declared void return type is preserved
- src/main.ts, src/i18n/index.ts, src/editor/actions.ts: remove unused
'_' catch parameters (use bare 'catch')
- src/render/tableRenderer.ts: replace 'Function' with an explicit
MarkdownRenderFn signature for the renderer.render fallback
- src/settings.ts: drop the manual createEl('h2', ...) heading;
Obsidian renders the plugin name as the settings-tab heading
- src/ui/floatingToolbar.ts: replace inline element.style.display
writes with an 'is-hidden' CSS class toggle, drop redundant
inline 'position: fixed' (now CSS-only), and parse SVG icons via
DOMParser instead of innerHTML
- styles.css: add .tm-floating-toolbar.is-hidden rule
- add eslint.config.mjs + dev dependencies so contributors can
reproduce ObsidianReviewBot's checks locally
36 lines
1,004 B
JSON
36 lines
1,004 B
JSON
{
|
|
"name": "obsidian-table-master",
|
|
"version": "0.1.0",
|
|
"description": "Unified Markdown table plugin for Obsidian: GUI toolbar, visual grid editor, merged cells.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"obsidian-plugin",
|
|
"markdown",
|
|
"table"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@codemirror/language": "6.10.0",
|
|
"@codemirror/state": "6.5.0",
|
|
"@codemirror/view": "6.23.0",
|
|
"@types/node": "^20.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
"@typescript-eslint/parser": "^8.59.0",
|
|
"builtin-modules": "^3.3.0",
|
|
"esbuild": "^0.20.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-obsidianmd": "^0.2.4",
|
|
"happy-dom": "^20.9.0",
|
|
"obsidian": "1.5.7",
|
|
"tslib": "^2.6.2",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^1.2.0"
|
|
}
|
|
}
|