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 CHANGED
@@ -1,19 +1,21 @@
1
1
  # ReelOut
2
2
 
3
3
  [![NPM Version](https://img.shields.io/npm/v/reelout)](https://www.npmjs.com/package/reelout)
4
- [![Codecov](https://img.shields.io/codecov/c/github/aicest/reelout?token=FSP5JC9E16)](https://app.codecov.io/github/aicest/reelout)
4
+ [![Codecov](https://img.shields.io/codecov/c/github/reelout/reelout?token=FSP5JC9E16)](https://app.codecov.io/github/reelout/reelout)
5
5
 
6
- ReelOut is a plugin-driven release automation tool engineered specifically for monorepos. By analyzing [Conventional Commits](https://conventionalcommits.org), it autonomously calculates version bumps, updates package manifests, generates changelogs, creates tags, and publishes packages to your registry.
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
- | Feature | Semantic Release | Changesets | Release Please | ReelOut |
11
- | :-------------------------------- | :----------------: | :--------: | :------------: | :----------------: |
12
- | Monorepo support | ❌ | ✅ | ✅ | ✅ |
13
- | No extra log files required | ✅ | ❌ | ✅ | ✅ |
14
- | No release pull requests required | ✅ | ✅ | ❌ | ✅ |
15
- | Prerelease mode | ✅ | ✅ | ✅ | ✅ |
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
- ## Usage
32
+ ## Quick Start
31
33
 
32
- ### View available options
34
+ Preview the proposed release first:
33
35
 
34
36
  ```sh
35
- npx reelout --help
37
+ npx reelout --dry-run
36
38
  ```
37
39
 
38
- ```text
39
- Usage: reelout [options]
40
-
41
- Monorepo release CLI and toolkit.
40
+ When the preview looks right, run the release:
42
41
 
43
- Options:
44
- --cwd <string> Working directory in which to run the release process.
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
- ### Preview a release
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
- Preview version bumps without modifying files, staging tags, or publishing:
53
+ View all available options:
56
54
 
57
55
  ```sh
58
- npx reelout --dry-run
56
+ npx reelout --help
59
57
  ```
60
58
 
61
- ### Execute a release
59
+ ```text
60
+ Usage: reelout [options]
62
61
 
63
- Run a production release to parse commits, bump versions, update manifests, generate changelogs, tag, and publish:
62
+ Plugin-driven release automation for JavaScript and TypeScript monorepos.
64
63
 
65
- ```sh
66
- npx reelout
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 and promotions
75
+ ### Prereleases
70
76
 
71
- Ship pre-production builds with a custom prerelease identifier:
77
+ Ship prereleases with a version qualifier:
72
78
 
73
79
  ```sh
74
- npx reelout --prerelease beta
80
+ npx reelout --qualifier beta
75
81
  ```
76
82
 
77
- Once a prerelease version is validated, upgrade it to a stable production release without requiring new commits:
78
-
79
- ```sh
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
- View the full documentation at https://reelout.overview.vercel.app/.
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
- //#region package.json
4
- var version = "0.1.0";
5
- var description = "Monorepo release CLI and toolkit.";
6
- //#endregion
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
- //#endregion
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":["../package.json","../src/cli.ts"],"sourcesContent":["{\n \"name\": \"reelout\",\n \"version\": \"0.1.0\",\n \"description\": \"Monorepo release CLI and toolkit.\",\n \"keywords\": [\n \"release\",\n \"monorepo\",\n \"versioning\",\n \"changelog\",\n \"npm\",\n \"git\",\n \"github\",\n \"cli\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/aicest/reelout.git\"\n },\n \"license\": \"MIT\",\n \"type\": \"module\",\n \"imports\": {},\n \"exports\": {\n \"./package.json\": {\n \"default\": \"./package.json\"\n },\n \".\": {\n \"module\": \"./src/index.ts\",\n \"development\": \"./src/index.ts\",\n \"types\": \"./src/index.ts\",\n \"default\": \"./dist/index.js\"\n },\n \"./*\": {\n \"module\": \"./src/*.ts\",\n \"development\": \"./src/*.ts\",\n \"types\": \"./src/*.ts\",\n \"default\": \"./dist/*.js\"\n }\n },\n \"bin\": \"dist/cli.js\",\n \"files\": [\n \"./dist\",\n \"./src\"\n ],\n \"scripts\": {\n \"build\": \"pnpm -r build && vite build --ssr --sourcemap\",\n \"clean\": \"rimraf -g **/{*.tsbuildinfo,coverage,dist,generated,storybook-static,test-results}\",\n \"dev\": \"concurrently 'pnpm -r --parallel dev' 'vite build --ssr --watch'\",\n \"format\": \"eslint --fix . && prettier --write .\",\n \"lint\": \"eslint . && prettier --check . && tsx scripts/check.ts .\",\n \"prepare\": \"husky\",\n \"test\": \"vitest\",\n \"validate\": \"pnpm i && pnpm clean && pnpm lint && typedoc --out generated && pnpm build && pnpm test run --coverage\"\n },\n \"dependencies\": {\n \"@reelout/cli\": \"workspace:^\",\n \"@reelout/config\": \"workspace:^\",\n \"@reelout/context\": \"workspace:^\",\n \"@reelout/core\": \"workspace:^\"\n },\n \"devDependencies\": {\n \"@commitlint/cli\": \"catalog:\",\n \"@commitlint/config-conventional\": \"catalog:\",\n \"@commitlint/types\": \"catalog:\",\n \"@eslint/js\": \"catalog:\",\n \"@reelout/github\": \"workspace:^\",\n \"@reelout/npm\": \"workspace:^\",\n \"@testing-library/jest-dom\": \"catalog:\",\n \"@types/node\": \"catalog:\",\n \"@vitest/coverage-istanbul\": \"catalog:\",\n \"concurrently\": \"catalog:\",\n \"consola\": \"catalog:\",\n \"eslint\": \"catalog:\",\n \"eslint-plugin-import\": \"catalog:\",\n \"from-async\": \"catalog:\",\n \"glob\": \"catalog:\",\n \"globals\": \"catalog:\",\n \"husky\": \"catalog:\",\n \"ignore\": \"catalog:\",\n \"jsdom\": \"catalog:\",\n \"lint-staged\": \"catalog:\",\n \"memfs\": \"catalog:\",\n \"prettier\": \"catalog:\",\n \"rimraf\": \"catalog:\",\n \"rollup-plugin-node-externals\": \"catalog:\",\n \"sort-package-json\": \"catalog:\",\n \"tempy\": \"catalog:\",\n \"tslib\": \"catalog:\",\n \"tsx\": \"catalog:\",\n \"typedoc\": \"catalog:\",\n \"typescript\": \"catalog:\",\n \"typescript-eslint\": \"catalog:\",\n \"unionfs\": \"catalog:\",\n \"vite\": \"catalog:\",\n \"vitest\": \"catalog:\"\n },\n \"packageManager\": \"pnpm@12.8.2+sha512.a5941679663d952c5f0ecc38ba98af98b4dc01b95780354f6894f2f873973cef2f7e2989d7db3ee5393938ae21f62fe06bcdf685d475ddad829a62095d2b8b11\",\n \"engines\": {\n \"node\": \">=24.15\"\n }\n}\n","#!/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CCQA,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"}
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.0",
4
- "description": "Monorepo release CLI and toolkit.",
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/aicest/reelout.git"
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.1",
48
- "@reelout/config": "^0.4.1",
49
- "@reelout/context": "^0.4.1",
50
- "@reelout/core": "^0.5.0"
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.3",
54
- "@commitlint/config-conventional": "^21.2.3",
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.1",
58
- "@reelout/npm": "^0.5.0",
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.3",
62
- "concurrently": "^10.0.5",
63
+ "@vitest/coverage-istanbul": "^5.1.0",
64
+ "concurrently": "^10.0.7",
63
65
  "consola": "^3.4.2",
64
- "eslint": "^10.12.0",
66
+ "eslint": "^10.15.0",
65
67
  "eslint-plugin-import": "^2.32.0",
66
68
  "from-async": "^1.1.1",
67
- "glob": "^13.0.6",
68
- "globals": "^17.13.0",
69
+ "glob": "^14.0.6",
70
+ "globals": "^17.14.0",
69
71
  "husky": "^9.1.7",
70
- "ignore": "^7.0.12",
71
- "jsdom": "^30.1.2",
72
+ "ignore": "^7.0.14",
73
+ "jsdom": "^31.0.1",
72
74
  "lint-staged": "^17.6.0",
73
- "memfs": "^4.80.0",
74
- "prettier": "^3.9.9",
75
- "rimraf": "^6.1.3",
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.0.0",
79
+ "sort-package-json": "^4.1.0",
78
80
  "tempy": "^3.2.0",
79
- "tslib": "^2.8.1",
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.71.1",
85
+ "typescript-eslint": "^8.72.2",
84
86
  "unionfs": "^4.6.0",
85
- "vite": "^8.3.3",
86
- "vitest": "^5.0.3"
87
+ "vite": "^8.3.8",
88
+ "vitest": "^5.1.0"
87
89
  },
88
90
  "engines": {
89
91
  "node": ">=24.15"