conventional-recommended-bump 6.0.9 → 6.1.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/CHANGELOG.md +30 -0
- package/README.md +7 -0
- package/cli.js +3 -1
- package/index.js +2 -1
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.1.0](https://www.github.com/conventional-changelog/conventional-changelog/compare/v6.0.12...v6.1.0) (2020-12-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **conventional-recommended-bump:** support for '--skip-unstable' ([#698](https://www.github.com/conventional-changelog/conventional-changelog/issues/698)) ([3a5b41e](https://www.github.com/conventional-changelog/conventional-changelog/commit/3a5b41e0ccdcdfb81f1b75f295975b0ab0f48683))
|
|
12
|
+
|
|
13
|
+
### [6.0.12](https://www.github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@6.0.11...v6.0.12) (2020-12-30)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** update dependency git-raw-commits to v2.0.8 ([#723](https://www.github.com/conventional-changelog/conventional-changelog/issues/723)) ([9682305](https://www.github.com/conventional-changelog/conventional-changelog/commit/968230536914a680237e830ccc8e125c56b0f0aa))
|
|
19
|
+
|
|
20
|
+
## [6.0.11](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@6.0.10...conventional-recommended-bump@6.0.11) (2020-11-05)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package conventional-recommended-bump
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [6.0.10](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@6.0.9...conventional-recommended-bump@6.0.10) (2020-08-12)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package conventional-recommended-bump
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [6.0.9](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@6.0.5...conventional-recommended-bump@6.0.9) (2020-05-08)
|
|
7
37
|
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Got the idea from https://github.com/conventional-changelog/conventional-changel
|
|
|
18
18
|
- [config](#config)
|
|
19
19
|
- [whatBump](#whatbump)
|
|
20
20
|
- [tagPrefix](#tagprefix)
|
|
21
|
+
- [skipUnstable](#skipunstable)
|
|
21
22
|
- [lernaPackage](#lernapackage)
|
|
22
23
|
- [path](#path)
|
|
23
24
|
- [parserOpts](#parseropts)
|
|
@@ -112,6 +113,12 @@ Specify a prefix for the git tag that will be taken into account during the comp
|
|
|
112
113
|
|
|
113
114
|
For instance if your version tag is prefixed by `version/` instead of `v` you would specifying `--tagPrefix=version/` using the CLI, or `version/` as the value of the `tagPrefix` option.
|
|
114
115
|
|
|
116
|
+
##### skipUnstable
|
|
117
|
+
|
|
118
|
+
**Type:** `boolean`
|
|
119
|
+
|
|
120
|
+
If true, unstable tags will be skipped, e.g., x.x.x-alpha.1, x.x.x-rc.2
|
|
121
|
+
|
|
115
122
|
##### lernaPackage
|
|
116
123
|
|
|
117
124
|
**Type:** `string`
|
package/cli.js
CHANGED
|
@@ -26,6 +26,7 @@ const cli = meow(`
|
|
|
26
26
|
-l, --lerna-package Recommend a bump for a specific lerna package (:pkg-name@1.0.0)
|
|
27
27
|
-t, --tag-prefix Tag prefix to consider when reading the tags
|
|
28
28
|
--commit-path Recommend a bump scoped to a specific directory
|
|
29
|
+
--skip-unstable If given, unstable tags will be skipped, e.g., x.x.x-alpha.1, x.x.x-rc.2
|
|
29
30
|
`, {
|
|
30
31
|
flags: {
|
|
31
32
|
preset: {
|
|
@@ -67,7 +68,8 @@ const cli = meow(`
|
|
|
67
68
|
const options = {
|
|
68
69
|
path: cli.flags.commitPath,
|
|
69
70
|
lernaPackage: cli.flags.lernaPackage,
|
|
70
|
-
tagPrefix: cli.flags.tagPrefix
|
|
71
|
+
tagPrefix: cli.flags.tagPrefix,
|
|
72
|
+
skipUnstable: cli.flags.skipUnstable
|
|
71
73
|
}
|
|
72
74
|
const flags = cli.flags
|
|
73
75
|
const preset = flags.preset
|
package/index.js
CHANGED
|
@@ -63,7 +63,8 @@ function conventionalRecommendedBump (optionsArgument, parserOptsArgument, cbArg
|
|
|
63
63
|
gitSemverTags({
|
|
64
64
|
lernaTags: !!options.lernaPackage,
|
|
65
65
|
package: options.lernaPackage,
|
|
66
|
-
tagPrefix: options.tagPrefix
|
|
66
|
+
tagPrefix: options.tagPrefix,
|
|
67
|
+
skipUnstable: options.skipUnstable
|
|
67
68
|
}, (err, tags) => {
|
|
68
69
|
if (err) {
|
|
69
70
|
return cb(err)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conventional-recommended-bump",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Get a recommended version bump based on conventional commits",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/conventional-changelog/conventional-changelog/issues"
|
|
@@ -33,16 +33,18 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"concat-stream": "^2.0.0",
|
|
35
35
|
"conventional-changelog-preset-loader": "^2.3.4",
|
|
36
|
-
"conventional-commits-filter": "^2.0.
|
|
37
|
-
"conventional-commits-parser": "^3.
|
|
38
|
-
"git-raw-commits": "2.0.
|
|
39
|
-
"git-semver-tags": "^4.
|
|
40
|
-
"meow": "^
|
|
36
|
+
"conventional-commits-filter": "^2.0.7",
|
|
37
|
+
"conventional-commits-parser": "^3.2.0",
|
|
38
|
+
"git-raw-commits": "^2.0.8",
|
|
39
|
+
"git-semver-tags": "^4.1.1",
|
|
40
|
+
"meow": "^8.0.0",
|
|
41
41
|
"q": "^1.5.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"test-windows": "mocha --timeout 30000 ./test/preset-resolver.spec.js"
|
|
45
45
|
},
|
|
46
46
|
"bin": "cli.js",
|
|
47
|
-
"
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"conventional-changelog-conventionalcommits": "^4.5.0"
|
|
49
|
+
}
|
|
48
50
|
}
|