mirror of
https://github.com/woodchen-ink/obsidian-lskypro-uploader.git
synced 2025-07-18 05:42:07 +08:00
test
This commit is contained in:
parent
dd06cffc91
commit
bd2a8ba0ba
@ -7,7 +7,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node esbuild.config.mjs",
|
"dev": "node esbuild.config.mjs",
|
||||||
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
||||||
"version": "node version-bump.mjs && git add manifest.json versions.json && git tag $(node -p \"require('./package.json').version\")"
|
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"obsidian.md",
|
"obsidian.md",
|
||||||
|
@ -2,6 +2,9 @@ import { readFileSync, writeFileSync } from "fs";
|
|||||||
|
|
||||||
const targetVersion = process.env.npm_package_version;
|
const targetVersion = process.env.npm_package_version;
|
||||||
|
|
||||||
|
const packageJson = require('./package.json');
|
||||||
|
const version = packageJson.version;
|
||||||
|
|
||||||
// read minAppVersion from manifest.json and bump version to target version
|
// read minAppVersion from manifest.json and bump version to target version
|
||||||
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
|
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
|
||||||
const { minAppVersion } = manifest;
|
const { minAppVersion } = manifest;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user