dewdad / obsidian-mstodo-sync

microsoft-todo for obsidian.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft To Do Sync

This plugin allows you to create and synchronize tasks with Microsoft To Do.

Development

If you are working on the plugin, you can use the following commands to build and run the plugin:

npm install
npm run build

Releasing new releases

  • Update your manifest.json with your new version number, such as 1.0.1, and the minimum Obsidian version required for your latest release.
  • Update your versions.json file with "new-plugin-version": "minimum-obsidian-version" so older versions of Obsidian can download an older version of your plugin that's compatible.
  • Create new GitHub release using your new version number as the "Tag version". Use the exact version number, don't include a prefix v. See here for an example: https://github.com/obsidianmd/obsidian-sample-plugin/releases
  • Upload the files manifest.json, main.js, styles.css as binary attachments. Note: The manifest.json file must be in two places, first the root path of your repository and also in the release.
  • Publish the release.

You can simplify the version bump process by running npm version patch, npm version minor or npm version major after updating minAppVersion manually in manifest.json. The command will bump version in manifest.json and package.json, and add the entry for the new version to versions.json

Adding your plugin to the community plugin list

How to use

  • Clone this repo.
  • npm i to install dependencies
  • npm run dev to start compilation in watch mode.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.

Improve code quality with eslint

To look for issues.

npm run lint

To automatically fix issues where possible.

npm run lint:fix
npm run prettier-format

API Documentation

See https://github.com/obsidianmd/obsidian-api

About

microsoft-todo for obsidian.md


Languages

Language:TypeScript 96.7%Language:JavaScript 2.6%Language:CSS 0.7%