@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.
@@ -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 import_glob = require("glob");
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, import_glob.sync)(matchedPath, {
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;