Socket
Socket
Sign inDemoInstall

@immobiliarelabs/standard-version

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@immobiliarelabs/standard-version - npm Package Compare versions

Comparing version 10.0.0-next.1 to 10.0.0

334

CHANGELOG.md

@@ -1,2 +0,2 @@

# [10.0.0-next.1](https://github.com/immobiliare/standard-version/compare/v9.5.0...v10.0.0-next.1) (2022-05-25)
# [10.0.0](https://github.com/immobiliare/standard-version/compare/v9.5.0...v10.0.0) (2022-06-03)

@@ -7,2 +7,3 @@

* adds new options as command flags ([95a3d46](https://github.com/immobiliare/standard-version/commit/95a3d46b591b5190755d5ad305f3fe1d55bfef98))
* removes compact changelog ([5a6ff22](https://github.com/immobiliare/standard-version/commit/5a6ff2273695b5e828dacf12447f6818c9c7b7b9))

@@ -13,3 +14,2 @@

* promise returns release informatin ([eb33e1f](https://github.com/immobiliare/standard-version/commit/eb33e1f03f8bdf62c30fd77e027137646490d7b2))
* publish 10 prerelease ([b9bdf7a](https://github.com/immobiliare/standard-version/commit/b9bdf7aaf8314a491f0b006d5d20fec7062ca610))
* regenerate full changelog ([a6dc99b](https://github.com/immobiliare/standard-version/commit/a6dc99b622ac33f20e5993b7d31527ddb778d139))

@@ -20,3 +20,3 @@

* After forking we will continue from v10 to avoid clashing with older versions
* Major v10

@@ -27,10 +27,34 @@ # Changelog

## [9.5.0](https://github.com/immobiliare/standard-version/compare/v9.4.0...v9.5.0) (2022-05-15)
# [1.1.0](https://github.com/immobiliare/standard-version/compare/v1.0.0...v1.1.0) (2022-06-01)
### Bug Fixes
* removes compact changelog ([f52c0e4](https://github.com/immobiliare/standard-version/commit/f52c0e4acde08bd0b20c2ccd0f2250177b59f245))
### BREAKING CHANGES
* Major v10
# 10.0.0-0 (2022-05-25)
### Bug Fixes
* adds new options as command flags ([95a3d46](https://github.com/immobiliare/standard-version/commit/95a3d46b591b5190755d5ad305f3fe1d55bfef98))
### Features
* **deprecated:** add deprecation message ([#907](https://github.com/immobiliare/standard-version/issues/907)) ([61b41fa](https://github.com/immobiliare/standard-version/commit/61b41fa47ef690f55b92e2edb82fe554e3c1e13a))
* promise returns release informatin ([eb33e1f](https://github.com/immobiliare/standard-version/commit/eb33e1f03f8bdf62c30fd77e027137646490d7b2))
* regenerate full changelog ([a6dc99b](https://github.com/immobiliare/standard-version/commit/a6dc99b622ac33f20e5993b7d31527ddb778d139))
# 9.5.0 (2022-05-15)
### Bug Fixes

@@ -41,10 +65,12 @@

## [9.4.0](https://github.com/immobiliare/standard-version/compare/v9.3.2...v9.4.0) (2021-12-31)
### Features
* add .cjs config file ([#717](https://github.com/immobiliare/standard-version/issues/717)) ([eceaedf](https://github.com/immobiliare/standard-version/commit/eceaedf8b3cdeb282ee06bfa9c65503f42404858))
* **deprecated:** add deprecation message ([#907](https://github.com/immobiliare/standard-version/issues/907)) ([61b41fa](https://github.com/immobiliare/standard-version/commit/61b41fa47ef690f55b92e2edb82fe554e3c1e13a))
# 9.4.0 (2021-12-31)
### Bug Fixes

@@ -54,5 +80,12 @@

### [9.3.2](https://github.com/immobiliare/standard-version/compare/v9.3.1...v9.3.2) (2021-10-17)
### Features
* add .cjs config file ([#717](https://github.com/immobiliare/standard-version/issues/717)) ([eceaedf](https://github.com/immobiliare/standard-version/commit/eceaedf8b3cdeb282ee06bfa9c65503f42404858))
## 9.3.2 (2021-10-17)
### Bug Fixes

@@ -62,5 +95,7 @@

### [9.3.1](https://github.com/immobiliare/standard-version/compare/v9.3.0...v9.3.1) (2021-07-14)
## 9.3.1 (2021-07-14)
### Bug Fixes

@@ -70,5 +105,7 @@

## [9.3.0](https://github.com/immobiliare/standard-version/compare/v9.2.0...v9.3.0) (2021-05-04)
# 9.3.0 (2021-05-04)
### Features

@@ -78,5 +115,7 @@

## [9.2.0](https://github.com/immobiliare/standard-version/compare/v9.1.1...v9.2.0) (2021-04-06)
# 9.2.0 (2021-04-06)
### Features

@@ -86,5 +125,7 @@

### [9.1.1](https://github.com/immobiliare/standard-version/compare/v9.1.0...v9.1.1) (2021-02-17)
## 9.1.1 (2021-02-17)
### Bug Fixes

@@ -95,10 +136,7 @@

## [9.1.0](https://github.com/immobiliare/standard-version/compare/v9.0.0...v9.1.0) (2020-12-30)
### Features
# 9.1.0 (2020-12-30)
* support custom updater as object as well as path ([#630](https://github.com/immobiliare/standard-version/issues/630)) ([55bbde8](https://github.com/immobiliare/standard-version/commit/55bbde8476013de7a2f24bf29c7c12cb07f96e3f))
### Bug Fixes

@@ -111,9 +149,12 @@

## [9.0.0](https://github.com/immobiliare/standard-version/compare/v8.0.2...v9.0.0) (2020-08-15)
### Features
### ⚠ BREAKING CHANGES
* support custom updater as object as well as path ([#630](https://github.com/immobiliare/standard-version/issues/630)) ([55bbde8](https://github.com/immobiliare/standard-version/commit/55bbde8476013de7a2f24bf29c7c12cb07f96e3f))
* NodeJS@8 is no longer supported. (#612)
# 9.0.0 (2020-08-15)
### Bug Fixes

@@ -126,9 +167,6 @@

### Build System
* NodeJS@8 is no longer supported. ([#612](https://github.com/immobiliare/standard-version/issues/612)) ([05edef2](https://github.com/immobiliare/standard-version/commit/05edef2de79d8d4939a6e699ce0979ff8da12de9))
## 8.0.2 (2020-07-14)
### [8.0.2](https://github.com/immobiliare/standard-version/compare/v8.0.1...v8.0.2) (2020-07-14)
### Bug Fixes

@@ -138,5 +176,7 @@

### [8.0.1](https://github.com/immobiliare/standard-version/compare/v8.0.0...v8.0.1) (2020-07-12)
## 8.0.1 (2020-07-12)
### Bug Fixes

@@ -150,12 +190,9 @@

## [8.0.0](https://github.com/immobiliare/standard-version/compare/v7.1.0...v8.0.0) (2020-05-06)
### ⚠ BREAKING CHANGES
# 8.0.0 (2020-05-06)
* `composer.json` and `composer.lock` will no longer be read from or bumped by default. If you need to obtain a version or write a version to these files, please use `bumpFiles` and/or `packageFiles` options accordingly.
### Bug Fixes
* composer.json and composer.lock have been removed from default package and bump files. ([c934f3a](https://github.com/immobiliare/standard-version/commit/c934f3a38da4e7234d9dba3b2405f3b7e4dc5aa8)), closes [#495](https://github.com/immobiliare/standard-version/issues/495) [#394](https://github.com/immobiliare/standard-version/issues/394)
* **deps:** update dependency conventional-changelog to v3.1.18 ([#510](https://github.com/immobiliare/standard-version/issues/510)) ([e6aeb77](https://github.com/immobiliare/standard-version/commit/e6aeb779fe53ffed2a252e6cfd69cfcb786b9ef9))

@@ -165,11 +202,15 @@ * **deps:** update dependency yargs to v15.1.0 ([#518](https://github.com/immobiliare/standard-version/issues/518)) ([8f36f9e](https://github.com/immobiliare/standard-version/commit/8f36f9e073119fcbf5ad843237fb06a4ca42a0f9))

## [7.1.0](https://github.com/immobiliare/standard-version/compare/v7.0.1...v7.1.0) (2019-12-08)
* fix!: composer.json and composer.lock have been removed from default package and bump files. ([c934f3a](https://github.com/immobiliare/standard-version/commit/c934f3a38da4e7234d9dba3b2405f3b7e4dc5aa8)), closes [#495](https://github.com/immobiliare/standard-version/issues/495) [#394](https://github.com/immobiliare/standard-version/issues/394)
### Features
* Adds support for `header` (--header) configuration based on the spec. ([#364](https://github.com/immobiliare/standard-version/issues/364)) ([ba80a0c](https://github.com/immobiliare/standard-version/commit/ba80a0c27029f54c751fe845560504925b45eab8))
* custom 'bumpFiles' and 'packageFiles' support ([#372](https://github.com/immobiliare/standard-version/issues/372)) ([564d948](https://github.com/immobiliare/standard-version/commit/564d9482a459d5d7a2020c2972b4d39167ded4bf))
### BREAKING CHANGES
* `composer.json` and `composer.lock` will no longer be read from or bumped by default. If you need to obtain a version or write a version to these files, please use `bumpFiles` and/or `packageFiles` options accordingly.
# 7.1.0 (2019-12-08)
### Bug Fixes

@@ -188,5 +229,18 @@

### [7.0.1](https://github.com/immobiliare/standard-version/compare/v7.0.0...v7.0.1) (2019-11-07)
### Features
* Adds support for `header` (--header) configuration based on the spec. ([#364](https://github.com/immobiliare/standard-version/issues/364)) ([ba80a0c](https://github.com/immobiliare/standard-version/commit/ba80a0c27029f54c751fe845560504925b45eab8))
* custom 'bumpFiles' and 'packageFiles' support ([#372](https://github.com/immobiliare/standard-version/issues/372)) ([564d948](https://github.com/immobiliare/standard-version/commit/564d9482a459d5d7a2020c2972b4d39167ded4bf))
### Reverts
* "chore(deps): bump conventional-changelog to v3.1.17" ([00512d0](https://github.com/immobiliare/standard-version/commit/00512d08eb3197d7b20a2f09894ed1a6ae4af272))
## 7.0.1 (2019-11-07)
### Bug Fixes

@@ -201,8 +255,6 @@

## [7.0.0](https://github.com/immobiliare/standard-version/compare/v6.0.1...v7.0.0) (2019-07-30)
### ⚠ BREAKING CHANGES
# 7.0.0 (2019-07-30)
* we were accepting .version.json as a config file, rather than .versionrc.json

@@ -227,27 +279,21 @@ ### Bug Fixes

### [6.0.1](https://github.com/immobiliare/standard-version/compare/v6.0.0...v6.0.1) (2019-05-05)
### BREAKING CHANGES
### Bug Fixes
* we were accepting .version.json as a config file, rather than .versionrc.json
* don't pass args to git rev-parse ([1ac72f7](https://github.com/immobiliare/standard-version/commit/1ac72f74fe447121c0096915955732f7d84b5dc3))
## [6.0.0](https://github.com/immobiliare/standard-version/compare/v5.0.2...v6.0.0) (2019-05-05)
## 6.0.1 (2019-05-05)
### ⚠ BREAKING CHANGES
* we now bump the minor rather than major if version < 1.0.0; --release-as can be used to bump to 1.0.0.
* tests are no longer run for Node 6
* we now use the conventionalcommits preset by default, which directly tracks conventionalcommits.org.
### Bug Fixes
### Features
* don't pass args to git rev-parse ([1ac72f7](https://github.com/immobiliare/standard-version/commit/1ac72f74fe447121c0096915955732f7d84b5dc3))
* adds configurable conventionalcommits preset ([#323](https://github.com/immobiliare/standard-version/issues/323)) ([4fcd4a7](https://github.com/immobiliare/standard-version/commit/4fcd4a7edabbfe4183fbaa7fcd0f55b2441449d1))
* allow a user to provide a custom changelog header ([#335](https://github.com/immobiliare/standard-version/issues/335)) ([1c51064](https://github.com/immobiliare/standard-version/commit/1c5106477a052f224771b0a61405d279b611608c))
* bump minor rather than major, if release is < 1.0.0 ([#347](https://github.com/immobiliare/standard-version/issues/347)) ([5d972cf](https://github.com/immobiliare/standard-version/commit/5d972cf1fede448001e30283e3258d07bed41658))
* suggest branch name other than master ([#331](https://github.com/immobiliare/standard-version/issues/331)) ([304b49a](https://github.com/immobiliare/standard-version/commit/304b49a7ffdf3adf8fc3e3234e11455b05062c2a))
* update commit msg for when using commitAll ([#320](https://github.com/immobiliare/standard-version/issues/320)) ([74a040a](https://github.com/immobiliare/standard-version/commit/74a040a517e489111709c5acd7826543ad814af0))
# 6.0.0 (2019-05-05)
### Bug Fixes

@@ -264,11 +310,29 @@

### Build System
* feat!: bump minor rather than major, if release is < 1.0.0 (#347) ([5d972cf](https://github.com/immobiliare/standard-version/commit/5d972cf1fede448001e30283e3258d07bed41658)), closes [#347](https://github.com/immobiliare/standard-version/issues/347)
* build!: drop Node 6 from testing matrix (#346) ([6718428](https://github.com/immobiliare/standard-version/commit/671842853b9fa62ecda126bf5e1fbe7aa60a5d1f)), closes [#346](https://github.com/immobiliare/standard-version/issues/346)
* feat!: adds configurable conventionalcommits preset (#323) ([4fcd4a7](https://github.com/immobiliare/standard-version/commit/4fcd4a7edabbfe4183fbaa7fcd0f55b2441449d1)), closes [#323](https://github.com/immobiliare/standard-version/issues/323)
* drop Node 6 from testing matrix ([#346](https://github.com/immobiliare/standard-version/issues/346)) ([6718428](https://github.com/immobiliare/standard-version/commit/671842853b9fa62ecda126bf5e1fbe7aa60a5d1f))
### [5.0.2](https://github.com/immobiliare/standard-version/compare/v5.0.1...v5.0.2) (2019-03-16)
### Features
### [5.0.1](https://github.com/immobiliare/standard-version/compare/v5.0.0...v5.0.1) (2019-02-28)
* allow a user to provide a custom changelog header ([#335](https://github.com/immobiliare/standard-version/issues/335)) ([1c51064](https://github.com/immobiliare/standard-version/commit/1c5106477a052f224771b0a61405d279b611608c))
* suggest branch name other than master ([#331](https://github.com/immobiliare/standard-version/issues/331)) ([304b49a](https://github.com/immobiliare/standard-version/commit/304b49a7ffdf3adf8fc3e3234e11455b05062c2a))
* update commit msg for when using commitAll ([#320](https://github.com/immobiliare/standard-version/issues/320)) ([74a040a](https://github.com/immobiliare/standard-version/commit/74a040a517e489111709c5acd7826543ad814af0))
### BREAKING CHANGES
* we now bump the minor rather than major if version < 1.0.0; --release-as can be used to bump to 1.0.0.
* tests are no longer run for Node 6
* we now use the conventionalcommits preset by default, which directly tracks conventionalcommits.org.
## 5.0.2 (2019-03-16)
## 5.0.1 (2019-02-28)
### Bug Fixes

@@ -278,10 +342,19 @@

## [5.0.0](https://github.com/immobiliare/standard-version/compare/v4.4.0...v5.0.0) (2019-02-14)
### ⚠ BREAKING CHANGES
# 5.0.0 (2019-02-14)
* if no package.json, bower.json, etc., is found, we now fallback to git tags
* removed Node 4/5 from testing matrix
### Bug Fixes
* bin now enforces Node.js > 4 ([#274](https://github.com/immobiliare/standard-version/issues/274)) ([e1b5780](https://github.com/immobiliare/standard-version/commit/e1b57809ef8c65ef50205bc81348098cfd514606))
* no --tag prerelease for private module ([#296](https://github.com/immobiliare/standard-version/issues/296)) ([27e2ab4](https://github.com/immobiliare/standard-version/commit/27e2ab422c94c633affa652c07bb04d49484f04e)), closes [#294](https://github.com/immobiliare/standard-version/issues/294)
* show correct pre-release tag in help output ([#259](https://github.com/immobiliare/standard-version/issues/259)) ([d90154a](https://github.com/immobiliare/standard-version/commit/d90154a82b78d4ede26cf043c1d04ff9da2ad35c))
### chore
* update testing matrix ([1d46627](https://github.com/immobiliare/standard-version/commit/1d466275518ae2649758b9e0e9b3c848734f534f))
### Features

@@ -295,16 +368,18 @@

### Bug Fixes
### BREAKING CHANGES
* bin now enforces Node.js > 4 ([#274](https://github.com/immobiliare/standard-version/issues/274)) ([e1b5780](https://github.com/immobiliare/standard-version/commit/e1b57809ef8c65ef50205bc81348098cfd514606))
* no --tag prerelease for private module ([#296](https://github.com/immobiliare/standard-version/issues/296)) ([27e2ab4](https://github.com/immobiliare/standard-version/commit/27e2ab422c94c633affa652c07bb04d49484f04e)), closes [#294](https://github.com/immobiliare/standard-version/issues/294)
* show correct pre-release tag in help output ([#259](https://github.com/immobiliare/standard-version/issues/259)) ([d90154a](https://github.com/immobiliare/standard-version/commit/d90154a82b78d4ede26cf043c1d04ff9da2ad35c))
* if no package.json, bower.json, etc., is found, we now fallback to git tags
* removed Node 4/5 from testing matrix
### chore
* update testing matrix ([1d46627](https://github.com/immobiliare/standard-version/commit/1d466275518ae2649758b9e0e9b3c848734f534f))
# 4.4.0 (2018-05-21)
## [4.4.0](https://github.com/immobiliare/standard-version/compare/v4.3.0...v4.4.0) (2018-05-21)
### Bug Fixes
* show full tag name in checkpoint ([#241](https://github.com/immobiliare/standard-version/issues/241)) ([b4ed4f9](https://github.com/immobiliare/standard-version/commit/b4ed4f9ba9a905c4d36804f6e42e07d510499543))
* use tagPrefix in CHANGELOG lifecycle step ([#243](https://github.com/immobiliare/standard-version/issues/243)) ([a56c7ac](https://github.com/immobiliare/standard-version/commit/a56c7ac78f9d7f6b4fb043d135b5e3d9ada89c70))
### Features

@@ -316,10 +391,12 @@

# 4.3.0 (2018-01-03)
### Bug Fixes
* show full tag name in checkpoint ([#241](https://github.com/immobiliare/standard-version/issues/241)) ([b4ed4f9](https://github.com/immobiliare/standard-version/commit/b4ed4f9ba9a905c4d36804f6e42e07d510499543))
* use tagPrefix in CHANGELOG lifecycle step ([#243](https://github.com/immobiliare/standard-version/issues/243)) ([a56c7ac](https://github.com/immobiliare/standard-version/commit/a56c7ac78f9d7f6b4fb043d135b5e3d9ada89c70))
* recommend `--tag` prerelease for npm publish of prereleases ([#196](https://github.com/immobiliare/standard-version/issues/196)) ([709dae1](https://github.com/immobiliare/standard-version/commit/709dae168069930e38b18d8ed0fb07addc9540b6)), closes [#183](https://github.com/immobiliare/standard-version/issues/183)
* use the `skip` default value for skip cli arg ([#211](https://github.com/immobiliare/standard-version/issues/211)) ([3fdd7fa](https://github.com/immobiliare/standard-version/commit/3fdd7fa22fa40f2e9f899aac24493f391e72a074))
## [4.3.0](https://github.com/immobiliare/standard-version/compare/v4.2.0...v4.3.0) (2018-01-03)
### Features

@@ -332,10 +409,6 @@

### Bug Fixes
* recommend `--tag` prerelease for npm publish of prereleases ([#196](https://github.com/immobiliare/standard-version/issues/196)) ([709dae1](https://github.com/immobiliare/standard-version/commit/709dae168069930e38b18d8ed0fb07addc9540b6)), closes [#183](https://github.com/immobiliare/standard-version/issues/183)
* use the `skip` default value for skip cli arg ([#211](https://github.com/immobiliare/standard-version/issues/211)) ([3fdd7fa](https://github.com/immobiliare/standard-version/commit/3fdd7fa22fa40f2e9f899aac24493f391e72a074))
# 4.2.0 (2017-06-12)
## [4.2.0](https://github.com/immobiliare/standard-version/compare/v4.1.0...v4.2.0) (2017-06-12)
### Features

@@ -345,5 +418,7 @@

## [4.1.0](https://github.com/immobiliare/standard-version/compare/v4.0.0...v4.1.0) (2017-06-06)
# 4.1.0 (2017-06-06)
### Features

@@ -358,13 +433,11 @@

## [4.0.0](https://github.com/immobiliare/standard-version/compare/v4.0.0-1...v4.0.0) (2016-12-02)
## [4.0.0-1](https://github.com/immobiliare/standard-version/compare/v4.0.0-0...v4.0.0-1) (2016-11-27)
# 4.0.0 (2016-12-02)
### Features
* add support for bumping version # in bower.json ([#148](https://github.com/immobiliare/standard-version/issues/148)) ([b788c5f](https://github.com/immobiliare/standard-version/commit/b788c5fcfb480e6df6f8384f470e881b4ea88986))
* make tag prefix configurable ([#143](https://github.com/immobiliare/standard-version/issues/143)) ([70b20c8](https://github.com/immobiliare/standard-version/commit/70b20c8793e63483eb76e95c6495f03b8dd3dd89))
# 4.0.0-1 (2016-11-27)
### Bug Fixes

@@ -374,12 +447,11 @@

## [4.0.0-0](https://github.com/immobiliare/standard-version/compare/v3.0.0...v4.0.0-0) (2016-11-26)
### Features
### ⚠ BREAKING CHANGES
* add support for bumping version # in bower.json ([#148](https://github.com/immobiliare/standard-version/issues/148)) ([b788c5f](https://github.com/immobiliare/standard-version/commit/b788c5fcfb480e6df6f8384f470e881b4ea88986))
* make tag prefix configurable ([#143](https://github.com/immobiliare/standard-version/issues/143)) ([70b20c8](https://github.com/immobiliare/standard-version/commit/70b20c8793e63483eb76e95c6495f03b8dd3dd89))
* merge commits are now included in the CHANGELOG.
### Features
* support releasing a custom version, including pre-releases ([#129](https://github.com/immobiliare/standard-version/issues/129)) ([068008d](https://github.com/immobiliare/standard-version/commit/068008d6a568033f4ace85dea8911031b3dc96ca))
# 4.0.0-0 (2016-11-26)

@@ -392,17 +464,17 @@

## [3.0.0](https://github.com/immobiliare/standard-version/compare/v2.4.0...v3.0.0) (2016-10-06)
### Features
### ⚠ BREAKING CHANGES
* support releasing a custom version, including pre-releases ([#129](https://github.com/immobiliare/standard-version/issues/129)) ([068008d](https://github.com/immobiliare/standard-version/commit/068008d6a568033f4ace85dea8911031b3dc96ca))
* drop support for Node < 4.0 to enable usage of
new tools and packages.
### Features
### BREAKING CHANGES
* added support for commitAll option in CLI ([#121](https://github.com/immobiliare/standard-version/issues/121)) ([a903f4d](https://github.com/immobiliare/standard-version/commit/a903f4d66caa8f5f334a85c1f21dce8a8d74ca48))
* **options:** add --silent flag and option for squelching output ([2a3fa61](https://github.com/immobiliare/standard-version/commit/2a3fa6167bd84466485d7d7c3ea2e3a62e41a0ff))
* separate cli and defaults from base functionality ([34a6a4e](https://github.com/immobiliare/standard-version/commit/34a6a4ea23c1f56d923a8bbe004bf57fecc6badd))
* merge commits are now included in the CHANGELOG.
# 3.0.0 (2016-10-06)
### Bug Fixes

@@ -418,10 +490,20 @@

## [2.4.0](https://github.com/immobiliare/standard-version/compare/v2.3.1...v2.4.0) (2016-07-13)
### Features
* **changelogStream:** use more default opts ([#67](https://github.com/immobiliare/standard-version/issues/67)) ([3e0aa84](https://github.com/immobiliare/standard-version/commit/3e0aa84fe5fe4ee55cac51f4e9c4033eaaeeae6e))
* added support for commitAll option in CLI ([#121](https://github.com/immobiliare/standard-version/issues/121)) ([a903f4d](https://github.com/immobiliare/standard-version/commit/a903f4d66caa8f5f334a85c1f21dce8a8d74ca48))
* **options:** add --silent flag and option for squelching output ([2a3fa61](https://github.com/immobiliare/standard-version/commit/2a3fa6167bd84466485d7d7c3ea2e3a62e41a0ff))
* separate cli and defaults from base functionality ([34a6a4e](https://github.com/immobiliare/standard-version/commit/34a6a4ea23c1f56d923a8bbe004bf57fecc6badd))
### BREAKING CHANGES
* drop support for Node < 4.0 to enable usage of
new tools and packages.
# 2.4.0 (2016-07-13)
### Bug Fixes

@@ -431,5 +513,12 @@

### [2.3.1](https://github.com/immobiliare/standard-version/compare/v2.3.0...v2.3.1) (2016-06-15)
### Features
* **changelogStream:** use more default opts ([#67](https://github.com/immobiliare/standard-version/issues/67)) ([3e0aa84](https://github.com/immobiliare/standard-version/commit/3e0aa84fe5fe4ee55cac51f4e9c4033eaaeeae6e))
## 2.3.1 (2016-06-15)
### Bug Fixes

@@ -439,5 +528,12 @@

## [2.3.0](https://github.com/immobiliare/standard-version/compare/v2.2.1...v2.3.0) (2016-06-02)
# 2.3.0 (2016-06-02)
### Bug Fixes
* append line feed to end of package.json ([#42](https://github.com/immobiliare/standard-version/issues/42)) ([178e001](https://github.com/immobiliare/standard-version/commit/178e00196af696c4bab3dec62df38b658aa7b543))
### Features

@@ -449,9 +545,6 @@

### Bug Fixes
* append line feed to end of package.json ([#42](https://github.com/immobiliare/standard-version/issues/42)) ([178e001](https://github.com/immobiliare/standard-version/commit/178e00196af696c4bab3dec62df38b658aa7b543))
## 2.2.1 (2016-05-02)
### [2.2.1](https://github.com/immobiliare/standard-version/compare/v2.2.0...v2.2.1) (2016-05-02)
### Bug Fixes

@@ -461,10 +554,7 @@

## [2.2.0](https://github.com/immobiliare/standard-version/compare/v2.1.2...v2.2.0) (2016-05-01)
### Features
# 2.2.0 (2016-05-01)
* add --sign flag to sign git commit and tag ([#29](https://github.com/immobiliare/standard-version/issues/29)) ([de758bc](https://github.com/immobiliare/standard-version/commit/de758bcda0e898d28b4c2539c7cf436bb2ff9116))
### Bug Fixes

@@ -475,5 +565,12 @@

### [2.1.2](https://github.com/immobiliare/standard-version/compare/v2.1.1...v2.1.2) (2016-04-11)
### Features
* add --sign flag to sign git commit and tag ([#29](https://github.com/immobiliare/standard-version/issues/29)) ([de758bc](https://github.com/immobiliare/standard-version/commit/de758bcda0e898d28b4c2539c7cf436bb2ff9116))
## 2.1.2 (2016-04-11)
### Bug Fixes

@@ -483,5 +580,7 @@

### [2.1.1](https://github.com/immobiliare/standard-version/compare/v2.1.0...v2.1.1) (2016-04-10)
## 2.1.1 (2016-04-10)
### Bug Fixes

@@ -491,5 +590,7 @@

## [2.1.0](https://github.com/immobiliare/standard-version/compare/v2.0.0...v2.1.0) (2016-04-10)
# 2.1.0 (2016-04-10)
### Features

@@ -499,14 +600,19 @@

## [2.0.0](https://github.com/immobiliare/standard-version/compare/v1.1.0...v2.0.0) (2016-04-09)
### ⚠ BREAKING CHANGES
# 2.0.0 (2016-04-09)
* Move to conventional-changelog-standard style. This style lifts the character limit on commit messages, and puts us in a position to make more opinionated decisions in the future.
* feat(conventional-changelog-standard): ([c7ccadb](https://github.com/immobiliare/standard-version/commit/c7ccadba80bab7a46aa50f518f22605a8ddc7be1))
## [1.1.0](https://github.com/immobiliare/standard-version/compare/v1.0.0...v1.1.0) (2016-04-08)
### BREAKING CHANGES
* Move to conventional-changelog-standard style. This style lifts the character limit on commit messages, and puts us in a position to make more opinionated decisions in the future.
# 1.1.0 (2016-04-08)
### Features

@@ -513,0 +619,0 @@

@@ -15,12 +15,2 @@ const spec = require('conventional-changelog-config-spec');

})
.option('regenerateChangelog', {
describe: 'Regenerates the full changelog of the project',
type: 'boolean',
default: defaults.regenerateChangelog,
})
.option('changelogIncludesPrereleases', {
describe: 'Should changelog include prereleases?',
type: 'boolean',
default: defaults.changelogIncludesPrereleases,
})
.option('release-as', {

@@ -27,0 +17,0 @@ alias: 'r',

@@ -15,4 +15,2 @@ const spec = require('conventional-changelog-config-spec');

gitTagFallback: true,
changelogIncludesPrereleases: true,
regenerateChangelog: false,
preset: require.resolve('conventional-changelog-conventionalcommits'),

@@ -19,0 +17,0 @@ };

@@ -5,3 +5,3 @@ const bump = require('./lib/lifecycles/bump');

const fs = require('fs');
const latestSemverTag = require('./lib/latest-semver-tag');
const { latestSemverTag } = require('./lib/latest-semver-tag');
const path = require('path');

@@ -72,6 +72,6 @@ const printError = require('./lib/print-error');

};
break;
// eslint-disable-next-line no-empty
} catch {}
}
try {

@@ -89,43 +89,4 @@ let version;

const versions = await latestSemverTag(0, {
changelogIncludesPrereleases: args.changelogIncludesPrereleases,
withPrefix: true,
tagPrefix: args.tagPrefix,
});
// When using this feature the whole changelog is regenerated
// this is usefull/needed when using standard-version on an existing project
// with a previeous changelog and you want to recreate it using the new format
if (args.regenerateChangelog) {
return {
changelog: await changelog(
{
...args,
changelogIncludesPrereleases: args.changelogIncludesPrereleases,
gitSemverTags: versions,
},
versions[0],
versions[versions.length - 1]
),
};
}
const newVersion = await bump(args, version);
// the new version is not there if for example we're dry-running
if (versions[0] !== newVersion) {
versions.unshift(newVersion);
}
const generatedChangelog = await changelog(
{
...args,
changelogIncludesPrereleases: args.changelogIncludesPrereleases,
gitSemverTags: versions,
},
newVersion,
// provide the old version only if we're on doing tag-to-tag changelog
// this is to maintain backward compatibility with existing behaviour
!args.changelogIncludesPrereleases ? versions[1] : undefined // oldVersion
);
const generatedChangelog = await changelog(args, newVersion);
const commitMsg = await commit(args, newVersion);

@@ -132,0 +93,0 @@ await tag(newVersion, pkg ? pkg.private : false, args);

const gitSemverTags = require('git-semver-tags');
const semver = require('semver');
module.exports = function getTags(n = 1, opts) {
function clearTag(tag, tagPrefix) {
const REX = new RegExp('^' + tagPrefix);
return semver.clean(tag.replace(REX, ''));
}
function clearTags(tags = [], tagPrefix) {
return tags.map((t) => clearTag(t, tagPrefix));
}
function latestSemverTag(n = 1, opts) {
if (typeof n === 'object') opts = n;
const { tagPrefix, changelogIncludesPrereleases, withPrefix } = Object.assign(

@@ -19,3 +30,3 @@ {

} else if (!tags.length) {
return resolve(['1.0.0']);
tags = tagPrefix ? [tagPrefix + '1.0.0'] : ['1.0.0'];
}

@@ -38,3 +49,3 @@

raw: tag,
clean: semver.clean(tag.replace(new RegExp('^' + tagPrefix), '')),
clean: clearTag(tag, tagPrefix),
};

@@ -50,2 +61,6 @@ })

});
};
}
exports.latestSemverTag = latestSemverTag;
exports.clearTag = clearTag;
exports.clearTags = clearTags;

@@ -12,6 +12,6 @@ const chalk = require('chalk');

async function Changelog(args, newVersion, oldVersion) {
async function Changelog(args, newVersion) {
if (args.skip.changelog) return;
await runLifecycleScript(args, 'prechangelog');
const changelog = await outputChangelog(args, newVersion, oldVersion);
const changelog = await outputChangelog(args, newVersion);
await runLifecycleScript(args, 'postchangelog');

@@ -25,11 +25,4 @@ return changelog;

async function outputChangelog(args, newVersion, oldVersion) {
async function outputChangelog(args, newVersion) {
return new Promise((resolve, reject) => {
const PRERELEASE_PATTERN = new RegExp(
`[${
args.tagPrefix || ''
}?[0-9]{1,}.[0-9]{1,}.[0-9]{1,}-([a-zA-Z]+.)?[0-9]{1,}]`,
'gi'
);
createIfMissing(args);

@@ -47,7 +40,2 @@ const header = args.header;

if (args.gitSemverTags) {
context.gitSemverTags = args.gitSemverTags;
}
const versionRange = oldVersion ? { from: oldVersion } : {};
const changelogStream = conventionalChangelog(

@@ -61,3 +49,3 @@ {

context,
{ merges: null, path: args.path, ...versionRange }
{ merges: null, path: args.path }
).on('error', function (err) {

@@ -68,8 +56,3 @@ return reject(err);

changelogStream.on('data', function (buffer) {
const row = buffer.toString();
// if we've activated merging of release+prerelease changelog skip
if (!args.changelogIncludesPrereleases && row.match(PRERELEASE_PATTERN)) {
return;
}
content += row;
content += buffer.toString();
});

@@ -76,0 +59,0 @@

{
"name": "@immobiliarelabs/standard-version",
"version": "10.0.0-next.1",
"version": "10.0.0",
"description": "replacement for `npm version` with automatic CHANGELOG generation",

@@ -53,5 +53,5 @@ "bin": "bin/cli.js",

"chalk": "^2.4.2",
"conventional-changelog": "3.1.25",
"conventional-changelog-config-spec": "2.1.0",
"conventional-changelog-conventionalcommits": "4.6.3",
"conventional-changelog": "^3.1.25",
"conventional-changelog-config-spec": "^2.1.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"conventional-recommended-bump": "6.1.0",

@@ -66,3 +66,3 @@ "detect-indent": "^6.0.0",

"stringify-package": "^1.0.1",
"yargs": "^16.0.0"
"yargs": "^17.5.1"
},

@@ -85,8 +85,8 @@ "devDependencies": {

"eslint-plugin-promise": "^6.0.0",
"husky": "^6.0.0",
"husky": "^8.0.1",
"is-ci": "^3.0.1",
"lint-staged": "^12.4.1",
"lint-staged": "^13.0.0",
"markdown-toc": "^1.2.0",
"mocha": "^8.2.1",
"mock-fs": "^4.13.0",
"mocha": "^10.0.0",
"mock-fs": "^5.1.2",
"mockery": "^2.1.0",

@@ -97,3 +97,6 @@ "nyc": "^15.1.0",

"std-mocks": "^1.0.1"
},
"volta": {
"node": "12.22.12"
}
}

@@ -11,6 +11,4 @@ 'use strict';

console.log('is-ci :>> ', isCi);
if (!isCi) {
require('husky').install();
}

@@ -19,30 +19,28 @@ <h1 align="center">Standard Version</h1>

- [How It Works](#how-it-works)
- [`bumpFiles`, `packageFiles` and `updaters`](#bumpfiles-packagefiles-and-updaters)
* [`bumpFiles`, `packageFiles` and `updaters`](#bumpfiles-packagefiles-and-updaters)
- [Installing `@immobiliarelabs/standard-version`](#installing-immobiliarelabsstandard-version)
- [As a local `npm run` script](#as-a-local-npm-run-script)
- [As global `bin`](#as-global-bin)
- [Using `npx`](#using-npx)
* [As a local `npm run` script](#as-a-local-npm-run-script)
* [As global `bin`](#as-global-bin)
* [Using `npx`](#using-npx)
- [Configuration](#configuration)
- [Customizing CHANGELOG Generation](#customizing-changelog-generation)
- [Compact changelog by non-prerelease tags only](#compact-changelog-by-non-prerelease-tags-only)
* [Customizing CHANGELOG Generation](#customizing-changelog-generation)
- [CLI Usage](#cli-usage)
- [First Release](#first-release)
- [Cutting Releases](#cutting-releases)
- [Release as a Pre-Release](#release-as-a-pre-release)
- [Release as a Target Type Imperatively (`npm version`-like)](#release-as-a-target-type-imperatively-npm-version-like)
- [Prevent Git Hooks](#prevent-git-hooks)
- [Signing Commits and Tags](#signing-commits-and-tags)
- [Lifecycle Scripts](#lifecycle-scripts)
- [Skipping Lifecycle Steps](#skipping-lifecycle-steps)
- [Committing Generated Artifacts in the Release Commit](#committing-generated-artifacts-in-the-release-commit)
- [Dry Run Mode](#dry-run-mode)
- [Prefix Tags](#prefix-tags)
- [Regenerate whole changelog from the first version](#regenerate-whole-changelog-from-the-first-version)
- [CLI Help](#cli-help)
* [First Release](#first-release)
* [Cutting Releases](#cutting-releases)
* [Release as a Pre-Release](#release-as-a-pre-release)
* [Release as a Target Type Imperatively (`npm version`-like)](#release-as-a-target-type-imperatively-npm-version-like)
* [Prevent Git Hooks](#prevent-git-hooks)
* [Signing Commits and Tags](#signing-commits-and-tags)
* [Lifecycle Scripts](#lifecycle-scripts)
* [Skipping Lifecycle Steps](#skipping-lifecycle-steps)
* [Committing Generated Artifacts in the Release Commit](#committing-generated-artifacts-in-the-release-commit)
* [Dry Run Mode](#dry-run-mode)
* [Prefix Tags](#prefix-tags)
* [CLI Help](#cli-help)
- [Code Usage](#code-usage)
- [FAQ](#faq)
- [How is `standard-version` different from `semantic-release`?](#how-is-standard-version-different-from-semantic-release)
- [Should I always squash commits when merging PRs?](#should-i-always-squash-commits-when-merging-prs)
- [Can I use `standard-version` for additional metadata files, languages or version files?](#can-i-use-standard-version-for-additional-metadata-files-languages-or-version-files)
- [Custom `updater`s](#custom-updaters)
* [How is `standard-version` different from `semantic-release`?](#how-is-standard-version-different-from-semantic-release)
* [Should I always squash commits when merging PRs?](#should-i-always-squash-commits-when-merging-prs)
* [Can I use `standard-version` for additional metadata files, languages or version files?](#can-i-use-standard-version-for-additional-metadata-files-languages-or-version-files)
+ [Custom `updater`s](#custom-updaters)
- [`readVersion(contents = string): string`](#readversioncontents--string-string)

@@ -160,6 +158,2 @@ - [`writeVersion(contents = string, version: string): string`](#writeversioncontents--string-version-string-string)

#### Compact changelog by non-prerelease tags only
Convetional Changelog by default will generate a CHANGELOG entry for each tag, but sometimes this can become messy if you do a lot of pre-releases (eg: v1.0.0-132). If you want the each entry to just list the changes between each non-prerelease version use the `--changelogIncludesPrereleases` flag
## CLI Usage

@@ -363,10 +357,2 @@

### Regenerate whole changelog from the first version
When you start using `standard-version` on an existing repositories you may have a changelog in a different format, or have none, and you may want to create one with all the entries for the existing version.
```sh
@immobiliarelabs/standard-version --regenerateChangelog
```
### CLI Help

@@ -373,0 +359,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc