@shiplane/github 0.4.2 โ 0.5.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/README.md +20 -9
- package/package.json +14 -9
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ๐ @shiplane/github
|
|
2
2
|
|
|
3
|
-
GitHub for [shiplane](
|
|
4
|
-
sign-in:
|
|
3
|
+
GitHub for [shiplane](https://github.com/arnaud-zg/packages/blob/main/packages/shiplane/README.md),
|
|
4
|
+
through the `gh` CLI. Two adapters and a feature, one sign-in:
|
|
5
5
|
|
|
6
6
|
| Factory | Fills | Does |
|
|
7
7
|
| --------------------------- | ---------------- | ------------------------------------------------------------ |
|
|
@@ -21,13 +21,13 @@ flowchart LR
|
|
|
21
21
|
RC --> GH
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
## Install
|
|
24
|
+
## โก Install
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
27
|
pnpm add -D shiplane @shiplane/github
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
## Configure
|
|
30
|
+
## โ๏ธ Configure
|
|
31
31
|
|
|
32
32
|
From [`examples/shiplane.config.ts`](./examples/shiplane.config.ts):
|
|
33
33
|
|
|
@@ -54,7 +54,7 @@ export default defineRelease({
|
|
|
54
54
|
});
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
## Options
|
|
57
|
+
## ๐ Options
|
|
58
58
|
|
|
59
59
|
It fills flow ports, so unit files take no key from it. The factories take:
|
|
60
60
|
|
|
@@ -69,10 +69,10 @@ It fills flow ports, so unit files take no key from it. The factories take:
|
|
|
69
69
|
Source: `src/github-code-host.adapter.ts`, `src/github-actions-ci-pipeline.adapter.ts`,
|
|
70
70
|
`ReleaseCommentsOptions` in `src/release-comments.feature.ts`.
|
|
71
71
|
|
|
72
|
-
## Example
|
|
72
|
+
## ๐งช Example
|
|
73
73
|
|
|
74
|
-
`pnpm shiplane plan` in [`examples/`](./examples) shows the ship through GitHub
|
|
75
|
-
`deploy.yml`:
|
|
74
|
+
`pnpm shiplane plan` in [`examples/`](./examples/shiplane.config.ts) shows the ship through GitHub
|
|
75
|
+
Actions dispatching `deploy.yml`:
|
|
76
76
|
|
|
77
77
|
```text
|
|
78
78
|
Plan ยท preview ยท nothing runs
|
|
@@ -89,7 +89,7 @@ Source: `src/github-code-host.adapter.ts`, `src/github-actions-ci-pipeline.adapt
|
|
|
89
89
|
On the runner, the workflow runs `shiplane ship` with the same unit files. Each comment carries a
|
|
90
90
|
marker, so a version tells a PR once per environment, however many times it ships.
|
|
91
91
|
|
|
92
|
-
## Tools and sign-ins
|
|
92
|
+
## ๐ Tools and sign-ins
|
|
93
93
|
|
|
94
94
|
| Tool | Checked with | Fixed with | In CI |
|
|
95
95
|
| ---- | ---------------- | --------------- | ---------- |
|
|
@@ -97,6 +97,17 @@ marker, so a version tells a PR once per environment, however many times it ship
|
|
|
97
97
|
|
|
98
98
|
Source: `requirements` in both adapters. `pnpm shiplane doctor` runs the check and offers the fix.
|
|
99
99
|
|
|
100
|
+
## ๐ Docs
|
|
101
|
+
|
|
102
|
+
- ๐ **[Plugins](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/plugins.md)**: how
|
|
103
|
+
shiplane plugins work, and how to write one
|
|
104
|
+
- ๐ข **[shiplane](https://github.com/arnaud-zg/packages/blob/main/packages/shiplane/README.md)**:
|
|
105
|
+
the release tool this plugin fills a port of
|
|
106
|
+
- ๐ ๏ธ **[How-to](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/how-to.md)**: add an
|
|
107
|
+
app, promote, ship from CI
|
|
108
|
+
- ๐ **[Reference](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/reference.md)**:
|
|
109
|
+
commands, flags, the config and unit files
|
|
110
|
+
|
|
100
111
|
## ๐ Downloads
|
|
101
112
|
|
|
102
113
|
<a href="https://npm-stat.com/charts.html?package=@shiplane/github">
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shiplane/github",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "GitHub for shiplane:
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"description": "GitHub plugin for shiplane: release PRs, GitHub Releases, deployment records and the ship workflow on Actions.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"shiplane",
|
|
7
|
+
"github",
|
|
8
|
+
"github-actions"
|
|
9
|
+
],
|
|
5
10
|
"homepage": "https://github.com/arnaud-zg/packages/tree/main/packages/shiplane-github#readme",
|
|
6
11
|
"bugs": {
|
|
7
12
|
"url": "https://github.com/arnaud-zg/packages/issues"
|
|
@@ -26,16 +31,16 @@
|
|
|
26
31
|
"dist"
|
|
27
32
|
],
|
|
28
33
|
"devDependencies": {
|
|
29
|
-
"@arnaud-zg/configs": "0.
|
|
30
|
-
"@types/node": "^22.
|
|
31
|
-
"eslint": "^9.39.
|
|
32
|
-
"prettier": "^3.
|
|
34
|
+
"@arnaud-zg/configs": "0.4.0",
|
|
35
|
+
"@types/node": "^22.20.5",
|
|
36
|
+
"eslint": "^9.39.5",
|
|
37
|
+
"prettier": "^3.10.1",
|
|
33
38
|
"typescript": "6.0.3",
|
|
34
|
-
"vitest": "^
|
|
35
|
-
"shiplane": "0.
|
|
39
|
+
"vitest": "^5.1.0",
|
|
40
|
+
"shiplane": "0.5.1"
|
|
36
41
|
},
|
|
37
42
|
"peerDependencies": {
|
|
38
|
-
"shiplane": "0.
|
|
43
|
+
"shiplane": "0.5.1"
|
|
39
44
|
},
|
|
40
45
|
"scripts": {
|
|
41
46
|
"build": "tsdown",
|