semantic-release 17.3.8 → 17.4.2

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
@@ -1,8 +1,8 @@
1
1
  <h1 align="center" style="border-bottom: none;">📦🚀 semantic-release</h1>
2
2
  <h3 align="center">Fully automated version management and package publishing</h3>
3
3
  <p align="center">
4
- <a href="https://spectrum.chat/semantic-release">
5
- <img alt="Join the community on Spectrum" src="https://withspectrum.github.io/badge/badge.svg">
4
+ <a href="https://github.com/semantic-release/semantic-release/discussions">
5
+ <img alt="Join the community on GitHub Discussions" src="https://img.shields.io/badge/Join%20the%20community-on%20GitHub%20Discussions-blue">
6
6
  </a>
7
7
  <a href="https://github.com/semantic-release/semantic-release/actions?query=workflow%3ATest+branch%3Amaster">
8
8
  <img alt="Build states" src="https://github.com/semantic-release/semantic-release/workflows/Test/badge.svg">
@@ -48,7 +48,7 @@ This removes the immediate connection between human emotions and version numbers
48
48
 
49
49
  **semantic-release** uses the commit messages to determine the type of changes in the codebase. Following formalized conventions for commit messages, **semantic-release** automatically determines the next [semantic version](https://semver.org) number, generates a changelog and publishes the release.
50
50
 
51
- By default **semantic-release** uses [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines). The commit message format can be changed with the [`preset` or `config` options](docs/usage/configuration.md#options) of the [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer#options) and [@semantic-release/release-notes-generator](https://github.com/semantic-release/release-notes-generator#options) plugins.
51
+ By default **semantic-release** uses [Angular Commit Message Conventions](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-format). The commit message format can be changed with the [`preset` or `config` options](docs/usage/configuration.md#options) of the [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer#options) and [@semantic-release/release-notes-generator](https://github.com/semantic-release/release-notes-generator#options) plugins.
52
52
 
53
53
  Tools such as [commitizen](https://github.com/commitizen/cz-cli) or [commitlint](https://github.com/conventional-changelog/commitlint) can be used to help contributors and enforce valid commit messages.
54
54
 
@@ -131,7 +131,7 @@ In order to use **semantic-release** you need:
131
131
  ## Get help
132
132
 
133
133
  - [Stack Overflow](https://stackoverflow.com/questions/tagged/semantic-release)
134
- - [Spectrum community](https://spectrum.chat/semantic-release)
134
+ - [GitHub Discussions](https://github.com/semantic-release/semantic-release/discussions)
135
135
  - [Twitter](https://twitter.com/SemanticRelease)
136
136
 
137
137
  ## Badge
package/docs/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # semantic-release documentation
2
2
 
3
3
  - [Usage](usage/README.md) - **semantic-release** installation and configuration
4
- - [Extending](extending/README.md)- Extending **semantic-release** with plugins and shareable configurations
4
+ - [Extending](extending/README.md) - Extending **semantic-release** with plugins and shareable configurations
5
5
  - [Recipes](recipes/README.md) - Community written recipes for common **semantic-release** use-cases
6
6
  - [Developer Guide](developer-guide/README.md) - The essentials of writing a **semantic-release** plugin or shareable configurations
7
7
  - [Support](support/README.md) - FAQ and troubleshooting
@@ -20,7 +20,7 @@
20
20
  - `publish`: Publish the package on the npm registry
21
21
  - [@semantic-release/gitlab](https://github.com/semantic-release/gitlab)
22
22
  - `verifyConditions`: Verify the presence and the validity of the GitLab authentication and release configuration
23
- - `publish`: Publish a [GitLab release](https://docs.gitlab.com/ce/workflow/releases.html)
23
+ - `publish`: Publish a [GitLab release](https://docs.gitlab.com/ee/user/project/releases/)
24
24
  - [@semantic-release/git](https://github.com/semantic-release/git)
25
25
  - `verifyConditions`: Verify the presence and the validity of the Git authentication and release configuration
26
26
  - `prepare`: Push a release commit and tag, including configurable files
@@ -91,6 +91,9 @@
91
91
  - [semantic-release-github-pages](https://github.com/qiwi/semantic-release-gh-pages-plugin)
92
92
  - `verifyConditions`: Verify the presence of the auth token set via environment variables.
93
93
  - `publish`: Pushes commit to the documentation branch.
94
+ - [semantic-release-github-pullrequest](https://github.com/asbiin/semantic-release-github-pullrequest)
95
+ - `verifyConditions`: Verify the presence and the validity of the GitHub authentication and other configuration.
96
+ - `publish`: Create a branch to upload all assets and create the pull request on the base branch on GitHub.
94
97
  - [leiningen-semantic-release](https://github.com/NoxHarmonium/leiningen-semantic-release)
95
98
  - `verifyConditions`: Checks the project.clj is syntactically valid.
96
99
  - `prepare`: Update the project.clj version and package the output jar file.
@@ -8,7 +8,7 @@ Here is a few example of the CI services that can be used to achieve this:
8
8
  - [CircleCI Workflows](https://circleci.com/docs/2.0/workflows)
9
9
  - [GitHub Actions](https://github.com/features/actions)
10
10
  - [Codeship Deployment Pipelines](https://documentation.codeship.com/basic/builds-and-configuration/deployment-pipelines)
11
- - [GitLab Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html#introduction-to-pipelines-and-jobs)
11
+ - [GitLab Pipelines](https://docs.gitlab.com/ce/ci/introduction/)
12
12
  - [Codefresh Pipelines](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines)
13
13
  - [Wercker Workflows](http://devcenter.wercker.com/docs/workflows)
14
14
  - [GoCD Pipelines](https://docs.gocd.org/current/introduction/concepts_in_go.html#pipeline).
package/lib/get-config.js CHANGED
@@ -9,19 +9,10 @@ const plugins = require('./plugins');
9
9
  const {validatePlugin, parseConfig} = require('./plugins/utils');
10
10
 
11
11
  const CONFIG_NAME = 'release';
12
- const CONFIG_FILES = [
13
- 'package.json',
14
- `.${CONFIG_NAME}rc`,
15
- `.${CONFIG_NAME}rc.json`,
16
- `.${CONFIG_NAME}rc.yaml`,
17
- `.${CONFIG_NAME}rc.yml`,
18
- `.${CONFIG_NAME}rc.js`,
19
- `${CONFIG_NAME}.config.js`,
20
- ];
21
12
 
22
13
  module.exports = async (context, cliOptions) => {
23
14
  const {cwd, env} = context;
24
- const {config, filepath} = (await cosmiconfig(CONFIG_NAME, {searchPlaces: CONFIG_FILES}).search(cwd)) || {};
15
+ const {config, filepath} = (await cosmiconfig(CONFIG_NAME).search(cwd)) || {};
25
16
 
26
17
  debug('load config from: %s', filepath);
27
18
 
package/lib/git.js CHANGED
@@ -318,7 +318,7 @@ async function getNote(ref, execaOptions) {
318
318
  }
319
319
 
320
320
  /**
321
- * Get and parse the JSON note of a given reference.
321
+ * Add JSON note to a given reference.
322
322
  *
323
323
  * @param {Object} note The object to save in the reference note.
324
324
  * @param {String} ref The Git reference to add the note to.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "semantic-release",
3
3
  "description": "Automated semver compliant package publishing",
4
- "version": "17.3.8",
4
+ "version": "17.4.2",
5
5
  "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
6
6
  "ava": {
7
7
  "files": [
@@ -35,10 +35,10 @@
35
35
  "get-stream": "^6.0.0",
36
36
  "git-log-parser": "^1.2.0",
37
37
  "hook-std": "^2.0.0",
38
- "hosted-git-info": "^3.0.0",
38
+ "hosted-git-info": "^4.0.0",
39
39
  "lodash": "^4.17.15",
40
40
  "marked": "^2.0.0",
41
- "marked-terminal": "^4.0.0",
41
+ "marked-terminal": "^4.1.1",
42
42
  "micromatch": "^4.0.2",
43
43
  "p-each-series": "^2.1.0",
44
44
  "p-reduce": "^2.0.0",
@@ -58,11 +58,11 @@
58
58
  "file-url": "3.0.0",
59
59
  "fs-extra": "9.1.0",
60
60
  "got": "11.8.1",
61
- "js-yaml": "3.14.0",
61
+ "js-yaml": "3.14.1",
62
62
  "mockserver-client": "5.11.2",
63
63
  "nock": "13.0.7",
64
64
  "nyc": "15.1.0",
65
- "p-retry": "4.3.0",
65
+ "p-retry": "4.4.0",
66
66
  "proxyquire": "2.1.3",
67
67
  "sinon": "9.2.4",
68
68
  "stream-buffers": "3.0.2",