diff --git a/.prettierrc b/.prettierrc index c5b37ba..5a46b72 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,7 +5,7 @@ "insertPragma": false, "jsxBracketSameLine": false, "jsxSingleQuote": false, - "printWidth": 80, + "printWidth": 120, "proseWrap": "preserve", "quoteProps": "as-needed", "requirePragma": false, diff --git a/.versionrc b/.versionrc index 0b7f5a6..8105933 100644 --- a/.versionrc +++ b/.versionrc @@ -1,9 +1,15 @@ { "types": [ - {"type":"feat","section":"Features"}, - {"type":"fix","section":"Bug Fixes"}, - {"type":"test","section":"Tests", "hidden": true}, - {"type":"build","section":"Build System", "hidden": true}, - {"type":"ci","hidden":true} + {"type":"feat", "section":"Features"}, + {"type":"fix", "section":"Bug Fixes"}, + {"type":"test", "section":"Tests", "hidden": true}, + {"type":"build", "section":"Build System", "hidden": true}, + {"type":"ci", "hidden":true}, + {"type":"improvement", "section":"Feature Improvements", "hidden": false }, + {"type":"revert", "section":"Reverts", "hidden": false }, + {"type":"docs", "section":"Docs", "hidden": false }, + {"type":"style", "section":"Styling", "hidden": false }, + {"type":"refactor", "section":"Code Refactoring", "hidden": false }, + {"type":"perf", "section":"Performance Improvements", "hidden": false } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index fdaeb58..bf968fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,4 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -### [1.0.7](https://github.dev/anpigon/obsidian-book-search-plugin/compare/1.0.6...1.0.7) (2022-04-06) - -### [1.0.6](https://github.dev/anpigon/obsidian-book-search-plugin/compare/1.0.5...1.0.6) (2022-04-06) - -### [1.0.5](https://github.dev/anpigon/obsidian-book-search-plugin/compare/1.0.4...1.0.5) (2022-04-06) - -### [1.0.4](https://github.dev/anpigon/obsidian-book-search-plugin/compare/0.0.3...1.0.4) (2022-04-06) - -### [1.0.3](https://github.dev/anpigon/obsidian-book-search-plugin/compare/v1.0.2...v1.0.3) (2022-04-06) -- You can create notes by searching for a book. -### 1.0.2 (2022-04-06) -- first release +### 0.0.2 (2022-04-07) diff --git a/manifest.json b/manifest.json index 59aa589..79d6738 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-book-search-plugin", "name": "Book Search", - "version": "1.0.7", + "version": "0.0.2", "minAppVersion": "0.12.0", "description": "This is a sample plugin for Obsidian. This plugin demonstrates some of the capabilities of the Obsidian API.", "author": "Obsidian", diff --git a/obsidian-book-search-plugin.zip b/obsidian-book-search-plugin.zip deleted file mode 100644 index 0de5268..0000000 Binary files a/obsidian-book-search-plugin.zip and /dev/null differ diff --git a/package-lock.json b/package-lock.json index 4117abd..bbd4567 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-book-search-plugin", - "version": "1.0.7", + "version": "0.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "obsidian-book-search-plugin", - "version": "1.0.7", + "version": "0.0.2", "license": "MIT", "devDependencies": { "@popperjs/core": "^2.11.5", diff --git a/package.json b/package.json index f8f9f53..567594d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-book-search-plugin", - "version": "1.0.7", + "version": "0.0.2", "description": "This is a plugin to help you create book notes.", "main": "main.js", "standard-version": { diff --git a/src/book_search_modal.ts b/src/book_search_modal.ts index 50fc769..cb9fe93 100644 --- a/src/book_search_modal.ts +++ b/src/book_search_modal.ts @@ -1,6 +1,6 @@ import { App, ButtonComponent, Modal, Setting, TextComponent } from 'obsidian'; -import { Book } from './book_suggest_modal'; import { getByQuery } from './apis/google_books_api'; +import { Book } from './models/book.model'; export class BookSearchModal extends Modal { query: string; diff --git a/src/main.ts b/src/main.ts index 213c6c2..43da973 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,7 +1,8 @@ import { Notice, Plugin } from 'obsidian'; import { BookSearchModal } from './book_search_modal'; -import { Book, BookSuggestModal } from './book_suggest_modal'; +import { BookSuggestModal } from './book_suggest_modal'; import { CursorJumper } from './editor/corsor_jumper'; +import { Book } from './models/book.model'; import { BookSearchSettingTab,