reelout 0.2.0 → 0.2.2
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 +53 -40
- package/dist/cli.js +5 -8
- package/dist/cli.js.map +1 -1
- package/package.json +28 -26
package/README.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
# ReelOut
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/reelout)
|
|
4
|
-
[](https://app.codecov.io/github/reelout/reelout)
|
|
5
5
|
|
|
6
|
-
ReelOut
|
|
6
|
+
ReelOut automates releases across JavaScript and TypeScript monorepos. It
|
|
7
|
+
analyzes [Conventional Commits](https://conventionalcommits.org) to calculate
|
|
8
|
+
package version changes, update manifests and changelogs, create Git tags, and
|
|
9
|
+
publish packages through an extensible plugin system.
|
|
7
10
|
|
|
8
11
|
## Features
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
| Multi-ecosystem compatibility | ✅ (plugin-driven) | ❌ | ✅ (built-in) | ✅ (plugin-driven) |
|
|
13
|
+
- Calculates independent release plans for workspace packages.
|
|
14
|
+
- Uses Conventional Commits to determine `major`, `minor`, and `patch` releases.
|
|
15
|
+
- Supports prerelease branches and configurable release channels.
|
|
16
|
+
- Extends the workflow with plugins for changelogs, npm publishing, Git tags,
|
|
17
|
+
and GitHub or GitLab releases.
|
|
18
|
+
- Provides a dry run so you can inspect a release before publishing.
|
|
17
19
|
|
|
18
20
|
## Installation
|
|
19
21
|
|
|
@@ -27,62 +29,73 @@ pnpm add -D reelout
|
|
|
27
29
|
yarn add -D reelout
|
|
28
30
|
```
|
|
29
31
|
|
|
30
|
-
##
|
|
32
|
+
## Quick Start
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
Preview the proposed release first:
|
|
33
35
|
|
|
34
36
|
```sh
|
|
35
|
-
npx reelout --
|
|
37
|
+
npx reelout --dry-run
|
|
36
38
|
```
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
Usage: reelout [options]
|
|
40
|
-
|
|
41
|
-
Monorepo release CLI and toolkit.
|
|
40
|
+
When the preview looks right, run the release:
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
--dry-run Preview the planned release without updating files, creating commits, or publishing packages.
|
|
46
|
-
--prerelease [boolean or string] Enable prerelease mode and optionally provide a label (for example, "alpha" or "beta").
|
|
47
|
-
--promote [boolean] Promote development versions to stable production releases.
|
|
48
|
-
--channel [boolean or string] Publish packages to the specified release channel.
|
|
49
|
-
--version Display the version number.
|
|
50
|
-
--help Display help for this command.
|
|
42
|
+
```sh
|
|
43
|
+
npx reelout
|
|
51
44
|
```
|
|
52
45
|
|
|
53
|
-
|
|
46
|
+
With the default plugins, ReelOut analyzes commits, updates package versions and
|
|
47
|
+
changelogs, creates a release commit and tags, publishes eligible packages to
|
|
48
|
+
npm, and creates a GitHub release. See
|
|
49
|
+
[Getting Started](./docs/01-getting-started.md) for prerequisites and details.
|
|
50
|
+
|
|
51
|
+
## CLI
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
View all available options:
|
|
56
54
|
|
|
57
55
|
```sh
|
|
58
|
-
npx reelout --
|
|
56
|
+
npx reelout --help
|
|
59
57
|
```
|
|
60
58
|
|
|
61
|
-
|
|
59
|
+
```text
|
|
60
|
+
Usage: reelout [options]
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
Plugin-driven release automation for JavaScript and TypeScript monorepos.
|
|
64
63
|
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
Options:
|
|
65
|
+
--type <string> Choose a release type instead of deriving it from commits; use `auto` to analyze commits. (choices: "auto", "major", "minor", "patch")
|
|
66
|
+
--qualifier <boolean or string> Set the SemVer prerelease identifier (for example, `beta`); use `false` to disable it or `true` to follow branch rules.
|
|
67
|
+
--channel <boolean or string> Set the npm dist-tag (for example, `beta`); use `false` to disable it or `true` to follow branch rules.
|
|
68
|
+
--allow-empty Run the release workflow even when no releasable changes are detected.
|
|
69
|
+
--dry-run Preview the release without writing files, creating commits or tags, or publishing packages or releases.
|
|
70
|
+
--debug Enable verbose logging for troubleshooting. (default: false)
|
|
71
|
+
-v, --version Display the version number.
|
|
72
|
+
-h, --help Display command usage and options.
|
|
67
73
|
```
|
|
68
74
|
|
|
69
|
-
### Prereleases
|
|
75
|
+
### Prereleases
|
|
70
76
|
|
|
71
|
-
Ship
|
|
77
|
+
Ship prereleases with a version qualifier:
|
|
72
78
|
|
|
73
79
|
```sh
|
|
74
|
-
npx reelout --
|
|
80
|
+
npx reelout --qualifier beta
|
|
75
81
|
```
|
|
76
82
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
npx reelout --promote
|
|
81
|
-
```
|
|
83
|
+
Releasing from an `alpha`, `beta`, or `next` branch applies the matching
|
|
84
|
+
qualifier and npm channel automatically. See
|
|
85
|
+
[Configuration](./docs/02-config.md) to define custom branch rules.
|
|
82
86
|
|
|
83
87
|
## Documentation
|
|
84
88
|
|
|
85
|
-
|
|
89
|
+
- [Getting Started](./docs/01-getting-started.md) — install ReelOut, preview a release, and publish your first version.
|
|
90
|
+
- [Configuration](./docs/02-config.md) — configure ReelOut for your monorepo.
|
|
91
|
+
- [Continuous Integration](./docs/03-ci.md) — run ReelOut in GitHub Actions and CircleCI.
|
|
92
|
+
- [Plugins](./docs/04-plugins.md) — extend ReelOut with custom release behavior.
|
|
93
|
+
- [Programmatic API](./docs/05-api.md) — use ReelOut as a library.
|
|
94
|
+
- [Troubleshooting](./docs/06-troubleshooting.md) — diagnose and resolve common problems.
|
|
95
|
+
|
|
96
|
+
Browse the full API reference at <https://reelout.overview.vercel.app/>.
|
|
97
|
+
|
|
98
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for development setup and [CHANGELOG.md](./CHANGELOG.md) for release history.
|
|
86
99
|
|
|
87
100
|
## License
|
|
88
101
|
|
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createProcessAbortSignal, createProgram } from "@reelout/cli";
|
|
3
|
-
|
|
4
|
-
var version = "0.1
|
|
5
|
-
var description = "
|
|
6
|
-
|
|
7
|
-
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/usingCtx.js
|
|
3
|
+
// package.json
|
|
4
|
+
var version = "0.2.1";
|
|
5
|
+
var description = "Plugin-driven release automation for JavaScript and TypeScript monorepos.";
|
|
6
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/usingCtx.js
|
|
8
7
|
function _usingCtx$1() {
|
|
9
8
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
10
9
|
var n = Error();
|
|
@@ -59,8 +58,7 @@ function _usingCtx$1() {
|
|
|
59
58
|
}
|
|
60
59
|
};
|
|
61
60
|
}
|
|
62
|
-
|
|
63
|
-
//#region src/cli.ts
|
|
61
|
+
// src/cli.ts
|
|
64
62
|
try {
|
|
65
63
|
var _usingCtx = _usingCtx$1();
|
|
66
64
|
var signal = _usingCtx.u(createProcessAbortSignal());
|
|
@@ -79,7 +77,6 @@ try {
|
|
|
79
77
|
} finally {
|
|
80
78
|
_usingCtx.d();
|
|
81
79
|
}
|
|
82
|
-
//#endregion
|
|
83
80
|
export {};
|
|
84
81
|
|
|
85
82
|
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","names":[],"sources":["../
|
|
1
|
+
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n// SPDX-License-Identifier: MIT\n// Copyright (c) 2026 Fai\n\nimport { createProcessAbortSignal, createProgram } from '@reelout/cli'\nimport { description, version } from '../package.json'\n\nusing signal = createProcessAbortSignal()\n\nconst program = await createProgram({\n name: 'reelout',\n version,\n description,\n cwd: process.cwd(),\n env: process.env,\n stdout: process.stdout,\n stderr: process.stderr,\n signal,\n})\n\nawait program.parseAsync(process.argv)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQA,IAAM,SAAA,UAAA,EAAS,yBAAyB,CAAA;CAaxC,OAAM,MAXgB,cAAc;EAClC,MAAM;EACN;EACA;EACA,KAAK,QAAQ,IAAI;EACjB,KAAK,QAAQ;EACb,QAAQ,QAAQ;EAChB,QAAQ,QAAQ;EAChB;CACF,CAAC,EAAA,CAEa,WAAW,QAAQ,IAAI"}
|
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reelout",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Plugin-driven release automation for JavaScript and TypeScript monorepos.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"release",
|
|
7
7
|
"monorepo",
|
|
8
8
|
"versioning",
|
|
9
9
|
"changelog",
|
|
10
|
+
"conventional-commits",
|
|
10
11
|
"npm",
|
|
11
12
|
"git",
|
|
12
13
|
"github",
|
|
14
|
+
"gitlab",
|
|
13
15
|
"cli"
|
|
14
16
|
],
|
|
15
17
|
"repository": {
|
|
16
18
|
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/
|
|
19
|
+
"url": "git+https://github.com/reelout/reelout.git"
|
|
18
20
|
},
|
|
19
21
|
"license": "MIT",
|
|
20
22
|
"type": "module",
|
|
@@ -44,46 +46,46 @@
|
|
|
44
46
|
"./src"
|
|
45
47
|
],
|
|
46
48
|
"dependencies": {
|
|
47
|
-
"@reelout/cli": "^0.4.
|
|
48
|
-
"@reelout/config": "^0.4.
|
|
49
|
-
"@reelout/context": "^0.4.
|
|
50
|
-
"@reelout/core": "^0.5.
|
|
49
|
+
"@reelout/cli": "^0.4.2",
|
|
50
|
+
"@reelout/config": "^0.4.2",
|
|
51
|
+
"@reelout/context": "^0.4.2",
|
|
52
|
+
"@reelout/core": "^0.5.1"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
|
-
"@commitlint/cli": "^21.2.
|
|
54
|
-
"@commitlint/config-conventional": "^21.2.
|
|
55
|
+
"@commitlint/cli": "^21.2.4",
|
|
56
|
+
"@commitlint/config-conventional": "^21.2.4",
|
|
55
57
|
"@commitlint/types": "^21.2.3",
|
|
56
58
|
"@eslint/js": "^10.0.1",
|
|
57
|
-
"@reelout/github": "^0.4.
|
|
58
|
-
"@reelout/npm": "^0.5.
|
|
59
|
+
"@reelout/github": "^0.4.2",
|
|
60
|
+
"@reelout/npm": "^0.5.1",
|
|
59
61
|
"@testing-library/jest-dom": "^7.0.1",
|
|
60
62
|
"@types/node": "^24.12.4",
|
|
61
|
-
"@vitest/coverage-istanbul": "^5.0
|
|
62
|
-
"concurrently": "^10.0.
|
|
63
|
+
"@vitest/coverage-istanbul": "^5.1.0",
|
|
64
|
+
"concurrently": "^10.0.7",
|
|
63
65
|
"consola": "^3.4.2",
|
|
64
|
-
"eslint": "^10.
|
|
66
|
+
"eslint": "^10.15.0",
|
|
65
67
|
"eslint-plugin-import": "^2.32.0",
|
|
66
68
|
"from-async": "^1.1.1",
|
|
67
|
-
"glob": "^
|
|
68
|
-
"globals": "^17.
|
|
69
|
+
"glob": "^14.0.6",
|
|
70
|
+
"globals": "^17.14.0",
|
|
69
71
|
"husky": "^9.1.7",
|
|
70
|
-
"ignore": "^7.0.
|
|
71
|
-
"jsdom": "^
|
|
72
|
+
"ignore": "^7.0.14",
|
|
73
|
+
"jsdom": "^31.0.1",
|
|
72
74
|
"lint-staged": "^17.6.0",
|
|
73
|
-
"memfs": "^4.80.
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"rimraf": "^6.1.
|
|
75
|
+
"memfs": "^4.80.1",
|
|
76
|
+
"prettier": "^3.10.1",
|
|
77
|
+
"rimraf": "^6.1.4",
|
|
76
78
|
"rollup-plugin-node-externals": "^9.0.1",
|
|
77
|
-
"sort-package-json": "^4.
|
|
79
|
+
"sort-package-json": "^4.1.0",
|
|
78
80
|
"tempy": "^3.2.0",
|
|
79
|
-
"tslib": "^2.
|
|
81
|
+
"tslib": "^2.9.1",
|
|
80
82
|
"tsx": "^4.23.15",
|
|
81
83
|
"typedoc": "^0.28.20",
|
|
82
84
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
83
|
-
"typescript-eslint": "^8.
|
|
85
|
+
"typescript-eslint": "^8.72.2",
|
|
84
86
|
"unionfs": "^4.6.0",
|
|
85
|
-
"vite": "^8.3.
|
|
86
|
-
"vitest": "^5.0
|
|
87
|
+
"vite": "^8.3.8",
|
|
88
|
+
"vitest": "^5.1.0"
|
|
87
89
|
},
|
|
88
90
|
"engines": {
|
|
89
91
|
"node": ">=24.15"
|