rulesync 3.15.0 → 3.17.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/README.md CHANGED
@@ -15,15 +15,11 @@ A Node.js CLI tool that automatically generates configuration files for various
15
15
 
16
16
  ## Installation
17
17
 
18
+ ### Package Managers
19
+
18
20
  ```bash
19
21
  npm install -g rulesync
20
22
  # or
21
- pnpm add -g rulesync
22
- # or
23
- yarn global add rulesync
24
- # or
25
- bun add -g rulesync
26
- # or
27
23
  brew install rulesync
28
24
 
29
25
  # And then
@@ -31,6 +27,61 @@ rulesync --version
31
27
  rulesync --help
32
28
  ```
33
29
 
30
+ ### Single Binary (Experimental)
31
+
32
+ Download pre-built binaries from the [latest release](https://github.com/dyoshikawa/rulesync/releases/latest).
33
+
34
+ <details>
35
+ <summary>Commands to install a binary for your platform</summary>
36
+
37
+ #### Linux (x64)
38
+
39
+ ```bash
40
+ curl -L https://github.com/dyoshikawa/rulesync/releases/latest/download/rulesync-linux-x64 -o rulesync
41
+ chmod +x rulesync
42
+ # Place the binary wherever set PATH
43
+ sudo mv rulesync /usr/local/bin/
44
+ ```
45
+
46
+ #### Linux (ARM64)
47
+
48
+ ```bash
49
+ curl -L https://github.com/dyoshikawa/rulesync/releases/latest/download/rulesync-linux-arm64 -o rulesync
50
+ chmod +x rulesync
51
+ # Place the binary wherever set PATH
52
+ sudo mv rulesync /usr/local/bin/
53
+ ```
54
+
55
+ #### macOS (Intel)
56
+
57
+ ```bash
58
+ curl -L https://github.com/dyoshikawa/rulesync/releases/latest/download/rulesync-darwin-x64 -o rulesync
59
+ chmod +x rulesync
60
+ # Place the binary wherever set PATH
61
+ sudo mv rulesync /usr/local/bin/
62
+ ```
63
+
64
+ #### macOS (Apple Silicon)
65
+
66
+ ```bash
67
+ curl -L https://github.com/dyoshikawa/rulesync/releases/latest/download/rulesync-darwin-arm64 -o rulesync
68
+ chmod +x rulesync
69
+ # Place the binary wherever set PATH
70
+ sudo mv rulesync /usr/local/bin/
71
+ ```
72
+
73
+ #### Verify checksums
74
+
75
+ ```bash
76
+ curl -L https://github.com/dyoshikawa/rulesync/releases/latest/download/SHA256SUMS -o SHA256SUMS
77
+ sha256sum -c SHA256SUMS
78
+ ```
79
+
80
+ #### Windows support?
81
+
82
+ Though Windows is not supported yet, we are positively considering it.
83
+ </details>
84
+
34
85
  ## Getting Started
35
86
 
36
87
  ```bash
@@ -101,7 +152,7 @@ Apply consistent rules across all AI tools, improving code quality and developme
101
152
  ### 🌏 **Global Mode**
102
153
  You can use global mode via Rulesync by enabling `--global` option.
103
154
 
104
- ### 🎮 **Simulated Commands and Subagents**
155
+ ### 🎮 **Simulate Commands and Subagents**
105
156
  Simulated commands and subagents allow you to generate simulated commands and subagents for copilot, cursor and codexcli. This is useful for shortening your prompts.
106
157
 
107
158
  ## Quick Commands
@@ -501,6 +552,22 @@ pnpm dev generate -t claudecode -f "*"
501
552
  pnpm dev import -t claudecode -f "*"
502
553
  ```
503
554
 
555
+ ## FAQ
556
+
557
+ ### Q. The generated `.mcp.json` doesn't work properly in Claude Code.
558
+
559
+ You can try adding the following to `.claude/settings.json` or `.claude/settings.local.json`:
560
+
561
+ ```diff
562
+ {
563
+ + "enableAllProjectMcpServers": true
564
+ }
565
+ ```
566
+
567
+ According to [the documentation](https://code.claude.com/docs/en/settings), this means:
568
+
569
+ > Automatically approve all MCP servers defined in project .mcp.json files
570
+
504
571
  ## License
505
572
 
506
573
  MIT License
package/dist/index.cjs CHANGED
@@ -7707,7 +7707,7 @@ Attention, again, you are just the planner, so though you can read any files and
7707
7707
  }
7708
7708
 
7709
7709
  // src/cli/index.ts
7710
- var getVersion = () => "3.15.0";
7710
+ var getVersion = () => "3.17.0";
7711
7711
  var main = async () => {
7712
7712
  const program = new import_commander.Command();
7713
7713
  const version = getVersion();
package/dist/index.js CHANGED
@@ -7684,7 +7684,7 @@ Attention, again, you are just the planner, so though you can read any files and
7684
7684
  }
7685
7685
 
7686
7686
  // src/cli/index.ts
7687
- var getVersion = () => "3.15.0";
7687
+ var getVersion = () => "3.17.0";
7688
7688
  var main = async () => {
7689
7689
  const program = new Command();
7690
7690
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.15.0",
3
+ "version": "3.17.0",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",
@@ -82,7 +82,7 @@
82
82
  "vitest": "4.0.8"
83
83
  },
84
84
  "engines": {
85
- "node": ">=20.0.0"
85
+ "node": ">=22.0.0"
86
86
  },
87
87
  "publishConfig": {
88
88
  "access": "public"
@@ -109,6 +109,7 @@
109
109
  "task": "tsx scripts/run-tasks.ts",
110
110
  "test": "vitest run --silent=true",
111
111
  "test:coverage": "vitest run --coverage --silent=true",
112
+ "test:e2e": "vitest run --config vitest.e2e.config.ts --silent=false",
112
113
  "test:watch": "vitest --silent=true",
113
114
  "typecheck": "tsgo --noEmit"
114
115
  }