rulesync 7.9.0 → 7.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/cli/index.js CHANGED
@@ -60,7 +60,7 @@ import {
60
60
  removeTempDirectory,
61
61
  stringifyFrontmatter,
62
62
  writeFileContent
63
- } from "../chunk-HA3HGPC7.js";
63
+ } from "../chunk-T5MWTRJM.js";
64
64
 
65
65
  // src/cli/index.ts
66
66
  import { Command } from "commander";
@@ -1200,6 +1200,7 @@ var RULESYNC_IGNORE_ENTRIES = [
1200
1200
  "**/.github/prompts/",
1201
1201
  "**/.github/agents/",
1202
1202
  "**/.github/skills/",
1203
+ "**/.github/hooks/",
1203
1204
  "**/.vscode/mcp.json",
1204
1205
  // Junie
1205
1206
  "**/.junie/guidelines.md",
@@ -3799,7 +3800,7 @@ async function updateCommand(currentVersion, options) {
3799
3800
  }
3800
3801
 
3801
3802
  // src/cli/index.ts
3802
- var getVersion = () => "7.9.0";
3803
+ var getVersion = () => "7.11.0";
3803
3804
  var main = async () => {
3804
3805
  const program = new Command();
3805
3806
  const version = getVersion();
@@ -3904,7 +3905,10 @@ var main = async () => {
3904
3905
  }
3905
3906
  ).option("--delete", "Delete all existing files in output directories before generating").option(
3906
3907
  "-b, --base-dir <paths>",
3907
- "Base directories to generate files (comma-separated for multiple paths)"
3908
+ "Base directories to generate files (comma-separated for multiple paths)",
3909
+ (value) => {
3910
+ return value.split(",").map((p) => p.trim());
3911
+ }
3908
3912
  ).option("-V, --verbose", "Verbose output").option("-s, --silent", "Suppress all output").option("-c, --config <path>", "Path to configuration file").option("-g, --global", "Generate for global(user scope) configuration files").option(
3909
3913
  "--simulate-commands",
3910
3914
  "Generate simulated commands. This feature is only available for copilot, cursor and codexcli."
@@ -3922,7 +3926,7 @@ var main = async () => {
3922
3926
  verbose: options.verbose,
3923
3927
  silent: options.silent,
3924
3928
  delete: options.delete,
3925
- baseDirs: options.baseDirs,
3929
+ baseDirs: options.baseDir,
3926
3930
  configPath: options.config,
3927
3931
  global: options.global,
3928
3932
  simulateCommands: options.simulateCommands,