rulesync 3.21.0 → 3.22.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.cjs +4 -3
- package/dist/index.js +4 -3
- package/package.json +20 -18
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");
|
|
116
115
|
var import_promises = require("fs/promises");
|
|
117
116
|
var import_node_os = __toESM(require("os"), 1);
|
|
118
117
|
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 (0,
|
|
193
|
+
return await (0, import_fast_glob.default)(globs);
|
|
194
194
|
}
|
|
195
195
|
async function removeFile(filepath) {
|
|
196
196
|
logger.debug(`Removing file: ${filepath}`);
|
|
@@ -464,6 +464,7 @@ var RULESYNC_SUBAGENTS_RELATIVE_DIR_PATH = (0, import_node_path3.join)(RULESYNC_
|
|
|
464
464
|
var RULESYNC_MCP_RELATIVE_FILE_PATH = (0, import_node_path3.join)(RULESYNC_RELATIVE_DIR_PATH, "mcp.json");
|
|
465
465
|
var RULESYNC_IGNORE_RELATIVE_FILE_PATH = ".rulesyncignore";
|
|
466
466
|
var RULESYNC_OVERVIEW_FILE_NAME = "overview.md";
|
|
467
|
+
var RULESYNC_SKILLS_RELATIVE_DIR_PATH = (0, import_node_path3.join)(RULESYNC_RELATIVE_DIR_PATH, "skills");
|
|
467
468
|
|
|
468
469
|
// src/features/commands/commands-processor.ts
|
|
469
470
|
var import_node_path14 = require("path");
|
|
@@ -8514,7 +8515,7 @@ async function mcpCommand({ version }) {
|
|
|
8514
8515
|
}
|
|
8515
8516
|
|
|
8516
8517
|
// src/cli/index.ts
|
|
8517
|
-
var getVersion = () => "3.
|
|
8518
|
+
var getVersion = () => "3.22.0";
|
|
8518
8519
|
var main = async () => {
|
|
8519
8520
|
const program = new import_commander.Command();
|
|
8520
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";
|
|
93
92
|
import { mkdir, readdir, readFile, rm, stat, writeFile } from "fs/promises";
|
|
94
93
|
import os from "os";
|
|
95
94
|
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
|
|
170
|
+
return await fg(globs);
|
|
171
171
|
}
|
|
172
172
|
async function removeFile(filepath) {
|
|
173
173
|
logger.debug(`Removing file: ${filepath}`);
|
|
@@ -441,6 +441,7 @@ var RULESYNC_SUBAGENTS_RELATIVE_DIR_PATH = join2(RULESYNC_RELATIVE_DIR_PATH, "su
|
|
|
441
441
|
var RULESYNC_MCP_RELATIVE_FILE_PATH = join2(RULESYNC_RELATIVE_DIR_PATH, "mcp.json");
|
|
442
442
|
var RULESYNC_IGNORE_RELATIVE_FILE_PATH = ".rulesyncignore";
|
|
443
443
|
var RULESYNC_OVERVIEW_FILE_NAME = "overview.md";
|
|
444
|
+
var RULESYNC_SKILLS_RELATIVE_DIR_PATH = join2(RULESYNC_RELATIVE_DIR_PATH, "skills");
|
|
444
445
|
|
|
445
446
|
// src/features/commands/commands-processor.ts
|
|
446
447
|
import { basename as basename11, join as join12 } from "path";
|
|
@@ -8491,7 +8492,7 @@ async function mcpCommand({ version }) {
|
|
|
8491
8492
|
}
|
|
8492
8493
|
|
|
8493
8494
|
// src/cli/index.ts
|
|
8494
|
-
var getVersion = () => "3.
|
|
8495
|
+
var getVersion = () => "3.22.0";
|
|
8495
8496
|
var main = async () => {
|
|
8496
8497
|
const program = new Command();
|
|
8497
8498
|
const version = getVersion();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -37,50 +37,52 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@kimuson/modular-mcp": "0.0.5",
|
|
40
|
+
"@modelcontextprotocol/sdk": "1.21.2",
|
|
40
41
|
"chokidar": "4.0.3",
|
|
41
42
|
"commander": "14.0.2",
|
|
42
43
|
"consola": "3.4.2",
|
|
43
44
|
"es-toolkit": "1.41.0",
|
|
44
|
-
"fast-
|
|
45
|
-
"
|
|
45
|
+
"fast-glob": "3.3.3",
|
|
46
|
+
"fast-xml-parser": "5.3.2",
|
|
47
|
+
"fastmcp": "3.23.0",
|
|
46
48
|
"gray-matter": "4.0.3",
|
|
47
|
-
"js-yaml": "4.1.
|
|
49
|
+
"js-yaml": "4.1.1",
|
|
48
50
|
"jsonc-parser": "3.3.1",
|
|
49
51
|
"micromatch": "4.0.8",
|
|
50
|
-
"smol-toml": "1.
|
|
52
|
+
"smol-toml": "1.5.2",
|
|
51
53
|
"zod": "4.1.12"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
54
|
-
"@anthropic-ai/claude-agent-sdk": "0.1.
|
|
55
|
-
"@biomejs/biome": "2.3.
|
|
56
|
+
"@anthropic-ai/claude-agent-sdk": "0.1.37",
|
|
57
|
+
"@biomejs/biome": "2.3.5",
|
|
56
58
|
"@eslint/js": "9.39.1",
|
|
57
59
|
"@secretlint/secretlint-rule-preset-recommend": "11.2.5",
|
|
58
|
-
"@tsconfig/node24": "24.0.
|
|
60
|
+
"@tsconfig/node24": "24.0.2",
|
|
59
61
|
"@types/js-yaml": "4.0.9",
|
|
60
62
|
"@types/micromatch": "4.0.10",
|
|
61
|
-
"@types/node": "24.10.
|
|
62
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
63
|
-
"@vitest/coverage-v8": "4.0.
|
|
64
|
-
"cspell": "9.3.
|
|
63
|
+
"@types/node": "24.10.1",
|
|
64
|
+
"@typescript/native-preview": "7.0.0-dev.20251114.1",
|
|
65
|
+
"@vitest/coverage-v8": "4.0.9",
|
|
66
|
+
"cspell": "9.3.1",
|
|
65
67
|
"eslint": "9.39.1",
|
|
66
68
|
"eslint-plugin-import": "2.32.0",
|
|
67
69
|
"eslint-plugin-no-type-assertion": "1.3.0",
|
|
68
|
-
"eslint-plugin-oxlint": "1.
|
|
70
|
+
"eslint-plugin-oxlint": "1.28.0",
|
|
69
71
|
"eslint-plugin-strict-dependencies": "1.3.27",
|
|
70
72
|
"eslint-plugin-zod-import": "0.3.0",
|
|
71
|
-
"knip": "5.
|
|
73
|
+
"knip": "5.69.1",
|
|
72
74
|
"lint-staged": "16.2.6",
|
|
73
75
|
"o3-search-mcp": "0.0.9",
|
|
74
|
-
"oxlint": "1.
|
|
76
|
+
"oxlint": "1.28.0",
|
|
75
77
|
"p-queue": "9.0.0",
|
|
76
78
|
"secretlint": "11.2.5",
|
|
77
79
|
"simple-git-hooks": "2.13.1",
|
|
78
80
|
"sort-package-json": "3.4.0",
|
|
79
|
-
"tsup": "8.5.
|
|
81
|
+
"tsup": "8.5.1",
|
|
80
82
|
"tsx": "4.20.6",
|
|
81
83
|
"typescript": "5.9.3",
|
|
82
|
-
"typescript-eslint": "8.46.
|
|
83
|
-
"vitest": "4.0.
|
|
84
|
+
"typescript-eslint": "8.46.4",
|
|
85
|
+
"vitest": "4.0.9"
|
|
84
86
|
},
|
|
85
87
|
"engines": {
|
|
86
88
|
"node": ">=22.0.0"
|