flightdeck 0.2.1 → 0.2.3
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.bin.js +39 -39
- package/dist/lib.js +37 -37
- package/package.json +6 -6
package/dist/flightdeck.bin.js
CHANGED
|
@@ -19,7 +19,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
20
20
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
21
21
|
|
|
22
|
-
//
|
|
22
|
+
// ../../node_modules/.pnpm/luxon@3.5.0/node_modules/luxon/build/node/luxon.js
|
|
23
23
|
var require_luxon = __commonJS((exports) => {
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
|
|
@@ -964,26 +964,26 @@ var require_luxon = __commonJS((exports) => {
|
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
var numberingSystems = {
|
|
967
|
-
arab: "[
|
|
968
|
-
arabext: "[
|
|
969
|
-
bali: "[
|
|
970
|
-
beng: "[
|
|
971
|
-
deva: "[
|
|
972
|
-
fullwide: "[
|
|
973
|
-
gujr: "[
|
|
974
|
-
hanidec: "[
|
|
975
|
-
khmr: "[
|
|
976
|
-
knda: "[
|
|
977
|
-
laoo: "[
|
|
978
|
-
limb: "[
|
|
979
|
-
mlym: "[
|
|
980
|
-
mong: "[
|
|
981
|
-
mymr: "[
|
|
982
|
-
orya: "[
|
|
983
|
-
tamldec: "[
|
|
984
|
-
telu: "[
|
|
985
|
-
thai: "[
|
|
986
|
-
tibt: "[
|
|
967
|
+
arab: "[٠-٩]",
|
|
968
|
+
arabext: "[۰-۹]",
|
|
969
|
+
bali: "[᭐-᭙]",
|
|
970
|
+
beng: "[০-৯]",
|
|
971
|
+
deva: "[०-९]",
|
|
972
|
+
fullwide: "[0-9]",
|
|
973
|
+
gujr: "[૦-૯]",
|
|
974
|
+
hanidec: "[〇|一|二|三|四|五|六|七|八|九]",
|
|
975
|
+
khmr: "[០-៩]",
|
|
976
|
+
knda: "[೦-೯]",
|
|
977
|
+
laoo: "[໐-໙]",
|
|
978
|
+
limb: "[᥆-᥏]",
|
|
979
|
+
mlym: "[൦-൯]",
|
|
980
|
+
mong: "[᠐-᠙]",
|
|
981
|
+
mymr: "[၀-၉]",
|
|
982
|
+
orya: "[୦-୯]",
|
|
983
|
+
tamldec: "[௦-௯]",
|
|
984
|
+
telu: "[౦-౯]",
|
|
985
|
+
thai: "[๐-๙]",
|
|
986
|
+
tibt: "[༠-༩]",
|
|
987
987
|
latn: "\\d"
|
|
988
988
|
};
|
|
989
989
|
var numberingSystemsUTF16 = {
|
|
@@ -1968,7 +1968,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
1968
1968
|
var ianaRegex = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
1969
1969
|
function combineRegexes(...regexes) {
|
|
1970
1970
|
const full = regexes.reduce((f, r) => f + r.source, "");
|
|
1971
|
-
return RegExp(`^${full}
|
|
1971
|
+
return RegExp(`^${full}$`);
|
|
1972
1972
|
}
|
|
1973
1973
|
function combineExtractors(...extractors) {
|
|
1974
1974
|
return (m) => extractors.reduce(([mergedVals, mergedZone, cursor], ex) => {
|
|
@@ -2043,7 +2043,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2043
2043
|
const zone = match2[cursor] ? IANAZone.create(match2[cursor]) : null;
|
|
2044
2044
|
return [{}, zone, cursor + 1];
|
|
2045
2045
|
}
|
|
2046
|
-
var isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}
|
|
2046
|
+
var isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}$`);
|
|
2047
2047
|
var isoDuration = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
2048
2048
|
function extractISODuration(match2) {
|
|
2049
2049
|
const [s2, yearStr, monthStr, weekStr, dayStr, hourStr, minuteStr, secondStr, millisecondsStr] = match2;
|
|
@@ -2963,7 +2963,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2963
2963
|
toString() {
|
|
2964
2964
|
if (!this.isValid)
|
|
2965
2965
|
return INVALID$1;
|
|
2966
|
-
return `[${this.s.toISO()}
|
|
2966
|
+
return `[${this.s.toISO()} – ${this.e.toISO()})`;
|
|
2967
2967
|
}
|
|
2968
2968
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
2969
2969
|
if (this.isValid) {
|
|
@@ -2991,7 +2991,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2991
2991
|
return `${this.s.toISOTime(opts)}/${this.e.toISOTime(opts)}`;
|
|
2992
2992
|
}
|
|
2993
2993
|
toFormat(dateFormat, {
|
|
2994
|
-
separator = "
|
|
2994
|
+
separator = " – "
|
|
2995
2995
|
} = {}) {
|
|
2996
2996
|
if (!this.isValid)
|
|
2997
2997
|
return INVALID$1;
|
|
@@ -3386,7 +3386,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
3386
3386
|
}
|
|
3387
3387
|
function buildRegex(units) {
|
|
3388
3388
|
const re = units.map((u) => u.regex).reduce((f, r) => `${f}(${r.source})`, "");
|
|
3389
|
-
return [`^${re}
|
|
3389
|
+
return [`^${re}$`, units];
|
|
3390
3390
|
}
|
|
3391
3391
|
function match(input, regex, handlers) {
|
|
3392
3392
|
const matches = input.match(regex);
|
|
@@ -4783,7 +4783,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
4783
4783
|
exports.Zone = Zone;
|
|
4784
4784
|
});
|
|
4785
4785
|
|
|
4786
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4786
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/constants.js
|
|
4787
4787
|
var require_constants = __commonJS((exports) => {
|
|
4788
4788
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4789
4789
|
exports.RE_RANGE = exports.RE_WILDCARDS = exports.PRESETS = exports.TIME_UNITS_LEN = exports.TIME_UNITS = exports.TIME_UNITS_MAP = exports.ALIASES = exports.PARSE_DEFAULTS = exports.MONTH_CONSTRAINTS = exports.CONSTRAINTS = undefined;
|
|
@@ -4863,7 +4863,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
4863
4863
|
exports.RE_RANGE = /^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g;
|
|
4864
4864
|
});
|
|
4865
4865
|
|
|
4866
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4866
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/errors.js
|
|
4867
4867
|
var require_errors = __commonJS((exports) => {
|
|
4868
4868
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4869
4869
|
exports.ExclusiveParametersError = exports.CronError = undefined;
|
|
@@ -4880,7 +4880,7 @@ var require_errors = __commonJS((exports) => {
|
|
|
4880
4880
|
exports.ExclusiveParametersError = ExclusiveParametersError;
|
|
4881
4881
|
});
|
|
4882
4882
|
|
|
4883
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4883
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/utils.js
|
|
4884
4884
|
var require_utils = __commonJS((exports) => {
|
|
4885
4885
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4886
4886
|
exports.getRecordKeys = undefined;
|
|
@@ -4890,7 +4890,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
4890
4890
|
exports.getRecordKeys = getRecordKeys;
|
|
4891
4891
|
});
|
|
4892
4892
|
|
|
4893
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4893
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/time.js
|
|
4894
4894
|
var require_time = __commonJS((exports) => {
|
|
4895
4895
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4896
4896
|
exports.CronTime = undefined;
|
|
@@ -5029,8 +5029,8 @@ var require_time = __commonJS((exports) => {
|
|
|
5029
5029
|
const diff = date.toMillis() - start.toMillis();
|
|
5030
5030
|
if (date > maxMatch) {
|
|
5031
5031
|
throw new errors_1.CronError(`Something went wrong. No execution date was found in the next 8 years.
|
|
5032
|
-
|
|
5033
|
-
|
|
5032
|
+
\t\t\t\t\t\t\tPlease provide the following string if you would like to help debug:
|
|
5033
|
+
\t\t\t\t\t\t\tTime Zone: ${(_a = timeZone === null || timeZone === undefined ? undefined : timeZone.toString()) !== null && _a !== undefined ? _a : '""'} - Cron String: ${this.source.toString()} - UTC offset: ${date.offset} - current Date: ${luxon_1.DateTime.local().toString()}`);
|
|
5034
5034
|
}
|
|
5035
5035
|
if (!(date.month in this.month) && Object.keys(this.month).length !== 12) {
|
|
5036
5036
|
date = date.plus({ months: 1 });
|
|
@@ -5310,7 +5310,7 @@ var require_time = __commonJS((exports) => {
|
|
|
5310
5310
|
exports.CronTime = CronTime;
|
|
5311
5311
|
});
|
|
5312
5312
|
|
|
5313
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
5313
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/job.js
|
|
5314
5314
|
var require_job = __commonJS((exports) => {
|
|
5315
5315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5316
5316
|
exports.CronJob = undefined;
|
|
@@ -5476,7 +5476,7 @@ var require_job = __commonJS((exports) => {
|
|
|
5476
5476
|
exports.CronJob = CronJob;
|
|
5477
5477
|
});
|
|
5478
5478
|
|
|
5479
|
-
// /
|
|
5479
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/index.js
|
|
5480
5480
|
var require_dist = __commonJS((exports) => {
|
|
5481
5481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5482
5482
|
exports.timeout = exports.sendAt = exports.CronTime = exports.CronJob = undefined;
|
|
@@ -5566,7 +5566,7 @@ class FilesystemStorage {
|
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
5568
|
|
|
5569
|
-
// /
|
|
5569
|
+
// ../../node_modules/.pnpm/@t3-oss+env-core@0.11.1_typescript@5.6.3_zod@3.23.8/node_modules/@t3-oss/env-core/dist/index.js
|
|
5570
5570
|
import { object } from "zod";
|
|
5571
5571
|
function createEnv(opts) {
|
|
5572
5572
|
const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
|
|
@@ -5592,11 +5592,11 @@ function createEnv(opts) {
|
|
|
5592
5592
|
const allServer = server.merge(shared).merge(client);
|
|
5593
5593
|
const parsed = isServer ? allServer.safeParse(runtimeEnv) : allClient.safeParse(runtimeEnv);
|
|
5594
5594
|
const onValidationError = opts.onValidationError ?? ((error) => {
|
|
5595
|
-
console.error("
|
|
5595
|
+
console.error("❌ Invalid environment variables:", error.flatten().fieldErrors);
|
|
5596
5596
|
throw new Error("Invalid environment variables");
|
|
5597
5597
|
});
|
|
5598
5598
|
const onInvalidAccess = opts.onInvalidAccess ?? ((_variable) => {
|
|
5599
|
-
throw new Error("
|
|
5599
|
+
throw new Error("❌ Attempted to access a server-side environment variable on the client");
|
|
5600
5600
|
});
|
|
5601
5601
|
if (parsed.success === false) {
|
|
5602
5602
|
return onValidationError(parsed.error);
|
|
@@ -6002,7 +6002,7 @@ var FLIGHTDECK_MANUAL = {
|
|
|
6002
6002
|
flag: `n`,
|
|
6003
6003
|
required: true,
|
|
6004
6004
|
description: `Name of the package.`,
|
|
6005
|
-
example: `--packageName
|
|
6005
|
+
example: `--packageName="my-app"`
|
|
6006
6006
|
},
|
|
6007
6007
|
services: {
|
|
6008
6008
|
flag: `s`,
|
|
@@ -6015,7 +6015,7 @@ var FLIGHTDECK_MANUAL = {
|
|
|
6015
6015
|
flag: `d`,
|
|
6016
6016
|
required: true,
|
|
6017
6017
|
description: `Directory where the service is stored.`,
|
|
6018
|
-
example: `--flightdeckRootDir
|
|
6018
|
+
example: `--flightdeckRootDir="./services/sample/repo/my-app/current"`
|
|
6019
6019
|
},
|
|
6020
6020
|
scripts: {
|
|
6021
6021
|
flag: `r`,
|
package/dist/lib.js
CHANGED
|
@@ -27,7 +27,7 @@ var __export = (target, all) => {
|
|
|
27
27
|
};
|
|
28
28
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
29
29
|
|
|
30
|
-
//
|
|
30
|
+
// ../../node_modules/.pnpm/luxon@3.5.0/node_modules/luxon/build/node/luxon.js
|
|
31
31
|
var require_luxon = __commonJS((exports) => {
|
|
32
32
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
33
|
|
|
@@ -972,26 +972,26 @@ var require_luxon = __commonJS((exports) => {
|
|
|
972
972
|
}
|
|
973
973
|
}
|
|
974
974
|
var numberingSystems = {
|
|
975
|
-
arab: "[
|
|
976
|
-
arabext: "[
|
|
977
|
-
bali: "[
|
|
978
|
-
beng: "[
|
|
979
|
-
deva: "[
|
|
980
|
-
fullwide: "[
|
|
981
|
-
gujr: "[
|
|
982
|
-
hanidec: "[
|
|
983
|
-
khmr: "[
|
|
984
|
-
knda: "[
|
|
985
|
-
laoo: "[
|
|
986
|
-
limb: "[
|
|
987
|
-
mlym: "[
|
|
988
|
-
mong: "[
|
|
989
|
-
mymr: "[
|
|
990
|
-
orya: "[
|
|
991
|
-
tamldec: "[
|
|
992
|
-
telu: "[
|
|
993
|
-
thai: "[
|
|
994
|
-
tibt: "[
|
|
975
|
+
arab: "[٠-٩]",
|
|
976
|
+
arabext: "[۰-۹]",
|
|
977
|
+
bali: "[᭐-᭙]",
|
|
978
|
+
beng: "[০-৯]",
|
|
979
|
+
deva: "[०-९]",
|
|
980
|
+
fullwide: "[0-9]",
|
|
981
|
+
gujr: "[૦-૯]",
|
|
982
|
+
hanidec: "[〇|一|二|三|四|五|六|七|八|九]",
|
|
983
|
+
khmr: "[០-៩]",
|
|
984
|
+
knda: "[೦-೯]",
|
|
985
|
+
laoo: "[໐-໙]",
|
|
986
|
+
limb: "[᥆-᥏]",
|
|
987
|
+
mlym: "[൦-൯]",
|
|
988
|
+
mong: "[᠐-᠙]",
|
|
989
|
+
mymr: "[၀-၉]",
|
|
990
|
+
orya: "[୦-୯]",
|
|
991
|
+
tamldec: "[௦-௯]",
|
|
992
|
+
telu: "[౦-౯]",
|
|
993
|
+
thai: "[๐-๙]",
|
|
994
|
+
tibt: "[༠-༩]",
|
|
995
995
|
latn: "\\d"
|
|
996
996
|
};
|
|
997
997
|
var numberingSystemsUTF16 = {
|
|
@@ -1976,7 +1976,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
1976
1976
|
var ianaRegex = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
1977
1977
|
function combineRegexes(...regexes) {
|
|
1978
1978
|
const full = regexes.reduce((f, r) => f + r.source, "");
|
|
1979
|
-
return RegExp(`^${full}
|
|
1979
|
+
return RegExp(`^${full}$`);
|
|
1980
1980
|
}
|
|
1981
1981
|
function combineExtractors(...extractors) {
|
|
1982
1982
|
return (m) => extractors.reduce(([mergedVals, mergedZone, cursor], ex) => {
|
|
@@ -2051,7 +2051,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2051
2051
|
const zone = match2[cursor] ? IANAZone.create(match2[cursor]) : null;
|
|
2052
2052
|
return [{}, zone, cursor + 1];
|
|
2053
2053
|
}
|
|
2054
|
-
var isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}
|
|
2054
|
+
var isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}$`);
|
|
2055
2055
|
var isoDuration = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
2056
2056
|
function extractISODuration(match2) {
|
|
2057
2057
|
const [s2, yearStr, monthStr, weekStr, dayStr, hourStr, minuteStr, secondStr, millisecondsStr] = match2;
|
|
@@ -2971,7 +2971,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2971
2971
|
toString() {
|
|
2972
2972
|
if (!this.isValid)
|
|
2973
2973
|
return INVALID$1;
|
|
2974
|
-
return `[${this.s.toISO()}
|
|
2974
|
+
return `[${this.s.toISO()} – ${this.e.toISO()})`;
|
|
2975
2975
|
}
|
|
2976
2976
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
2977
2977
|
if (this.isValid) {
|
|
@@ -2999,7 +2999,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
2999
2999
|
return `${this.s.toISOTime(opts)}/${this.e.toISOTime(opts)}`;
|
|
3000
3000
|
}
|
|
3001
3001
|
toFormat(dateFormat, {
|
|
3002
|
-
separator = "
|
|
3002
|
+
separator = " – "
|
|
3003
3003
|
} = {}) {
|
|
3004
3004
|
if (!this.isValid)
|
|
3005
3005
|
return INVALID$1;
|
|
@@ -3394,7 +3394,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
3394
3394
|
}
|
|
3395
3395
|
function buildRegex(units) {
|
|
3396
3396
|
const re = units.map((u) => u.regex).reduce((f, r) => `${f}(${r.source})`, "");
|
|
3397
|
-
return [`^${re}
|
|
3397
|
+
return [`^${re}$`, units];
|
|
3398
3398
|
}
|
|
3399
3399
|
function match(input, regex, handlers) {
|
|
3400
3400
|
const matches = input.match(regex);
|
|
@@ -4791,7 +4791,7 @@ var require_luxon = __commonJS((exports) => {
|
|
|
4791
4791
|
exports.Zone = Zone;
|
|
4792
4792
|
});
|
|
4793
4793
|
|
|
4794
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4794
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/constants.js
|
|
4795
4795
|
var require_constants = __commonJS((exports) => {
|
|
4796
4796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4797
4797
|
exports.RE_RANGE = exports.RE_WILDCARDS = exports.PRESETS = exports.TIME_UNITS_LEN = exports.TIME_UNITS = exports.TIME_UNITS_MAP = exports.ALIASES = exports.PARSE_DEFAULTS = exports.MONTH_CONSTRAINTS = exports.CONSTRAINTS = undefined;
|
|
@@ -4871,7 +4871,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
4871
4871
|
exports.RE_RANGE = /^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g;
|
|
4872
4872
|
});
|
|
4873
4873
|
|
|
4874
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4874
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/errors.js
|
|
4875
4875
|
var require_errors = __commonJS((exports) => {
|
|
4876
4876
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4877
4877
|
exports.ExclusiveParametersError = exports.CronError = undefined;
|
|
@@ -4888,7 +4888,7 @@ var require_errors = __commonJS((exports) => {
|
|
|
4888
4888
|
exports.ExclusiveParametersError = ExclusiveParametersError;
|
|
4889
4889
|
});
|
|
4890
4890
|
|
|
4891
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4891
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/utils.js
|
|
4892
4892
|
var require_utils = __commonJS((exports) => {
|
|
4893
4893
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4894
4894
|
exports.getRecordKeys = undefined;
|
|
@@ -4898,7 +4898,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
4898
4898
|
exports.getRecordKeys = getRecordKeys;
|
|
4899
4899
|
});
|
|
4900
4900
|
|
|
4901
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
4901
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/time.js
|
|
4902
4902
|
var require_time = __commonJS((exports) => {
|
|
4903
4903
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4904
4904
|
exports.CronTime = undefined;
|
|
@@ -5037,8 +5037,8 @@ var require_time = __commonJS((exports) => {
|
|
|
5037
5037
|
const diff = date.toMillis() - start.toMillis();
|
|
5038
5038
|
if (date > maxMatch) {
|
|
5039
5039
|
throw new errors_1.CronError(`Something went wrong. No execution date was found in the next 8 years.
|
|
5040
|
-
|
|
5041
|
-
|
|
5040
|
+
\t\t\t\t\t\t\tPlease provide the following string if you would like to help debug:
|
|
5041
|
+
\t\t\t\t\t\t\tTime Zone: ${(_a = timeZone === null || timeZone === undefined ? undefined : timeZone.toString()) !== null && _a !== undefined ? _a : '""'} - Cron String: ${this.source.toString()} - UTC offset: ${date.offset} - current Date: ${luxon_1.DateTime.local().toString()}`);
|
|
5042
5042
|
}
|
|
5043
5043
|
if (!(date.month in this.month) && Object.keys(this.month).length !== 12) {
|
|
5044
5044
|
date = date.plus({ months: 1 });
|
|
@@ -5318,7 +5318,7 @@ var require_time = __commonJS((exports) => {
|
|
|
5318
5318
|
exports.CronTime = CronTime;
|
|
5319
5319
|
});
|
|
5320
5320
|
|
|
5321
|
-
// ../../node_modules/.pnpm/cron@3.2.
|
|
5321
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/job.js
|
|
5322
5322
|
var require_job = __commonJS((exports) => {
|
|
5323
5323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5324
5324
|
exports.CronJob = undefined;
|
|
@@ -5484,7 +5484,7 @@ var require_job = __commonJS((exports) => {
|
|
|
5484
5484
|
exports.CronJob = CronJob;
|
|
5485
5485
|
});
|
|
5486
5486
|
|
|
5487
|
-
// /
|
|
5487
|
+
// ../../node_modules/.pnpm/cron@3.2.1/node_modules/cron/dist/index.js
|
|
5488
5488
|
var require_dist = __commonJS((exports) => {
|
|
5489
5489
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5490
5490
|
exports.timeout = exports.sendAt = exports.CronTime = exports.CronJob = undefined;
|
|
@@ -5568,7 +5568,7 @@ import { discoverType } from "atom.io/introspection";
|
|
|
5568
5568
|
import { fromEntries, toEntries } from "atom.io/json";
|
|
5569
5569
|
import { ChildSocket } from "atom.io/realtime-server";
|
|
5570
5570
|
|
|
5571
|
-
// /
|
|
5571
|
+
// ../../node_modules/.pnpm/@t3-oss+env-core@0.11.1_typescript@5.6.3_zod@3.23.8/node_modules/@t3-oss/env-core/dist/index.js
|
|
5572
5572
|
import { object } from "zod";
|
|
5573
5573
|
function createEnv(opts) {
|
|
5574
5574
|
const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
|
|
@@ -5594,11 +5594,11 @@ function createEnv(opts) {
|
|
|
5594
5594
|
const allServer = server.merge(shared).merge(client);
|
|
5595
5595
|
const parsed = isServer ? allServer.safeParse(runtimeEnv) : allClient.safeParse(runtimeEnv);
|
|
5596
5596
|
const onValidationError = opts.onValidationError ?? ((error) => {
|
|
5597
|
-
console.error("
|
|
5597
|
+
console.error("❌ Invalid environment variables:", error.flatten().fieldErrors);
|
|
5598
5598
|
throw new Error("Invalid environment variables");
|
|
5599
5599
|
});
|
|
5600
5600
|
const onInvalidAccess = opts.onInvalidAccess ?? ((_variable) => {
|
|
5601
|
-
throw new Error("
|
|
5601
|
+
throw new Error("❌ Attempted to access a server-side environment variable on the client");
|
|
5602
5602
|
});
|
|
5603
5603
|
if (parsed.success === false) {
|
|
5604
5604
|
return onValidationError(parsed.error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flightdeck",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jeremy Banka",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@t3-oss/env-core": "0.11.1",
|
|
25
|
-
"cron": "3.2.
|
|
25
|
+
"cron": "3.2.1",
|
|
26
26
|
"zod": "3.23.8",
|
|
27
|
-
"atom.io": "0.30.
|
|
27
|
+
"atom.io": "0.30.4",
|
|
28
28
|
"comline": "0.1.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/node": "22.9.
|
|
31
|
+
"@types/node": "22.9.1",
|
|
32
32
|
"@types/tmp": "0.2.6",
|
|
33
|
-
"bun-types": "1.1.
|
|
33
|
+
"bun-types": "1.1.35",
|
|
34
34
|
"concurrently": "9.1.0",
|
|
35
35
|
"rimraf": "6.0.1",
|
|
36
36
|
"tmp": "0.2.3",
|
|
37
37
|
"tsup": "8.3.5",
|
|
38
|
-
"vitest": "2.1.
|
|
38
|
+
"vitest": "2.1.5"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "rimraf dist && concurrently \"bun:build:*\" && concurrently \"bun:schema:*\"",
|