diff --git a/.npmrc b/.npmrc deleted file mode 100644 index b973752..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -tag-version-prefix="" \ No newline at end of file diff --git a/manifest.json b/manifest.json index d7b3e77..c473afc 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "obsidian-custom-frames", "name": "Custom Frames", - "version": "1.1.1", - "minAppVersion": "0.13.33", + "version": "2.0.0", + "minAppVersion": "0.14.3", "description": "A plugin that allows adding iframes with custom styling as editor tabs. Also comes with presets for Google Keep and more.", "author": "Ellpeck", "authorUrl": "https://ellpeck.de", diff --git a/package-lock.json b/package-lock.json index 0f7fb6b..0ba6d38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "obsidian-custom-frames", - "version": "1.1.1", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index eedcd45..890e820 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-custom-frames", - "version": "1.1.1", + "version": "2.0.0", "description": "An Obsidian plugin that allows adding iframes with custom styling as editor tabs. Also comes with presets for Google Keep and more.", "main": "main.js", "scripts": { diff --git a/version-bump.mjs b/version-bump.mjs deleted file mode 100644 index d409fa0..0000000 --- a/version-bump.mjs +++ /dev/null @@ -1,14 +0,0 @@ -import { readFileSync, writeFileSync } from "fs"; - -const targetVersion = process.env.npm_package_version; - -// read minAppVersion from manifest.json and bump version to target version -let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); -const { minAppVersion } = manifest; -manifest.version = targetVersion; -writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); - -// update versions.json with target version and minAppVersion from manifest.json -let versions = JSON.parse(readFileSync("versions.json", "utf8")); -versions[targetVersion] = minAppVersion; -writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); diff --git a/versions.json b/versions.json index 0534933..fe287f4 100644 --- a/versions.json +++ b/versions.json @@ -3,5 +3,6 @@ "1.0.1": "0.13.33", "1.0.2": "0.13.33", "1.1.0": "0.13.33", - "1.1.1": "0.13.33" + "1.1.1": "0.13.33", + "2.0.0": "0.14.3" }