mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-12-22 13:19:24 +01:00
bump version number
This commit is contained in:
parent
5bc2504a64
commit
e91cfc16ae
6 changed files with 6 additions and 20 deletions
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
|||
tag-version-prefix=""
|
|
@ -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",
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-custom-frames",
|
||||
"version": "1.1.1",
|
||||
"version": "2.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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"));
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue