Commit graph

5 commits

Author SHA1 Message Date
Kodai Nakamura
8748a6c4d2 fix(plugin): resolve obsidian compatibility warnings
Why:
- Obsidian's plugin checks were reporting compatibility and packaging warnings that could break popout-window behavior or leave async failures unhandled.
- The build also depended on a deprecated module listing package and carried inline tests that leaked warning noise into the production bundle.

What:
- add @codemirror/view as a runtime dependency and replace builtin-modules with node:module builtinModules in the esbuild config
- route plugin async startup and save-file hooks through compatibility helpers so delayed work uses window.setTimeout and fire-and-forget promises are explicitly handled
- switch the AI progress notice to activeDocument, await clipboard writes, align extended Obsidian types, rename the settings heading, and remove unused catch bindings
- move trie inline tests into dedicated Vitest files and add coverage for the new compatibility helpers to keep the build warning-free
2026-05-26 21:49:50 +09:00
Kodai Nakamura
2943d80742 chore: add stylistic eslint plugin and format code 2025-12-20 20:43:05 +09:00
Kodai Nakamura
21e7c2c5f1 chore: esbuild target es2018 -> esnext 2025-02-02 13:55:41 +09:00
Kodai Nakamura
2a980d9041 chore: move main.ts to src/main.ts 2025-02-02 13:09:09 +09:00
Kodai Nakamura
1854729ae7
Initial commit 2025-02-01 23:20:04 +09:00