flightdeck 0.2.20 → 0.2.22

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { FlightDeckLogger, FlightDeck } from './chunk-JHE6N7DO.js';
2
+ import { FlightDeckLogger, FlightDeck } from './chunk-DA573NJD.js';
3
3
  import './chunk-PZ5AY32C.js';
4
4
  import * as path from 'node:path';
5
5
  import { cli, parseBooleanOption, parseNumberOption, optional } from 'comline';
package/dist/lib.d.ts CHANGED
@@ -865,17 +865,17 @@ declare const flightDeckLogSchema: z.ZodObject<{
865
865
  process: z.ZodNumber;
866
866
  body: z.ZodString;
867
867
  }, "strip", z.ZodTypeAny, {
868
+ process: number;
868
869
  timestamp: number;
869
870
  level: "info" | "warn" | "ERR!";
870
871
  package: string;
871
- process: number;
872
872
  body: string;
873
873
  service?: string | undefined;
874
874
  }, {
875
+ process: number;
875
876
  timestamp: number;
876
877
  level: "info" | "warn" | "ERR!";
877
878
  package: string;
878
- process: number;
879
879
  body: string;
880
880
  service?: string | undefined;
881
881
  }>;
package/dist/lib.js CHANGED
@@ -1,4 +1,4 @@
1
- export { FLIGHTDECK_ERROR, FLIGHTDECK_INFO, FLIGHTDECK_LNAV_FORMAT, FLIGHTDECK_SETUP_PHASES, FLIGHTDECK_UPDATE_PHASES, FLIGHTDECK_WARN, FlightDeck, FlightDeckLogger, flightDeckLogSchema, isVersionNumber } from './chunk-JHE6N7DO.js';
1
+ export { FLIGHTDECK_ERROR, FLIGHTDECK_INFO, FLIGHTDECK_LNAV_FORMAT, FLIGHTDECK_SETUP_PHASES, FLIGHTDECK_UPDATE_PHASES, FLIGHTDECK_WARN, FlightDeck, FlightDeckLogger, flightDeckLogSchema, isVersionNumber } from './chunk-DA573NJD.js';
2
2
  export { klaxon_lib_exports as Klaxon } from './chunk-ZID4FJKY.js';
3
3
  import './chunk-PZ5AY32C.js';
4
4
  //# sourceMappingURL=lib.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flightdeck",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Jeremy Banka",
@@ -28,26 +28,26 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@t3-oss/env-core": "0.12.0",
31
- "cron": "4.1.0",
31
+ "cron": "4.1.3",
32
32
  "zod": "3.24.2",
33
33
  "atom.io": "0.32.3",
34
- "comline": "0.1.10",
34
+ "comline": "0.2.1",
35
35
  "safedeposit": "0.1.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@biomejs/js-api": "0.7.1",
39
39
  "@biomejs/wasm-nodejs": "1.9.4",
40
- "@types/node": "22.13.10",
40
+ "@types/node": "22.13.15",
41
41
  "@types/tmp": "0.2.6",
42
- "bun-types": "1.2.5",
42
+ "bun-types": "1.2.8",
43
43
  "concurrently": "9.1.2",
44
- "eslint": "9.22.0",
44
+ "eslint": "9.23.0",
45
45
  "json-schema-to-zod": "2.6.0",
46
46
  "rimraf": "6.0.1",
47
47
  "tmp": "0.2.3",
48
48
  "tsup": "8.4.0",
49
- "vitest": "3.0.8",
50
- "varmint": "0.4.4"
49
+ "vitest": "3.1.1",
50
+ "varmint": "0.4.6"
51
51
  },
52
52
  "scripts": {
53
53
  "gen": "bun ./__scripts__/gen.bun.ts",
@@ -5,6 +5,6 @@ export const env = createEnv({
5
5
  server: { FLIGHTDECK_SECRET: z.string().optional() },
6
6
  clientPrefix: `NEVER`,
7
7
  client: {},
8
- runtimeEnv: import.meta.env,
8
+ runtimeEnv: import.meta.env as Record<string, string>,
9
9
  emptyStringAsUndefined: true,
10
10
  })
@@ -307,7 +307,7 @@ export class FlightDeck<S extends string = string> {
307
307
  const [exe, ...args] = this.options.services[serviceName].run.split(` `)
308
308
  const serviceProcess = spawn(exe, args, {
309
309
  cwd: this.options.flightdeckRootDir,
310
- env: import.meta.env,
310
+ env: import.meta.env as Record<string, string>,
311
311
  })
312
312
  const serviceLogger = this.serviceLoggers[serviceName]
313
313
  const service = (this.services[serviceName] = new ChildSocket(