@ruan-cat/utils 4.17.0 → 4.18.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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/node-cjs/index.cjs +3 -3
- package/dist/node-cjs/index.cjs.map +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/index.js.map +1 -1
- package/package.json +2 -2
- package/src/monorepo.ts +3 -3
package/dist/node-cjs/index.cjs
CHANGED
|
@@ -194,7 +194,7 @@ async function executePromiseTasks(config, lastParams = null) {
|
|
|
194
194
|
// src/monorepo.ts
|
|
195
195
|
var import_node_path = require("path");
|
|
196
196
|
var fs = __toESM(require("fs"), 1);
|
|
197
|
-
var
|
|
197
|
+
var import_tinyglobby = require("tinyglobby");
|
|
198
198
|
|
|
199
199
|
// ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
|
|
200
200
|
function isNothing(subject) {
|
|
@@ -2807,8 +2807,8 @@ function isMonorepoProject() {
|
|
|
2807
2807
|
}
|
|
2808
2808
|
for (const pkgPattern of pkgPatterns) {
|
|
2809
2809
|
const matchedPath = pathChange2((0, import_node_path.join)(process.cwd(), pkgPattern, "package.json"));
|
|
2810
|
-
const matchedPaths = (0,
|
|
2811
|
-
ignore: "**/node_modules/**"
|
|
2810
|
+
const matchedPaths = (0, import_tinyglobby.globSync)(matchedPath, {
|
|
2811
|
+
ignore: ["**/node_modules/**"]
|
|
2812
2812
|
});
|
|
2813
2813
|
if (matchedPaths.length > 0) {
|
|
2814
2814
|
return true;
|