diff --git a/README.md b/README.md index da43866..b607412 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Helpful commands to run while developing: ## Thanks -* Thanks to the authors of (todotxt)[https://github.com/todotxt]. -* Thanks to the authors of (SwiftoDo)[https://swiftodoapp.com/] for documenting +* Thanks to the authors of [todotxt](https://github.com/todotxt). +* Thanks to the authors of [SwiftoDo](https://swiftodoapp.com/) for documenting the due and recurring extensions to the spec. diff --git a/dist/manifest.json b/dist/manifest.json index de0b1cb..2aa87f0 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -1,11 +1,10 @@ { - "id": "obsidian-todotxt-plugin", - "name": "TodoTxt", - "version": "1.0.0", - "minAppVersion": "0.15.0", - "description": "This is a sample plugin for Obsidian. This plugin demonstrates some of the capabilities of the Obsidian API.", - "author": "Mark Grimes", - "authorUrl": "https://obsidian.md", - "fundingUrl": "https://obsidian.md/pricing", - "isDesktopOnly": false -} + "id": "todotxt", + "name": "TodoTxt", + "version": "1.2.2", + "minAppVersion": "0.15.0", + "description": "Manage Todo.txt files.", + "author": "Mark Grimes", + "authorUrl": "https://github.com/mvgrimes", + "isDesktopOnly": false +} \ No newline at end of file diff --git a/dist/versions.json b/dist/versions.json index 26382a1..2ba6a9f 100644 --- a/dist/versions.json +++ b/dist/versions.json @@ -1,3 +1,12 @@ { - "1.0.0": "0.15.0" -} + "1.0.0": "0.15.0", + "1.0.1": "0.15.0", + "1.0.2": "0.15.0", + "1.0.3": "0.15.0", + "1.0.4": "0.15.0", + "1.0.5": "0.15.0", + "1.1.0": "0.15.0", + "1.2.0": "0.15.0", + "1.2.1": "0.15.0", + "1.2.2": "0.15.0" +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 31dc706..2aa87f0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "todotxt", "name": "TodoTxt", - "version": "1.2.1", + "version": "1.2.2", "minAppVersion": "0.15.0", "description": "Manage Todo.txt files.", "author": "Mark Grimes", diff --git a/package-lock.json b/package-lock.json index 5f3b7de..039c803 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-sample-plugin", - "version": "1.2.1", + "version": "1.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "obsidian-sample-plugin", - "version": "1.2.1", + "version": "1.2.2", "license": "MIT", "dependencies": { "react": "^18.2.0", diff --git a/package.json b/package.json index 0bb6ada..5f9e7fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-sample-plugin", - "version": "1.2.1", + "version": "1.2.2", "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "dist/main.js", "scripts": { @@ -9,7 +9,8 @@ "css": "postcss -o ./dist/styles.css --watch ./src/styles.css", "cp": "nodemon --watch ./dist --ext js,json,css --exec bash -c 'cp dist/* $HOME/Notes/.obsidian/plugins/todotxt-plugin/'", "version": "node ./scripts/version-bump.mjs", - "release": "zx ./scripts/release.mjs", + "release": "yarn run build && zx ./scripts/release.mjs", + "deploy": "yarn run release", "pretty": "prettier --write 'src/**/*.{js,ts,jsx,tsx}'" }, "keywords": [], diff --git a/src/ui/create-todo-dialog.tsx b/src/ui/create-todo-dialog.tsx index a8eccbf..e95717a 100644 --- a/src/ui/create-todo-dialog.tsx +++ b/src/ui/create-todo-dialog.tsx @@ -1,8 +1,9 @@ -import React, { +import * as React from 'react'; +import { useState, - type KeyboardEvent, - type MouseEvent, - type ChangeEvent, + KeyboardEvent, + MouseEvent, + ChangeEvent, } from 'react'; interface CreateTodoProps { diff --git a/src/ui/delete-todo-dialog.tsx b/src/ui/delete-todo-dialog.tsx index e7e0f1d..faa6647 100644 --- a/src/ui/delete-todo-dialog.tsx +++ b/src/ui/delete-todo-dialog.tsx @@ -1,4 +1,5 @@ -import React, { type KeyboardEvent, type MouseEvent } from 'react'; +import * as React from 'react'; +import type { KeyboardEvent, MouseEvent } from 'react'; interface DeleteTodoProps { onDelete: (t: boolean) => void; diff --git a/src/ui/edit-todo-dialog.tsx b/src/ui/edit-todo-dialog.tsx index 2d9b54b..46360d0 100644 --- a/src/ui/edit-todo-dialog.tsx +++ b/src/ui/edit-todo-dialog.tsx @@ -1,4 +1,5 @@ -import React, { +import * as React from 'react'; +import { useState, type ChangeEvent, type KeyboardEvent, diff --git a/versions.json b/versions.json index b108174..2ba6a9f 100644 --- a/versions.json +++ b/versions.json @@ -7,5 +7,6 @@ "1.0.5": "0.15.0", "1.1.0": "0.15.0", "1.2.0": "0.15.0", - "1.2.1": "0.15.0" + "1.2.1": "0.15.0", + "1.2.2": "0.15.0" } \ No newline at end of file