@ethima/semantic-release-configuration 8.0.1 → 9.0.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/package.json +7 -7
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethima/semantic-release-configuration",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.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": {
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@semantic-release/changelog": "6.0.3",
|
|
26
26
|
"@semantic-release/git": "10.0.1",
|
|
27
|
-
"@semantic-release/github": "
|
|
28
|
-
"@semantic-release/gitlab": "13.
|
|
29
|
-
"conventional-changelog-conventionalcommits": "
|
|
27
|
+
"@semantic-release/github": "11.0.1",
|
|
28
|
+
"@semantic-release/gitlab": "13.2.1",
|
|
29
|
+
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
30
30
|
"cosmiconfig": "9.0.0",
|
|
31
|
-
"
|
|
31
|
+
"nano-spawn": "0.2.0",
|
|
32
32
|
"semantic-release-replace-plugin": "1.2.7"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"ava": "6.
|
|
35
|
+
"ava": "6.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"semantic-release": ">=
|
|
38
|
+
"semantic-release": ">= 24.1.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">= 20.8.1"
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import spawn from "nano-spawn";
|
|
1
2
|
import { accessSync } from "node:fs";
|
|
2
3
|
import { env } from "node:process";
|
|
3
|
-
import { execa } from "execa";
|
|
4
4
|
|
|
5
5
|
import { BranchesConfiguration } from "./branches.js";
|
|
6
6
|
import { CONFIGURATION } from "./configuration.js";
|
|
@@ -20,7 +20,7 @@ const GIT_ASSETS = [
|
|
|
20
20
|
* @return bool Whether the file is being tracked by Git.
|
|
21
21
|
*/
|
|
22
22
|
async function isFileTrackedByGit(path) {
|
|
23
|
-
const { stdout } = await
|
|
23
|
+
const { stdout } = await spawn("git", ["ls-files", path]);
|
|
24
24
|
return stdout.includes(path);
|
|
25
25
|
}
|
|
26
26
|
|