semantic-release 20.0.4 → 20.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.
|
@@ -171,3 +171,6 @@
|
|
|
171
171
|
- `verifyConditions` Validate configuration, `Cargo.toml`, and local cargo executable. Also, logs in into `crates.io`.
|
|
172
172
|
- `prepare` Write the new version number into `Cargo.toml` file and perform `cargo check` if configured.
|
|
173
173
|
- `publish` Publish the Rust crate to `crates.io`
|
|
174
|
+
- [semantic-release-coralogix](https://github.com/adobe/semantic-release-coralogix)
|
|
175
|
+
- `verifyConditions` Verified that required credentials are provided and API is accessible
|
|
176
|
+
- `publish` add a release tag to Coralogix
|
package/lib/plugins/utils.js
CHANGED
|
@@ -52,14 +52,18 @@ export async function loadPlugin({cwd}, name, pluginsPath) {
|
|
|
52
52
|
? dirname(resolveFrom.silent(__dirname, pluginsPath[name]) || resolveFrom(cwd, pluginsPath[name]))
|
|
53
53
|
: __dirname;
|
|
54
54
|
|
|
55
|
-
if (
|
|
56
|
-
|
|
57
|
-
// See https://github.com/mysticatea/eslint-plugin-node/issues/250
|
|
58
|
-
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
|
59
|
-
name = (await import(`file://${file}`)).default;
|
|
55
|
+
if (isFunction(name)) {
|
|
56
|
+
return name;
|
|
60
57
|
}
|
|
61
58
|
|
|
62
|
-
|
|
59
|
+
const file = resolveFrom.silent(basePath, name) || resolveFrom(cwd, name);
|
|
60
|
+
const { default: cjsExport, ...esmNamedExports } = await import(`file://${file}`);
|
|
61
|
+
|
|
62
|
+
if (cjsExport) {
|
|
63
|
+
return cjsExport;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return esmNamedExports;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
export function parseConfig(plugin) {
|
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": "20.
|
|
4
|
+
"version": "20.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
|
|
7
7
|
"ava": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"cosmiconfig": "^8.0.0",
|
|
36
36
|
"debug": "^4.0.0",
|
|
37
37
|
"env-ci": "^8.0.0",
|
|
38
|
-
"execa": "^
|
|
38
|
+
"execa": "^7.0.0",
|
|
39
39
|
"figures": "^5.0.0",
|
|
40
40
|
"find-versions": "^5.1.0",
|
|
41
41
|
"get-stream": "^6.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"yargs": "^17.5.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"ava": "5.
|
|
59
|
+
"ava": "5.2.0",
|
|
60
60
|
"c8": "7.12.0",
|
|
61
61
|
"clear-module": "4.1.2",
|
|
62
62
|
"codecov": "3.8.3",
|