@ethima/semantic-release-configuration 2.1.0 → 2.1.1

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
@@ -90,7 +90,7 @@ structure:
90
90
 
91
91
  ` token,
92
92
  - the template itself with one or more
93
- `2.1.0` tokens,
93
+ `2.1.1` tokens,
94
94
  - a comment closing tag `
95
95
 
96
96
  <!-- END_VERSIONED_TEMPLATE -->`.
@@ -104,7 +104,7 @@ The next semantically released version will be v__NEXT_SEMANTIC_RELEASE_VERSION_
104
104
 
105
105
  -->
106
106
 
107
- The next semantically released version will be v2.1.0!
107
+ The next semantically released version will be v2.1.1!
108
108
 
109
109
  <!-- END_VERSIONED_TEMPLATE -->
110
110
  ```
@@ -119,7 +119,7 @@ The next semantically released version will be v__NEXT_SEMANTIC_RELEASE_VERSION_
119
119
 
120
120
  -->
121
121
 
122
- The next semantically released version will be v2.1.0!
122
+ The next semantically released version will be v2.1.1!
123
123
 
124
124
  <!-- END_VERSIONED_TEMPLATE -->
125
125
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethima/semantic-release-configuration",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A shareable semantic release configuration supporting a range of languages and platforms supported by the Ethima organization.",
5
5
  "main": "./src/index.js",
6
6
  "repository": {
@@ -11,9 +11,6 @@ const ethimaConfig = cosmiconfigSync("ethima").search();
11
11
  // sufficient for the current configuration needs, which tend to be simple
12
12
  // values and doing a deep merge would add currently unnecessary complexity.
13
13
  // This can be revisited once the need arises
14
- const CONFIGURATION = {
15
- ...CONFIGURATION_DEFAULTS,
16
- ...(ethimaConfig.config || {}),
17
- };
14
+ const CONFIGURATION = { ...CONFIGURATION_DEFAULTS, ...ethimaConfig?.config };
18
15
 
19
16
  module.exports = CONFIGURATION;