feat: clean up template code and establish plugin foundation (task 1)

- Fix TypeScript type inconsistencies in main.ts
- Remove sample template components (SampleModal, sample commands)
- Replace sample settings tab with TypstPDFExportSettingTab
- Update package.json metadata to reflect actual plugin identity
- Add basic plugin structure with export command and ribbon icon
- Clean up template comments and unused imports

This establishes a clean foundation for implementing Typst PDF export
functionality by removing all sample plugin template code and setting
up proper plugin structure with placeholder functionality.

Addresses all subtasks in task 1 (1.1-1.5) from project roadmap.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jarvis committed 2025-08-29 17:03:34 +02:00
1 parent c315d31011
commit ca729e5037
3 files changed
+584 -101

No files matched your search

+4 -4
View File
@@ -1,15 +1,15 @@
{
"name": "obsidian-sample-plugin",
"name": "obsidian-typst-pdf-export",
"version": "1.0.0",
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [],
"author": "",
"keywords": ["pdf", "export", "typst", "obsidian-plugin", "typesetting"],
"author": "Alexander Kucera",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",