flightdeck 0.2.18 → 0.2.20

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-RNOG4E3Q.js';
2
+ import { FlightDeckLogger, FlightDeck } from './chunk-JHE6N7DO.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.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-RNOG4E3Q.js';
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';
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.18",
3
+ "version": "0.2.20",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Jeremy Banka",
@@ -30,24 +30,24 @@
30
30
  "@t3-oss/env-core": "0.12.0",
31
31
  "cron": "4.1.0",
32
32
  "zod": "3.24.2",
33
- "atom.io": "0.32.1",
34
- "comline": "0.1.9",
33
+ "atom.io": "0.32.3",
34
+ "comline": "0.1.10",
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.5",
40
+ "@types/node": "22.13.10",
41
41
  "@types/tmp": "0.2.6",
42
- "bun-types": "1.2.4",
42
+ "bun-types": "1.2.5",
43
43
  "concurrently": "9.1.2",
44
- "eslint": "9.21.0",
44
+ "eslint": "9.22.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.7",
50
- "varmint": "0.4.2"
49
+ "vitest": "3.0.8",
50
+ "varmint": "0.4.4"
51
51
  },
52
52
  "scripts": {
53
53
  "gen": "bun ./__scripts__/gen.bun.ts",
@@ -44,6 +44,7 @@ export type FlightDeckOptions<S extends string = string> = {
44
44
  }
45
45
 
46
46
  export class FlightDeck<S extends string = string> {
47
+ public readonly options: FlightDeckOptions<S>
47
48
  protected safety = 0
48
49
 
49
50
  protected storage: FilesystemStorage<{
@@ -77,7 +78,8 @@ export class FlightDeck<S extends string = string> {
77
78
 
78
79
  protected restartTimes: number[] = []
79
80
 
80
- public constructor(public readonly options: FlightDeckOptions<S>) {
81
+ public constructor(options: FlightDeckOptions<S>) {
82
+ this.options = options
81
83
  const { FLIGHTDECK_SECRET } = env
82
84
  const { flightdeckRootDir = resolve(homedir(), `.flightdeck`) } = options
83
85
  const port = options.port ?? 8080