rulesync 3.22.0 → 3.22.1

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.cjs CHANGED
@@ -112,10 +112,10 @@ var import_node_path2 = require("path");
112
112
  var import_jsonc_parser = require("jsonc-parser");
113
113
 
114
114
  // src/utils/file.ts
115
+ var import_node_fs = require("fs");
115
116
  var import_promises = require("fs/promises");
116
117
  var import_node_os = __toESM(require("os"), 1);
117
118
  var import_node_path = require("path");
118
- var import_fast_glob = __toESM(require("fast-glob"), 1);
119
119
  async function ensureDir(dirPath) {
120
120
  try {
121
121
  await (0, import_promises.stat)(dirPath);
@@ -190,7 +190,7 @@ async function listDirectoryFiles(dir) {
190
190
  }
191
191
  }
192
192
  async function findFilesByGlobs(globs) {
193
- return await (0, import_fast_glob.default)(globs);
193
+ return (0, import_node_fs.globSync)(globs);
194
194
  }
195
195
  async function removeFile(filepath) {
196
196
  logger.debug(`Removing file: ${filepath}`);
@@ -8515,7 +8515,7 @@ async function mcpCommand({ version }) {
8515
8515
  }
8516
8516
 
8517
8517
  // src/cli/index.ts
8518
- var getVersion = () => "3.22.0";
8518
+ var getVersion = () => "3.22.1";
8519
8519
  var main = async () => {
8520
8520
  const program = new import_commander.Command();
8521
8521
  const version = getVersion();
package/dist/index.js CHANGED
@@ -89,10 +89,10 @@ import { resolve as resolve2 } from "path";
89
89
  import { parse as parseJsonc } from "jsonc-parser";
90
90
 
91
91
  // src/utils/file.ts
92
+ import { globSync } from "fs";
92
93
  import { mkdir, readdir, readFile, rm, stat, writeFile } from "fs/promises";
93
94
  import os from "os";
94
95
  import { basename, dirname, join, relative, resolve } from "path";
95
- import fg from "fast-glob";
96
96
  async function ensureDir(dirPath) {
97
97
  try {
98
98
  await stat(dirPath);
@@ -167,7 +167,7 @@ async function listDirectoryFiles(dir) {
167
167
  }
168
168
  }
169
169
  async function findFilesByGlobs(globs) {
170
- return await fg(globs);
170
+ return globSync(globs);
171
171
  }
172
172
  async function removeFile(filepath) {
173
173
  logger.debug(`Removing file: ${filepath}`);
@@ -8492,7 +8492,7 @@ async function mcpCommand({ version }) {
8492
8492
  }
8493
8493
 
8494
8494
  // src/cli/index.ts
8495
- var getVersion = () => "3.22.0";
8495
+ var getVersion = () => "3.22.1";
8496
8496
  var main = async () => {
8497
8497
  const program = new Command();
8498
8498
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",
@@ -42,7 +42,6 @@
42
42
  "commander": "14.0.2",
43
43
  "consola": "3.4.2",
44
44
  "es-toolkit": "1.41.0",
45
- "fast-glob": "3.3.3",
46
45
  "fast-xml-parser": "5.3.2",
47
46
  "fastmcp": "3.23.0",
48
47
  "gray-matter": "4.0.3",