mirror of
https://github.com/moziar/obsidian-external-links-icon.git
synced 2026-07-22 06:45:34 +00:00
ci: update ci
Keep manifest-beta.json in sync with manifest.json
This commit is contained in:
parent
cd393f8189
commit
5f33a0fd00
4 changed files with 29 additions and 28 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
npm ci
|
||||
npm ci --legacy-peer-deps
|
||||
npm run build
|
||||
|
||||
- name: Lint
|
||||
|
|
|
|||
50
.gitignore
vendored
50
.gitignore
vendored
|
|
@ -1,25 +1,25 @@
|
|||
# vscode
|
||||
.vscode
|
||||
|
||||
# Intellij
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# npm
|
||||
node_modules
|
||||
|
||||
# Don't include the compiled main.js file in the repo.
|
||||
# They should be uploaded to GitHub releases instead.
|
||||
main.js
|
||||
|
||||
# Exclude sourcemaps
|
||||
*.map
|
||||
|
||||
# obsidian
|
||||
data.json
|
||||
|
||||
# Exclude macOS Finder (System Explorer) View States
|
||||
.DS_Store
|
||||
|
||||
# Exclude IDE files
|
||||
/.trae/*
|
||||
# vscode
|
||||
.vscode
|
||||
|
||||
# Intellij
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# npm
|
||||
node_modules
|
||||
|
||||
# Don't include the compiled main.js file in the repo.
|
||||
# They should be uploaded to GitHub releases instead.
|
||||
main.js
|
||||
|
||||
# Exclude sourcemaps
|
||||
*.map
|
||||
|
||||
# obsidian
|
||||
data.json
|
||||
|
||||
# Exclude macOS Finder (System Explorer) View States
|
||||
.DS_Store
|
||||
|
||||
# Exclude IDE files
|
||||
/.trae/*
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
||||
"test:smoke": "npm run build && node -e \"console.log('smoke ok')\"",
|
||||
"test:manual": "echo 'See TESTING.md for manual verification steps'",
|
||||
"version": "node version-bump.mjs && git add manifest.json versions.json",
|
||||
"version": "node version-bump.mjs && git add manifest.json manifest-beta.json versions.json",
|
||||
"lint": "npx eslint src/**/*.ts",
|
||||
"lint:fix": "npx eslint src/**/*.ts --fix",
|
||||
"optimize-icons": "node scripts/optimize-icons.mjs"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-obsidianmd": "^0.3.0",
|
||||
"globals": "^17.0.0",
|
||||
"obsidian": "latest",
|
||||
"obsidian": "^1.13.0",
|
||||
"svgo": "^4.0.0",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "^5.0.0",
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t"));
|
|||
if (existsSync("manifest-beta.json")) {
|
||||
let manifestBeta = JSON.parse(readFileSync("manifest-beta.json", "utf8"));
|
||||
manifestBeta.version = targetVersion;
|
||||
manifestBeta.minAppVersion = minAppVersion;
|
||||
writeFileSync("manifest-beta.json", JSON.stringify(manifestBeta, null, "\t"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue