@release-change/cli 0.1.5 → 0.2.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 CHANGED
@@ -4,8 +4,8 @@ Fully automated version management, changelog management and package publishing
4
4
 
5
5
  ![License: MIT](https://img.shields.io/github/license/release-change/release-change)
6
6
  [![ESM-only package](https://img.shields.io/badge/package-ESM--only-ffe536)](https://nodejs.org/api/esm.html)
7
- [![Conventional Commits 1.0.0](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
8
- [![Formatted with Biome](https://img.shields.io/badge/Formatted_with-Biome-60a5fa?style=flat&logo=biome)](https://biomejs.dev/)
7
+ [![Conventional Commits 1.0.0](https://img.shields.io/badge/Conventional_Commits-1.0.0-fe5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
8
+ [![Checked with Biome](https://img.shields.io/badge/Checked_with-Biome-60a5fa?style=flat&logo=biome)](https://biomejs.dev)
9
9
  ![NPM latest version](https://img.shields.io/npm/v/%40release-change%2Fcli/latest)
10
10
  ![Node support](https://img.shields.io/node/v/%40release-change%2Fcli)
11
11
  ![Build status](https://img.shields.io/github/actions/workflow/status/release-change/release-change/run-tests.yml)
@@ -32,7 +32,7 @@ It is meant to be integrated in a CI environment. For each new commit added to o
32
32
  To use release-change, you need:
33
33
  - to host your code in a GitHub repository,
34
34
  - to use GitHub Actions,
35
- - Git 2.48.1+,
35
+ - Git 2.23.0+,
36
36
  - a [Node.js](https://nodejs.org) which meets the [version requirements](../../SECURITY.md#supported-nodejs-versions),
37
37
  - a package manager which meets the [version requirements](../../SECURITY.md#supported-package-manager-versions).
38
38
 
@@ -178,7 +178,7 @@ The following examples are the same:
178
178
 
179
179
  Type: `array`
180
180
  Default: `["alpha", "beta", "main", "master", "next"]`
181
- CLI arguments: `-b`, `--branches`
181
+ CLI arguments: `-b <space-separated branches>`, `--branches <space-separated branches>`
182
182
 
183
183
  The branches on which releases should happen.
184
184
 
@@ -186,7 +186,7 @@ The branches on which releases should happen.
186
186
 
187
187
  Type: `string`
188
188
  Default: `repository` property in `package.json` file
189
- CLI arguments: `-r`, `--repository-url`
189
+ CLI arguments: `-r <url>`, `--repository-url <url>`
190
190
 
191
191
  The Git repository URL.
192
192
 
@@ -194,7 +194,7 @@ The Git repository URL.
194
194
 
195
195
  Type: `string`
196
196
  Default: `"origin"`
197
- CLI arguments: `--remote-name`
197
+ CLI arguments: `--remote-name <name>`
198
198
 
199
199
  The remote repository name.
200
200
 
@@ -1,6 +1,6 @@
1
1
  export declare const WORKSPACE_VERSION: string;
2
2
  export declare const REQUIRED_NODE_VERSIONS: string;
3
- export declare const GIT_MIN_VERSION = "2.48.1";
3
+ export declare const GIT_MIN_VERSION = "2.23.0";
4
4
  export declare const TAB: string;
5
5
  export declare const AVAILABLE_CLI_OPTIONS: {
6
6
  readonly branches: {
package/dist/constants.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import packageManifest from "../package.json" with { type: "json" };
2
2
  export const WORKSPACE_VERSION = packageManifest.version;
3
3
  export const REQUIRED_NODE_VERSIONS = packageManifest.engines.node;
4
- export const GIT_MIN_VERSION = "2.48.1";
4
+ export const GIT_MIN_VERSION = "2.23.0";
5
5
  export const TAB = " ".repeat(2);
6
6
  export const AVAILABLE_CLI_OPTIONS = {
7
7
  branches: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@release-change/cli",
3
- "version": "0.1.5",
3
+ "version": "0.2.0",
4
4
  "description": "Fully automated version management, changelog management and package publishing with a focus on monorepos, pre-releases and major version zero",
5
5
  "keywords": [
6
6
  "automation",
@@ -47,19 +47,19 @@
47
47
  "engines": {
48
48
  "node": "^20.18.3 || ^22.12.0 || ^24.0.0",
49
49
  "npm": ">=10.8.2",
50
- "pnpm": ">=10.28.0"
50
+ "pnpm": ">=10.30.2"
51
51
  },
52
52
  "dependencies": {
53
53
  "@release-change/ci": "0.1.2",
54
54
  "@release-change/commit-analyser": "0.1.3",
55
55
  "@release-change/config": "0.1.2",
56
- "@release-change/get-packages": "0.1.2",
57
56
  "@release-change/git": "0.1.4",
57
+ "@release-change/get-packages": "0.1.2",
58
58
  "@release-change/github": "0.1.4",
59
59
  "@release-change/semver": "0.1.0",
60
60
  "@release-change/release": "0.1.5",
61
- "@release-change/shared": "0.1.2",
62
- "@release-change/logger": "0.1.2"
61
+ "@release-change/logger": "0.1.2",
62
+ "@release-change/shared": "0.1.2"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsc",