@catladder/cli 1.121.0 → 1.121.1
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/CONTRIBUTING.md +17 -12
- package/README.md +13 -12
- package/dist/bundles/catenv/index.js +1 -1
- package/dist/bundles/cli/index.js +1 -1
- package/package.json +51 -3
package/CONTRIBUTING.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
#### Atomic commits
|
|
4
4
|
|
|
5
|
-
If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means:
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
5
|
+
If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means that a commit should:
|
|
6
|
+
|
|
7
|
+
- Contain exactly one self-contained functional change
|
|
8
|
+
- Not depend on changes in one of your later commits
|
|
9
|
+
- Not create an inconsistent state (such as test errors, linting errors, partial fix, feature with documentation etc…)
|
|
9
10
|
|
|
10
11
|
A complex feature can be broken down into multiple commits as long as each one maintains a consistent state and consists of a self-contained change.
|
|
11
12
|
|
|
@@ -27,7 +28,8 @@ The **footer** can contain a [closing reference to an issue](https://help.github
|
|
|
27
28
|
|
|
28
29
|
#### Revert
|
|
29
30
|
|
|
30
|
-
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
|
|
31
|
+
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
|
|
32
|
+
In the body, it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
|
|
31
33
|
|
|
32
34
|
#### Type
|
|
33
35
|
|
|
@@ -42,25 +44,28 @@ The type must be one of the following:
|
|
|
42
44
|
| **fix** | A bug fix |
|
|
43
45
|
| **perf** | A code change that improves performance |
|
|
44
46
|
| **refactor** | A code change that neither fixes a bug nor adds a feature |
|
|
45
|
-
| **style** | Changes that do not affect the meaning of the code (white-space, formatting, missing
|
|
47
|
+
| **style** | Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc) |
|
|
46
48
|
| **test** | Adding missing tests or correcting existing tests |
|
|
47
49
|
|
|
48
50
|
#### Subject
|
|
49
51
|
|
|
50
|
-
The subject contains succinct description of the change:
|
|
52
|
+
The subject contains a succinct description of the change:
|
|
51
53
|
|
|
52
54
|
- use the imperative, present tense: "change" not "changed" nor "changes"
|
|
53
|
-
- don't capitalize first letter
|
|
55
|
+
- don't capitalize the first letter
|
|
54
56
|
- no dot (.) at the end
|
|
55
57
|
|
|
56
58
|
#### Body
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
|
|
60
|
+
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
|
|
61
|
+
The body should include the motivation for the change and contrast this with previous behaviour.
|
|
59
62
|
|
|
60
63
|
#### Footer
|
|
64
|
+
|
|
61
65
|
The footer should contain any information about **Breaking Changes** and is also the place to reference GitLab issues that this commit **Closes**.
|
|
62
66
|
|
|
63
|
-
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines.
|
|
67
|
+
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines.
|
|
68
|
+
The rest of the commit message is then used for this.
|
|
64
69
|
|
|
65
70
|
#### Examples
|
|
66
71
|
|
|
@@ -80,4 +85,4 @@ perf(pencil): remove graphiteWidth option`
|
|
|
80
85
|
BREAKING CHANGE: The graphiteWidth option has been removed.
|
|
81
86
|
|
|
82
87
|
The default graphite width of 10mm is always used for performance reasons.
|
|
83
|
-
```
|
|
88
|
+
```
|
package/README.md
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
# catladder 🐱 🔧
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Panter cli tool for Kubernetes.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```sh
|
|
8
|
+
# yarn users
|
|
9
|
+
yarn global add @catladder/cli
|
|
10
|
+
# npm users
|
|
11
|
+
npm install -g @catladder/cli
|
|
12
|
+
```
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`npm install -g @catladder/cli`
|
|
12
|
-
|
|
13
|
-
_Note: if you have `@panter/catladder` installed upgrade it to >=4.0.0 before installing `@catladder/cli`_
|
|
14
|
+
> **Note**: If you have [@catladder/pipeline](https://www.npmjs.com/package/@catladder/pipeline) installed, upgrade it to >=4.0.0 before installing [@catladder/cli](https://www.npmjs.com/package/@catladder/cli).
|
|
14
15
|
|
|
15
16
|
## Getting started
|
|
16
17
|
|
|
17
|
-
You'll need
|
|
18
|
+
You'll need:
|
|
18
19
|
|
|
19
20
|
- Google Cloud SDK ([see installation instructions](https://cloud.google.com/sdk/docs/install))
|
|
20
21
|
- Kubectl ([see installation instructions](https://kubernetes.io/docs/tasks/tools/))
|
|
21
22
|
- Cloud SQL Auth proxy ([see installation instructions](https://cloud.google.com/sql/docs/postgres/sql-proxy#install))
|
|
22
23
|
|
|
23
|
-
Afterwards you need to connect to your cluster, e.g. `gcloud container clusters get-credentials clustername --zone google-zone --project google-project-id`
|
|
24
|
-
In most cases you'll find the details on the Google Cloud [cluster overview ](https://console.cloud.google.com/kubernetes/list?project=skynet-164509)
|
|
24
|
+
Afterwards, you need to connect to your cluster, e.g. `gcloud container clusters get-credentials clustername --zone google-zone --project google-project-id`
|
|
25
|
+
In most cases, you'll find the details on the Google Cloud [cluster overview ](https://console.cloud.google.com/kubernetes/list?project=skynet-164509)
|
|
25
26
|
|
|
26
27
|
It just works™
|
|
27
28
|
|
|
28
29
|
## Preferences
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
Catladder stores some preferences in `~/.catladder/preferences.yml` in case you want to change settings.
|
|
31
32
|
|
|
32
33
|
## Contribution
|
|
33
34
|
|
|
34
|
-
Check the
|
|
35
|
+
Check the documentation [here](https://git.panter.ch/catladder/catladder/-/tree/main/cli/CONTRIBUTING.md).
|