From 0ddbece6f7c38a084d30ec3099cf1182b1dc93c4 Mon Sep 17 00:00:00 2001 From: Catalin Costache Date: Sat, 28 Sep 2024 14:11:15 +0300 Subject: [PATCH] release:beta --- manifest.json | 2 +- package.json | 4 ++-- src/main.ts | 2 +- versions.json | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 3d6a31e..a655110 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "tree-search", "name": "Tree Search", - "version": "0.0.15", + "version": "0.0.16", "minAppVersion": "0.15.0", "description": "Quickly search hierarchical line trees in Obsidian", "author": "Catalin Costache", diff --git a/package.json b/package.json index aa95417..adffb85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tree-search", - "version": "0.0.15", + "version": "0.0.16", "description": "Quickly search trees of lines in Obsidian", "main": "main.js", "scripts": { @@ -12,7 +12,7 @@ "build": "npm run build:css && npm run build:esbuild", "version": "node version-bump.mjs && git add manifest.json versions.json", "version:beta": "node version-bump.mjs && git add manifest.json versions.json", - "release:beta": "npm run version:beta && git commit -m 'release:beta' && git push origin main:main && git tag -a $npm_package_version -m \"$npm_package_version\" && git push --tags", + "release:beta": "npm run version:beta && git add . && git commit -m 'release:beta' && git push origin main:main && git tag -a $npm_package_version -m \"$npm_package_version\" && git push --tags", "test": "jest", "test:watch": "jest --watch" }, diff --git a/src/main.ts b/src/main.ts index b71c07e..9c586ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -82,7 +82,7 @@ export default class TreeSearchPlugin extends Plugin { } async loadSettings() { - this.context.settings = Object.assign({}, REACT_PLUGIN_CONTEXT, await this.loadData()); + this.context.settings = Object.assign({}, REACT_PLUGIN_CONTEXT.settings, await this.loadData()); this.index.setSettings(this.context.settings); } diff --git a/versions.json b/versions.json index fb2f9a4..8333d1c 100644 --- a/versions.json +++ b/versions.json @@ -5,5 +5,6 @@ "0.0.12": "0.15.0", "0.0.13": "0.15.0", "0.0.14": "0.15.0", - "0.0.15": "0.15.0" + "0.0.15": "0.15.0", + "0.0.16": "0.15.0" } \ No newline at end of file