semantic-release 22.0.4 → 22.0.6
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/docs/extending/plugins-list.md +7 -0
- package/docs/support/FAQ.md +1 -1
- package/docs/usage/configuration.md +11 -0
- package/package.json +36 -15
|
@@ -179,6 +179,9 @@
|
|
|
179
179
|
- [semantic-release-coralogix](https://github.com/adobe/semantic-release-coralogix)
|
|
180
180
|
- `verifyConditions` Verified that required credentials are provided and API is accessible
|
|
181
181
|
- `publish` add a release tag to Coralogix
|
|
182
|
+
- [semantic-release-jira-notes](https://github.com/iamludal/semantic-release-jira-notes)
|
|
183
|
+
- `verifyConditions`: Validate the config options.
|
|
184
|
+
- `generateNotes`: Generate the release notes with links to JIRA issues.
|
|
182
185
|
- [semantic-release-major-tag](https://github.com/doteric/semantic-release-major-tag)
|
|
183
186
|
- `success` Create major version tag, for example `v1`.
|
|
184
187
|
- [semantic-release-yarn](https://github.com/hongaar/semantic-release-yarn)
|
|
@@ -187,3 +190,7 @@
|
|
|
187
190
|
- `prepare` Update the `package.json` version and create the package tarball.
|
|
188
191
|
- `addChannel` Add a tag for the release.
|
|
189
192
|
- `publish` Publish to the npm registry.
|
|
193
|
+
- [semantic-release-pub](https://github.com/zeshuaro/semantic-release-pub)
|
|
194
|
+
- `verifyConditions`: Verify the presence of the `pub.dev` authentication and release configuration
|
|
195
|
+
- `prepare`: Update the `pubspec.yaml` version
|
|
196
|
+
- `publish`: Publish the package onto the `pub.dev` registry
|
package/docs/support/FAQ.md
CHANGED
|
@@ -195,7 +195,7 @@ If you need more control over the timing of releases, see [Triggering a release]
|
|
|
195
195
|
|
|
196
196
|
## Can I set the initial release version of my package to `0.0.1`?
|
|
197
197
|
|
|
198
|
-
This is not supported by
|
|
198
|
+
This is not supported by semantic-release. [Semantic Versioning](https://semver.org/) rules apply differently to major version zero and supporting those differences is out of scope and not one of the goals of the semantic-release project.
|
|
199
199
|
|
|
200
200
|
If your project is under heavy development, with frequent breaking changes, and is not production ready yet we recommend [publishing pre-releases](../recipes/release-workflow/pre-releases.md#publishing-pre-releases).
|
|
201
201
|
|
|
@@ -40,6 +40,17 @@ The following three examples are the same.
|
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
- Via `release.config.cjs` file:
|
|
44
|
+
|
|
45
|
+
```js
|
|
46
|
+
/**
|
|
47
|
+
* @type {import('semantic-release').GlobalConfig}
|
|
48
|
+
*/
|
|
49
|
+
module.exports = {
|
|
50
|
+
branches: ["master", "next"],
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
43
54
|
- Via CLI argument:
|
|
44
55
|
|
|
45
56
|
```bash
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semantic-release",
|
|
3
3
|
"description": "Automated semver compliant package publishing",
|
|
4
|
-
"version": "22.0.
|
|
4
|
+
"version": "22.0.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
|
|
7
7
|
"ava": {
|
|
8
8
|
"files": [
|
|
9
|
-
"test/**/*.test.js"
|
|
9
|
+
"test/**/*.test.js",
|
|
10
|
+
"!test/integration.test.js"
|
|
10
11
|
],
|
|
11
|
-
"failFast": true,
|
|
12
12
|
"nodeArguments": [
|
|
13
13
|
"--loader=testdouble",
|
|
14
14
|
"--no-warnings"
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"aggregate-error": "^5.0.0",
|
|
36
36
|
"cosmiconfig": "^8.0.0",
|
|
37
37
|
"debug": "^4.0.0",
|
|
38
|
-
"env-ci": "^
|
|
38
|
+
"env-ci": "^10.0.0",
|
|
39
39
|
"execa": "^8.0.0",
|
|
40
|
-
"figures": "^
|
|
40
|
+
"figures": "^6.0.0",
|
|
41
41
|
"find-versions": "^5.1.0",
|
|
42
42
|
"get-stream": "^6.0.0",
|
|
43
43
|
"git-log-parser": "^1.2.0",
|
|
@@ -61,19 +61,24 @@
|
|
|
61
61
|
"c8": "8.0.1",
|
|
62
62
|
"clear-module": "4.1.2",
|
|
63
63
|
"codecov": "3.8.3",
|
|
64
|
-
"
|
|
64
|
+
"cz-conventional-changelog": "3.3.0",
|
|
65
|
+
"dockerode": "4.0.0",
|
|
65
66
|
"file-url": "4.0.0",
|
|
66
67
|
"fs-extra": "11.1.1",
|
|
67
68
|
"got": "13.0.0",
|
|
68
69
|
"js-yaml": "4.1.0",
|
|
70
|
+
"lockfile-lint": "4.12.1",
|
|
71
|
+
"ls-engines": "0.9.0",
|
|
69
72
|
"mockserver-client": "5.15.0",
|
|
70
|
-
"nock": "13.3.
|
|
71
|
-
"
|
|
73
|
+
"nock": "13.3.7",
|
|
74
|
+
"npm-run-all2": "6.1.1",
|
|
75
|
+
"p-retry": "6.1.0",
|
|
72
76
|
"prettier": "3.0.3",
|
|
73
|
-
"
|
|
77
|
+
"publint": "0.2.5",
|
|
78
|
+
"sinon": "17.0.0",
|
|
74
79
|
"stream-buffers": "3.0.2",
|
|
75
80
|
"tempy": "3.1.0",
|
|
76
|
-
"testdouble": "3.
|
|
81
|
+
"testdouble": "3.20.0"
|
|
77
82
|
},
|
|
78
83
|
"engines": {
|
|
79
84
|
"node": "^18.17 || >=20.6.1"
|
|
@@ -114,6 +119,14 @@
|
|
|
114
119
|
],
|
|
115
120
|
"all": true
|
|
116
121
|
},
|
|
122
|
+
"lockfile-lint": {
|
|
123
|
+
"path": "package-lock.json",
|
|
124
|
+
"type": "npm",
|
|
125
|
+
"validate-https": true,
|
|
126
|
+
"allowed-hosts": [
|
|
127
|
+
"npm"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
117
130
|
"prettier": {
|
|
118
131
|
"printWidth": 120,
|
|
119
132
|
"trailingComma": "es5"
|
|
@@ -126,14 +139,22 @@
|
|
|
126
139
|
"type": "git",
|
|
127
140
|
"url": "git+https://github.com/semantic-release/semantic-release.git"
|
|
128
141
|
},
|
|
142
|
+
"config": {
|
|
143
|
+
"commitizen": {
|
|
144
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
129
147
|
"scripts": {
|
|
130
148
|
"codecov": "codecov -f coverage/coverage-final.json",
|
|
131
|
-
"lint": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
|
132
|
-
"lint:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
|
133
|
-
"
|
|
149
|
+
"lint:prettier": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
|
150
|
+
"lint:prettier:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
|
151
|
+
"lint:lockfile": "lockfile-lint",
|
|
152
|
+
"lint:engines": "ls-engines",
|
|
153
|
+
"lint:publish": "publint --strict",
|
|
134
154
|
"semantic-release": "./bin/semantic-release.js",
|
|
135
|
-
"test": "
|
|
136
|
-
"test:
|
|
155
|
+
"test": "npm-run-all --print-label --parallel lint:* --parallel test:*",
|
|
156
|
+
"test:unit": "c8 ava --verbose",
|
|
157
|
+
"test:integration": "ava --verbose test/integration.test.js"
|
|
137
158
|
},
|
|
138
159
|
"renovate": {
|
|
139
160
|
"extends": [
|