EC-21: FEAT: Added better commit and release

Refers: Evercatch/evercatch-board#21
This commit is contained in:
2026-02-20 10:09:14 +00:00
parent 8cb6f56947
commit 91b558197b
3 changed files with 2310 additions and 6 deletions

5
.npmrc
View File

@@ -2,8 +2,5 @@
# 1. Tell npm that @evercatch packages live on your server # 1. Tell npm that @evercatch packages live on your server
@evercatch:registry=https://git.psmattas.com/api/packages/Evercatch/npm/ @evercatch:registry=https://git.psmattas.com/api/packages/Evercatch/npm/
# 2. Set the registry for publishing # 2. Setup Auth using an Environment Variable
registry=https://git.psmattas.com/api/packages/Evercatch/npm/
# 3. Setup Auth using an Environment Variable
//git.psmattas.com/api/packages/Evercatch/npm/:_authToken=${GITEA_TOKEN} //git.psmattas.com/api/packages/Evercatch/npm/:_authToken=${GITEA_TOKEN}

2302
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,12 @@
"node": ">=16" "node": ">=16"
}, },
"scripts": { "scripts": {
"publish:public": "npm publish", "release": "commit-and-tag-version",
"publish:gitea": "npm publish --registry=https://git.psmattas.com/api/packages/Evercatch/npm/" "publish:gitea": "npm publish",
"publish:public": "npm publish --registry=https://registry.npmjs.org --access public",
"publish:all": "npm run publish:gitea && npm run publish:public"
},
"devDependencies": {
"commit-and-tag-version": "^12.6.1"
} }
} }