reelout 0.17.7 → 0.18.0
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 +74 -51
- package/dist/cli.js +2 -2
- package/package.json +14 -8
package/README.md
CHANGED
|
@@ -3,29 +3,33 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/reelout)
|
|
4
4
|
[](https://app.codecov.io/github/reelout/reelout)
|
|
5
5
|
|
|
6
|
-
ReelOut
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
ReelOut turns [Conventional Commits](https://conventionalcommits.org) into
|
|
7
|
+
releases. One command analyzes the history behind every workspace package,
|
|
8
|
+
bumps versions, rewrites manifests and changelogs, tags the release,
|
|
9
|
+
publishes packages to npm and crates.io, and creates GitHub or GitLab
|
|
10
|
+
releases — through a plugin pipeline you can extend or replace.
|
|
11
11
|
|
|
12
12
|
## Features
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
- Independent release plans per package: release what changed, skip what
|
|
15
|
+
didn't.
|
|
16
|
+
- Versions derived from Conventional Commits — `feat` ships a minor, `fix` a
|
|
17
|
+
patch, breaking changes a major (`minor` on `0.x`).
|
|
18
|
+
- Manifest and changelog updates, release notes, Git tags, and a release
|
|
19
|
+
commit in a single run.
|
|
20
|
+
- Prerelease branches (`alpha`, `beta`, `next`) with matching channels, and
|
|
21
|
+
custom branch rules when you need them.
|
|
22
|
+
- Zero-config defaults: plugins activate off repository signals — a root
|
|
23
|
+
`package.json` or `Cargo.toml`, the active package manager, the Git host.
|
|
24
|
+
Yarn workspaces opt in through `@reelout/yarn`.
|
|
25
|
+
- npm and crates.io trusted publishing: publish from CI without stored
|
|
26
|
+
registry tokens.
|
|
27
|
+
- A dry run that previews the entire release, with credentials verified
|
|
28
|
+
against the real registries.
|
|
29
|
+
- A plugin API for anything the built-ins don't cover.
|
|
24
30
|
|
|
25
31
|
## Installation
|
|
26
32
|
|
|
27
|
-
Install with your preferred package manager:
|
|
28
|
-
|
|
29
33
|
```sh
|
|
30
34
|
npm install -D reelout
|
|
31
35
|
# or
|
|
@@ -34,31 +38,29 @@ pnpm add -D reelout
|
|
|
34
38
|
yarn add -D reelout
|
|
35
39
|
```
|
|
36
40
|
|
|
37
|
-
## Quick
|
|
41
|
+
## Quick start
|
|
38
42
|
|
|
39
|
-
Preview
|
|
43
|
+
Preview first:
|
|
40
44
|
|
|
41
45
|
```sh
|
|
42
46
|
npx reelout --dry-run
|
|
43
47
|
```
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
ReelOut prints every package it would release, the version it would give it,
|
|
50
|
+
and the commits behind the bump. When the plan looks right, ship it:
|
|
46
51
|
|
|
47
52
|
```sh
|
|
48
53
|
npx reelout
|
|
49
54
|
```
|
|
50
55
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
[Getting Started](./docs/01-getting-started.md) for prerequisites and details.
|
|
56
|
+
The real run updates manifests and changelogs, creates the release commit and
|
|
57
|
+
tags, publishes eligible packages, and opens a GitHub or GitLab release —
|
|
58
|
+
each integration activating only when the repository calls for it. See
|
|
59
|
+
[Getting Started](./docs/01-getting-started.md) for prerequisites and the
|
|
60
|
+
first release in detail.
|
|
57
61
|
|
|
58
62
|
## CLI
|
|
59
63
|
|
|
60
|
-
View all available options:
|
|
61
|
-
|
|
62
64
|
```sh
|
|
63
65
|
npx reelout --help
|
|
64
66
|
```
|
|
@@ -66,46 +68,67 @@ npx reelout --help
|
|
|
66
68
|
```text
|
|
67
69
|
Usage: reelout [options]
|
|
68
70
|
|
|
69
|
-
|
|
71
|
+
Turn Conventional Commits into monorepo releases: versions, changelogs, tags,
|
|
72
|
+
and npm, Cargo, GitHub, and GitLab publishing — driven by plugins.
|
|
70
73
|
|
|
71
74
|
Options:
|
|
72
|
-
--filter <pattern> Release only packages
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
--
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
--
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
--filter <pattern> Release only the packages matching the glob
|
|
76
|
+
patterns (for example, `@scope/pkg-*`).
|
|
77
|
+
Repeat the flag to combine patterns; prefix
|
|
78
|
+
one with `!` to exclude matches.
|
|
79
|
+
--type <string> Force a release type instead of deriving it
|
|
80
|
+
from commits; `auto` analyzes commits.
|
|
81
|
+
(choices: "auto", "major", "minor", "patch")
|
|
82
|
+
--qualifier <boolean or string> Set the SemVer prerelease identifier (for
|
|
83
|
+
example, `beta`); `false` disables it and
|
|
84
|
+
`true` follows branch rules.
|
|
85
|
+
--channel <boolean or string> Set the release channel, applied as the npm
|
|
86
|
+
dist-tag (for example, `beta`); `false`
|
|
87
|
+
disables it and `true` follows branch rules.
|
|
88
|
+
--allow-empty Release even when no releasable changes are
|
|
89
|
+
detected.
|
|
90
|
+
--dry-run Preview the release without writing files,
|
|
91
|
+
creating commits or tags, or publishing
|
|
92
|
+
anything.
|
|
93
|
+
--strict Fail on missing credentials instead of
|
|
94
|
+
skipping the step, for pipelines that must
|
|
95
|
+
publish everything.
|
|
96
|
+
--debug Enable verbose logging and stream publish
|
|
97
|
+
command output. Defaults to true when
|
|
98
|
+
`RUNNER_DEBUG` or `ACTIONS_STEP_DEBUG` is
|
|
99
|
+
truthy. (default: false)
|
|
100
|
+
-v, --version Print the version number.
|
|
101
|
+
-h, --help Print command usage and options.
|
|
82
102
|
```
|
|
83
103
|
|
|
84
104
|
### Prereleases
|
|
85
105
|
|
|
86
|
-
Ship
|
|
106
|
+
Ship a prerelease with a qualifier:
|
|
87
107
|
|
|
88
108
|
```sh
|
|
89
109
|
npx reelout --qualifier beta
|
|
90
110
|
```
|
|
91
111
|
|
|
92
112
|
Releasing from an `alpha`, `beta`, or `next` branch applies the matching
|
|
93
|
-
qualifier and
|
|
94
|
-
[
|
|
113
|
+
qualifier and channel automatically. Define custom branch rules in the
|
|
114
|
+
[configuration](./docs/02-config.md).
|
|
95
115
|
|
|
96
116
|
## Documentation
|
|
97
117
|
|
|
98
|
-
- [Getting Started](./docs/01-getting-started.md) — install
|
|
99
|
-
- [Configuration](./docs/02-config.md) —
|
|
100
|
-
|
|
101
|
-
- [
|
|
102
|
-
|
|
103
|
-
- [
|
|
118
|
+
- [Getting Started](./docs/01-getting-started.md) — install, preview, publish.
|
|
119
|
+
- [Configuration](./docs/02-config.md) — config files, release rules, plugin
|
|
120
|
+
options.
|
|
121
|
+
- [Continuous Integration](./docs/03-ci.md) — GitHub Actions, CircleCI, and
|
|
122
|
+
trusted publishing.
|
|
123
|
+
- [Plugins](./docs/04-plugins.md) — the release lifecycle and custom plugins.
|
|
124
|
+
- [Programmatic API](./docs/05-api.md) — ReelOut as a library.
|
|
125
|
+
- [Troubleshooting](./docs/06-troubleshooting.md) — every error and warning,
|
|
126
|
+
explained.
|
|
104
127
|
|
|
105
128
|
Browse the full API reference at <https://reelout.overview.vercel.app/>.
|
|
106
|
-
|
|
107
|
-
|
|
129
|
+
For development setup see [CONTRIBUTING.md](./CONTRIBUTING.md); for release
|
|
130
|
+
history see [CHANGELOG.md](./CHANGELOG.md).
|
|
108
131
|
|
|
109
132
|
## License
|
|
110
133
|
|
|
111
|
-
|
|
134
|
+
[MIT](./LICENSE)
|
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createProcessAbortSignal, createProgram } from "@reelout/cli";
|
|
3
3
|
// package.json
|
|
4
|
-
var version = "0.17.
|
|
5
|
-
var description = "
|
|
4
|
+
var version = "0.17.7";
|
|
5
|
+
var description = "Turn Conventional Commits into monorepo releases: versions, changelogs, tags, and npm, Cargo, GitHub, and GitLab publishing — driven by plugins.";
|
|
6
6
|
// \0@oxc-project+runtime@0.156.0/helpers/esm/usingCtx.js
|
|
7
7
|
function _usingCtx$1() {
|
|
8
8
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reelout",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.18.0",
|
|
4
|
+
"description": "Turn Conventional Commits into monorepo releases: versions, changelogs, tags, and npm, Cargo, GitHub, and GitLab publishing — driven by plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"release",
|
|
7
|
+
"release-automation",
|
|
7
8
|
"monorepo",
|
|
8
9
|
"versioning",
|
|
10
|
+
"semver",
|
|
9
11
|
"changelog",
|
|
10
12
|
"conventional-commits",
|
|
13
|
+
"publish",
|
|
11
14
|
"npm",
|
|
15
|
+
"pnpm",
|
|
16
|
+
"yarn",
|
|
12
17
|
"cargo",
|
|
18
|
+
"crates-io",
|
|
13
19
|
"git",
|
|
14
20
|
"github",
|
|
15
21
|
"gitlab",
|
|
@@ -44,17 +50,17 @@
|
|
|
44
50
|
"./src"
|
|
45
51
|
],
|
|
46
52
|
"dependencies": {
|
|
47
|
-
"@reelout/cli": "^0.
|
|
48
|
-
"@reelout/config": "^0.
|
|
49
|
-
"@reelout/context": "^0.
|
|
50
|
-
"@reelout/core": "^0.
|
|
53
|
+
"@reelout/cli": "^0.9.0",
|
|
54
|
+
"@reelout/config": "^0.9.0",
|
|
55
|
+
"@reelout/context": "^0.10.0",
|
|
56
|
+
"@reelout/core": "^0.17.0"
|
|
51
57
|
},
|
|
52
58
|
"devDependencies": {
|
|
53
59
|
"@commitlint/cli": "^21.2.4",
|
|
54
60
|
"@commitlint/config-conventional": "^21.2.4",
|
|
55
61
|
"@eslint/js": "^10.0.1",
|
|
56
|
-
"@reelout/github": "^0.
|
|
57
|
-
"@reelout/npm": "^0.
|
|
62
|
+
"@reelout/github": "^0.11.0",
|
|
63
|
+
"@reelout/npm": "^0.17.0",
|
|
58
64
|
"@types/node": "^24.12.4",
|
|
59
65
|
"@vitest/coverage-istanbul": "^5.1.2",
|
|
60
66
|
"concurrently": "^10.0.7",
|