@shiplane/fly 0.4.0 → 0.4.2

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 CHANGED
@@ -98,3 +98,12 @@ folder with only a Dockerfile.
98
98
 
99
99
  Source: `requirements` in `src/fly-server-hosting.adapter.ts`. `pnpm shiplane doctor` runs each
100
100
  check and offers the fix.
101
+
102
+ ## 📈 Downloads
103
+
104
+ <a href="https://npm-stat.com/charts.html?package=@shiplane/fly">
105
+ <picture>
106
+ <source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/chart/npm/@shiplane/fly.svg?days=90&logo=false&mode=dark" />
107
+ <img alt="@shiplane/fly npm downloads per week, last 90 days" src="https://shieldcn.dev/chart/npm/@shiplane/fly.svg?days=90&logo=false&mode=light" />
108
+ </picture>
109
+ </a>
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
+ import fs from "node:fs";
1
2
  import path from "node:path";
2
- import { defineServerHosting, perEnv, z } from "shiplane/plugin";
3
+ import { defineServerHosting, isEnvVarName, perEnv, z } from "shiplane/plugin";
3
4
  //#region src/fly-server-hosting.adapter.ts
4
5
  const FlyOptions = z.object({
5
6
  app: perEnv(z.string()).describe("The Fly app, per environment"),
@@ -8,9 +9,50 @@ const FlyOptions = z.object({
8
9
  url: perEnv(z.string()).optional().describe("Where it answers, for other units to read"),
9
10
  buildSecrets: z.array(z.string()).default([]).describe("Variables its image build reads as secrets, passed by name when set")
10
11
  });
12
+ const FlyTarget = z.object({
13
+ app: z.string(),
14
+ config: z.string().default("fly.toml")
15
+ });
16
+ const FlySecrets = z.array(z.union([z.object({ name: z.string() }), z.object({ Name: z.string() })]));
17
+ /** Keys of a fly.toml's `[env]` block: variables Fly sets next to its secrets. */
18
+ const tomlEnvKeys = (toml) => {
19
+ const lines = toml.split("\n");
20
+ const start = lines.findIndex((line) => line.trim() === "[env]");
21
+ if (start === -1) return [];
22
+ const block = lines.slice(start + 1);
23
+ const end = block.findIndex((line) => /^\s*\[/.test(line));
24
+ return (end === -1 ? block : block.slice(0, end)).flatMap((line) => {
25
+ const key = /^\s*([A-Z_][A-Z0-9_]*)\s*=/.exec(line)?.[1];
26
+ return key ? [key] : [];
27
+ });
28
+ };
29
+ const readToml = (file) => fs.existsSync(file) ? fs.readFileSync(file, "utf8") : "";
30
+ /** Secrets of the Fly app plus its toml's `[env]` keys; values are never read. */
31
+ const flyEnv = ({ root, shell }) => ({
32
+ listNames: async ({ unit, options }) => {
33
+ const { app, config } = FlyTarget.parse(options);
34
+ const args = [
35
+ "secrets",
36
+ "list",
37
+ "-a",
38
+ app,
39
+ "--json"
40
+ ];
41
+ const result = await shell.capture("flyctl", args);
42
+ if (result.status !== 0) {
43
+ const reason = result.stderr.split("\n").find((line) => line.trim()) ?? `exit ${result.status}`;
44
+ throw new Error(`flyctl secrets list -a ${app}: ${reason.trim()}`);
45
+ }
46
+ const secrets = FlySecrets.parse(JSON.parse(result.stdout)).map((secret) => "name" in secret ? secret.name : secret.Name);
47
+ const toml = tomlEnvKeys(readToml(path.join(root, unit.dir, config)));
48
+ return new Set([...secrets, ...toml].filter(isEnvVarName));
49
+ },
50
+ setCommand: ({ options, names }) => `flyctl secrets set --stage -a ${FlyTarget.parse(options).app} ${names.map((name) => `${name}=...`).join(" ")}`
51
+ });
11
52
  const flyServerHosting = () => defineServerHosting({
12
53
  name: "fly",
13
54
  settings: FlyOptions,
55
+ env: flyEnv,
14
56
  typicalMinutes: 13,
15
57
  describe: ({ options }) => `${options.app} (Fly)`,
16
58
  detect: (folder) => {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/fly-server-hosting.adapter.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { DeliveryAdapter, ServerHostingPort } from \"shiplane/plugin\";\nimport { defineServerHosting, perEnv, z } from \"shiplane/plugin\";\n\nconst FlyOptions = z.object({\n app: perEnv(z.string()).describe(\"The Fly app, per environment\"),\n config: perEnv(z.string())\n .default(\"fly.toml\")\n .describe(\"Its fly.toml, relative to the unit's folder\"),\n dockerfile: z\n .string()\n .default(\"Dockerfile\")\n .describe(\"Relative to the unit's folder; the image builds from the repository root\"),\n url: perEnv(z.string()).optional().describe(\"Where it answers, for other units to read\"),\n buildSecrets: z\n .array(z.string())\n .default([])\n .describe(\"Variables its image build reads as secrets, passed by name when set\"),\n});\n\n/** Any Dockerfile on Fly.io: `flyctl deploy`, from this machine or the ship workflow on CI. */\nexport type FlyServerHostingAdapter = DeliveryAdapter<ServerHostingPort>;\n\nexport const flyServerHosting = (): FlyServerHostingAdapter =>\n defineServerHosting({\n name: \"fly\",\n settings: FlyOptions,\n // The ship workflow typechecks before Fly builds the image remotely.\n typicalMinutes: 13,\n describe: ({ options }) => `${options.app} (Fly)`,\n detect: (folder) => {\n const tomls = folder.files.filter((file) => /^fly(-[\\w]+)?\\.toml$/.test(file)).sort();\n if (tomls.length === 0) {\n return folder.has(\"Dockerfile\")\n ? { certainty: \"possible\", reason: \"Dockerfile\", options: {} }\n : null;\n }\n const appOf = (file: string) => /^app\\s*=\\s*\"([^\"]+)\"/m.exec(folder.read(file) ?? \"\")?.[1];\n const perEnvironment = [\"fly-preview.toml\", \"fly-production.toml\"].every((file) =>\n tomls.includes(file),\n );\n const options = perEnvironment\n ? {\n app: { preview: appOf(\"fly-preview.toml\"), production: appOf(\"fly-production.toml\") },\n config: { preview: \"fly-preview.toml\", production: \"fly-production.toml\" },\n }\n : {\n app: appOf(tomls[0] ?? \"fly.toml\"),\n ...(tomls[0] === \"fly.toml\" ? {} : { config: tomls[0] }),\n };\n return { certainty: \"found\", reason: tomls.join(\", \"), options };\n },\n questions: (folder, found, repository) =>\n found.app === undefined\n ? [{ key: \"app\", message: \"Fly app?\", initial: `${repository}-${folder.name}` }]\n : [],\n requirements: () => [\n {\n label: \"flyctl\",\n check: { command: \"flyctl\", args: [\"auth\", \"whoami\"] },\n fix: { command: \"flyctl\", args: [\"auth\", \"login\"] },\n },\n ],\n jobs: ({ unit, tag, options }) => [\n {\n label: `deploy ${tag} to ${options.app} (Fly)`,\n local: [\n {\n command: \"flyctl\",\n args: [\n \"deploy\",\n \"--remote-only\",\n // No --detach: the deploy is recorded as done, so it waits until the machines run it.\n \"--config\",\n path.posix.join(unit.dir, options.config),\n \"--dockerfile\",\n path.posix.join(unit.dir, options.dockerfile),\n ],\n secrets: options.buildSecrets.map((name) => ({ flag: \"--build-secret\", name })),\n },\n ],\n ci: { ref: tag },\n record: true,\n },\n ],\n });\n"],"mappings":";;;AAIA,MAAM,aAAa,EAAE,OAAO;CAC1B,KAAK,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAChE,QAAQ,OAAO,EAAE,QAAQ,CAAC,CACvB,QAAQ,WAAW,CACnB,SAAS,8CAA8C;CAC1D,YAAY,EACT,QAAQ,CACR,QAAQ,aAAa,CACrB,SAAS,2EAA2E;CACvF,KAAK,OAAO,EAAE,QAAQ,CAAC,CAAC,UAAU,CAAC,SAAS,4CAA4C;CACxF,cAAc,EACX,MAAM,EAAE,QAAQ,CAAC,CACjB,QAAQ,EAAE,CAAC,CACX,SAAS,sEAAsE;CACnF,CAAC;AAKF,MAAa,yBACX,oBAAoB;CAClB,MAAM;CACN,UAAU;CAEV,gBAAgB;CAChB,WAAW,EAAE,cAAc,GAAG,QAAQ,IAAI;CAC1C,SAAS,WAAW;EAClB,MAAM,QAAQ,OAAO,MAAM,QAAQ,SAAS,uBAAuB,KAAK,KAAK,CAAC,CAAC,MAAM;AACrF,MAAI,MAAM,WAAW,EACnB,QAAO,OAAO,IAAI,aAAa,GAC3B;GAAE,WAAW;GAAY,QAAQ;GAAc,SAAS,EAAE;GAAE,GAC5D;EAEN,MAAM,SAAS,SAAiB,wBAAwB,KAAK,OAAO,KAAK,KAAK,IAAI,GAAG,GAAG;EAIxF,MAAM,UAHiB,CAAC,oBAAoB,sBAAsB,CAAC,OAAO,SACxE,MAAM,SAAS,KAAK,CAEQ,GAC1B;GACE,KAAK;IAAE,SAAS,MAAM,mBAAmB;IAAE,YAAY,MAAM,sBAAsB;IAAE;GACrF,QAAQ;IAAE,SAAS;IAAoB,YAAY;IAAuB;GAC3E,GACD;GACE,KAAK,MAAM,MAAM,MAAM,WAAW;GAClC,GAAI,MAAM,OAAO,aAAa,EAAE,GAAG,EAAE,QAAQ,MAAM,IAAI;GACxD;AACL,SAAO;GAAE,WAAW;GAAS,QAAQ,MAAM,KAAK,KAAK;GAAE;GAAS;;CAElE,YAAY,QAAQ,OAAO,eACzB,MAAM,QAAQ,KAAA,IACV,CAAC;EAAE,KAAK;EAAO,SAAS;EAAY,SAAS,GAAG,WAAW,GAAG,OAAO;EAAQ,CAAC,GAC9E,EAAE;CACR,oBAAoB,CAClB;EACE,OAAO;EACP,OAAO;GAAE,SAAS;GAAU,MAAM,CAAC,QAAQ,SAAS;GAAE;EACtD,KAAK;GAAE,SAAS;GAAU,MAAM,CAAC,QAAQ,QAAQ;GAAE;EACpD,CACF;CACD,OAAO,EAAE,MAAM,KAAK,cAAc,CAChC;EACE,OAAO,UAAU,IAAI,MAAM,QAAQ,IAAI;EACvC,OAAO,CACL;GACE,SAAS;GACT,MAAM;IACJ;IACA;IAEA;IACA,KAAK,MAAM,KAAK,KAAK,KAAK,QAAQ,OAAO;IACzC;IACA,KAAK,MAAM,KAAK,KAAK,KAAK,QAAQ,WAAW;IAC9C;GACD,SAAS,QAAQ,aAAa,KAAK,UAAU;IAAE,MAAM;IAAkB;IAAM,EAAE;GAChF,CACF;EACD,IAAI,EAAE,KAAK,KAAK;EAChB,QAAQ;EACT,CACF;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/fly-server-hosting.adapter.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport type {\n AdapterContext,\n DeliveryAdapter,\n PlatformEnvPort,\n ServerHostingPort,\n} from \"shiplane/plugin\";\nimport { defineServerHosting, isEnvVarName, perEnv, z } from \"shiplane/plugin\";\n\nconst FlyOptions = z.object({\n app: perEnv(z.string()).describe(\"The Fly app, per environment\"),\n config: perEnv(z.string())\n .default(\"fly.toml\")\n .describe(\"Its fly.toml, relative to the unit's folder\"),\n dockerfile: z\n .string()\n .default(\"Dockerfile\")\n .describe(\"Relative to the unit's folder; the image builds from the repository root\"),\n url: perEnv(z.string()).optional().describe(\"Where it answers, for other units to read\"),\n buildSecrets: z\n .array(z.string())\n .default([])\n .describe(\"Variables its image build reads as secrets, passed by name when set\"),\n});\n\n// The settings of one environment, as the env check receives them.\nconst FlyTarget = z.object({ app: z.string(), config: z.string().default(\"fly.toml\") });\n\n// Older flyctl printed `Name`, current prints `name`.\nconst FlySecrets = z.array(\n z.union([z.object({ name: z.string() }), z.object({ Name: z.string() })]),\n);\n\n/** Keys of a fly.toml's `[env]` block: variables Fly sets next to its secrets. */\nconst tomlEnvKeys = (toml: string): string[] => {\n const lines = toml.split(\"\\n\");\n const start = lines.findIndex((line) => line.trim() === \"[env]\");\n if (start === -1) return [];\n const block = lines.slice(start + 1);\n const end = block.findIndex((line) => /^\\s*\\[/.test(line));\n return (end === -1 ? block : block.slice(0, end)).flatMap((line) => {\n const key = /^\\s*([A-Z_][A-Z0-9_]*)\\s*=/.exec(line)?.[1];\n return key ? [key] : [];\n });\n};\n\nconst readToml = (file: string) => (fs.existsSync(file) ? fs.readFileSync(file, \"utf8\") : \"\");\n\n/** Secrets of the Fly app plus its toml's `[env]` keys; values are never read. */\nconst flyEnv = ({ root, shell }: AdapterContext): PlatformEnvPort => ({\n listNames: async ({ unit, options }) => {\n const { app, config } = FlyTarget.parse(options);\n const args = [\"secrets\", \"list\", \"-a\", app, \"--json\"];\n const result = await shell.capture(\"flyctl\", args);\n if (result.status !== 0) {\n const reason =\n result.stderr.split(\"\\n\").find((line) => line.trim()) ?? `exit ${result.status}`;\n throw new Error(`flyctl secrets list -a ${app}: ${reason.trim()}`);\n }\n const secrets = FlySecrets.parse(JSON.parse(result.stdout)).map((secret) =>\n \"name\" in secret ? secret.name : secret.Name,\n );\n const toml = tomlEnvKeys(readToml(path.join(root, unit.dir, config)));\n return new Set([...secrets, ...toml].filter(isEnvVarName));\n },\n // --stage: the next deploy applies them, instead of a restart now.\n setCommand: ({ options, names }) =>\n `flyctl secrets set --stage -a ${FlyTarget.parse(options).app} ${names.map((name) => `${name}=...`).join(\" \")}`,\n});\n\n/** Any Dockerfile on Fly.io: `flyctl deploy`, from this machine or the ship workflow on CI. */\nexport type FlyServerHostingAdapter = DeliveryAdapter<ServerHostingPort>;\n\nexport const flyServerHosting = (): FlyServerHostingAdapter =>\n defineServerHosting({\n name: \"fly\",\n settings: FlyOptions,\n env: flyEnv,\n // The ship workflow typechecks before Fly builds the image remotely.\n typicalMinutes: 13,\n describe: ({ options }) => `${options.app} (Fly)`,\n detect: (folder) => {\n const tomls = folder.files.filter((file) => /^fly(-[\\w]+)?\\.toml$/.test(file)).sort();\n if (tomls.length === 0) {\n return folder.has(\"Dockerfile\")\n ? { certainty: \"possible\", reason: \"Dockerfile\", options: {} }\n : null;\n }\n const appOf = (file: string) => /^app\\s*=\\s*\"([^\"]+)\"/m.exec(folder.read(file) ?? \"\")?.[1];\n const perEnvironment = [\"fly-preview.toml\", \"fly-production.toml\"].every((file) =>\n tomls.includes(file),\n );\n const options = perEnvironment\n ? {\n app: { preview: appOf(\"fly-preview.toml\"), production: appOf(\"fly-production.toml\") },\n config: { preview: \"fly-preview.toml\", production: \"fly-production.toml\" },\n }\n : {\n app: appOf(tomls[0] ?? \"fly.toml\"),\n ...(tomls[0] === \"fly.toml\" ? {} : { config: tomls[0] }),\n };\n return { certainty: \"found\", reason: tomls.join(\", \"), options };\n },\n questions: (folder, found, repository) =>\n found.app === undefined\n ? [{ key: \"app\", message: \"Fly app?\", initial: `${repository}-${folder.name}` }]\n : [],\n requirements: () => [\n {\n label: \"flyctl\",\n check: { command: \"flyctl\", args: [\"auth\", \"whoami\"] },\n fix: { command: \"flyctl\", args: [\"auth\", \"login\"] },\n },\n ],\n jobs: ({ unit, tag, options }) => [\n {\n label: `deploy ${tag} to ${options.app} (Fly)`,\n local: [\n {\n command: \"flyctl\",\n args: [\n \"deploy\",\n \"--remote-only\",\n // No --detach: the deploy is recorded as done, so it waits until the machines run it.\n \"--config\",\n path.posix.join(unit.dir, options.config),\n \"--dockerfile\",\n path.posix.join(unit.dir, options.dockerfile),\n ],\n secrets: options.buildSecrets.map((name) => ({ flag: \"--build-secret\", name })),\n },\n ],\n ci: { ref: tag },\n record: true,\n },\n ],\n });\n"],"mappings":";;;;AAUA,MAAM,aAAa,EAAE,OAAO;CAC1B,KAAK,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAChE,QAAQ,OAAO,EAAE,QAAQ,CAAC,CACvB,QAAQ,WAAW,CACnB,SAAS,8CAA8C;CAC1D,YAAY,EACT,QAAQ,CACR,QAAQ,aAAa,CACrB,SAAS,2EAA2E;CACvF,KAAK,OAAO,EAAE,QAAQ,CAAC,CAAC,UAAU,CAAC,SAAS,4CAA4C;CACxF,cAAc,EACX,MAAM,EAAE,QAAQ,CAAC,CACjB,QAAQ,EAAE,CAAC,CACX,SAAS,sEAAsE;CACnF,CAAC;AAGF,MAAM,YAAY,EAAE,OAAO;CAAE,KAAK,EAAE,QAAQ;CAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,WAAW;CAAE,CAAC;AAGvF,MAAM,aAAa,EAAE,MACnB,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAC1E;;AAGD,MAAM,eAAe,SAA2B;CAC9C,MAAM,QAAQ,KAAK,MAAM,KAAK;CAC9B,MAAM,QAAQ,MAAM,WAAW,SAAS,KAAK,MAAM,KAAK,QAAQ;AAChE,KAAI,UAAU,GAAI,QAAO,EAAE;CAC3B,MAAM,QAAQ,MAAM,MAAM,QAAQ,EA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ACA,KAAK,MAAM,KAAK,KAAK,KAAK,QAAQ,WAAW;IAC9C;GACD,SAAS,QAAQ,aAAa,KAAK,UAAU;IAAE,MAAM;IAAkB;IAAM,EAAE;GAChF,CACF;EACD,IAAI,EAAE,KAAK,KAAK;EAChB,QAAQ;EACT,CACF;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shiplane/fly",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Server hosting for shiplane: any Dockerfile on Fly.io.",
5
5
  "homepage": "https://github.com/arnaud-zg/packages/tree/main/packages/shiplane-fly#readme",
6
6
  "bugs": {
@@ -32,10 +32,10 @@
32
32
  "prettier": "^3.8.3",
33
33
  "typescript": "6.0.3",
34
34
  "vitest": "^4.1.11",
35
- "shiplane": "0.4.0"
35
+ "shiplane": "0.4.2"
36
36
  },
37
37
  "peerDependencies": {
38
- "shiplane": "0.4.0"
38
+ "shiplane": "0.4.2"
39
39
  },
40
40
  "shiplane": {
41
41
  "adapters": [