rulesync 1.2.3 → 1.2.5
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/README.md +3 -1
- package/dist/index.cjs +4 -3
- package/dist/index.js +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,10 +16,12 @@ A Node.js CLI tool that automatically generates configuration files for various
|
|
|
16
16
|
npm install -g rulesync
|
|
17
17
|
# or
|
|
18
18
|
pnpm add -g rulesync
|
|
19
|
-
# or
|
|
19
|
+
# or
|
|
20
20
|
yarn global add rulesync
|
|
21
21
|
# or
|
|
22
22
|
bun add -g rulesync
|
|
23
|
+
# or
|
|
24
|
+
brew install rulesync
|
|
23
25
|
|
|
24
26
|
# And then
|
|
25
27
|
rulesync --version
|
package/dist/index.cjs
CHANGED
|
@@ -4307,7 +4307,8 @@ var CopilotRule = class _CopilotRule extends ToolRule {
|
|
|
4307
4307
|
}
|
|
4308
4308
|
super({
|
|
4309
4309
|
...rest,
|
|
4310
|
-
|
|
4310
|
+
// If the rule is a root rule, the file content does not contain frontmatter.
|
|
4311
|
+
fileContent: rest.root ? body : stringifyFrontmatter(body, frontmatter)
|
|
4311
4312
|
});
|
|
4312
4313
|
this.frontmatter = frontmatter;
|
|
4313
4314
|
this.body = body;
|
|
@@ -5895,7 +5896,7 @@ For example, if the user instructs \`Call planner subagent to plan the refactori
|
|
|
5895
5896
|
overview,
|
|
5896
5897
|
...this.simulateCommands && CommandsProcessor.getToolTargetsSimulated().includes(this.toolTarget) ? [commandsSection] : [],
|
|
5897
5898
|
...this.simulateSubagents && SubagentsProcessor.getToolTargetsSimulated().includes(this.toolTarget) ? [subagentsSection] : []
|
|
5898
|
-
].join("\n\n");
|
|
5899
|
+
].join("\n\n") + "\n\n";
|
|
5899
5900
|
return result;
|
|
5900
5901
|
}
|
|
5901
5902
|
};
|
|
@@ -6329,7 +6330,7 @@ globs: ["**/*"]
|
|
|
6329
6330
|
}
|
|
6330
6331
|
|
|
6331
6332
|
// src/cli/index.ts
|
|
6332
|
-
var getVersion = () => "1.2.
|
|
6333
|
+
var getVersion = () => "1.2.5";
|
|
6333
6334
|
var main = async () => {
|
|
6334
6335
|
const program = new import_commander.Command();
|
|
6335
6336
|
const version = getVersion();
|
package/dist/index.js
CHANGED
|
@@ -4284,7 +4284,8 @@ var CopilotRule = class _CopilotRule extends ToolRule {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
super({
|
|
4286
4286
|
...rest,
|
|
4287
|
-
|
|
4287
|
+
// If the rule is a root rule, the file content does not contain frontmatter.
|
|
4288
|
+
fileContent: rest.root ? body : stringifyFrontmatter(body, frontmatter)
|
|
4288
4289
|
});
|
|
4289
4290
|
this.frontmatter = frontmatter;
|
|
4290
4291
|
this.body = body;
|
|
@@ -5872,7 +5873,7 @@ For example, if the user instructs \`Call planner subagent to plan the refactori
|
|
|
5872
5873
|
overview,
|
|
5873
5874
|
...this.simulateCommands && CommandsProcessor.getToolTargetsSimulated().includes(this.toolTarget) ? [commandsSection] : [],
|
|
5874
5875
|
...this.simulateSubagents && SubagentsProcessor.getToolTargetsSimulated().includes(this.toolTarget) ? [subagentsSection] : []
|
|
5875
|
-
].join("\n\n");
|
|
5876
|
+
].join("\n\n") + "\n\n";
|
|
5876
5877
|
return result;
|
|
5877
5878
|
}
|
|
5878
5879
|
};
|
|
@@ -6306,7 +6307,7 @@ globs: ["**/*"]
|
|
|
6306
6307
|
}
|
|
6307
6308
|
|
|
6308
6309
|
// src/cli/index.ts
|
|
6309
|
-
var getVersion = () => "1.2.
|
|
6310
|
+
var getVersion = () => "1.2.5";
|
|
6310
6311
|
var main = async () => {
|
|
6311
6312
|
const program = new Command();
|
|
6312
6313
|
const version = getVersion();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/js-yaml": "4.0.9",
|
|
58
58
|
"@types/micromatch": "4.0.9",
|
|
59
59
|
"@types/node": "24.5.2",
|
|
60
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
60
|
+
"@typescript/native-preview": "7.0.0-dev.20250921.1",
|
|
61
61
|
"@vitest/coverage-v8": "3.2.4",
|
|
62
62
|
"cspell": "9.2.1",
|
|
63
63
|
"eslint": "9.36.0",
|