rulesync 3.5.1 → 3.5.2

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 CHANGED
@@ -926,12 +926,14 @@ var CopilotCommand = class _CopilotCommand extends ToolCommand {
926
926
  targets: ["*"],
927
927
  description: this.frontmatter.description
928
928
  };
929
+ const originalFilePath = this.relativeFilePath;
930
+ const relativeFilePath = originalFilePath.replace(/\.prompt\.md$/, ".md");
929
931
  return new RulesyncCommand({
930
932
  baseDir: ".",
931
933
  frontmatter: rulesyncFrontmatter,
932
934
  body: this.body,
933
935
  relativeDirPath: RulesyncCommand.getSettablePaths().relativeDirPath,
934
- relativeFilePath: this.relativeFilePath,
936
+ relativeFilePath,
935
937
  fileContent: this.getFileContent(),
936
938
  validate: true
937
939
  });
@@ -4971,12 +4973,14 @@ var CopilotRule = class _CopilotRule extends ToolRule {
4971
4973
  description: this.frontmatter.description,
4972
4974
  globs: this.isRoot() ? ["**/*"] : []
4973
4975
  };
4976
+ const originalFilePath = this.getRelativeFilePath();
4977
+ const relativeFilePath = originalFilePath.replace(/\.instructions\.md$/, ".md");
4974
4978
  return new RulesyncRule({
4975
4979
  baseDir: this.getBaseDir(),
4976
4980
  frontmatter: rulesyncFrontmatter,
4977
4981
  body: this.body,
4978
4982
  relativeDirPath: ".rulesync/rules",
4979
- relativeFilePath: this.getRelativeFilePath(),
4983
+ relativeFilePath,
4980
4984
  validate: true
4981
4985
  });
4982
4986
  }
@@ -7155,7 +7159,7 @@ globs: ["**/*"]
7155
7159
  }
7156
7160
 
7157
7161
  // src/cli/index.ts
7158
- var getVersion = () => "3.5.1";
7162
+ var getVersion = () => "3.5.2";
7159
7163
  var main = async () => {
7160
7164
  const program = new import_commander.Command();
7161
7165
  const version = getVersion();
package/dist/index.js CHANGED
@@ -903,12 +903,14 @@ var CopilotCommand = class _CopilotCommand extends ToolCommand {
903
903
  targets: ["*"],
904
904
  description: this.frontmatter.description
905
905
  };
906
+ const originalFilePath = this.relativeFilePath;
907
+ const relativeFilePath = originalFilePath.replace(/\.prompt\.md$/, ".md");
906
908
  return new RulesyncCommand({
907
909
  baseDir: ".",
908
910
  frontmatter: rulesyncFrontmatter,
909
911
  body: this.body,
910
912
  relativeDirPath: RulesyncCommand.getSettablePaths().relativeDirPath,
911
- relativeFilePath: this.relativeFilePath,
913
+ relativeFilePath,
912
914
  fileContent: this.getFileContent(),
913
915
  validate: true
914
916
  });
@@ -4948,12 +4950,14 @@ var CopilotRule = class _CopilotRule extends ToolRule {
4948
4950
  description: this.frontmatter.description,
4949
4951
  globs: this.isRoot() ? ["**/*"] : []
4950
4952
  };
4953
+ const originalFilePath = this.getRelativeFilePath();
4954
+ const relativeFilePath = originalFilePath.replace(/\.instructions\.md$/, ".md");
4951
4955
  return new RulesyncRule({
4952
4956
  baseDir: this.getBaseDir(),
4953
4957
  frontmatter: rulesyncFrontmatter,
4954
4958
  body: this.body,
4955
4959
  relativeDirPath: ".rulesync/rules",
4956
- relativeFilePath: this.getRelativeFilePath(),
4960
+ relativeFilePath,
4957
4961
  validate: true
4958
4962
  });
4959
4963
  }
@@ -7132,7 +7136,7 @@ globs: ["**/*"]
7132
7136
  }
7133
7137
 
7134
7138
  // src/cli/index.ts
7135
- var getVersion = () => "3.5.1";
7139
+ var getVersion = () => "3.5.2";
7136
7140
  var main = async () => {
7137
7141
  const program = new Command();
7138
7142
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",
@@ -49,7 +49,7 @@
49
49
  "zod": "4.1.12"
50
50
  },
51
51
  "devDependencies": {
52
- "@anthropic-ai/claude-agent-sdk": "0.1.14",
52
+ "@anthropic-ai/claude-agent-sdk": "0.1.15",
53
53
  "@biomejs/biome": "2.2.6",
54
54
  "@eslint/js": "9.37.0",
55
55
  "@secretlint/secretlint-rule-preset-recommend": "11.2.5",
@@ -57,14 +57,14 @@
57
57
  "@types/js-yaml": "4.0.9",
58
58
  "@types/micromatch": "4.0.9",
59
59
  "@types/node": "24.7.2",
60
- "@typescript/native-preview": "7.0.0-dev.20251013.1",
60
+ "@typescript/native-preview": "7.0.0-dev.20251014.1",
61
61
  "@vitest/coverage-v8": "3.2.4",
62
62
  "cspell": "9.2.1",
63
63
  "eslint": "9.37.0",
64
64
  "eslint-plugin-import": "2.32.0",
65
65
  "eslint-plugin-no-type-assertion": "1.3.0",
66
66
  "eslint-plugin-oxlint": "1.23.0",
67
- "eslint-plugin-strict-dependencies": "1.3.26",
67
+ "eslint-plugin-strict-dependencies": "1.3.27",
68
68
  "eslint-plugin-zod-import": "0.3.0",
69
69
  "knip": "5.65.0",
70
70
  "lint-staged": "16.2.4",