Before you create a new Issue:
- Please make sure there is no open issue about the topic yet
- If it is a bug report, include the steps to reproduce the issue
- If it is a feature request, please share the motivation for the new feature and how you would implement it
If you want to submit a bug fix or new feature, make sure that all tests are passing.
$ npm test
- Check out the open issues first. Create new ones or discuss if needed
- Fork the project
- Push changes to a dedicated branch of your fork
- Submit a pull request
- Be sure to tag any issues your pull request is taking care of or is contributing to.
In addition to the classic (npm/node, installation, etc), make sure to define the OBSIDIAN_VAULT_LOCATION
environment variable. It should point to the root folder of an existing Obsidian vault. When building the DEV version (npm run build:dev
or npm run watch
), the plugin will be copied to that vault's .obsidian/plugins
folder. This makes it easy to build and automatically have the up to date plugin for testing in Obsidian. It also avoids having to store the codebase within the Obsidian vault...
- Update the
minAppVersion
manually inmanifest.json
if needed - Run
npm version patch
,npm version minor
ornpm version major
to update themanifest.json
andpackage.json
files - Commit all changes
- Tag with the correct version number (e.g., 1.1.0)
- Build a production version
- Create a release on GitHub and make sure to include the following files as binary attachments:
main.js
,manifest.json
, andstyles.css