@storm-software/workspace-tools 1.66.30 → 1.67.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 +12 -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
|
@@ -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(
|
|
@@ -410564,7 +410577,12 @@ async function build3(config, options = {}) {
|
|
|
410564
410577
|
await buildWithOptions(
|
|
410565
410578
|
config,
|
|
410566
410579
|
applyDefaultOptions(
|
|
410567
|
-
{
|
|
410580
|
+
{
|
|
410581
|
+
projectRoot,
|
|
410582
|
+
projectName,
|
|
410583
|
+
sourceRoot: projectConfiguration.sourceRoot,
|
|
410584
|
+
...options
|
|
410585
|
+
},
|
|
410568
410586
|
config
|
|
410569
410587
|
)
|
|
410570
410588
|
);
|
|
@@ -410583,7 +410601,10 @@ async function buildWithOptions(config, options) {
|
|
|
410583
410601
|
writeInfo(config, `\u{1F9F9} Cleaning output path: ${enhancedOptions.outputPath}`);
|
|
410584
410602
|
(0, import_fs_extra.removeSync)(enhancedOptions.outputPath);
|
|
410585
410603
|
}
|
|
410586
|
-
writeDebug(
|
|
410604
|
+
writeDebug(
|
|
410605
|
+
config,
|
|
410606
|
+
`\u{1F4E6} Copying asset files to output directory: ${enhancedOptions.outputPath}`
|
|
410607
|
+
);
|
|
410587
410608
|
const assets = Array.from(options.assets ?? []);
|
|
410588
410609
|
if (!enhancedOptions.assets?.some((asset) => asset?.glob === "*.md")) {
|
|
410589
410610
|
assets.push({
|
|
@@ -410592,7 +410613,9 @@ async function buildWithOptions(config, options) {
|
|
|
410592
410613
|
output: "/"
|
|
410593
410614
|
});
|
|
410594
410615
|
}
|
|
410595
|
-
if (!enhancedOptions.assets?.some(
|
|
410616
|
+
if (!enhancedOptions.assets?.some(
|
|
410617
|
+
(asset) => asset?.glob === "LICENSE"
|
|
410618
|
+
)) {
|
|
410596
410619
|
assets.push({
|
|
410597
410620
|
input: "",
|
|
410598
410621
|
glob: "LICENSE",
|
|
@@ -410663,10 +410686,26 @@ async function buildWithOptions(config, options) {
|
|
|
410663
410686
|
)}`
|
|
410664
410687
|
);
|
|
410665
410688
|
const files = globSync([
|
|
410666
|
-
(0, import_devkit9.joinPathFragments)(
|
|
410667
|
-
|
|
410668
|
-
|
|
410669
|
-
|
|
410689
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410690
|
+
workspaceRoot,
|
|
410691
|
+
enhancedOptions.outputPath,
|
|
410692
|
+
"src/**/*.ts"
|
|
410693
|
+
),
|
|
410694
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410695
|
+
workspaceRoot,
|
|
410696
|
+
enhancedOptions.outputPath,
|
|
410697
|
+
"src/**/*.tsx"
|
|
410698
|
+
),
|
|
410699
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410700
|
+
workspaceRoot,
|
|
410701
|
+
enhancedOptions.outputPath,
|
|
410702
|
+
"src/**/*.js"
|
|
410703
|
+
),
|
|
410704
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410705
|
+
workspaceRoot,
|
|
410706
|
+
enhancedOptions.outputPath,
|
|
410707
|
+
"src/**/*.jsx"
|
|
410708
|
+
)
|
|
410670
410709
|
]);
|
|
410671
410710
|
await Promise.allSettled(
|
|
410672
410711
|
files.map(
|
|
@@ -410691,7 +410730,11 @@ ${(0, import_node_fs4.readFileSync)(file, "utf-8")}`,
|
|
|
410691
410730
|
if (enhancedOptions.generatePackageJson !== false) {
|
|
410692
410731
|
writeDebug(config, "\u270D\uFE0F Writing package.json file");
|
|
410693
410732
|
await (0, import_fileutils2.writeJsonFile)(
|
|
410694
|
-
(0, import_devkit9.joinPathFragments)(
|
|
410733
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410734
|
+
workspaceRoot,
|
|
410735
|
+
enhancedOptions.outputPath,
|
|
410736
|
+
"package.json"
|
|
410737
|
+
),
|
|
410695
410738
|
packageJson
|
|
410696
410739
|
);
|
|
410697
410740
|
enhancedOptions.external ??= [];
|
|
@@ -410702,7 +410745,12 @@ ${(0, import_node_fs4.readFileSync)(file, "utf-8")}`,
|
|
|
410702
410745
|
}
|
|
410703
410746
|
}
|
|
410704
410747
|
writeDebug(config, "\u{1F50D} Detecting entry points for the build process");
|
|
410705
|
-
const entryPoints = getEntryPoints(
|
|
410748
|
+
const entryPoints = getEntryPoints(
|
|
410749
|
+
config,
|
|
410750
|
+
projectRoot,
|
|
410751
|
+
sourceRoot,
|
|
410752
|
+
enhancedOptions
|
|
410753
|
+
);
|
|
410706
410754
|
writeTrace(
|
|
410707
410755
|
config,
|
|
410708
410756
|
`Found entry points:
|
|
@@ -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(
|
|
@@ -410563,7 +410576,12 @@ async function build3(config, options = {}) {
|
|
|
410563
410576
|
await buildWithOptions(
|
|
410564
410577
|
config,
|
|
410565
410578
|
applyDefaultOptions(
|
|
410566
|
-
{
|
|
410579
|
+
{
|
|
410580
|
+
projectRoot,
|
|
410581
|
+
projectName,
|
|
410582
|
+
sourceRoot: projectConfiguration.sourceRoot,
|
|
410583
|
+
...options
|
|
410584
|
+
},
|
|
410567
410585
|
config
|
|
410568
410586
|
)
|
|
410569
410587
|
);
|
|
@@ -410582,7 +410600,10 @@ async function buildWithOptions(config, options) {
|
|
|
410582
410600
|
writeInfo(config, `\u{1F9F9} Cleaning output path: ${enhancedOptions.outputPath}`);
|
|
410583
410601
|
(0, import_fs_extra.removeSync)(enhancedOptions.outputPath);
|
|
410584
410602
|
}
|
|
410585
|
-
writeDebug(
|
|
410603
|
+
writeDebug(
|
|
410604
|
+
config,
|
|
410605
|
+
`\u{1F4E6} Copying asset files to output directory: ${enhancedOptions.outputPath}`
|
|
410606
|
+
);
|
|
410586
410607
|
const assets = Array.from(options.assets ?? []);
|
|
410587
410608
|
if (!enhancedOptions.assets?.some((asset) => asset?.glob === "*.md")) {
|
|
410588
410609
|
assets.push({
|
|
@@ -410591,7 +410612,9 @@ async function buildWithOptions(config, options) {
|
|
|
410591
410612
|
output: "/"
|
|
410592
410613
|
});
|
|
410593
410614
|
}
|
|
410594
|
-
if (!enhancedOptions.assets?.some(
|
|
410615
|
+
if (!enhancedOptions.assets?.some(
|
|
410616
|
+
(asset) => asset?.glob === "LICENSE"
|
|
410617
|
+
)) {
|
|
410595
410618
|
assets.push({
|
|
410596
410619
|
input: "",
|
|
410597
410620
|
glob: "LICENSE",
|
|
@@ -410662,10 +410685,26 @@ async function buildWithOptions(config, options) {
|
|
|
410662
410685
|
)}`
|
|
410663
410686
|
);
|
|
410664
410687
|
const files = globSync([
|
|
410665
|
-
(0, import_devkit9.joinPathFragments)(
|
|
410666
|
-
|
|
410667
|
-
|
|
410668
|
-
|
|
410688
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410689
|
+
workspaceRoot,
|
|
410690
|
+
enhancedOptions.outputPath,
|
|
410691
|
+
"src/**/*.ts"
|
|
410692
|
+
),
|
|
410693
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410694
|
+
workspaceRoot,
|
|
410695
|
+
enhancedOptions.outputPath,
|
|
410696
|
+
"src/**/*.tsx"
|
|
410697
|
+
),
|
|
410698
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410699
|
+
workspaceRoot,
|
|
410700
|
+
enhancedOptions.outputPath,
|
|
410701
|
+
"src/**/*.js"
|
|
410702
|
+
),
|
|
410703
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410704
|
+
workspaceRoot,
|
|
410705
|
+
enhancedOptions.outputPath,
|
|
410706
|
+
"src/**/*.jsx"
|
|
410707
|
+
)
|
|
410669
410708
|
]);
|
|
410670
410709
|
await Promise.allSettled(
|
|
410671
410710
|
files.map(
|
|
@@ -410690,7 +410729,11 @@ ${(0, import_node_fs4.readFileSync)(file, "utf-8")}`,
|
|
|
410690
410729
|
if (enhancedOptions.generatePackageJson !== false) {
|
|
410691
410730
|
writeDebug(config, "\u270D\uFE0F Writing package.json file");
|
|
410692
410731
|
await (0, import_fileutils2.writeJsonFile)(
|
|
410693
|
-
(0, import_devkit9.joinPathFragments)(
|
|
410732
|
+
(0, import_devkit9.joinPathFragments)(
|
|
410733
|
+
workspaceRoot,
|
|
410734
|
+
enhancedOptions.outputPath,
|
|
410735
|
+
"package.json"
|
|
410736
|
+
),
|
|
410694
410737
|
packageJson
|
|
410695
410738
|
);
|
|
410696
410739
|
enhancedOptions.external ??= [];
|
|
@@ -410701,7 +410744,12 @@ ${(0, import_node_fs4.readFileSync)(file, "utf-8")}`,
|
|
|
410701
410744
|
}
|
|
410702
410745
|
}
|
|
410703
410746
|
writeDebug(config, "\u{1F50D} Detecting entry points for the build process");
|
|
410704
|
-
const entryPoints = getEntryPoints(
|
|
410747
|
+
const entryPoints = getEntryPoints(
|
|
410748
|
+
config,
|
|
410749
|
+
projectRoot,
|
|
410750
|
+
sourceRoot,
|
|
410751
|
+
enhancedOptions
|
|
410752
|
+
);
|
|
410705
410753
|
writeTrace(
|
|
410706
410754
|
config,
|
|
410707
410755
|
`Found entry points:
|
|
@@ -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(
|