Skip to content

Commit

Permalink
chore: optimize release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fnumatic committed Feb 6, 2024
1 parent 4c5219d commit e9539f0
Show file tree
Hide file tree
Showing 7 changed files with 2,157 additions and 769 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ dist/
.DS_STORE
main.js
styles.css
.hotreload
.hotreload
archive/
```
33 changes: 33 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

{
"git": {
"commitMessage": "chore(release): ${version}",
"commit": true,
"tag": true,
"requireCommits": false,
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"releaseName": "${version}",
"preRelease": true,
"assets": "dist/*",
"autoGenerate": true
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
},
"header": "# Changelog",
"infile": "CHANGELOG.md",
"ignoreRecommendedBump": true
},
"./scripts/ob-bumper.mjs": {
"indent": 2
}
}
}
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Dynamic Table of Contents",
"author": "fnumatic",
"description": "An Obsidian plugin to generate Tables of Contents that stay up to date with your document outline.",
"minAppVersion": "0.11.0",
"minAppVersion": "1.1.0",
"version": "0.0.36",
"repo": "fnumatic/obsidian-plugin-dynamic-toc"
}
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"id": "obsidian-dynamic-toc",
"name": "Dynamic Table of Contents",
"author": "aidurber",
"author": "fnumatic",
"description": "An Obsidian plugin to generate Tables of Contents that stay up to date with your document outline.",
"minAppVersion": "0.11.0",
"version": "0.0.27",
"repo": "aidurber/obsidian-plugin-dynamic-toc"
"minAppVersion": "1.1.0",
"version": "0.0.36",
"repo": "fnumatic/obsidian-plugin-dynamic-toc"
}
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
{
"name": "obsidian-plugin-dynamic-toc",
"version": "0.0.27",
"version": "0.0.36",
"description": "An Obsidian plugin to generate Tables of Contents that stay up to date with your document outline.",
"main": "main.js",
"license": "MIT",
"scripts": {
"dev": "obsidian-plugin dev -e esbuild.config.json -S src/styles.css src/main.ts ",
"type-check": "tsc --noEmit",
"build": "obsidian-plugin build -e esbuild.config.json -S src/styles.css src/main.ts ",
"release:dry": "standard-version -t '' --dry-run",
"release": "standard-version -t '' -a",
"release": "release-it",
"release:dry": "release-it --dry-run",
"test": "jest",
"test:watch": "jest --watch"
},
"devDependencies": {
"@codemirror/language": "github:lishid/cm-language",
"@npmcli/package-json": "^5.0.0",
"@release-it/conventional-changelog": "^8.0.1",
"@types/jest": "^29.5.11",
"builtin-modules": "^3.3.0",
"detect-indent": "^7.0.1",
"detect-newline": "^4.0.1",
"esbuild": "^0.20.0",
"jest": "^29.7.0",
"obsidian": "github:obsidianmd/obsidian-api",
"obsidian-plugin-cli": "^0.9.0",
"release-it": "^17.0.3",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"overrides": {
Expand Down
Loading

0 comments on commit e9539f0

Please sign in to comment.