autorel 0.0.16 → 0.0.18

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,12 +39,12 @@ npx autorel --publish --run "echo 'Hello, World!'"
39
39
 
40
40
  This will:
41
41
 
42
- 1. Bump the version based on the commit messages, push the new tag, and change the package.json version
42
+ 1. Bump the version based on the commit messages since the last release (including pushing the tag and updating package.json)
43
43
  2. Create a new release on GitHub with Release Notes
44
44
  3. Publish the release to NPM
45
- 4. Run the command `echo 'Hello, World!'` via `bash` and `child_process`
45
+ 4. Run the command `echo 'Hello, World!'`
46
46
 
47
- > If you don't want to use npx, you can also install `autorel` globally and run it that way:
47
+ You can also install `autorel` globally and run it that way:
48
48
 
49
49
  ```bash
50
50
  npm i -g autorel
@@ -73,13 +73,13 @@ This will do the same as the CLI example above.
73
73
 
74
74
  # Configuration
75
75
 
76
- Unless otherwise noted, configuration can be done via `yaml`, file, CLI arguments, or any combination of the two. CLI arguments take precedence and will override the `yaml` file.
76
+ When run in CLI mode, `autorel` can be configured via CLI arguments or a `yaml` file. CLI arguments take precedence over the `yaml` file.
77
77
 
78
- You can also use the library in your project, in which case you can pass the options directly to the `autorel` function.
78
+ When used as a library, you can pass the configuration directly to the `autorel` function.
79
79
 
80
80
  All arguments are optional, but setting `branches` is recommended.
81
81
 
82
- > If using yaml, the file must be named `autorel.yml` and be in the root of your project.
82
+ > ❗️ If using yaml, the file must be named `.autorel.yml` and be in the root of your project.
83
83
 
84
84
  ## help (CLI only)
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autorel",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "Automate semantic releases based on conventional commits. Similar to semantic-release but much simpler.",
5
5
  "license": "MIT",
6
6
  "author": "Marc H. Weiner <mhweiner234@gmail.com> (https://mhweiner.com)",