@html-validate/semantic-release-monorepo-config 4.0.5 → 4.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/index.js +2 -3
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const fs = require("fs");
|
|
1
2
|
const path = require("path");
|
|
2
3
|
const commitAnalyzer = require("@html-validate/semantic-release-config/lib/commit-analyzer");
|
|
3
4
|
const releaseNotesGenerator = require("@html-validate/semantic-release-config/lib/release-notes-generator");
|
|
@@ -9,9 +10,7 @@ const findUp = require("find-up");
|
|
|
9
10
|
|
|
10
11
|
const PACKAGE_JSON = "package.json";
|
|
11
12
|
const pkgPath = findUp.sync(PACKAGE_JSON);
|
|
12
|
-
|
|
13
|
-
/* eslint-disable-next-line import/no-dynamic-require, security/detect-non-literal-require */
|
|
14
|
-
const { workspaces } = require(pkgPath);
|
|
13
|
+
const { workspaces } = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
|
|
15
14
|
|
|
16
15
|
const pkgJson = workspaces.map((it) => path.join(it, PACKAGE_JSON));
|
|
17
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/semantic-release-monorepo-config",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"description": "Semantic release monorepo configuration used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semantic-release"
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"index.js"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@html-validate/semantic-release-config": "4.0.
|
|
24
|
+
"@html-validate/semantic-release-config": "4.0.6",
|
|
25
25
|
"find-up": "^5.0.0",
|
|
26
|
-
"lerna": "6.
|
|
26
|
+
"lerna": "6.6.1",
|
|
27
27
|
"semantic-release-lerna": "0.8.1"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "eed7eb9e949fbcb7669de790f1f4b24c7d8236c0"
|
|
37
37
|
}
|