This uses bun, not node. So you need that installed. If you are on windows use WSL, if that does not work... good luck.
Things to change Checklist:
-
manifest.json -
package.json -
versions.json -
automation/config.js -
.github/workflows/release.yml - rename
exampleVault/.obsidian/lemons-plugin-template
If and only if you completed these steps, you can run bun install and bun run dev to start your plugin jorney.
dev- build into the example vault with hot reloadbuild- build for releasetsc- run type checkertest- run your teststest:log- run your tests with console output enabledformat- format your codeformat:check- check the formatting of your codelint- lint your codelint:fix- lint your code and fix auto fixable mistakescheck- check for formatting, linting, type errors and run the testscheck:fix- fix formatting and linting errors, check for type errors and run the testsrelease- run the script to release a new version
- Sample plugin repo: https://github.com/obsidianmd/obsidian-sample-plugin
- Obsidian help: https://help.obsidian.md/Home
- Obsidian docs: https://docs.obsidian.md/Home
- Obsidian API: https://github.com/obsidianmd/obsidian-api/blob/master/obsidian.d.ts