autorel 2.5.11 → 2.5.13

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
@@ -78,15 +78,17 @@ See [Usage](/docs/usage.md) and [Configuration Options](/docs/configuration-opti
78
78
 
79
79
  ## Commit Messages
80
80
 
81
- Commit messages are parsed to determine the version bump. They must follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard specification.
81
+ Commit messages are parsed to automatically determine the version bump and generate the changelog.
82
82
 
83
- Here are some examples of commit messages and the resulting [SemVer](https://semver.org) version bump (with the default configuration):
83
+ They must follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard specification.
84
+
85
+ Here are some examples of commit messages and the resulting version bump (with the default configuration):
84
86
 
85
87
  - `fix: fix a bug` -> `0.0.1` (patch)
86
88
  - `feat: add new feature` -> `0.1.0` (minor)
87
89
  - `feat!: add breaking change` -> `1.0.0` (major)
88
90
 
89
- See our [default configuration](/src/defaults.ts) for more details on how commit types are mapped to version bumps.
91
+ See our [default configuration](/src/defaults.ts) for more details on how commit types are mapped to version bumps and the changelog.
90
92
 
91
93
  You can find more examples in the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) documentation.
92
94
 
@@ -6,14 +6,14 @@ const sh_1 = require("./sh");
6
6
  * Publishes the current package with an optional dist-tag.
7
7
  */
8
8
  function publishPackage(channel) {
9
- (0, sh_1.$) `npm publish --tag ${channel ?? 'latest'}`;
9
+ (0, sh_1.$) `npm publish --tag ${channel ?? 'latest'} --loglevel warn`;
10
10
  }
11
11
  exports.publishPackage = publishPackage;
12
12
  /**
13
13
  * Unpublishes a specific package version (e.g., "my-lib@1.2.3").
14
14
  */
15
15
  async function unpublishPackage(packageAndVersion) {
16
- (0, sh_1.$) `npm unpublish ${packageAndVersion}`;
16
+ (0, sh_1.$) `npm unpublish ${packageAndVersion} --loglevel warn`;
17
17
  }
18
18
  exports.unpublishPackage = unpublishPackage;
19
19
  //# sourceMappingURL=npm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"npm.js","sourceRoot":"","sources":["../../src/services/npm.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB;;GAEG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAE3C,IAAA,MAAC,EAAA,qBAAqB,OAAO,IAAI,QAAQ,EAAE,CAAC;AAEhD,CAAC;AAJD,wCAIC;AAED;;GAEG;AACI,KAAK,UAAU,gBAAgB,CAAC,iBAAyB;IAE5D,IAAA,MAAC,EAAA,iBAAiB,iBAAiB,EAAE,CAAC;AAE1C,CAAC;AAJD,4CAIC"}
1
+ {"version":3,"file":"npm.js","sourceRoot":"","sources":["../../src/services/npm.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB;;GAEG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAE3C,IAAA,MAAC,EAAA,qBAAqB,OAAO,IAAI,QAAQ,kBAAkB,CAAC;AAEhE,CAAC;AAJD,wCAIC;AAED;;GAEG;AACI,KAAK,UAAU,gBAAgB,CAAC,iBAAyB;IAE5D,IAAA,MAAC,EAAA,iBAAiB,iBAAiB,kBAAkB,CAAC;AAE1D,CAAC;AAJD,4CAIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autorel",
3
- "version": "2.5.11",
3
+ "version": "2.5.13",
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)",