flightdeck 0.2.18 → 0.2.19
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/dist/flightdeck.x.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { FlightDeckLogger, FlightDeck } from './chunk-
|
|
2
|
+
import { FlightDeckLogger, FlightDeck } from './chunk-D4EVARJP.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-
|
|
1
|
+
export { FLIGHTDECK_ERROR, FLIGHTDECK_INFO, FLIGHTDECK_LNAV_FORMAT, FLIGHTDECK_SETUP_PHASES, FLIGHTDECK_UPDATE_PHASES, FLIGHTDECK_WARN, FlightDeck, FlightDeckLogger, flightDeckLogSchema, isVersionNumber } from './chunk-D4EVARJP.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.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jeremy Banka",
|
|
@@ -30,7 +30,7 @@
|
|
|
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.
|
|
33
|
+
"atom.io": "0.32.2",
|
|
34
34
|
"comline": "0.1.9",
|
|
35
35
|
"safedeposit": "0.1.0"
|
|
36
36
|
},
|
package/src/flightdeck.lib.ts
CHANGED
|
@@ -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(
|
|
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
|