@d-zero/cz-config 5.0.0-alpha.30 → 5.0.0-alpha.32
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/monorepo-scopes.js +5 -1
- package/package.json +2 -2
package/monorepo-scopes.js
CHANGED
|
@@ -9,7 +9,11 @@ const path = require('node:path');
|
|
|
9
9
|
*/
|
|
10
10
|
module.exports = function (removes) {
|
|
11
11
|
const cwd = process.cwd();
|
|
12
|
-
const
|
|
12
|
+
const lernaPath = path.resolve(cwd, 'lerna.json');
|
|
13
|
+
if (!fs.existsSync(lernaPath)) {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
const lerna = JSON.parse(fs.readFileSync(lernaPath, 'utf8'));
|
|
13
17
|
const packages = fs.globSync(lerna.packages);
|
|
14
18
|
return packages.map((packagePath) => {
|
|
15
19
|
const pkg = JSON.parse(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/cz-config",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.32",
|
|
4
4
|
"description": "Configurations of cz-customizable",
|
|
5
5
|
"repository": "https://github.com/d-zero-dev/linters.git",
|
|
6
6
|
"author": "D-ZERO Co., Ltd.",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"commitizen": "4.3.0",
|
|
26
26
|
"cz-customizable": "7.0.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "029e2f6c7128b90f8e266029f97b8053fee81b42"
|
|
29
29
|
}
|