@shiplane/fly 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.
Files changed (2) hide show
  1. package/README.md +19 -7
  2. package/package.json +15 -9
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # ๐Ÿ”Œ @shiplane/fly
2
2
 
3
- Ships a backend to Fly.io: fills [shiplane](../shiplane/README.md)'s **server hosting** port with
4
- `flyctl deploy`. Any app with a Dockerfile works.
3
+ Ships a backend to Fly.io: fills
4
+ [shiplane](https://github.com/arnaud-zg/packages/blob/main/packages/shiplane/README.md)'s **server
5
+ hosting** port with `flyctl deploy`. Any app with a Dockerfile works.
5
6
 
6
7
  ```mermaid
7
8
  flowchart LR
@@ -11,13 +12,13 @@ flowchart LR
11
12
  CMD --> HOST["Fly.io app per environment"]
12
13
  ```
13
14
 
14
- ## Install
15
+ ## โšก Install
15
16
 
16
17
  ```sh
17
18
  pnpm add -D shiplane @shiplane/fly
18
19
  ```
19
20
 
20
- ## Configure
21
+ ## โš™๏ธ Configure
21
22
 
22
23
  Give the adapter to `backendService`. From
23
24
  [`examples/shiplane.config.ts`](./examples/shiplane.config.ts):
@@ -40,7 +41,7 @@ export default defineRelease({
40
41
  });
41
42
  ```
42
43
 
43
- ## Unit file keys
44
+ ## ๐Ÿ“‹ Unit file keys
44
45
 
45
46
  In the app's `shiplane.unit.yml`, next to `module: backend-service`. A key marked per environment
46
47
  also takes a `preview:` / `production:` map.
@@ -55,7 +56,7 @@ also takes a `preview:` / `production:` map.
55
56
 
56
57
  Source: `FlyOptions` in `src/fly-server-hosting.adapter.ts`. `shiplane docs fly` prints the same.
57
58
 
58
- ## Example
59
+ ## ๐Ÿงช Example
59
60
 
60
61
  From [`examples/apps/api/shiplane.unit.yml`](./examples/apps/api/shiplane.unit.yml):
61
62
 
@@ -90,7 +91,7 @@ The deploy waits until Fly rolled it out, then records it. `init` offers this ad
90
91
  with a `fly.toml` (or `fly-preview.toml` and `fly-production.toml`), and as a possibility for a
91
92
  folder with only a Dockerfile.
92
93
 
93
- ## Tools and sign-ins
94
+ ## ๐Ÿ”‘ Tools and sign-ins
94
95
 
95
96
  | Tool | Checked with | Fixed with | In CI |
96
97
  | -------- | -------------------- | ------------------- | --------------- |
@@ -99,6 +100,17 @@ folder with only a Dockerfile.
99
100
  Source: `requirements` in `src/fly-server-hosting.adapter.ts`. `pnpm shiplane doctor` runs each
100
101
  check and offers the fix.
101
102
 
103
+ ## ๐Ÿ“š Docs
104
+
105
+ - ๐Ÿ”Œ **[Plugins](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/plugins.md)**: how
106
+ shiplane plugins work, and how to write one
107
+ - ๐Ÿšข **[shiplane](https://github.com/arnaud-zg/packages/blob/main/packages/shiplane/README.md)**:
108
+ the release tool this plugin fills a port of
109
+ - ๐Ÿ› ๏ธ **[How-to](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/how-to.md)**: add an
110
+ app, promote, ship from CI
111
+ - ๐Ÿ“– **[Reference](https://github.com/arnaud-zg/packages/blob/main/docs/shiplane/reference.md)**:
112
+ commands, flags, the config and unit files
113
+
102
114
  ## ๐Ÿ“ˆ Downloads
103
115
 
104
116
  <a href="https://npm-stat.com/charts.html?package=@shiplane/fly">
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@shiplane/fly",
3
- "version": "0.4.2",
4
- "description": "Server hosting for shiplane: any Dockerfile on Fly.io.",
3
+ "version": "0.5.1",
4
+ "description": "Fly.io plugin for shiplane: deploy any Dockerfile app per environment with flyctl.",
5
+ "keywords": [
6
+ "shiplane",
7
+ "fly-io",
8
+ "docker",
9
+ "deploy"
10
+ ],
5
11
  "homepage": "https://github.com/arnaud-zg/packages/tree/main/packages/shiplane-fly#readme",
6
12
  "bugs": {
7
13
  "url": "https://github.com/arnaud-zg/packages/issues"
@@ -26,16 +32,16 @@
26
32
  "dist"
27
33
  ],
28
34
  "devDependencies": {
29
- "@arnaud-zg/configs": "0.3.0",
30
- "@types/node": "^22.0.0",
31
- "eslint": "^9.39.4",
32
- "prettier": "^3.8.3",
35
+ "@arnaud-zg/configs": "0.4.0",
36
+ "@types/node": "^22.20.5",
37
+ "eslint": "^9.39.5",
38
+ "prettier": "^3.10.1",
33
39
  "typescript": "6.0.3",
34
- "vitest": "^4.1.11",
35
- "shiplane": "0.4.2"
40
+ "vitest": "^5.1.0",
41
+ "shiplane": "0.5.1"
36
42
  },
37
43
  "peerDependencies": {
38
- "shiplane": "0.4.2"
44
+ "shiplane": "0.5.1"
39
45
  },
40
46
  "shiplane": {
41
47
  "adapters": [