@release-change/cli 0.1.3 → 0.1.5
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 +4 -4
- package/dist/show-help.js +1 -1
- package/dist/show-help.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -51,11 +51,11 @@ npm install --save-dev @release-change/cli
|
|
|
51
51
|
|
|
52
52
|
Use the following command to run release-change in the CI environment:
|
|
53
53
|
```
|
|
54
|
-
pnpx release-change
|
|
54
|
+
pnpx @release-change/cli
|
|
55
55
|
```
|
|
56
56
|
If you are using `npm`:
|
|
57
57
|
```
|
|
58
|
-
npx release-change
|
|
58
|
+
npx @release-change/cli
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## Documentation
|
|
@@ -108,7 +108,7 @@ Here are examples of the workflow configuration (the file must be saved in the `
|
|
|
108
108
|
ISSUE_PR_TOKEN: ${{ secrets.GITHUB_TOKEN }} # to be able to comment on issues and pull requests, close issues and tag pull requests using the GitHub Actions bot
|
|
109
109
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
110
110
|
NPM_CONFIG_PROVENANCE: true # to be able to publish to NPM with provenance
|
|
111
|
-
run: pnpx release-change
|
|
111
|
+
run: pnpx @release-change/cli
|
|
112
112
|
```
|
|
113
113
|
- using `npm`:
|
|
114
114
|
```yaml
|
|
@@ -149,7 +149,7 @@ Here are examples of the workflow configuration (the file must be saved in the `
|
|
|
149
149
|
ISSUE_PR_TOKEN: ${{ secrets.GITHUB_TOKEN }} # to be able to comment on issues and pull requests, close issues and tag pull requests using the GitHub Actions bot
|
|
150
150
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
151
151
|
NPM_CONFIG_PROVENANCE: true # to be able to publish to NPM with provenance
|
|
152
|
-
run: npx release-change
|
|
152
|
+
run: npx @release-change/cli
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
### Configuration
|
package/dist/show-help.js
CHANGED
|
@@ -8,7 +8,7 @@ import { TAB } from "./constants.js";
|
|
|
8
8
|
export const showHelp = () => {
|
|
9
9
|
const logger = setLogger();
|
|
10
10
|
const intro = "Runs automated package release and publishing";
|
|
11
|
-
const usage = `Usage:\n${TAB}
|
|
11
|
+
const usage = `Usage:\n${TAB}@${WORKSPACE_NAME}/cli [options]`;
|
|
12
12
|
const cliOptions = displayCliOptions();
|
|
13
13
|
const output = [intro, usage, cliOptions].join("\n".repeat(2));
|
|
14
14
|
logger.logWithoutFormatting(output);
|
package/dist/show-help.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-help.js","sourceRoot":"","sources":["../src/show-help.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAS,EAAE;IACjC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,+CAA+C,CAAC;IAC9D,MAAM,KAAK,GAAG,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"show-help.js","sourceRoot":"","sources":["../src/show-help.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAS,EAAE;IACjC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,+CAA+C,CAAC;IAC9D,MAAM,KAAK,GAAG,WAAW,GAAG,IAAI,cAAc,gBAAgB,CAAC;IAC/D,MAAM,UAAU,GAAG,iBAAiB,EAAE,CAAC;IACvC,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@release-change/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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",
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@release-change/ci": "0.1.2",
|
|
54
|
-
"@release-change/
|
|
55
|
-
"@release-change/commit-analyser": "0.1.2",
|
|
56
|
-
"@release-change/git": "0.1.3",
|
|
54
|
+
"@release-change/commit-analyser": "0.1.3",
|
|
57
55
|
"@release-change/config": "0.1.2",
|
|
58
|
-
"@release-change/
|
|
59
|
-
"@release-change/
|
|
56
|
+
"@release-change/get-packages": "0.1.2",
|
|
57
|
+
"@release-change/git": "0.1.4",
|
|
58
|
+
"@release-change/github": "0.1.4",
|
|
59
|
+
"@release-change/semver": "0.1.0",
|
|
60
|
+
"@release-change/release": "0.1.5",
|
|
60
61
|
"@release-change/shared": "0.1.2",
|
|
61
|
-
"@release-change/
|
|
62
|
-
"@release-change/semver": "0.1.0"
|
|
62
|
+
"@release-change/logger": "0.1.2"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsc",
|