patchy-cli 0.0.20 → 0.0.21

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 +11 -2
  2. package/package.json +7 -8
package/README.md CHANGED
@@ -19,7 +19,7 @@ A CLI for generating and applying patches to git repositories.
19
19
 
20
20
  A traditional fork means maintaining a separate repository or long-lived branch. Over time, your history diverges from upstream, which can make updates painful.
21
21
 
22
- With patches, you store changes as `.diff` files alongside the upstream repo. You can inspect them, edit them, and apply them to a fresh clone of the repo.
22
+ With patches, you store your changes as `.diff` files. You can inspect them, edit them, and apply them to a fresh clone of the repo.
23
23
 
24
24
  ## What is Patchy?
25
25
 
@@ -27,7 +27,16 @@ Patchy helps you **generate** and **apply** `.diff` patches for a git repo you'v
27
27
 
28
28
  It's opinionated and has [conventions](#patch-file-layout) about how the `.diff` files are stored.
29
29
 
30
- ## Example
30
+ ## How it works
31
+
32
+ 1. `patchy init` - sets up config and clones the upstream repo
33
+ 2. Make your changes directly in the cloned repo
34
+ 3. `patchy generate` - saves your changes as `.diff` files in `./patches/`
35
+ 4. `patchy apply` - applies patches back to the repo
36
+
37
+ Patchy also has commands to: reset your cloned repo, create more clones, switch which SHA or Tag to clone from etc.
38
+
39
+ ## Detailed walkthrough
31
40
 
32
41
  Starting a patch-based fork of https://github.com/octocat/spoon-knife.
33
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchy-cli",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "A CLI tool for managing Git patch workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -64,14 +64,13 @@
64
64
  "url": "https://github.com/richardgill/patchy"
65
65
  },
66
66
  "optionalDependencies": {
67
- "patchy-cli-linux-x64": "0.0.20",
68
- "patchy-cli-linux-arm64": "0.0.20",
69
- "patchy-cli-darwin-x64": "0.0.20",
70
- "patchy-cli-darwin-arm64": "0.0.20",
71
- "patchy-cli-windows-x64": "0.0.20"
67
+ "patchy-cli-linux-x64": "0.0.21",
68
+ "patchy-cli-linux-arm64": "0.0.21",
69
+ "patchy-cli-darwin-x64": "0.0.21",
70
+ "patchy-cli-darwin-arm64": "0.0.21",
71
+ "patchy-cli-windows-x64": "0.0.21"
72
72
  },
73
73
  "publishConfig": {
74
74
  "access": "public"
75
- },
76
- "packageManager": "bun@1.3.4"
75
+ }
77
76
  }