@storm-software/build-tools 0.151.20 → 0.151.21
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/README.md +1 -1
- package/dist/{chunk-MLYARNMM.js → chunk-CNDWLTG3.js} +18 -6
- package/dist/{chunk-3Y2UCCVY.mjs → chunk-RDJXQ27R.mjs} +18 -6
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/index.mjs +1 -1
- package/dist/utilities/read-nx-config.js +2 -2
- package/dist/utilities/read-nx-config.mjs +1 -1
- package/package.json +2 -2
- package/dist/types-BGaA15bv.d.mts +0 -216
- package/dist/types-BGaA15bv.d.ts +0 -216
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -648,12 +648,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
const defaultConfig = await _chunkGEGGAV75js.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
651
|
+
const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
|
|
652
|
+
try {
|
|
653
|
+
result = _chunkGEGGAV75js.applyDefaultConfig.call(void 0,
|
|
654
|
+
await _chunkGEGGAV75js.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
655
|
+
);
|
|
656
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
657
|
+
} catch (error) {
|
|
658
|
+
throw new Error(
|
|
659
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
660
|
+
|
|
661
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkGEGGAV75js.formatLogMessage.call(void 0,
|
|
662
|
+
configInput
|
|
663
|
+
)}`,
|
|
664
|
+
{
|
|
665
|
+
cause: error
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
}
|
|
657
669
|
} else {
|
|
658
670
|
result = _static_cache.data;
|
|
659
671
|
}
|
|
@@ -648,12 +648,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
651
|
+
const configInput = defu2(configEnv, configFile, defaultConfig);
|
|
652
|
+
try {
|
|
653
|
+
result = applyDefaultConfig(
|
|
654
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
655
|
+
);
|
|
656
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
657
|
+
} catch (error) {
|
|
658
|
+
throw new Error(
|
|
659
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
660
|
+
|
|
661
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
662
|
+
configInput
|
|
663
|
+
)}`,
|
|
664
|
+
{
|
|
665
|
+
cause: error
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
}
|
|
657
669
|
} else {
|
|
658
670
|
result = _static_cache.data;
|
|
659
671
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCNDWLTG3js = require('./chunk-CNDWLTG3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -79,4 +79,4 @@ var _chunkN7HP2YYEjs = require('./chunk-N7HP2YYE.js');
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.analyze = _chunkOTX5ITS4js.analyze; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig =
|
|
82
|
+
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.analyze = _chunkOTX5ITS4js.analyze; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkGJBPVWQVjs.tsResolvePlugin; exports.typeDefinitions = _chunkN7HP2YYEjs.typeDefinitions;
|
package/dist/index.mjs
CHANGED
package/dist/utilities/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCNDWLTG3js = require('../chunk-CNDWLTG3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -50,4 +50,4 @@ require('../chunk-GEGGAV75.js');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig =
|
|
53
|
+
exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig;
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCNDWLTG3js = require('../chunk-CNDWLTG3.js');
|
|
4
4
|
require('../chunk-GEGGAV75.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.readNxConfig =
|
|
7
|
+
exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/build-tools",
|
|
3
|
-
"version": "0.151.
|
|
3
|
+
"version": "0.151.21",
|
|
4
4
|
"description": "A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -168,5 +168,5 @@
|
|
|
168
168
|
"typescript": "^5.8.3"
|
|
169
169
|
},
|
|
170
170
|
"publishConfig": { "access": "public" },
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "edec74f2b1c6174fae001ac240bb291296c84fab"
|
|
172
172
|
}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/v4';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
5
|
-
*/
|
|
6
|
-
declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
7
|
-
$schema: z.ZodDefault<z.ZodString>;
|
|
8
|
-
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9
|
-
name: z.ZodOptional<z.ZodString>;
|
|
10
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
11
|
-
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
12
|
-
name: z.ZodString;
|
|
13
|
-
description: z.ZodOptional<z.ZodString>;
|
|
14
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
15
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
16
|
-
url: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>, z.ZodString]>>;
|
|
18
|
-
repository: z.ZodOptional<z.ZodString>;
|
|
19
|
-
license: z.ZodDefault<z.ZodString>;
|
|
20
|
-
homepage: z.ZodOptional<z.ZodString>;
|
|
21
|
-
docs: z.ZodOptional<z.ZodString>;
|
|
22
|
-
portal: z.ZodOptional<z.ZodString>;
|
|
23
|
-
licensing: z.ZodOptional<z.ZodString>;
|
|
24
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
25
|
-
support: z.ZodOptional<z.ZodString>;
|
|
26
|
-
branch: z.ZodDefault<z.ZodString>;
|
|
27
|
-
preid: z.ZodOptional<z.ZodString>;
|
|
28
|
-
owner: z.ZodDefault<z.ZodString>;
|
|
29
|
-
bot: z.ZodObject<{
|
|
30
|
-
name: z.ZodDefault<z.ZodString>;
|
|
31
|
-
email: z.ZodDefault<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>;
|
|
33
|
-
release: z.ZodObject<{
|
|
34
|
-
banner: z.ZodDefault<z.ZodString>;
|
|
35
|
-
header: z.ZodOptional<z.ZodString>;
|
|
36
|
-
footer: z.ZodDefault<z.ZodString>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
socials: z.ZodObject<{
|
|
39
|
-
twitter: z.ZodDefault<z.ZodString>;
|
|
40
|
-
discord: z.ZodDefault<z.ZodString>;
|
|
41
|
-
telegram: z.ZodDefault<z.ZodString>;
|
|
42
|
-
slack: z.ZodDefault<z.ZodString>;
|
|
43
|
-
medium: z.ZodDefault<z.ZodString>;
|
|
44
|
-
github: z.ZodDefault<z.ZodString>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
error: z.ZodObject<{
|
|
47
|
-
codesFile: z.ZodDefault<z.ZodString>;
|
|
48
|
-
url: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
51
|
-
development: "development";
|
|
52
|
-
staging: "staging";
|
|
53
|
-
production: "production";
|
|
54
|
-
}>>;
|
|
55
|
-
workspaceRoot: z.ZodString;
|
|
56
|
-
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
-
directories: z.ZodObject<{
|
|
58
|
-
cache: z.ZodOptional<z.ZodString>;
|
|
59
|
-
data: z.ZodOptional<z.ZodString>;
|
|
60
|
-
config: z.ZodOptional<z.ZodString>;
|
|
61
|
-
temp: z.ZodOptional<z.ZodString>;
|
|
62
|
-
log: z.ZodOptional<z.ZodString>;
|
|
63
|
-
build: z.ZodDefault<z.ZodString>;
|
|
64
|
-
}, z.core.$strip>;
|
|
65
|
-
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
66
|
-
npm: "npm";
|
|
67
|
-
yarn: "yarn";
|
|
68
|
-
pnpm: "pnpm";
|
|
69
|
-
bun: "bun";
|
|
70
|
-
}>>;
|
|
71
|
-
timezone: z.ZodDefault<z.ZodString>;
|
|
72
|
-
locale: z.ZodDefault<z.ZodString>;
|
|
73
|
-
logLevel: z.ZodDefault<z.ZodEnum<{
|
|
74
|
-
debug: "debug";
|
|
75
|
-
error: "error";
|
|
76
|
-
success: "success";
|
|
77
|
-
silent: "silent";
|
|
78
|
-
fatal: "fatal";
|
|
79
|
-
warn: "warn";
|
|
80
|
-
info: "info";
|
|
81
|
-
trace: "trace";
|
|
82
|
-
all: "all";
|
|
83
|
-
}>>;
|
|
84
|
-
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
registry: z.ZodDefault<z.ZodObject<{
|
|
86
|
-
github: z.ZodOptional<z.ZodString>;
|
|
87
|
-
npm: z.ZodOptional<z.ZodString>;
|
|
88
|
-
cargo: z.ZodOptional<z.ZodString>;
|
|
89
|
-
cyclone: z.ZodOptional<z.ZodString>;
|
|
90
|
-
container: z.ZodOptional<z.ZodString>;
|
|
91
|
-
}, z.core.$strip>>;
|
|
92
|
-
configFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93
|
-
colors: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
94
|
-
dark: z.ZodDefault<z.ZodString>;
|
|
95
|
-
light: z.ZodDefault<z.ZodString>;
|
|
96
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
97
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
98
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
99
|
-
link: z.ZodOptional<z.ZodString>;
|
|
100
|
-
help: z.ZodDefault<z.ZodString>;
|
|
101
|
-
success: z.ZodDefault<z.ZodString>;
|
|
102
|
-
info: z.ZodDefault<z.ZodString>;
|
|
103
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
104
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
105
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
106
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
107
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
dark: z.ZodObject<{
|
|
110
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
111
|
-
background: z.ZodDefault<z.ZodString>;
|
|
112
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
113
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
114
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
115
|
-
link: z.ZodOptional<z.ZodString>;
|
|
116
|
-
help: z.ZodDefault<z.ZodString>;
|
|
117
|
-
success: z.ZodDefault<z.ZodString>;
|
|
118
|
-
info: z.ZodDefault<z.ZodString>;
|
|
119
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
120
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
121
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
122
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
123
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
124
|
-
}, z.core.$strip>;
|
|
125
|
-
light: z.ZodObject<{
|
|
126
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
127
|
-
background: z.ZodDefault<z.ZodString>;
|
|
128
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
129
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
130
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
131
|
-
link: z.ZodOptional<z.ZodString>;
|
|
132
|
-
help: z.ZodDefault<z.ZodString>;
|
|
133
|
-
success: z.ZodDefault<z.ZodString>;
|
|
134
|
-
info: z.ZodDefault<z.ZodString>;
|
|
135
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
136
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
137
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
138
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
139
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
140
|
-
}, z.core.$strip>;
|
|
141
|
-
}, z.core.$strip>]>, z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"base">, z.ZodString]>, z.ZodUnion<[z.ZodObject<{
|
|
142
|
-
dark: z.ZodDefault<z.ZodString>;
|
|
143
|
-
light: z.ZodDefault<z.ZodString>;
|
|
144
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
145
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
146
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
147
|
-
link: z.ZodOptional<z.ZodString>;
|
|
148
|
-
help: z.ZodDefault<z.ZodString>;
|
|
149
|
-
success: z.ZodDefault<z.ZodString>;
|
|
150
|
-
info: z.ZodDefault<z.ZodString>;
|
|
151
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
152
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
153
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
154
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
155
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
-
dark: z.ZodObject<{
|
|
158
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
159
|
-
background: z.ZodDefault<z.ZodString>;
|
|
160
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
161
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
162
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
163
|
-
link: z.ZodOptional<z.ZodString>;
|
|
164
|
-
help: z.ZodDefault<z.ZodString>;
|
|
165
|
-
success: z.ZodDefault<z.ZodString>;
|
|
166
|
-
info: z.ZodDefault<z.ZodString>;
|
|
167
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
168
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
169
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
170
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
171
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
172
|
-
}, z.core.$strip>;
|
|
173
|
-
light: z.ZodObject<{
|
|
174
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
175
|
-
background: z.ZodDefault<z.ZodString>;
|
|
176
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
177
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
178
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
179
|
-
link: z.ZodOptional<z.ZodString>;
|
|
180
|
-
help: z.ZodDefault<z.ZodString>;
|
|
181
|
-
success: z.ZodDefault<z.ZodString>;
|
|
182
|
-
info: z.ZodDefault<z.ZodString>;
|
|
183
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
184
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
185
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
186
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
187
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
188
|
-
}, z.core.$strip>;
|
|
189
|
-
}, z.core.$strip>]>>]>;
|
|
190
|
-
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
191
|
-
}, z.core.$strip>;
|
|
192
|
-
|
|
193
|
-
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
194
|
-
/**
|
|
195
|
-
* The Storm workspace's configuration object
|
|
196
|
-
*
|
|
197
|
-
* @remarks
|
|
198
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
199
|
-
*
|
|
200
|
-
* @deprecated
|
|
201
|
-
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
202
|
-
*/
|
|
203
|
-
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
204
|
-
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
205
|
-
[extensionName in TExtensionName]: TExtensionConfig;
|
|
206
|
-
}) | NonNullable<Record<string, any>>;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* The Storm workspace's configuration object
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
213
|
-
*/
|
|
214
|
-
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
215
|
-
|
|
216
|
-
export type { StormWorkspaceConfig as S };
|
package/dist/types-BGaA15bv.d.ts
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/v4';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
5
|
-
*/
|
|
6
|
-
declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
7
|
-
$schema: z.ZodDefault<z.ZodString>;
|
|
8
|
-
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9
|
-
name: z.ZodOptional<z.ZodString>;
|
|
10
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
11
|
-
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
12
|
-
name: z.ZodString;
|
|
13
|
-
description: z.ZodOptional<z.ZodString>;
|
|
14
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
15
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
16
|
-
url: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>, z.ZodString]>>;
|
|
18
|
-
repository: z.ZodOptional<z.ZodString>;
|
|
19
|
-
license: z.ZodDefault<z.ZodString>;
|
|
20
|
-
homepage: z.ZodOptional<z.ZodString>;
|
|
21
|
-
docs: z.ZodOptional<z.ZodString>;
|
|
22
|
-
portal: z.ZodOptional<z.ZodString>;
|
|
23
|
-
licensing: z.ZodOptional<z.ZodString>;
|
|
24
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
25
|
-
support: z.ZodOptional<z.ZodString>;
|
|
26
|
-
branch: z.ZodDefault<z.ZodString>;
|
|
27
|
-
preid: z.ZodOptional<z.ZodString>;
|
|
28
|
-
owner: z.ZodDefault<z.ZodString>;
|
|
29
|
-
bot: z.ZodObject<{
|
|
30
|
-
name: z.ZodDefault<z.ZodString>;
|
|
31
|
-
email: z.ZodDefault<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>;
|
|
33
|
-
release: z.ZodObject<{
|
|
34
|
-
banner: z.ZodDefault<z.ZodString>;
|
|
35
|
-
header: z.ZodOptional<z.ZodString>;
|
|
36
|
-
footer: z.ZodDefault<z.ZodString>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
socials: z.ZodObject<{
|
|
39
|
-
twitter: z.ZodDefault<z.ZodString>;
|
|
40
|
-
discord: z.ZodDefault<z.ZodString>;
|
|
41
|
-
telegram: z.ZodDefault<z.ZodString>;
|
|
42
|
-
slack: z.ZodDefault<z.ZodString>;
|
|
43
|
-
medium: z.ZodDefault<z.ZodString>;
|
|
44
|
-
github: z.ZodDefault<z.ZodString>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
error: z.ZodObject<{
|
|
47
|
-
codesFile: z.ZodDefault<z.ZodString>;
|
|
48
|
-
url: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
51
|
-
development: "development";
|
|
52
|
-
staging: "staging";
|
|
53
|
-
production: "production";
|
|
54
|
-
}>>;
|
|
55
|
-
workspaceRoot: z.ZodString;
|
|
56
|
-
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
-
directories: z.ZodObject<{
|
|
58
|
-
cache: z.ZodOptional<z.ZodString>;
|
|
59
|
-
data: z.ZodOptional<z.ZodString>;
|
|
60
|
-
config: z.ZodOptional<z.ZodString>;
|
|
61
|
-
temp: z.ZodOptional<z.ZodString>;
|
|
62
|
-
log: z.ZodOptional<z.ZodString>;
|
|
63
|
-
build: z.ZodDefault<z.ZodString>;
|
|
64
|
-
}, z.core.$strip>;
|
|
65
|
-
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
66
|
-
npm: "npm";
|
|
67
|
-
yarn: "yarn";
|
|
68
|
-
pnpm: "pnpm";
|
|
69
|
-
bun: "bun";
|
|
70
|
-
}>>;
|
|
71
|
-
timezone: z.ZodDefault<z.ZodString>;
|
|
72
|
-
locale: z.ZodDefault<z.ZodString>;
|
|
73
|
-
logLevel: z.ZodDefault<z.ZodEnum<{
|
|
74
|
-
debug: "debug";
|
|
75
|
-
error: "error";
|
|
76
|
-
success: "success";
|
|
77
|
-
silent: "silent";
|
|
78
|
-
fatal: "fatal";
|
|
79
|
-
warn: "warn";
|
|
80
|
-
info: "info";
|
|
81
|
-
trace: "trace";
|
|
82
|
-
all: "all";
|
|
83
|
-
}>>;
|
|
84
|
-
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
registry: z.ZodDefault<z.ZodObject<{
|
|
86
|
-
github: z.ZodOptional<z.ZodString>;
|
|
87
|
-
npm: z.ZodOptional<z.ZodString>;
|
|
88
|
-
cargo: z.ZodOptional<z.ZodString>;
|
|
89
|
-
cyclone: z.ZodOptional<z.ZodString>;
|
|
90
|
-
container: z.ZodOptional<z.ZodString>;
|
|
91
|
-
}, z.core.$strip>>;
|
|
92
|
-
configFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93
|
-
colors: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
94
|
-
dark: z.ZodDefault<z.ZodString>;
|
|
95
|
-
light: z.ZodDefault<z.ZodString>;
|
|
96
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
97
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
98
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
99
|
-
link: z.ZodOptional<z.ZodString>;
|
|
100
|
-
help: z.ZodDefault<z.ZodString>;
|
|
101
|
-
success: z.ZodDefault<z.ZodString>;
|
|
102
|
-
info: z.ZodDefault<z.ZodString>;
|
|
103
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
104
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
105
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
106
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
107
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
dark: z.ZodObject<{
|
|
110
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
111
|
-
background: z.ZodDefault<z.ZodString>;
|
|
112
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
113
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
114
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
115
|
-
link: z.ZodOptional<z.ZodString>;
|
|
116
|
-
help: z.ZodDefault<z.ZodString>;
|
|
117
|
-
success: z.ZodDefault<z.ZodString>;
|
|
118
|
-
info: z.ZodDefault<z.ZodString>;
|
|
119
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
120
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
121
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
122
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
123
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
124
|
-
}, z.core.$strip>;
|
|
125
|
-
light: z.ZodObject<{
|
|
126
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
127
|
-
background: z.ZodDefault<z.ZodString>;
|
|
128
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
129
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
130
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
131
|
-
link: z.ZodOptional<z.ZodString>;
|
|
132
|
-
help: z.ZodDefault<z.ZodString>;
|
|
133
|
-
success: z.ZodDefault<z.ZodString>;
|
|
134
|
-
info: z.ZodDefault<z.ZodString>;
|
|
135
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
136
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
137
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
138
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
139
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
140
|
-
}, z.core.$strip>;
|
|
141
|
-
}, z.core.$strip>]>, z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"base">, z.ZodString]>, z.ZodUnion<[z.ZodObject<{
|
|
142
|
-
dark: z.ZodDefault<z.ZodString>;
|
|
143
|
-
light: z.ZodDefault<z.ZodString>;
|
|
144
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
145
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
146
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
147
|
-
link: z.ZodOptional<z.ZodString>;
|
|
148
|
-
help: z.ZodDefault<z.ZodString>;
|
|
149
|
-
success: z.ZodDefault<z.ZodString>;
|
|
150
|
-
info: z.ZodDefault<z.ZodString>;
|
|
151
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
152
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
153
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
154
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
155
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
-
dark: z.ZodObject<{
|
|
158
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
159
|
-
background: z.ZodDefault<z.ZodString>;
|
|
160
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
161
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
162
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
163
|
-
link: z.ZodOptional<z.ZodString>;
|
|
164
|
-
help: z.ZodDefault<z.ZodString>;
|
|
165
|
-
success: z.ZodDefault<z.ZodString>;
|
|
166
|
-
info: z.ZodDefault<z.ZodString>;
|
|
167
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
168
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
169
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
170
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
171
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
172
|
-
}, z.core.$strip>;
|
|
173
|
-
light: z.ZodObject<{
|
|
174
|
-
foreground: z.ZodDefault<z.ZodString>;
|
|
175
|
-
background: z.ZodDefault<z.ZodString>;
|
|
176
|
-
brand: z.ZodDefault<z.ZodString>;
|
|
177
|
-
alternate: z.ZodOptional<z.ZodString>;
|
|
178
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
179
|
-
link: z.ZodOptional<z.ZodString>;
|
|
180
|
-
help: z.ZodDefault<z.ZodString>;
|
|
181
|
-
success: z.ZodDefault<z.ZodString>;
|
|
182
|
-
info: z.ZodDefault<z.ZodString>;
|
|
183
|
-
warning: z.ZodDefault<z.ZodString>;
|
|
184
|
-
danger: z.ZodDefault<z.ZodString>;
|
|
185
|
-
fatal: z.ZodOptional<z.ZodString>;
|
|
186
|
-
positive: z.ZodDefault<z.ZodString>;
|
|
187
|
-
negative: z.ZodDefault<z.ZodString>;
|
|
188
|
-
}, z.core.$strip>;
|
|
189
|
-
}, z.core.$strip>]>>]>;
|
|
190
|
-
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
191
|
-
}, z.core.$strip>;
|
|
192
|
-
|
|
193
|
-
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
194
|
-
/**
|
|
195
|
-
* The Storm workspace's configuration object
|
|
196
|
-
*
|
|
197
|
-
* @remarks
|
|
198
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
199
|
-
*
|
|
200
|
-
* @deprecated
|
|
201
|
-
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
202
|
-
*/
|
|
203
|
-
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
204
|
-
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
205
|
-
[extensionName in TExtensionName]: TExtensionConfig;
|
|
206
|
-
}) | NonNullable<Record<string, any>>;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* The Storm workspace's configuration object
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
213
|
-
*/
|
|
214
|
-
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
215
|
-
|
|
216
|
-
export type { StormWorkspaceConfig as S };
|