patchy-cli 0.0.5-pr.158.9db7725 → 0.0.5-pr.158.c254360
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 +5 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</p>
|
|
6
6
|
<br/>
|
|
7
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" alt="npm package"></a>
|
|
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
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
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
11
|
</p>
|
|
@@ -35,11 +35,11 @@ Starting a patch-based fork of https://github.com/octocat/spoon-knife.
|
|
|
35
35
|
|
|
36
36
|
Create a folder for the fork: `mkdir spoon-knife-fork && cd spoon-knife-fork`
|
|
37
37
|
|
|
38
|
-
- [Install Patchy](#
|
|
38
|
+
- [Install Patchy](#installation)
|
|
39
39
|
- Run `patchy init`
|
|
40
40
|
- press enter to select all the default options
|
|
41
41
|
|
|
42
|
-
`patchy init` creates your config: `./patchy.json` ([full reference](#patchyjson))
|
|
42
|
+
`patchy init` creates your config: `./patchy.json` ([full reference](#patchyjson-reference))
|
|
43
43
|
```json5
|
|
44
44
|
{
|
|
45
45
|
"repo_url": "https://github.com/octocat/spoon-knife",
|
|
@@ -172,11 +172,11 @@ patchy init
|
|
|
172
172
|
```
|
|
173
173
|
Precedence: CLI flags > Environment variables > `patchy.json`
|
|
174
174
|
|
|
175
|
-
`patchy.json`
|
|
175
|
+
`patchy.json` uses jsonc, so comments are allowed.
|
|
176
176
|
|
|
177
177
|
## Patch file layout
|
|
178
178
|
|
|
179
|
-
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`:
|
|
180
180
|
|
|
181
181
|
```
|
|
182
182
|
./
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "patchy-cli",
|
|
3
|
-
"version": "0.0.5-pr.158.
|
|
3
|
+
"version": "0.0.5-pr.158.c254360",
|
|
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.5-pr.158.
|
|
66
|
-
"patchy-cli-linux-arm64": "0.0.5-pr.158.
|
|
67
|
-
"patchy-cli-darwin-x64": "0.0.5-pr.158.
|
|
68
|
-
"patchy-cli-darwin-arm64": "0.0.5-pr.158.
|
|
69
|
-
"patchy-cli-windows-x64": "0.0.5-pr.158.
|
|
65
|
+
"patchy-cli-linux-x64": "0.0.5-pr.158.c254360",
|
|
66
|
+
"patchy-cli-linux-arm64": "0.0.5-pr.158.c254360",
|
|
67
|
+
"patchy-cli-darwin-x64": "0.0.5-pr.158.c254360",
|
|
68
|
+
"patchy-cli-darwin-arm64": "0.0.5-pr.158.c254360",
|
|
69
|
+
"patchy-cli-windows-x64": "0.0.5-pr.158.c254360"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|