@storm-software/workspace-tools 1.275.21 → 1.275.22
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 +21 -0
- package/dist/{chunk-M2RWCXGG.js → chunk-42TNQHCD.js} +2 -2
- package/dist/{chunk-VNWWEHIC.js → chunk-5TUFRMTO.js} +2 -2
- package/dist/{chunk-WRM3EAQL.js → chunk-6R4A3PB6.js} +21 -21
- package/dist/{chunk-RB2UWVCU.mjs → chunk-7B7MO37D.mjs} +1 -1
- package/dist/{chunk-Q5PHHZK5.js → chunk-7ZRQQA25.js} +2 -2
- package/dist/{chunk-X2JVWB4F.mjs → chunk-C7LHUAYC.mjs} +2 -2
- package/dist/{chunk-JYOPSFB4.js → chunk-DKLKGRRG.js} +2 -2
- package/dist/{chunk-4AJFY3TU.js → chunk-EN5XS3GB.js} +84 -84
- package/dist/{chunk-SLYJ57BS.mjs → chunk-EN6UN4HW.mjs} +1 -1
- package/dist/{chunk-323YYPBI.js → chunk-EUAJDEYR.js} +2 -2
- package/dist/{chunk-U3ORKFRH.js → chunk-FFOWIU7U.js} +5 -5
- package/dist/{chunk-562YIZY6.mjs → chunk-G6EH3PP7.mjs} +2 -2
- package/dist/{chunk-AXP4TQEB.mjs → chunk-HMYD5M4B.mjs} +2 -2
- package/dist/{chunk-4TKNR4UF.mjs → chunk-HWLOOO2F.mjs} +3 -3
- package/dist/{chunk-O6CDIW64.mjs → chunk-I4SUMEDP.mjs} +3 -3
- package/dist/{chunk-6IGBLWC7.js → chunk-IK64JJIC.js} +2 -2
- package/dist/{chunk-LWMUUMAO.mjs → chunk-JMWUA7I6.mjs} +1 -1
- package/dist/{chunk-KK7GLPSX.mjs → chunk-K2CSCQCX.mjs} +1 -1
- package/dist/{chunk-HXX2KU7K.js → chunk-L5YPQPPI.js} +2 -2
- package/dist/{chunk-UKJES7FE.mjs → chunk-LV23UCVW.mjs} +1 -1
- package/dist/{chunk-UER4EE2C.mjs → chunk-M4FI4A7J.mjs} +2 -2
- package/dist/chunk-M4MFOGBP.js +67 -0
- package/dist/{chunk-JPD34HQ6.js → chunk-N26S5ZZO.js} +4 -4
- package/dist/{chunk-62PWDDJ5.js → chunk-N56A46X4.js} +19 -19
- package/dist/{chunk-FRSRLLIU.js → chunk-PS2BJ4LE.js} +16 -16
- package/dist/{chunk-S3TTYACT.js → chunk-Q4OQNT35.js} +2 -2
- package/dist/{chunk-TMWRMTZX.mjs → chunk-RI4DKWHY.mjs} +1 -1
- package/dist/{chunk-TA7R5VU7.mjs → chunk-RRSFJSUD.mjs} +1 -1
- package/dist/{chunk-FNHLEPRE.js → chunk-SC7EMPTR.js} +2 -2
- package/dist/{chunk-GSDPFFZP.mjs → chunk-T37KAYWR.mjs} +10 -7
- package/dist/{chunk-F2AQZYX7.js → chunk-TED4ZEH4.js} +2 -2
- package/dist/{chunk-WZURLCQH.mjs → chunk-U46LNC6Z.mjs} +1 -1
- package/dist/{chunk-HTLPAE2L.js → chunk-UND65LI3.js} +2 -2
- package/dist/{chunk-7R5M47RD.mjs → chunk-VM2NJKNU.mjs} +1 -1
- package/dist/{chunk-X5WXK44U.js → chunk-VTWK6DYL.js} +2 -2
- package/dist/{chunk-5QELRWTW.js → chunk-VXAYID6A.js} +20 -20
- package/dist/{chunk-KCYF6ZJO.mjs → chunk-WPS2TBOT.mjs} +2 -2
- package/dist/{chunk-PYR2GK7W.mjs → chunk-XUPPPUVL.mjs} +1 -1
- package/dist/{chunk-FIHLI4YN.js → chunk-Y2U6VHAA.js} +31 -31
- package/dist/{chunk-DR3QHMB4.mjs → chunk-Y47IDRQF.mjs} +1 -1
- package/dist/{chunk-AQBADFNP.mjs → chunk-ZBYX46UV.mjs} +1 -1
- package/dist/{chunk-SQZZXL5S.mjs → chunk-ZCZPWHWR.mjs} +1 -1
- package/dist/{chunk-P2LLJMPH.mjs → chunk-ZMH42O44.mjs} +2 -2
- package/dist/{chunk-JIITW5QG.js → chunk-ZTOCNHII.js} +5 -5
- package/dist/{executor-D5ne03fk.d.mts → executor-BP-LYnHF.d.mts} +1 -1
- package/dist/{executor-CFg--mJ6.d.ts → executor-BSjbUx1A.d.ts} +1 -1
- package/dist/{executor-BYF2xhS9.d.ts → executor-BksAOv8G.d.ts} +1 -1
- package/dist/{executor-C4qgoGSX.d.ts → executor-C-siLbCm.d.ts} +1 -1
- package/dist/{executor-BHzuA3tJ.d.mts → executor-CKiwa5Xq.d.mts} +1 -1
- package/dist/{executor-Y9N9Pqs7.d.ts → executor-CTCU7CcG.d.ts} +1 -1
- package/dist/{executor-JPxZNI_w.d.mts → executor-Cmx3MWUy.d.mts} +1 -1
- package/dist/{executor-BBzyEOFH.d.mts → executor-XS6ys9ih.d.mts} +1 -1
- package/dist/executors.d.mts +6 -6
- package/dist/executors.d.ts +6 -6
- package/dist/executors.js +15 -15
- package/dist/executors.mjs +14 -14
- package/dist/{generator-DhUKH7iC.d.ts → generator-BXzhsfxo.d.ts} +1 -1
- package/dist/{generator-CEGGlFM-.d.ts → generator-BZs3V01e.d.ts} +2 -2
- package/dist/{generator-C-imx0M4.d.mts → generator-BtKZw7Ii.d.mts} +1 -1
- package/dist/{generator-CYjtZpPF.d.ts → generator-BuRFeV2C.d.ts} +2 -2
- package/dist/{generator-D9LfLTBp.d.ts → generator-CCIH4c92.d.ts} +1 -1
- package/dist/{generator-BYQUuNd1.d.mts → generator-CVD09mcB.d.mts} +2 -2
- package/dist/{generator-CqREcpH1.d.mts → generator-CYG64r2I.d.mts} +2 -2
- package/dist/{generator-B5y6fbM9.d.ts → generator-Ca1yHZ_D.d.ts} +3 -3
- package/dist/{generator-Bb-wk9zd.d.mts → generator-DjwiJF7J.d.mts} +3 -3
- package/dist/{generator-BtJNGRAU.d.mts → generator-MW3X4CCa.d.mts} +2 -2
- package/dist/{generator-CcUUjx-4.d.mts → generator-Sdga0BE0.d.mts} +1 -1
- package/dist/{generator-BDd_dgNW.d.ts → generator-qXrsuk5E.d.ts} +2 -2
- package/dist/generators.d.mts +9 -9
- package/dist/generators.d.ts +9 -9
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +10 -10
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +23 -23
- package/dist/index.mjs +22 -22
- package/dist/src/base/base-executor.d.mts +3 -3
- package/dist/src/base/base-executor.d.ts +3 -3
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.d.mts +3 -3
- package/dist/src/base/base-generator.d.ts +3 -3
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.d.mts +3 -3
- package/dist/src/base/index.d.ts +3 -3
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.d.mts +2 -2
- package/dist/src/executors/clean-package/executor.d.ts +2 -2
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.d.mts +3 -3
- package/dist/src/executors/esbuild/executor.d.ts +3 -3
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/size-limit/executor.d.mts +3 -3
- package/dist/src/executors/size-limit/executor.d.ts +3 -3
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/typia/executor.d.mts +3 -3
- package/dist/src/executors/typia/executor.d.ts +3 -3
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.d.mts +3 -3
- package/dist/src/executors/unbuild/executor.d.ts +3 -3
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.d.mts +4 -4
- package/dist/src/generators/browser-library/generator.d.ts +4 -4
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.d.mts +4 -4
- package/dist/src/generators/config-schema/generator.d.ts +4 -4
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.d.mts +4 -4
- package/dist/src/generators/neutral-library/generator.d.ts +4 -4
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.d.mts +4 -4
- package/dist/src/generators/node-library/generator.d.ts +4 -4
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.d.mts +4 -4
- package/dist/src/generators/preset/generator.d.ts +4 -4
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/release-version/generator.d.mts +3 -3
- package/dist/src/generators/release-version/generator.d.ts +3 -3
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/types.d.mts +3 -3
- package/dist/src/types.d.ts +3 -3
- package/dist/src/utils/apply-workspace-tokens.d.mts +2 -2
- package/dist/src/utils/apply-workspace-tokens.d.ts +2 -2
- package/dist/src/utils/index.d.mts +3 -3
- package/dist/src/utils/index.d.ts +3 -3
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/dist/src/utils/project-tags.d.mts +3 -3
- package/dist/src/utils/project-tags.d.ts +3 -3
- package/dist/{types-CS7-qMzU.d.ts → types-CaL51DUL.d.ts} +1 -1
- package/dist/{types-DRb7iLoG.d.mts → types-DzO7l4VZ.d.mts} +1 -1
- package/dist/types-sLpco176.d.mts +267 -0
- package/dist/types-sLpco176.d.ts +267 -0
- package/package.json +2 -3
- package/dist/chunk-V7XHSQAI.js +0 -64
- package/dist/types-20QvkLZ0.d.mts +0 -1322
- package/dist/types-20QvkLZ0.d.ts +0 -1322
|
@@ -0,0 +1,267 @@
|
|
|
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.ZodOptional<z.ZodNullable<z.ZodOptional<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
|
+
account: 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
|
+
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
57
|
+
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
58
|
+
directories: z.ZodObject<{
|
|
59
|
+
cache: z.ZodOptional<z.ZodString>;
|
|
60
|
+
data: z.ZodOptional<z.ZodString>;
|
|
61
|
+
config: z.ZodOptional<z.ZodString>;
|
|
62
|
+
temp: z.ZodOptional<z.ZodString>;
|
|
63
|
+
log: z.ZodOptional<z.ZodString>;
|
|
64
|
+
build: z.ZodDefault<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
packageManager: z.ZodDefault<z.ZodEnum<{
|
|
67
|
+
npm: "npm";
|
|
68
|
+
yarn: "yarn";
|
|
69
|
+
pnpm: "pnpm";
|
|
70
|
+
bun: "bun";
|
|
71
|
+
}>>;
|
|
72
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
73
|
+
locale: z.ZodDefault<z.ZodString>;
|
|
74
|
+
logLevel: z.ZodDefault<z.ZodEnum<{
|
|
75
|
+
error: "error";
|
|
76
|
+
success: "success";
|
|
77
|
+
info: "info";
|
|
78
|
+
fatal: "fatal";
|
|
79
|
+
silent: "silent";
|
|
80
|
+
warn: "warn";
|
|
81
|
+
debug: "debug";
|
|
82
|
+
trace: "trace";
|
|
83
|
+
all: "all";
|
|
84
|
+
}>>;
|
|
85
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
registry: z.ZodDefault<z.ZodObject<{
|
|
87
|
+
github: z.ZodOptional<z.ZodString>;
|
|
88
|
+
npm: z.ZodOptional<z.ZodString>;
|
|
89
|
+
cargo: z.ZodOptional<z.ZodString>;
|
|
90
|
+
cyclone: z.ZodOptional<z.ZodString>;
|
|
91
|
+
container: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
configFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
colors: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
95
|
+
dark: z.ZodDefault<z.ZodString>;
|
|
96
|
+
light: z.ZodDefault<z.ZodString>;
|
|
97
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
98
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
99
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
100
|
+
link: z.ZodOptional<z.ZodString>;
|
|
101
|
+
help: z.ZodDefault<z.ZodString>;
|
|
102
|
+
success: z.ZodDefault<z.ZodString>;
|
|
103
|
+
info: z.ZodDefault<z.ZodString>;
|
|
104
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
105
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
106
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
107
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
108
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
110
|
+
dark: z.ZodObject<{
|
|
111
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
112
|
+
background: z.ZodDefault<z.ZodString>;
|
|
113
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
114
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
115
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
116
|
+
link: z.ZodOptional<z.ZodString>;
|
|
117
|
+
help: z.ZodDefault<z.ZodString>;
|
|
118
|
+
success: z.ZodDefault<z.ZodString>;
|
|
119
|
+
info: z.ZodDefault<z.ZodString>;
|
|
120
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
121
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
122
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
123
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
124
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
light: z.ZodObject<{
|
|
127
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
128
|
+
background: z.ZodDefault<z.ZodString>;
|
|
129
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
130
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
131
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
132
|
+
link: z.ZodOptional<z.ZodString>;
|
|
133
|
+
help: z.ZodDefault<z.ZodString>;
|
|
134
|
+
success: z.ZodDefault<z.ZodString>;
|
|
135
|
+
info: z.ZodDefault<z.ZodString>;
|
|
136
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
137
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
138
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
139
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
140
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
}, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
143
|
+
base: z.ZodUnion<[z.ZodObject<{
|
|
144
|
+
dark: z.ZodDefault<z.ZodString>;
|
|
145
|
+
light: z.ZodDefault<z.ZodString>;
|
|
146
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
147
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
148
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
149
|
+
link: z.ZodOptional<z.ZodString>;
|
|
150
|
+
help: z.ZodDefault<z.ZodString>;
|
|
151
|
+
success: z.ZodDefault<z.ZodString>;
|
|
152
|
+
info: z.ZodDefault<z.ZodString>;
|
|
153
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
154
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
155
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
156
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
157
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
+
dark: z.ZodObject<{
|
|
160
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
161
|
+
background: z.ZodDefault<z.ZodString>;
|
|
162
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
163
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
164
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
165
|
+
link: z.ZodOptional<z.ZodString>;
|
|
166
|
+
help: z.ZodDefault<z.ZodString>;
|
|
167
|
+
success: z.ZodDefault<z.ZodString>;
|
|
168
|
+
info: z.ZodDefault<z.ZodString>;
|
|
169
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
170
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
171
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
172
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
173
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
light: z.ZodObject<{
|
|
176
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
177
|
+
background: z.ZodDefault<z.ZodString>;
|
|
178
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
179
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
180
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
181
|
+
link: z.ZodOptional<z.ZodString>;
|
|
182
|
+
help: z.ZodDefault<z.ZodString>;
|
|
183
|
+
success: z.ZodDefault<z.ZodString>;
|
|
184
|
+
info: z.ZodDefault<z.ZodString>;
|
|
185
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
186
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
187
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
188
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
189
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
}, z.core.$strip>]>;
|
|
192
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
193
|
+
dark: z.ZodDefault<z.ZodString>;
|
|
194
|
+
light: z.ZodDefault<z.ZodString>;
|
|
195
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
196
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
197
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
198
|
+
link: z.ZodOptional<z.ZodString>;
|
|
199
|
+
help: z.ZodDefault<z.ZodString>;
|
|
200
|
+
success: z.ZodDefault<z.ZodString>;
|
|
201
|
+
info: z.ZodDefault<z.ZodString>;
|
|
202
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
203
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
204
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
205
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
206
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
dark: z.ZodObject<{
|
|
209
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
210
|
+
background: z.ZodDefault<z.ZodString>;
|
|
211
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
212
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
213
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
214
|
+
link: z.ZodOptional<z.ZodString>;
|
|
215
|
+
help: z.ZodDefault<z.ZodString>;
|
|
216
|
+
success: z.ZodDefault<z.ZodString>;
|
|
217
|
+
info: z.ZodDefault<z.ZodString>;
|
|
218
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
219
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
220
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
221
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
222
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
light: z.ZodObject<{
|
|
225
|
+
foreground: z.ZodDefault<z.ZodString>;
|
|
226
|
+
background: z.ZodDefault<z.ZodString>;
|
|
227
|
+
brand: z.ZodDefault<z.ZodString>;
|
|
228
|
+
alternate: z.ZodOptional<z.ZodString>;
|
|
229
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
230
|
+
link: z.ZodOptional<z.ZodString>;
|
|
231
|
+
help: z.ZodDefault<z.ZodString>;
|
|
232
|
+
success: z.ZodDefault<z.ZodString>;
|
|
233
|
+
info: z.ZodDefault<z.ZodString>;
|
|
234
|
+
warning: z.ZodDefault<z.ZodString>;
|
|
235
|
+
danger: z.ZodDefault<z.ZodString>;
|
|
236
|
+
fatal: z.ZodOptional<z.ZodString>;
|
|
237
|
+
positive: z.ZodDefault<z.ZodString>;
|
|
238
|
+
negative: z.ZodDefault<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
}, z.core.$strip>]>>]>]>;
|
|
241
|
+
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
|
|
244
|
+
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
245
|
+
/**
|
|
246
|
+
* The Storm workspace's configuration object
|
|
247
|
+
*
|
|
248
|
+
* @remarks
|
|
249
|
+
* 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`.
|
|
250
|
+
*
|
|
251
|
+
* @deprecated
|
|
252
|
+
* This type is deprecated and will be removed in the next major version. Use `StormWorkspaceConfig` instead.
|
|
253
|
+
*/
|
|
254
|
+
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
255
|
+
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
256
|
+
[extensionName in TExtensionName]: TExtensionConfig;
|
|
257
|
+
}) | NonNullable<Record<string, any>>;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* The Storm workspace's configuration object
|
|
261
|
+
*
|
|
262
|
+
* @remarks
|
|
263
|
+
* 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`.
|
|
264
|
+
*/
|
|
265
|
+
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
266
|
+
|
|
267
|
+
export type { StormWorkspaceConfig as S };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.275.
|
|
3
|
+
"version": "1.275.22",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -223,8 +223,7 @@
|
|
|
223
223
|
"size-limit": "11.1.4",
|
|
224
224
|
"typia": "^7.5.0",
|
|
225
225
|
"untyped": "^1.5.2",
|
|
226
|
-
"zod": "^3.
|
|
227
|
-
"zod-to-json-schema": "3.23.1"
|
|
226
|
+
"zod": "^3.25.67"
|
|
228
227
|
},
|
|
229
228
|
"devDependencies": {
|
|
230
229
|
"@types/micromatch": "^4.0.9",
|
package/dist/chunk-V7XHSQAI.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
var _chunkFRSRLLIUjs = require('./chunk-FRSRLLIU.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
13
|
-
|
|
14
|
-
// src/generators/config-schema/generator.ts
|
|
15
|
-
var _devkit = require('@nx/devkit');
|
|
16
|
-
var _zodtojsonschema = require('zod-to-json-schema');
|
|
17
|
-
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
|
-
_chunk4AJFY3TUjs.writeInfo.call(void 0,
|
|
19
|
-
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
20
|
-
config
|
|
21
|
-
);
|
|
22
|
-
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
23
|
-
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
24
|
-
config
|
|
25
|
-
);
|
|
26
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunk4AJFY3TUjs.stormWorkspaceConfigSchema, {
|
|
27
|
-
name: "StormWorkspaceConfiguration"
|
|
28
|
-
});
|
|
29
|
-
_chunk4AJFY3TUjs.writeTrace.call(void 0, jsonSchema, config);
|
|
30
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
31
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
|
|
32
|
-
_optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./"
|
|
33
|
-
);
|
|
34
|
-
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
35
|
-
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
36
|
-
config
|
|
37
|
-
);
|
|
38
|
-
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
39
|
-
await _devkit.formatFiles.call(void 0, tree);
|
|
40
|
-
_chunk4AJFY3TUjs.writeSuccess.call(void 0,
|
|
41
|
-
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
42
|
-
config
|
|
43
|
-
);
|
|
44
|
-
return {
|
|
45
|
-
success: true
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
var generator_default = _chunkFRSRLLIUjs.withRunGenerator.call(void 0,
|
|
49
|
-
"Configuration Schema Creator",
|
|
50
|
-
configSchemaGeneratorFn,
|
|
51
|
-
{
|
|
52
|
-
hooks: {
|
|
53
|
-
applyDefaultOptions: (options) => {
|
|
54
|
-
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
55
|
-
return options;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
exports.configSchemaGeneratorFn = configSchemaGeneratorFn; exports.generator_default = generator_default;
|