@storm-software/workspace-tools 1.66.30 → 1.68.0
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/CHANGELOG.md +26 -0
- package/README.md +42 -1
- package/executors.json +1 -1
- package/index.js +225 -96
- package/meta.json +1 -1
- package/package.json +3 -3
- package/src/base/index.js +16 -3
- package/src/executors/rolldown/executor.js +81 -19
- package/src/executors/rolldown/schema.json +4 -17
- package/src/executors/tsup/executor.js +60 -12
- package/src/executors/tsup/schema.json +5 -21
- package/src/executors/tsup-browser/executor.js +60 -12
- package/src/executors/tsup-neutral/executor.js +60 -12
- package/src/executors/tsup-node/executor.js +60 -12
- package/src/executors/typia/executor.js +16 -3
- package/src/generators/browser-library/generator.js +16 -3
- package/src/generators/config-schema/generator.js +116 -71
- package/src/generators/neutral-library/generator.js +16 -3
- package/src/generators/node-library/generator.js +16 -3
- package/src/generators/preset/files/.env.template +2 -7
- package/src/generators/preset/files/.eslintignore +17 -0
- package/src/generators/preset/files/.eslintrc.base.json +42 -0
- package/src/generators/preset/files/.github/CODEOWNERS +1 -1
- package/src/generators/preset/files/.github/dependabot.yml +24 -0
- package/src/generators/preset/files/.github/labels.yml +3 -0
- package/src/generators/preset/files/.github/renovate.json.template +14 -2
- package/src/generators/preset/files/.github/stale.yml +22 -17
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +11 -80
- package/src/generators/preset/files/.github/workflows/codeql.yml +1 -1
- package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +24 -0
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +1 -1
- package/src/generators/preset/files/.github/workflows/greetings.yml +2 -3
- package/src/generators/preset/files/.vscode/settings.json +127 -42
- package/src/generators/preset/files/.vscode/tasks.json +1 -16
- package/src/generators/preset/files/storm.config.js.template +29 -0
- package/src/generators/preset/files/tsconfig.base.json.template +1 -1
- package/src/generators/preset/generator.js +16 -3
- package/src/generators/release-version/generator.js +16 -3
- package/src/utils/index.js +16 -3
- package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +0 -41
- /package/src/generators/preset/files/{.github/.whitesource → .whitesource} +0 -0
|
@@ -3780,7 +3780,9 @@ var init_schema = __esm({
|
|
|
3780
3780
|
fatal: z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace")
|
|
3781
3781
|
}).describe("Colors used for various workspace elements");
|
|
3782
3782
|
StormConfigSchema = z.object({
|
|
3783
|
-
extends: z.string().trim().optional().describe(
|
|
3783
|
+
extends: z.string().trim().optional().describe(
|
|
3784
|
+
"The path to a base JSON file to use as a configuration preset file"
|
|
3785
|
+
),
|
|
3784
3786
|
name: z.string().trim().toLowerCase().optional().describe("The name of the package"),
|
|
3785
3787
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
3786
3788
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
@@ -3794,7 +3796,9 @@ var init_schema = __esm({
|
|
|
3794
3796
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
3795
3797
|
),
|
|
3796
3798
|
env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
3797
|
-
ci: z.boolean().default(true).describe(
|
|
3799
|
+
ci: z.boolean().default(true).describe(
|
|
3800
|
+
"An indicator specifying if the current environment is a CI environment"
|
|
3801
|
+
),
|
|
3798
3802
|
workspaceRoot: z.string().trim().optional().describe("The root directory of the workspace"),
|
|
3799
3803
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
3800
3804
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -3810,7 +3814,16 @@ var init_schema = __esm({
|
|
|
3810
3814
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
3811
3815
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
3812
3816
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
3813
|
-
logLevel: z.enum([
|
|
3817
|
+
logLevel: z.enum([
|
|
3818
|
+
"silent",
|
|
3819
|
+
"fatal",
|
|
3820
|
+
"error",
|
|
3821
|
+
"warn",
|
|
3822
|
+
"info",
|
|
3823
|
+
"debug",
|
|
3824
|
+
"trace",
|
|
3825
|
+
"all"
|
|
3826
|
+
]).default("debug").describe(
|
|
3814
3827
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
3815
3828
|
),
|
|
3816
3829
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
@@ -216211,7 +216224,7 @@ var import_node_fs3 = require("node:fs");
|
|
|
216211
216224
|
var import_node_path5 = require("node:path");
|
|
216212
216225
|
init_lib();
|
|
216213
216226
|
|
|
216214
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216227
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
216215
216228
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
216216
216229
|
if (!refs?.errorMessages)
|
|
216217
216230
|
return;
|
|
@@ -216227,15 +216240,17 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
216227
216240
|
addErrorMessage(res, key, errorMessage, refs);
|
|
216228
216241
|
}
|
|
216229
216242
|
|
|
216230
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216243
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
216244
|
+
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
216231
216245
|
var defaultOptions = {
|
|
216232
216246
|
name: void 0,
|
|
216233
216247
|
$refStrategy: "root",
|
|
216234
216248
|
basePath: ["#"],
|
|
216235
216249
|
effectStrategy: "input",
|
|
216236
216250
|
pipeStrategy: "all",
|
|
216237
|
-
dateStrategy: "
|
|
216251
|
+
dateStrategy: "format:date-time",
|
|
216238
216252
|
mapStrategy: "entries",
|
|
216253
|
+
removeAdditionalStrategy: "passthrough",
|
|
216239
216254
|
definitionPath: "definitions",
|
|
216240
216255
|
target: "jsonSchema7",
|
|
216241
216256
|
strictUnions: false,
|
|
@@ -216253,15 +216268,15 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
216253
216268
|
...options
|
|
216254
216269
|
};
|
|
216255
216270
|
|
|
216256
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216271
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
216257
216272
|
init_lib();
|
|
216258
216273
|
|
|
216259
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216274
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
216260
216275
|
function parseAnyDef() {
|
|
216261
216276
|
return {};
|
|
216262
216277
|
}
|
|
216263
216278
|
|
|
216264
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216279
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
216265
216280
|
init_lib();
|
|
216266
216281
|
function parseArrayDef(def, refs) {
|
|
216267
216282
|
const res = {
|
|
@@ -216286,7 +216301,7 @@ function parseArrayDef(def, refs) {
|
|
|
216286
216301
|
return res;
|
|
216287
216302
|
}
|
|
216288
216303
|
|
|
216289
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216304
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
216290
216305
|
function parseBigintDef(def, refs) {
|
|
216291
216306
|
const res = {
|
|
216292
216307
|
type: "integer",
|
|
@@ -216332,71 +216347,83 @@ function parseBigintDef(def, refs) {
|
|
|
216332
216347
|
return res;
|
|
216333
216348
|
}
|
|
216334
216349
|
|
|
216335
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216350
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
216336
216351
|
function parseBooleanDef() {
|
|
216337
216352
|
return {
|
|
216338
216353
|
type: "boolean"
|
|
216339
216354
|
};
|
|
216340
216355
|
}
|
|
216341
216356
|
|
|
216342
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216357
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
216343
216358
|
function parseBrandedDef(_def, refs) {
|
|
216344
216359
|
return parseDef(_def.type._def, refs);
|
|
216345
216360
|
}
|
|
216346
216361
|
|
|
216347
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216362
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
216348
216363
|
var parseCatchDef = (def, refs) => {
|
|
216349
216364
|
return parseDef(def.innerType._def, refs);
|
|
216350
216365
|
};
|
|
216351
216366
|
|
|
216352
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216353
|
-
function parseDateDef(def, refs) {
|
|
216354
|
-
|
|
216355
|
-
|
|
216356
|
-
} else {
|
|
216367
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
216368
|
+
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
216369
|
+
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
216370
|
+
if (Array.isArray(strategy)) {
|
|
216357
216371
|
return {
|
|
216358
|
-
|
|
216359
|
-
format: "date-time"
|
|
216372
|
+
anyOf: strategy.map((item, i) => parseDateDef(def, refs, item))
|
|
216360
216373
|
};
|
|
216361
216374
|
}
|
|
216375
|
+
switch (strategy) {
|
|
216376
|
+
case "string":
|
|
216377
|
+
case "format:date-time":
|
|
216378
|
+
return {
|
|
216379
|
+
type: "string",
|
|
216380
|
+
format: "date-time"
|
|
216381
|
+
};
|
|
216382
|
+
case "format:date":
|
|
216383
|
+
return {
|
|
216384
|
+
type: "string",
|
|
216385
|
+
format: "date"
|
|
216386
|
+
};
|
|
216387
|
+
case "integer":
|
|
216388
|
+
return integerDateParser(def, refs);
|
|
216389
|
+
}
|
|
216362
216390
|
}
|
|
216363
216391
|
var integerDateParser = (def, refs) => {
|
|
216364
216392
|
const res = {
|
|
216365
216393
|
type: "integer",
|
|
216366
216394
|
format: "unix-time"
|
|
216367
216395
|
};
|
|
216396
|
+
if (refs.target === "openApi3") {
|
|
216397
|
+
return res;
|
|
216398
|
+
}
|
|
216368
216399
|
for (const check of def.checks) {
|
|
216369
216400
|
switch (check.kind) {
|
|
216370
216401
|
case "min":
|
|
216371
|
-
|
|
216372
|
-
|
|
216373
|
-
|
|
216374
|
-
|
|
216375
|
-
|
|
216376
|
-
|
|
216377
|
-
|
|
216378
|
-
|
|
216379
|
-
);
|
|
216380
|
-
}
|
|
216402
|
+
setResponseValueAndErrors(
|
|
216403
|
+
res,
|
|
216404
|
+
"minimum",
|
|
216405
|
+
check.value,
|
|
216406
|
+
// This is in milliseconds
|
|
216407
|
+
check.message,
|
|
216408
|
+
refs
|
|
216409
|
+
);
|
|
216381
216410
|
break;
|
|
216382
216411
|
case "max":
|
|
216383
|
-
|
|
216384
|
-
|
|
216385
|
-
|
|
216386
|
-
|
|
216387
|
-
|
|
216388
|
-
|
|
216389
|
-
|
|
216390
|
-
|
|
216391
|
-
);
|
|
216392
|
-
}
|
|
216412
|
+
setResponseValueAndErrors(
|
|
216413
|
+
res,
|
|
216414
|
+
"maximum",
|
|
216415
|
+
check.value,
|
|
216416
|
+
// This is in milliseconds
|
|
216417
|
+
check.message,
|
|
216418
|
+
refs
|
|
216419
|
+
);
|
|
216393
216420
|
break;
|
|
216394
216421
|
}
|
|
216395
216422
|
}
|
|
216396
216423
|
return res;
|
|
216397
216424
|
};
|
|
216398
216425
|
|
|
216399
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216426
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
216400
216427
|
function parseDefaultDef(_def, refs) {
|
|
216401
216428
|
return {
|
|
216402
216429
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -216404,12 +216431,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
216404
216431
|
};
|
|
216405
216432
|
}
|
|
216406
216433
|
|
|
216407
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216434
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
216408
216435
|
function parseEffectsDef(_def, refs) {
|
|
216409
216436
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : {};
|
|
216410
216437
|
}
|
|
216411
216438
|
|
|
216412
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216439
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
216413
216440
|
function parseEnumDef(def) {
|
|
216414
216441
|
return {
|
|
216415
216442
|
type: "string",
|
|
@@ -216417,7 +216444,7 @@ function parseEnumDef(def) {
|
|
|
216417
216444
|
};
|
|
216418
216445
|
}
|
|
216419
216446
|
|
|
216420
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216447
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
216421
216448
|
var isJsonSchema7AllOfType = (type) => {
|
|
216422
216449
|
if ("type" in type && type.type === "string")
|
|
216423
216450
|
return false;
|
|
@@ -216459,7 +216486,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
216459
216486
|
} : void 0;
|
|
216460
216487
|
}
|
|
216461
216488
|
|
|
216462
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216489
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
216463
216490
|
function parseLiteralDef(def, refs) {
|
|
216464
216491
|
const parsedType = typeof def.value;
|
|
216465
216492
|
if (parsedType !== "bigint" && parsedType !== "number" && parsedType !== "boolean" && parsedType !== "string") {
|
|
@@ -216479,10 +216506,10 @@ function parseLiteralDef(def, refs) {
|
|
|
216479
216506
|
};
|
|
216480
216507
|
}
|
|
216481
216508
|
|
|
216482
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216509
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
216483
216510
|
init_lib();
|
|
216484
216511
|
|
|
216485
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216512
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
216486
216513
|
var zodPatterns = {
|
|
216487
216514
|
/**
|
|
216488
216515
|
* `c` was changed to `[cC]` to replicate /i flag
|
|
@@ -216655,7 +216682,7 @@ var addPattern = (schema, value, message, refs) => {
|
|
|
216655
216682
|
}
|
|
216656
216683
|
};
|
|
216657
216684
|
|
|
216658
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216685
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
216659
216686
|
function parseRecordDef(def, refs) {
|
|
216660
216687
|
if (refs.target === "openApi3" && def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) {
|
|
216661
216688
|
return {
|
|
@@ -216698,7 +216725,7 @@ function parseRecordDef(def, refs) {
|
|
|
216698
216725
|
return schema;
|
|
216699
216726
|
}
|
|
216700
216727
|
|
|
216701
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216728
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
216702
216729
|
function parseMapDef(def, refs) {
|
|
216703
216730
|
if (refs.mapStrategy === "record") {
|
|
216704
216731
|
return parseRecordDef(def, refs);
|
|
@@ -216723,7 +216750,7 @@ function parseMapDef(def, refs) {
|
|
|
216723
216750
|
};
|
|
216724
216751
|
}
|
|
216725
216752
|
|
|
216726
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216753
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
216727
216754
|
function parseNativeEnumDef(def) {
|
|
216728
216755
|
const object = def.values;
|
|
216729
216756
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -216737,14 +216764,14 @@ function parseNativeEnumDef(def) {
|
|
|
216737
216764
|
};
|
|
216738
216765
|
}
|
|
216739
216766
|
|
|
216740
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216767
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
216741
216768
|
function parseNeverDef() {
|
|
216742
216769
|
return {
|
|
216743
216770
|
not: {}
|
|
216744
216771
|
};
|
|
216745
216772
|
}
|
|
216746
216773
|
|
|
216747
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216774
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
216748
216775
|
function parseNullDef(refs) {
|
|
216749
216776
|
return refs.target === "openApi3" ? {
|
|
216750
216777
|
enum: ["null"],
|
|
@@ -216754,7 +216781,7 @@ function parseNullDef(refs) {
|
|
|
216754
216781
|
};
|
|
216755
216782
|
}
|
|
216756
216783
|
|
|
216757
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216784
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
216758
216785
|
var primitiveMappings = {
|
|
216759
216786
|
ZodString: "string",
|
|
216760
216787
|
ZodNumber: "number",
|
|
@@ -216822,7 +216849,7 @@ var asAnyOf = (def, refs) => {
|
|
|
216822
216849
|
return anyOf.length ? { anyOf } : void 0;
|
|
216823
216850
|
};
|
|
216824
216851
|
|
|
216825
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216852
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
216826
216853
|
function parseNullableDef(def, refs) {
|
|
216827
216854
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
216828
216855
|
if (refs.target === "openApi3") {
|
|
@@ -216843,6 +216870,8 @@ function parseNullableDef(def, refs) {
|
|
|
216843
216870
|
...refs,
|
|
216844
216871
|
currentPath: [...refs.currentPath]
|
|
216845
216872
|
});
|
|
216873
|
+
if (base2 && "$ref" in base2)
|
|
216874
|
+
return { allOf: [base2], nullable: true };
|
|
216846
216875
|
return base2 && { ...base2, nullable: true };
|
|
216847
216876
|
}
|
|
216848
216877
|
const base = parseDef(def.innerType._def, {
|
|
@@ -216852,7 +216881,7 @@ function parseNullableDef(def, refs) {
|
|
|
216852
216881
|
return base && { anyOf: [base, { type: "null" }] };
|
|
216853
216882
|
}
|
|
216854
216883
|
|
|
216855
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216884
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
216856
216885
|
function parseNumberDef(def, refs) {
|
|
216857
216886
|
const res = {
|
|
216858
216887
|
type: "number"
|
|
@@ -216901,7 +216930,20 @@ function parseNumberDef(def, refs) {
|
|
|
216901
216930
|
return res;
|
|
216902
216931
|
}
|
|
216903
216932
|
|
|
216904
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216933
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
216934
|
+
function decideAdditionalProperties(def, refs) {
|
|
216935
|
+
if (refs.removeAdditionalStrategy === "strict") {
|
|
216936
|
+
return def.catchall._def.typeName === "ZodNever" ? def.unknownKeys !== "strict" : parseDef(def.catchall._def, {
|
|
216937
|
+
...refs,
|
|
216938
|
+
currentPath: [...refs.currentPath, "additionalProperties"]
|
|
216939
|
+
}) ?? true;
|
|
216940
|
+
} else {
|
|
216941
|
+
return def.catchall._def.typeName === "ZodNever" ? def.unknownKeys === "passthrough" : parseDef(def.catchall._def, {
|
|
216942
|
+
...refs,
|
|
216943
|
+
currentPath: [...refs.currentPath, "additionalProperties"]
|
|
216944
|
+
}) ?? true;
|
|
216945
|
+
}
|
|
216946
|
+
}
|
|
216905
216947
|
function parseObjectDef(def, refs) {
|
|
216906
216948
|
const result = {
|
|
216907
216949
|
type: "object",
|
|
@@ -216920,17 +216962,14 @@ function parseObjectDef(def, refs) {
|
|
|
216920
216962
|
required: propDef.isOptional() ? acc.required : [...acc.required, propName]
|
|
216921
216963
|
};
|
|
216922
216964
|
}, { properties: {}, required: [] }),
|
|
216923
|
-
additionalProperties:
|
|
216924
|
-
...refs,
|
|
216925
|
-
currentPath: [...refs.currentPath, "additionalProperties"]
|
|
216926
|
-
}) ?? true
|
|
216965
|
+
additionalProperties: decideAdditionalProperties(def, refs)
|
|
216927
216966
|
};
|
|
216928
216967
|
if (!result.required.length)
|
|
216929
216968
|
delete result.required;
|
|
216930
216969
|
return result;
|
|
216931
216970
|
}
|
|
216932
216971
|
|
|
216933
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216972
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
216934
216973
|
var parseOptionalDef = (def, refs) => {
|
|
216935
216974
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
216936
216975
|
return parseDef(def.innerType._def, refs);
|
|
@@ -216949,7 +216988,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
216949
216988
|
} : {};
|
|
216950
216989
|
};
|
|
216951
216990
|
|
|
216952
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
216991
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
216953
216992
|
var parsePipelineDef = (def, refs) => {
|
|
216954
216993
|
if (refs.pipeStrategy === "input") {
|
|
216955
216994
|
return parseDef(def.in._def, refs);
|
|
@@ -216969,12 +217008,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
216969
217008
|
};
|
|
216970
217009
|
};
|
|
216971
217010
|
|
|
216972
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217011
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
216973
217012
|
function parsePromiseDef(def, refs) {
|
|
216974
217013
|
return parseDef(def.type._def, refs);
|
|
216975
217014
|
}
|
|
216976
217015
|
|
|
216977
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217016
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
216978
217017
|
function parseSetDef(def, refs) {
|
|
216979
217018
|
const items = parseDef(def.valueType._def, {
|
|
216980
217019
|
...refs,
|
|
@@ -216994,7 +217033,7 @@ function parseSetDef(def, refs) {
|
|
|
216994
217033
|
return schema;
|
|
216995
217034
|
}
|
|
216996
217035
|
|
|
216997
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217036
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
216998
217037
|
function parseTupleDef(def, refs) {
|
|
216999
217038
|
if (def.rest) {
|
|
217000
217039
|
return {
|
|
@@ -217022,26 +217061,32 @@ function parseTupleDef(def, refs) {
|
|
|
217022
217061
|
}
|
|
217023
217062
|
}
|
|
217024
217063
|
|
|
217025
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217064
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
217026
217065
|
function parseUndefinedDef() {
|
|
217027
217066
|
return {
|
|
217028
217067
|
not: {}
|
|
217029
217068
|
};
|
|
217030
217069
|
}
|
|
217031
217070
|
|
|
217032
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217071
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
217033
217072
|
function parseUnknownDef() {
|
|
217034
217073
|
return {};
|
|
217035
217074
|
}
|
|
217036
217075
|
|
|
217037
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217076
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
217038
217077
|
var parseReadonlyDef = (def, refs) => {
|
|
217039
217078
|
return parseDef(def.innerType._def, refs);
|
|
217040
217079
|
};
|
|
217041
217080
|
|
|
217042
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217081
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
217043
217082
|
function parseDef(def, refs, forceResolution = false) {
|
|
217044
217083
|
const seenItem = refs.seen.get(def);
|
|
217084
|
+
if (refs.override) {
|
|
217085
|
+
const overrideResult = refs.override?.(def, refs, seenItem, forceResolution);
|
|
217086
|
+
if (overrideResult !== ignoreOverride) {
|
|
217087
|
+
return overrideResult;
|
|
217088
|
+
}
|
|
217089
|
+
}
|
|
217045
217090
|
if (seenItem && !forceResolution) {
|
|
217046
217091
|
const seenSchema = get$ref(seenItem, refs);
|
|
217047
217092
|
if (seenSchema !== void 0) {
|
|
@@ -217165,7 +217210,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
217165
217210
|
return jsonSchema;
|
|
217166
217211
|
};
|
|
217167
217212
|
|
|
217168
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217213
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
217169
217214
|
var getRefs = (options) => {
|
|
217170
217215
|
const _options = getDefaultOptions(options);
|
|
217171
217216
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -217185,7 +217230,7 @@ var getRefs = (options) => {
|
|
|
217185
217230
|
};
|
|
217186
217231
|
};
|
|
217187
217232
|
|
|
217188
|
-
// node_modules/.pnpm/zod-to-json-schema@3.22.
|
|
217233
|
+
// node_modules/.pnpm/zod-to-json-schema@3.22.5_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
217189
217234
|
var zodToJsonSchema = (schema, options) => {
|
|
217190
217235
|
const refs = getRefs(options);
|
|
217191
217236
|
const definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -215278,7 +215278,9 @@ var init_schema = __esm({
|
|
|
215278
215278
|
fatal: z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace")
|
|
215279
215279
|
}).describe("Colors used for various workspace elements");
|
|
215280
215280
|
StormConfigSchema = z.object({
|
|
215281
|
-
extends: z.string().trim().optional().describe(
|
|
215281
|
+
extends: z.string().trim().optional().describe(
|
|
215282
|
+
"The path to a base JSON file to use as a configuration preset file"
|
|
215283
|
+
),
|
|
215282
215284
|
name: z.string().trim().toLowerCase().optional().describe("The name of the package"),
|
|
215283
215285
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
215284
215286
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
@@ -215292,7 +215294,9 @@ var init_schema = __esm({
|
|
|
215292
215294
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
215293
215295
|
),
|
|
215294
215296
|
env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
215295
|
-
ci: z.boolean().default(true).describe(
|
|
215297
|
+
ci: z.boolean().default(true).describe(
|
|
215298
|
+
"An indicator specifying if the current environment is a CI environment"
|
|
215299
|
+
),
|
|
215296
215300
|
workspaceRoot: z.string().trim().optional().describe("The root directory of the workspace"),
|
|
215297
215301
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
215298
215302
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -215308,7 +215312,16 @@ var init_schema = __esm({
|
|
|
215308
215312
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
215309
215313
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
215310
215314
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
215311
|
-
logLevel: z.enum([
|
|
215315
|
+
logLevel: z.enum([
|
|
215316
|
+
"silent",
|
|
215317
|
+
"fatal",
|
|
215318
|
+
"error",
|
|
215319
|
+
"warn",
|
|
215320
|
+
"info",
|
|
215321
|
+
"debug",
|
|
215322
|
+
"trace",
|
|
215323
|
+
"all"
|
|
215324
|
+
]).default("debug").describe(
|
|
215312
215325
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
215313
215326
|
),
|
|
215314
215327
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
@@ -215278,7 +215278,9 @@ var init_schema = __esm({
|
|
|
215278
215278
|
fatal: z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace")
|
|
215279
215279
|
}).describe("Colors used for various workspace elements");
|
|
215280
215280
|
StormConfigSchema = z.object({
|
|
215281
|
-
extends: z.string().trim().optional().describe(
|
|
215281
|
+
extends: z.string().trim().optional().describe(
|
|
215282
|
+
"The path to a base JSON file to use as a configuration preset file"
|
|
215283
|
+
),
|
|
215282
215284
|
name: z.string().trim().toLowerCase().optional().describe("The name of the package"),
|
|
215283
215285
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
215284
215286
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
@@ -215292,7 +215294,9 @@ var init_schema = __esm({
|
|
|
215292
215294
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
215293
215295
|
),
|
|
215294
215296
|
env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
215295
|
-
ci: z.boolean().default(true).describe(
|
|
215297
|
+
ci: z.boolean().default(true).describe(
|
|
215298
|
+
"An indicator specifying if the current environment is a CI environment"
|
|
215299
|
+
),
|
|
215296
215300
|
workspaceRoot: z.string().trim().optional().describe("The root directory of the workspace"),
|
|
215297
215301
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
215298
215302
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -215308,7 +215312,16 @@ var init_schema = __esm({
|
|
|
215308
215312
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
215309
215313
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
215310
215314
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
215311
|
-
logLevel: z.enum([
|
|
215315
|
+
logLevel: z.enum([
|
|
215316
|
+
"silent",
|
|
215317
|
+
"fatal",
|
|
215318
|
+
"error",
|
|
215319
|
+
"warn",
|
|
215320
|
+
"info",
|
|
215321
|
+
"debug",
|
|
215322
|
+
"trace",
|
|
215323
|
+
"all"
|
|
215324
|
+
]).default("debug").describe(
|
|
215312
215325
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
215313
215326
|
),
|
|
215314
215327
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
@@ -14,7 +14,7 @@ DEFAULT_LOCALE="en_US"
|
|
|
14
14
|
DEFAULT_TIMEZONE="America/New_York"
|
|
15
15
|
|
|
16
16
|
STORM_OWNER="sullivanpj"
|
|
17
|
-
|
|
17
|
+
STORM_BOT="stormie-bot"
|
|
18
18
|
STORM_ORGANIZATION="<%= organization %>"
|
|
19
19
|
STORM_NAMESPACE="<%= name %>"
|
|
20
20
|
STORM_NAMESPACESPACE="<%= namespace %>"
|
|
@@ -34,10 +34,5 @@ PNPM_VERSION="<%= pnpmVersion %>"
|
|
|
34
34
|
|
|
35
35
|
DEV_EDITOR_ID="vscode"
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
THEME_BACKGROUND_COLOR="#1d232a"
|
|
39
|
-
THEME_SUCCESS_COLOR="#087f5b"
|
|
40
|
-
THEME_INFO_COLOR="#0ea5e9"
|
|
41
|
-
THEME_WARNING_COLOR="#fcc419"
|
|
42
|
-
THEME_ERROR_COLOR="#7d1a1a"
|
|
37
|
+
|
|
43
38
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
**/package.json/**
|
|
2
|
+
**/.wrangler/**
|
|
3
|
+
**/tamagui.css
|
|
4
|
+
**/workbox*.js
|
|
5
|
+
**/sw*.js
|
|
6
|
+
**/service-worker.js
|
|
7
|
+
**/fallback*.js
|
|
8
|
+
**/node_modules/**
|
|
9
|
+
**/dist/**
|
|
10
|
+
**/ios/**
|
|
11
|
+
**/.git/**
|
|
12
|
+
**/.android/**
|
|
13
|
+
**/.DS_Store/**
|
|
14
|
+
**/Thumbs.db/**
|
|
15
|
+
**/.tamagui*
|
|
16
|
+
**/.next*
|
|
17
|
+
**/CODEOWNERS
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"ignorePatterns": ["**/*", "**/node_modules/**"],
|
|
4
|
+
"plugins": ["@nx"],
|
|
5
|
+
"overrides": [
|
|
6
|
+
{
|
|
7
|
+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
8
|
+
"rules": {
|
|
9
|
+
"@nx/enforce-module-boundaries": [
|
|
10
|
+
"error",
|
|
11
|
+
{
|
|
12
|
+
"enforceBuildableLibDependency": true,
|
|
13
|
+
"allow": [],
|
|
14
|
+
"depConstraints": [
|
|
15
|
+
{
|
|
16
|
+
"sourceTag": "*",
|
|
17
|
+
"onlyDependOnLibsWithTags": ["*"]
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"files": ["*.ts", "*.tsx"],
|
|
26
|
+
"extends": ["plugin:@nx/typescript"],
|
|
27
|
+
"rules": {}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"files": ["*.js", "*.jsx"],
|
|
31
|
+
"extends": ["plugin:@nx/javascript"],
|
|
32
|
+
"rules": {}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
|
|
36
|
+
"env": {
|
|
37
|
+
"jest": true
|
|
38
|
+
},
|
|
39
|
+
"rules": {}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
* @sullivanpj
|
|
1
|
+
* @sullivanpj
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
# Maintain dependencies for npm
|
|
9
|
+
- package-ecosystem: "npm"
|
|
10
|
+
directory: "/"
|
|
11
|
+
schedule:
|
|
12
|
+
interval: "weekly"
|
|
13
|
+
|
|
14
|
+
# Maintain dependencies for cargo
|
|
15
|
+
- package-ecosystem: "cargo"
|
|
16
|
+
directory: "/"
|
|
17
|
+
schedule:
|
|
18
|
+
interval: "weekly"
|
|
19
|
+
|
|
20
|
+
# Maintain dependencies for GitHub Actions
|
|
21
|
+
- package-ecosystem: "github-actions"
|
|
22
|
+
directory: "/"
|
|
23
|
+
schedule:
|
|
24
|
+
interval: "daily"
|