patchy-cli 0.0.5-pr.158.f84aa0e → 0.0.6
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 +20 -13
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<a href="https://
|
|
9
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/richardgill/patchy">
|
|
3
|
+
<img width="180" src="./assets/logo.png" alt="Patchy logo">
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
<br/>
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/patchy-cli"><img src="https://img.shields.io/npm/v/patchy-cli.svg?label=version" alt="npm package"></a>
|
|
9
|
+
<a href="https://github.com/richardgill/patchy/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/patchy-cli.svg" alt="license"></a>
|
|
10
|
+
<a href="https://github.com/richardgill/patchy/actions/workflows/ci.yml"><img src="https://github.com/richardgill/patchy/actions/workflows/ci.yml/badge.svg?branch=main" alt="build status"></a>
|
|
11
|
+
</p>
|
|
12
|
+
<br/>
|
|
13
|
+
|
|
14
|
+
# Patchy 🩹
|
|
15
|
+
|
|
16
|
+
> A CLI for generating and applying patches to git repositories.
|
|
10
17
|
|
|
11
18
|
## Patches vs forks
|
|
12
19
|
|
|
@@ -28,11 +35,11 @@ Starting a patch-based fork of https://github.com/octocat/spoon-knife.
|
|
|
28
35
|
|
|
29
36
|
Create a folder for the fork: `mkdir spoon-knife-fork && cd spoon-knife-fork`
|
|
30
37
|
|
|
31
|
-
- [Install Patchy](#
|
|
38
|
+
- [Install Patchy](#installation)
|
|
32
39
|
- Run `patchy init`
|
|
33
40
|
- press enter to select all the default options
|
|
34
41
|
|
|
35
|
-
`patchy init` creates your config: `./patchy.json` ([full reference](#patchyjson))
|
|
42
|
+
`patchy init` creates your config: `./patchy.json` ([full reference](#patchyjson-reference))
|
|
36
43
|
```json5
|
|
37
44
|
{
|
|
38
45
|
"repo_url": "https://github.com/octocat/spoon-knife",
|
|
@@ -165,11 +172,11 @@ patchy init
|
|
|
165
172
|
```
|
|
166
173
|
Precedence: CLI flags > Environment variables > `patchy.json`
|
|
167
174
|
|
|
168
|
-
`patchy.json`
|
|
175
|
+
`patchy.json` uses jsonc, so comments are allowed.
|
|
169
176
|
|
|
170
177
|
## Patch file layout
|
|
171
178
|
|
|
172
|
-
The `patches/` directory (customizable via [`patches_dir`](#patchyjson)) uses the same folder structure as `repo_dir`:
|
|
179
|
+
The `patches/` directory (customizable via [`patches_dir`](#patchyjson-reference)) uses the same folder structure as `repo_dir`:
|
|
173
180
|
|
|
174
181
|
```
|
|
175
182
|
./
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "patchy-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "A CLI tool for managing Git patch workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"url": "https://github.com/richardgill/patchy"
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
|
-
"patchy-cli-linux-x64": "0.0.
|
|
66
|
-
"patchy-cli-linux-arm64": "0.0.
|
|
67
|
-
"patchy-cli-darwin-x64": "0.0.
|
|
68
|
-
"patchy-cli-darwin-arm64": "0.0.
|
|
69
|
-
"patchy-cli-windows-x64": "0.0.
|
|
65
|
+
"patchy-cli-linux-x64": "0.0.6",
|
|
66
|
+
"patchy-cli-linux-arm64": "0.0.6",
|
|
67
|
+
"patchy-cli-darwin-x64": "0.0.6",
|
|
68
|
+
"patchy-cli-darwin-arm64": "0.0.6",
|
|
69
|
+
"patchy-cli-windows-x64": "0.0.6"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|