@html-validate/semantic-release-config 4.0.5 → 4.1.0
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/bin/semantic-release.js +2 -3
- package/lib/changelog.js +2 -3
- package/package.json +8 -8
package/bin/semantic-release.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const path = require("path");
|
|
4
|
-
const { spawn } = require("child_process");
|
|
4
|
+
const { spawn } = require("child_process");
|
|
5
5
|
|
|
6
6
|
const pkgPath = path.dirname(require.resolve("semantic-release/package.json"));
|
|
7
7
|
const binary = path.join(pkgPath, "bin/semantic-release.js");
|
|
@@ -9,6 +9,5 @@ const binary = path.join(pkgPath, "bin/semantic-release.js");
|
|
|
9
9
|
spawn("node", [binary, ...process.argv.slice(2)], {
|
|
10
10
|
stdio: "inherit",
|
|
11
11
|
}).on("exit", (code) => {
|
|
12
|
-
|
|
13
|
-
process.exit(code);
|
|
12
|
+
process.exitCode = code;
|
|
14
13
|
});
|
package/lib/changelog.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
const fs = require("fs");
|
|
1
2
|
const findUp = require("find-up");
|
|
2
3
|
|
|
3
4
|
const pkgPath = findUp.sync("package.json");
|
|
4
|
-
|
|
5
|
-
/* eslint-disable-next-line import/no-dynamic-require, security/detect-non-literal-require */
|
|
6
|
-
const pkg = require(pkgPath);
|
|
5
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
|
|
7
6
|
|
|
8
7
|
module.exports = {
|
|
9
8
|
changelogTitle: `# ${pkg.name} changelog`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/semantic-release-config",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Semantic release configuration used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semantic-release"
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"!**/*.spec.js"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@semantic-release/changelog": "6.0.
|
|
30
|
+
"@semantic-release/changelog": "6.0.3",
|
|
31
31
|
"@semantic-release/exec": "6.0.3",
|
|
32
32
|
"@semantic-release/git": "10.0.1",
|
|
33
|
-
"@semantic-release/gitlab": "12.0.
|
|
34
|
-
"@semantic-release/npm": "
|
|
35
|
-
"@semantic-release/release-notes-generator": "
|
|
33
|
+
"@semantic-release/gitlab": "12.0.1",
|
|
34
|
+
"@semantic-release/npm": "10.0.3",
|
|
35
|
+
"@semantic-release/release-notes-generator": "11.0.1",
|
|
36
36
|
"conventional-changelog-conventionalcommits": "5.0.0",
|
|
37
37
|
"find-up": "^5.0.0",
|
|
38
|
-
"semantic-release": "
|
|
38
|
+
"semantic-release": "21.0.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"lodash": "4.17.21",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"prettier": "^1 || ^2",
|
|
46
|
-
"semantic-release": "^17 || ^18 || ^19 || ^20"
|
|
46
|
+
"semantic-release": "^17 || ^18 || ^19 || ^20 || ^21.0.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">= 18",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "cb102c1fbb131e59804ad3ba5b3e315210bdb0c2"
|
|
56
56
|
}
|