rulesync 0.52.0 → 0.53.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 +5 -5
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2974,7 +2974,7 @@ async function parseConfigurationFiles(baseDir = process.cwd(), config) {
|
|
|
2974
2974
|
rules.push({
|
|
2975
2975
|
frontmatter,
|
|
2976
2976
|
content,
|
|
2977
|
-
filename:
|
|
2977
|
+
filename: "instructions",
|
|
2978
2978
|
filepath: mainFilePath
|
|
2979
2979
|
});
|
|
2980
2980
|
}
|
|
@@ -3014,7 +3014,7 @@ async function parseConfigurationFiles(baseDir = process.cwd(), config) {
|
|
|
3014
3014
|
rules.push({
|
|
3015
3015
|
frontmatter,
|
|
3016
3016
|
content,
|
|
3017
|
-
filename
|
|
3017
|
+
filename,
|
|
3018
3018
|
filepath: filePath
|
|
3019
3019
|
});
|
|
3020
3020
|
}
|
|
@@ -3112,7 +3112,7 @@ function parseMainFile(content, filepath, config) {
|
|
|
3112
3112
|
return {
|
|
3113
3113
|
frontmatter,
|
|
3114
3114
|
content: mainContent,
|
|
3115
|
-
filename:
|
|
3115
|
+
filename: "main",
|
|
3116
3116
|
filepath
|
|
3117
3117
|
};
|
|
3118
3118
|
}
|
|
@@ -3136,7 +3136,7 @@ async function parseMemoryFiles(memoryDir, config) {
|
|
|
3136
3136
|
rules.push({
|
|
3137
3137
|
frontmatter,
|
|
3138
3138
|
content: content.trim(),
|
|
3139
|
-
filename
|
|
3139
|
+
filename,
|
|
3140
3140
|
filepath: filePath
|
|
3141
3141
|
});
|
|
3142
3142
|
}
|
|
@@ -3953,7 +3953,7 @@ async function watchCommand() {
|
|
|
3953
3953
|
|
|
3954
3954
|
// src/cli/index.ts
|
|
3955
3955
|
var program = new import_commander.Command();
|
|
3956
|
-
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.
|
|
3956
|
+
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.53.0");
|
|
3957
3957
|
program.command("init").description("Initialize rulesync in current directory").action(initCommand);
|
|
3958
3958
|
program.command("add <filename>").description("Add a new rule file").action(addCommand);
|
|
3959
3959
|
program.command("gitignore").description("Add generated files to .gitignore").action(gitignoreCommand);
|
package/dist/index.js
CHANGED
|
@@ -2451,7 +2451,7 @@ async function parseConfigurationFiles(baseDir = process.cwd(), config) {
|
|
|
2451
2451
|
rules.push({
|
|
2452
2452
|
frontmatter,
|
|
2453
2453
|
content,
|
|
2454
|
-
filename:
|
|
2454
|
+
filename: "instructions",
|
|
2455
2455
|
filepath: mainFilePath
|
|
2456
2456
|
});
|
|
2457
2457
|
}
|
|
@@ -2491,7 +2491,7 @@ async function parseConfigurationFiles(baseDir = process.cwd(), config) {
|
|
|
2491
2491
|
rules.push({
|
|
2492
2492
|
frontmatter,
|
|
2493
2493
|
content,
|
|
2494
|
-
filename
|
|
2494
|
+
filename,
|
|
2495
2495
|
filepath: filePath
|
|
2496
2496
|
});
|
|
2497
2497
|
}
|
|
@@ -2589,7 +2589,7 @@ function parseMainFile(content, filepath, config) {
|
|
|
2589
2589
|
return {
|
|
2590
2590
|
frontmatter,
|
|
2591
2591
|
content: mainContent,
|
|
2592
|
-
filename:
|
|
2592
|
+
filename: "main",
|
|
2593
2593
|
filepath
|
|
2594
2594
|
};
|
|
2595
2595
|
}
|
|
@@ -2613,7 +2613,7 @@ async function parseMemoryFiles(memoryDir, config) {
|
|
|
2613
2613
|
rules.push({
|
|
2614
2614
|
frontmatter,
|
|
2615
2615
|
content: content.trim(),
|
|
2616
|
-
filename
|
|
2616
|
+
filename,
|
|
2617
2617
|
filepath: filePath
|
|
2618
2618
|
});
|
|
2619
2619
|
}
|
|
@@ -3430,7 +3430,7 @@ async function watchCommand() {
|
|
|
3430
3430
|
|
|
3431
3431
|
// src/cli/index.ts
|
|
3432
3432
|
var program = new Command();
|
|
3433
|
-
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.
|
|
3433
|
+
program.name("rulesync").description("Unified AI rules management CLI tool").version("0.53.0");
|
|
3434
3434
|
program.command("init").description("Initialize rulesync in current directory").action(initCommand);
|
|
3435
3435
|
program.command("add <filename>").description("Add a new rule file").action(addCommand);
|
|
3436
3436
|
program.command("gitignore").description("Add generated files to .gitignore").action(gitignoreCommand);
|