rulesync 0.10.0 → 0.11.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 CHANGED
@@ -80,7 +80,7 @@ function formatRuleForClaude(rule) {
80
80
  return lines;
81
81
  }
82
82
  function generateMemoryFile(rule) {
83
- return rule.content;
83
+ return rule.content.trim();
84
84
  }
85
85
 
86
86
  // src/generators/cline.ts
@@ -99,7 +99,7 @@ async function generateClineConfig(rules, config) {
99
99
  return outputs;
100
100
  }
101
101
  function generateClineMarkdown(rule) {
102
- return rule.content;
102
+ return rule.content.trim();
103
103
  }
104
104
 
105
105
  // src/generators/copilot.ts
@@ -184,9 +184,7 @@ async function generateRooConfig(rules, config) {
184
184
  return outputs;
185
185
  }
186
186
  function generateRooMarkdown(rule) {
187
- const lines = [];
188
- lines.push(rule.content);
189
- return lines.join("\n");
187
+ return rule.content.trim();
190
188
  }
191
189
 
192
190
  // src/utils/config.ts
package/dist/index.mjs CHANGED
@@ -57,7 +57,7 @@ function formatRuleForClaude(rule) {
57
57
  return lines;
58
58
  }
59
59
  function generateMemoryFile(rule) {
60
- return rule.content;
60
+ return rule.content.trim();
61
61
  }
62
62
 
63
63
  // src/generators/cline.ts
@@ -76,7 +76,7 @@ async function generateClineConfig(rules, config) {
76
76
  return outputs;
77
77
  }
78
78
  function generateClineMarkdown(rule) {
79
- return rule.content;
79
+ return rule.content.trim();
80
80
  }
81
81
 
82
82
  // src/generators/copilot.ts
@@ -161,9 +161,7 @@ async function generateRooConfig(rules, config) {
161
161
  return outputs;
162
162
  }
163
163
  function generateRooMarkdown(rule) {
164
- const lines = [];
165
- lines.push(rule.content);
166
- return lines.join("\n");
164
+ return rule.content.trim();
167
165
  }
168
166
 
169
167
  // src/utils/config.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",