@shiplane/github 0.5.0 โ 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 +18 -10
- package/package.json +3 -3
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,16 +21,13 @@ flowchart LR
|
|
|
21
21
|
RC --> GH
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
[How shiplane plugins work](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/plugins.md).
|
|
26
|
-
|
|
27
|
-
## Install
|
|
24
|
+
## โก Install
|
|
28
25
|
|
|
29
26
|
```sh
|
|
30
27
|
pnpm add -D shiplane @shiplane/github
|
|
31
28
|
```
|
|
32
29
|
|
|
33
|
-
## Configure
|
|
30
|
+
## โ๏ธ Configure
|
|
34
31
|
|
|
35
32
|
From [`examples/shiplane.config.ts`](./examples/shiplane.config.ts):
|
|
36
33
|
|
|
@@ -57,7 +54,7 @@ export default defineRelease({
|
|
|
57
54
|
});
|
|
58
55
|
```
|
|
59
56
|
|
|
60
|
-
## Options
|
|
57
|
+
## ๐ Options
|
|
61
58
|
|
|
62
59
|
It fills flow ports, so unit files take no key from it. The factories take:
|
|
63
60
|
|
|
@@ -72,7 +69,7 @@ It fills flow ports, so unit files take no key from it. The factories take:
|
|
|
72
69
|
Source: `src/github-code-host.adapter.ts`, `src/github-actions-ci-pipeline.adapter.ts`,
|
|
73
70
|
`ReleaseCommentsOptions` in `src/release-comments.feature.ts`.
|
|
74
71
|
|
|
75
|
-
## Example
|
|
72
|
+
## ๐งช Example
|
|
76
73
|
|
|
77
74
|
`pnpm shiplane plan` in [`examples/`](./examples/shiplane.config.ts) shows the ship through GitHub
|
|
78
75
|
Actions dispatching `deploy.yml`:
|
|
@@ -92,7 +89,7 @@ Actions dispatching `deploy.yml`:
|
|
|
92
89
|
On the runner, the workflow runs `shiplane ship` with the same unit files. Each comment carries a
|
|
93
90
|
marker, so a version tells a PR once per environment, however many times it ships.
|
|
94
91
|
|
|
95
|
-
## Tools and sign-ins
|
|
92
|
+
## ๐ Tools and sign-ins
|
|
96
93
|
|
|
97
94
|
| Tool | Checked with | Fixed with | In CI |
|
|
98
95
|
| ---- | ---------------- | --------------- | ---------- |
|
|
@@ -100,6 +97,17 @@ marker, so a version tells a PR once per environment, however many times it ship
|
|
|
100
97
|
|
|
101
98
|
Source: `requirements` in both adapters. `pnpm shiplane doctor` runs the check and offers the fix.
|
|
102
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
|
+
|
|
103
111
|
## ๐ Downloads
|
|
104
112
|
|
|
105
113
|
<a href="https://npm-stat.com/charts.html?package=@shiplane/github">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shiplane/github",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "GitHub plugin for shiplane: release PRs, GitHub Releases, deployment records and the ship workflow on Actions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shiplane",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"prettier": "^3.10.1",
|
|
38
38
|
"typescript": "6.0.3",
|
|
39
39
|
"vitest": "^5.1.0",
|
|
40
|
-
"shiplane": "0.5.
|
|
40
|
+
"shiplane": "0.5.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"shiplane": "0.5.
|
|
43
|
+
"shiplane": "0.5.1"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsdown",
|