rulesync 3.27.0 → 3.27.1

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 CHANGED
@@ -10,6 +10,7 @@
10
10
  [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/dyoshikawa/rulesync)
11
11
  [![Mentioned in Awesome Claude Code](https://awesome.re/mentioned-badge.svg)](https://github.com/hesreallyhim/awesome-claude-code)
12
12
  [![Mentioned in Awesome Gemini CLI](https://awesome.re/mentioned-badge.svg)](https://github.com/Piebald-AI/awesome-gemini-cli)
13
+ <a href="https://flatt.tech/oss/gmo/trampoline" target="_blank"><img src="https://flatt.tech/assets/images/badges/gmo-oss.svg" height="24px"/></a>
13
14
 
14
15
  A Node.js CLI tool that automatically generates configuration files for various AI development tools from unified AI rule files. Features selective generation, comprehensive import/export capabilities, and supports major AI development tools with rules, commands, MCP, ignore files, subagents and skills.
15
16
 
package/dist/index.cjs CHANGED
@@ -4583,7 +4583,8 @@ var DirFeatureProcessor = class {
4583
4583
  const mainFile = aiDir.getMainFile();
4584
4584
  if (mainFile) {
4585
4585
  const mainFilePath = (0, import_node_path44.join)(dirPath, mainFile.name);
4586
- const contentWithNewline = addTrailingNewline(mainFile.body);
4586
+ const content = stringifyFrontmatter(mainFile.body, mainFile.frontmatter);
4587
+ const contentWithNewline = addTrailingNewline(content);
4587
4588
  await writeFileContent(mainFilePath, contentWithNewline);
4588
4589
  }
4589
4590
  const otherFiles = aiDir.getOtherFiles();
@@ -8730,7 +8731,6 @@ var gitignoreCommand = async () => {
8730
8731
  // AGENTS.md
8731
8732
  "**/AGENTS.md",
8732
8733
  "**/.agents/",
8733
- "**/.agents/skills/",
8734
8734
  // Amazon Q
8735
8735
  "**/.amazonq/",
8736
8736
  // Augment
@@ -8756,9 +8756,6 @@ var gitignoreCommand = async () => {
8756
8756
  // Cursor
8757
8757
  "**/.cursor/",
8758
8758
  "**/.cursorignore",
8759
- "**/.cursor/mcp.json",
8760
- "**/.cursor/subagents/",
8761
- "**/.cursor/skills/",
8762
8759
  // Gemini
8763
8760
  "**/GEMINI.md",
8764
8761
  "**/.gemini/memories/",
@@ -8794,7 +8791,8 @@ var gitignoreCommand = async () => {
8794
8791
  "**/.warp/",
8795
8792
  "**/WARP.md",
8796
8793
  // Others
8797
- "**/modular-mcp.json"
8794
+ "**/modular-mcp.json",
8795
+ "!.rulesync/.aiignore"
8798
8796
  ];
8799
8797
  let gitignoreContent = "";
8800
8798
  if (await fileExists(gitignorePath)) {
@@ -10004,7 +10002,7 @@ async function mcpCommand({ version }) {
10004
10002
  }
10005
10003
 
10006
10004
  // src/cli/index.ts
10007
- var getVersion = () => "3.27.0";
10005
+ var getVersion = () => "3.27.1";
10008
10006
  var main = async () => {
10009
10007
  const program = new import_commander.Command();
10010
10008
  const version = getVersion();
package/dist/index.js CHANGED
@@ -4560,7 +4560,8 @@ var DirFeatureProcessor = class {
4560
4560
  const mainFile = aiDir.getMainFile();
4561
4561
  if (mainFile) {
4562
4562
  const mainFilePath = join42(dirPath, mainFile.name);
4563
- const contentWithNewline = addTrailingNewline(mainFile.body);
4563
+ const content = stringifyFrontmatter(mainFile.body, mainFile.frontmatter);
4564
+ const contentWithNewline = addTrailingNewline(content);
4564
4565
  await writeFileContent(mainFilePath, contentWithNewline);
4565
4566
  }
4566
4567
  const otherFiles = aiDir.getOtherFiles();
@@ -8707,7 +8708,6 @@ var gitignoreCommand = async () => {
8707
8708
  // AGENTS.md
8708
8709
  "**/AGENTS.md",
8709
8710
  "**/.agents/",
8710
- "**/.agents/skills/",
8711
8711
  // Amazon Q
8712
8712
  "**/.amazonq/",
8713
8713
  // Augment
@@ -8733,9 +8733,6 @@ var gitignoreCommand = async () => {
8733
8733
  // Cursor
8734
8734
  "**/.cursor/",
8735
8735
  "**/.cursorignore",
8736
- "**/.cursor/mcp.json",
8737
- "**/.cursor/subagents/",
8738
- "**/.cursor/skills/",
8739
8736
  // Gemini
8740
8737
  "**/GEMINI.md",
8741
8738
  "**/.gemini/memories/",
@@ -8771,7 +8768,8 @@ var gitignoreCommand = async () => {
8771
8768
  "**/.warp/",
8772
8769
  "**/WARP.md",
8773
8770
  // Others
8774
- "**/modular-mcp.json"
8771
+ "**/modular-mcp.json",
8772
+ "!.rulesync/.aiignore"
8775
8773
  ];
8776
8774
  let gitignoreContent = "";
8777
8775
  if (await fileExists(gitignorePath)) {
@@ -9981,7 +9979,7 @@ async function mcpCommand({ version }) {
9981
9979
  }
9982
9980
 
9983
9981
  // src/cli/index.ts
9984
- var getVersion = () => "3.27.0";
9982
+ var getVersion = () => "3.27.1";
9985
9983
  var main = async () => {
9986
9984
  const program = new Command();
9987
9985
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.27.0",
3
+ "version": "3.27.1",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",