Compare commits

...

3 commits

Author SHA1 Message Date
semantic-release-bot
630fab7ce6 chore(release): 0.1.0 [skip ci]
## [0.1.0](https://git.kjan.de/jank/project-cli/compare/v0.0.1...v0.1.0) (2025-06-19)

### Features

* Add releases ([7dc8496](7dc849688f))

### Bug Fixes

* Use newer version of the release action ([9c16070](9c16070b54))
2025-06-19 08:14:57 +00:00
9c16070b54
fix: Use newer version of the release action
All checks were successful
Release / Release (push) Successful in 38s
2025-06-19 10:14:08 +02:00
7dc849688f
feat: Add releases
Some checks failed
Release / Release (push) Failing after 35s
2025-06-19 10:00:10 +02:00
5 changed files with 8234 additions and 3 deletions

View file

@ -0,0 +1,28 @@
name: Release
on:
push:
branches:
- "main"
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
name: Release
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Create Release
uses: https://git.kjan.de/actions/semantic-release@v1.1.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

9
CHANGELOG.md Normal file
View file

@ -0,0 +1,9 @@
## [0.1.0](https://git.kjan.de/jank/project-cli/compare/v0.0.1...v0.1.0) (2025-06-19)
### Features
* Add releases ([7dc8496](https://git.kjan.de/jank/project-cli/commit/7dc849688fa9189e360c5fb491b2e8cd630a57d1))
### Bug Fixes
* Use newer version of the release action ([9c16070](https://git.kjan.de/jank/project-cli/commit/9c16070b54a634b78fffd341ac5b0190ae2fedbb))

8120
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
{
"name": "project-cli",
"name": "proj-cli",
"version": "0.1.0",
"module": "index.ts",
"type": "module",
"devDependencies": {
@ -9,10 +10,17 @@
"typescript": "^5.0.0"
},
"dependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/release-notes-generator": "^14.0.3",
"@std/toml": "npm:@jsr/std__toml",
"@types/commander": "^2.12.5",
"@types/inquirer": "^9.0.8",
"commander": "^14.0.0",
"inquirer": "^12.6.3"
"commitlint-plugin-cleanfeet": "^0.1.2",
"conventional-changelog-conventionalcommits": "^9.0.0",
"inquirer": "^12.6.3",
"semantic-release": "^24.2.5"
}
}

66
release.config.cjs Normal file
View file

@ -0,0 +1,66 @@
module.exports = {
branches: ["main"],
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "angular",
releaseRules: [
{ type: "feat", release: "minor" },
{ type: "fix", release: "patch" },
{ type: "perf", release: "patch" },
{ type: "docs", release: "patch" },
{ type: "style", release: "patch" },
{ type: "refactor", release: "patch" },
{ type: "test", release: "patch" },
{ type: "chore", release: "patch" },
{ type: "ci", release: "patch" },
{ type: "build", release: "patch" },
{ type: "revert", release: "patch" },
],
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "feat", section: "Features", hidden: false },
{ type: "fix", section: "Bug Fixes", hidden: false },
{
type: "perf",
section: "Performance Improvements",
hidden: false,
},
{ type: "docs", section: "Documentation", hidden: false },
{ type: "style", section: "Code Style", hidden: false },
{ type: "refactor", section: "Code Refactoring", hidden: false },
{ type: "test", section: "Tests", hidden: false },
{ type: "chore", section: "Chores", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false },
{ type: "build", section: "Build System", hidden: false },
{ type: "revert", section: "Reverts", hidden: false },
],
},
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"],
},
},
],
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
},
],
[
"@saithodev/semantic-release-gitea",
{
giteaUrl: "https://git.kjan.de",
},
],
"@semantic-release/npm",
"@semantic-release/git",
],
};