patchy-cli 0.0.10 → 0.0.11

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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -139,7 +139,7 @@ Or via npm:
139
139
 
140
140
  ```sh
141
141
  npm install -g patchy-cli
142
- patchy-cli
142
+ patchy
143
143
  ```
144
144
 
145
145
  Or use directly without installing:
@@ -189,7 +189,7 @@ Precedence: CLI flags > Environment variables > `patchy.json`
189
189
 
190
190
  ## Patch file layout
191
191
 
192
- The `patches/` directory (customizable via [`patches_dir`](#patchyjson-reference)) uses the same folder structure as `target_repo`:
192
+ Patches are stored in the `patches/` directory (customizable via [`patches_dir`](#patchyjson-reference)):
193
193
 
194
194
  ```
195
195
  ./
@@ -203,8 +203,11 @@ The `patches/` directory (customizable via [`patches_dir`](#patchyjson-reference
203
203
  │ └── path/to/newFile.txt (added)
204
204
  └── patchy.json
205
205
  ```
206
+
206
207
  Patches are grouped into **patch sets** for organizing related changes. Patch sets have numeric prefixes (e.g., `001-auth`, `002-ui`) and are applied in order.
207
208
 
209
+ Within each patch set files follow the same folder structure as in the `source_repo`.
210
+
208
211
  **Two types of patch files:**
209
212
  - **`.diff` files** — For modified existing files (generated via `git diff HEAD`)
210
213
  - **Plain files** — For newly added files (copied verbatim for easier inspection and editing)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchy-cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "A CLI tool for managing Git patch workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -64,11 +64,11 @@
64
64
  "url": "https://github.com/richardgill/patchy"
65
65
  },
66
66
  "optionalDependencies": {
67
- "patchy-cli-linux-x64": "0.0.10",
68
- "patchy-cli-linux-arm64": "0.0.10",
69
- "patchy-cli-darwin-x64": "0.0.10",
70
- "patchy-cli-darwin-arm64": "0.0.10",
71
- "patchy-cli-windows-x64": "0.0.10"
67
+ "patchy-cli-linux-x64": "0.0.11",
68
+ "patchy-cli-linux-arm64": "0.0.11",
69
+ "patchy-cli-darwin-x64": "0.0.11",
70
+ "patchy-cli-darwin-arm64": "0.0.11",
71
+ "patchy-cli-windows-x64": "0.0.11"
72
72
  },
73
73
  "publishConfig": {
74
74
  "access": "public"