relion 0.44.1 → 0.44.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,10 +4,10 @@
4
4
  <img alt="logo" src=".github/logo-light.png">
5
5
  </picture>
6
6
  <br>
7
- <a href="https://www.npmjs.com/package/relion"><img src="https://img.shields.io/npm/v/relion?label=npm&logo=npm&style=flat-square&color=A3BAFF&labelColor=303145" alt="npm version"/></a>&nbsp;
8
- <a href="https://www.npmjs.com/package/relion"><img src="https://img.badgesize.io/https:/unpkg.com/relion/dist/cli.js?label=Size&logo=hackthebox&logoColor=c97026&style=flat-square&color=A3BAFF&labelColor=303145" alt="runtime size"/></a>&nbsp;
9
- <a href="https://github.com/kh4f/relion/blob/master/LICENSE"><img src="https://img.shields.io/github/license/kh4f/relion?style=flat-square&label=%F0%9F%9B%A1%EF%B8%8F%20License&color=A3BAFF&labelColor=303145" alt="license"></a>&nbsp;
10
- <a href="https://github.com/kh4f/relion/issues?q=is%3Aissue+is%3Aopen+label%3Abug"><img src="https://img.shields.io/github/issues/kh4f/relion/bug?label=%F0%9F%90%9B%20Bugs&style=flat-square&color=A3BAFF&labelColor=303145" alt="open bugs"></a>
7
+ <a href="https://www.npmjs.com/package/relion"><img src="https://img.shields.io/npm/v/relion?label=npm&logo=npm&style=flat-square&color=BAC4E2&labelColor=303145" alt="npm version"/></a>&nbsp;
8
+ <a href="https://www.npmjs.com/package/relion"><img src="https://img.badgesize.io/https:/unpkg.com/relion/dist/cli.js?label=Size&logo=hackthebox&logoColor=c97026&style=flat-square&color=BAC4E2&labelColor=303145" alt="bundle size"/></a>&nbsp;
9
+ <a href="https://github.com/kh4f/relion/issues?q=is%3Aissue+is%3Aopen+label%3Abug"><img src="https://img.shields.io/github/issues/kh4f/relion/bug?label=%F0%9F%90%9B%20Bugs&style=flat-square&color=BAC4E2&labelColor=303145" alt="open bugs"></a>&nbsp;
10
+ <a href="https://github.com/kh4f/relion/blob/master/LICENSE"><img src="https://img.shields.io/github/license/kh4f/relion?style=flat-square&label=%F0%9F%9B%A1%EF%B8%8F%20License&color=BAC4E2&labelColor=303145" alt="license"></a>
11
11
  <br><br>
12
12
  <b>A zero‑config npm lib for automating the release workflow:<br></b> version bumping, release commit & tag creation, and AI‑assisted changelog generation
13
13
  <br><br>
@@ -40,6 +40,7 @@ Notes:
40
40
  - `package.json` is **always included** in the bump list if exists
41
41
  - most files are bumped with a [generic pattern](https://regex101.com/r/t570Gh/1); `.rc` files use a dedicated one
42
42
  - changes are **not staged automatically** before committing
43
+ - to create a tag without a prefix, use `-t ''`
43
44
 
44
45
  <details><summary>Example output of running <code>bunx relion</code>:</summary>
45
46
 
@@ -97,9 +98,7 @@ Relion doesn’t format the changelog itself — instead, it generates a release
97
98
 
98
99
  Example workflow using GitHub Copilot:
99
100
 
100
- 1. Set up the instruction and prompt:
101
- - [.github/instructions/changelog-format.instructions.md](.github/instructions/changelog-format.instructions.md)
102
- - [.github/prompts/generate-changelog.prompt.md](.github/prompts/generate-changelog.prompt.md)
101
+ 1. Set up the [instruction](.github/instructions/changelog-format.instructions.md) and [prompt](.github/prompts/generate-changelog.prompt.md)
103
102
  2. Run Relion to generate `RELEASE.md`
104
103
  3. Review the release context
105
104
  4. Run `/generate-changelog` in VS Code Copilot chat
package/dist/cli.js CHANGED
@@ -15,4 +15,4 @@ Options:
15
15
  Examples:
16
16
  bunx relion -b src/manifest.json Bump a custom file
17
17
  bunx relion -d -v 1.2.3 Dry run with a custom version
18
- `),process.exit(0));const y=/-b (.+?)( -|$)/.exec(v)?.[1].split(` `),b=/-v (\S+)/.exec(v)?.[1],x=/-t (\S+)/.exec(v)?.[1],S=/-\w*d/.test(v),C=/-\w*y/.test(v);_({...y&&{bump:y},...b&&{newVersion:b},...x&&{tagPrefix:x},dryRun:S,yes:C}).catch(e=>{console.error(e),process.exit(1)});export{};
18
+ `),process.exit(0));const y=/-b (.+?)( -|$)/.exec(v)?.[1].split(` `),b=/-v (\S+)/.exec(v)?.[1];let x=/-t (\S+)/.exec(v)?.[1];x===`''`&&(x=``);const S=/-\w*d/.test(v),C=/-\w*y/.test(v);_({...y&&{bump:y},...b&&{newVersion:b},...x&&{tagPrefix:x},dryRun:S,yes:C}).catch(e=>{console.error(e),process.exit(1)});export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relion",
3
- "version": "0.44.1",
3
+ "version": "0.44.3",
4
4
  "description": "🏷️ Release Workflow Helper",
5
5
  "author": "kh4f <kh4f.dev@gmail.com>",
6
6
  "license": "MIT",
@@ -29,8 +29,8 @@
29
29
  "@types/semver": "^7.7.1",
30
30
  "eslint": "^10.1.0",
31
31
  "jiti": "^2.6.1",
32
- "tsdown": "^0.21.4",
32
+ "tsdown": "^0.21.5",
33
33
  "typescript": "^5.9.3",
34
- "typescript-eslint": "^8.57.1"
34
+ "typescript-eslint": "^8.57.2"
35
35
  }
36
36
  }