rulesync 0.32.0 → 0.33.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -435,7 +435,7 @@ function validateFrontmatter(data, filepath) {
|
|
|
435
435
|
`Invalid "targets" field in ${filepath}: must be an array, got ${typeof obj.targets}`
|
|
436
436
|
);
|
|
437
437
|
}
|
|
438
|
-
const validTargets = ["copilot", "cursor", "cline", "
|
|
438
|
+
const validTargets = ["copilot", "cursor", "cline", "claudecode", "roo", "*"];
|
|
439
439
|
for (const target of obj.targets) {
|
|
440
440
|
if (typeof target !== "string" || !validTargets.includes(target)) {
|
|
441
441
|
throw new Error(
|
|
@@ -1401,7 +1401,7 @@ async function watchCommand() {
|
|
|
1401
1401
|
|
|
1402
1402
|
// src/cli/index.ts
|
|
1403
1403
|
var program = new import_commander.Command();
|
|
1404
|
-
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.
|
|
1404
|
+
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.33.0");
|
|
1405
1405
|
program.command("init").description("Initialize rulesync in current directory").action(initCommand);
|
|
1406
1406
|
program.command("add <filename>").description("Add a new rule file").action(addCommand);
|
|
1407
1407
|
program.command("gitignore").description("Add generated files to .gitignore").action(gitignoreCommand);
|
package/dist/index.mjs
CHANGED
|
@@ -412,7 +412,7 @@ function validateFrontmatter(data, filepath) {
|
|
|
412
412
|
`Invalid "targets" field in ${filepath}: must be an array, got ${typeof obj.targets}`
|
|
413
413
|
);
|
|
414
414
|
}
|
|
415
|
-
const validTargets = ["copilot", "cursor", "cline", "
|
|
415
|
+
const validTargets = ["copilot", "cursor", "cline", "claudecode", "roo", "*"];
|
|
416
416
|
for (const target of obj.targets) {
|
|
417
417
|
if (typeof target !== "string" || !validTargets.includes(target)) {
|
|
418
418
|
throw new Error(
|
|
@@ -1378,7 +1378,7 @@ async function watchCommand() {
|
|
|
1378
1378
|
|
|
1379
1379
|
// src/cli/index.ts
|
|
1380
1380
|
var program = new Command();
|
|
1381
|
-
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.
|
|
1381
|
+
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.33.0");
|
|
1382
1382
|
program.command("init").description("Initialize rulesync in current directory").action(initCommand);
|
|
1383
1383
|
program.command("add <filename>").description("Add a new rule file").action(addCommand);
|
|
1384
1384
|
program.command("gitignore").description("Add generated files to .gitignore").action(gitignoreCommand);
|