Commit graph

13 commits

Author SHA1 Message Date
Lukas Wolfsteiner
c22dc1f969 build: modernize TypeScript and esbuild configuration
Set compile and bundle target to ES2021 since Obsidian runs on modern Electron.
Replace individual strict flags with strict: true and add noFallthroughCasesInSwitch, skipLibCheck and forceConsistentCasingInFileNames.
Switch module resolution to bundler, removing the need for deprecation workarounds on TypeScript 6.
Drop baseUrl, allowJs and importHelpers; tests now import sources via relative paths.
Aligns the project with the modernized obsidian-sample-plugin configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 11:20:56 +02:00
Lukas Wolfsteiner
58e5d84279 chore: update tsconfig.json to include rootDir, ignoreDeprecations, and add ES2020 to lib 2026-06-10 16:20:33 +02:00
Lukas Wolfsteiner
877b75ddc5 feat: add testing framework and initial test cases
- Introduce Jest as the testing framework and configure it for the project.
- Add initial test cases for block and note parsing functionalities.
- Update ESLint configuration to include test files and adjust global settings.
- Modify package.json to include test scripts and dependencies for Jest.
- Enhance GitHub workflows to run tests during linting and release processes.
2026-05-02 01:33:06 +02:00
Johannes Theiner
123fc4a870 update eslint plugin version
remove builtin-modules external dependency
2025-11-14 14:28:33 +01:00
Johannes Theiner
b9a0e401e0
configure eslint 2024-02-29 13:18:14 +01:00
lishid
04432b2ebf Upgrade dependencies, add strictNullChecks. 2022-06-24 15:41:39 -04:00
Xiao Meng
f690c04577
use LF instead of CRLF (#28) 2022-04-15 14:13:31 -04:00
fyears
fe035a3008
add type check (#22) 2022-01-16 10:07:19 -05:00
lishid
d006ed755a Update tsconfig. 2021-11-06 19:05:49 -04:00
lishid
3afc9d78ab Update sample plugin to use ESBuild. 2021-10-19 13:34:58 -04:00
lishid
ed0e0a6e90 Target ES6. 2021-01-31 12:55:17 -05:00
lishid
245339d8e0 Use rollup for bundling. 2020-10-26 12:02:41 -04:00
lishid
ed3770792a Initial commit! 2020-10-25 16:58:31 -04:00