@storm-software/workspace-tools 1.295.17 → 1.295.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,14 +1,11 @@
1
- import "./chunk-6YZ3OUJB.mjs";
2
- import {
3
- getTypiaTransform
4
- } from "./chunk-KR72GKIT.mjs";
1
+ import "./chunk-5GZC2PF6.mjs";
5
2
  import {
6
- createCliOptions
7
- } from "./chunk-W2C5IGWW.mjs";
3
+ StormJsVersionActions
4
+ } from "./chunk-AUWCQMJG.mjs";
8
5
  import {
9
- getProjectConfiguration,
10
- getProjectConfigurations
11
- } from "./chunk-AH7KAAQJ.mjs";
6
+ StormRustVersionActions
7
+ } from "./chunk-GW7JW3CY.mjs";
8
+ import "./chunk-6YZ3OUJB.mjs";
12
9
  import {
13
10
  LOCK_FILES,
14
11
  NPM_LOCK_FILE,
@@ -34,6 +31,10 @@ import {
34
31
  getProjectRoot,
35
32
  getRoot
36
33
  } from "./chunk-FKPWMB63.mjs";
34
+ import "./chunk-EGI64HQ2.mjs";
35
+ import {
36
+ getTypiaTransform
37
+ } from "./chunk-KR72GKIT.mjs";
37
38
  import "./chunk-P5P43FOZ.mjs";
38
39
  import {
39
40
  cargo_base_executor_untyped_default
@@ -44,17 +45,16 @@ import {
44
45
  import {
45
46
  typescript_library_generator_untyped_default
46
47
  } from "./chunk-SW2E5MQJ.mjs";
47
- import "./chunk-5GZC2PF6.mjs";
48
- import {
49
- StormJsVersionActions
50
- } from "./chunk-AUWCQMJG.mjs";
51
- import {
52
- StormRustVersionActions
53
- } from "./chunk-GW7JW3CY.mjs";
54
- import "./chunk-EGI64HQ2.mjs";
55
48
  import {
56
49
  applyWorkspaceExecutorTokens
57
50
  } from "./chunk-UBVTASOE.mjs";
51
+ import {
52
+ createCliOptions
53
+ } from "./chunk-W2C5IGWW.mjs";
54
+ import {
55
+ getProjectConfiguration,
56
+ getProjectConfigurations
57
+ } from "./chunk-AH7KAAQJ.mjs";
58
58
  import "./chunk-GHQJKIMQ.mjs";
59
59
  import {
60
60
  sizeLimitExecutorFn
@@ -96,6 +96,12 @@ import {
96
96
  import {
97
97
  cargoCheckExecutor
98
98
  } from "./chunk-UMEEPN33.mjs";
99
+ import {
100
+ PackageManagerTypes,
101
+ addPackageJsonGitHead,
102
+ getPackageInfo
103
+ } from "./chunk-V5NVKBCF.mjs";
104
+ import "./chunk-M3YDUOTX.mjs";
99
105
  import {
100
106
  INVALID_CARGO_ARGS,
101
107
  buildCargoCommand,
@@ -107,12 +113,6 @@ import {
107
113
  isExternal,
108
114
  runProcess
109
115
  } from "./chunk-ZTN2676G.mjs";
110
- import {
111
- PackageManagerTypes,
112
- addPackageJsonGitHead,
113
- getPackageInfo
114
- } from "./chunk-V5NVKBCF.mjs";
115
- import "./chunk-M3YDUOTX.mjs";
116
116
  import "./chunk-SAIDGUHG.mjs";
117
117
  import {
118
118
  nodeLibraryGeneratorFn
@@ -1,59 +1,59 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-JGP4YWZY.js');
2
2
 
3
3
 
4
- var _chunk6EMYX25Vjs = require('../../chunk-6EMYX25V.js');
5
4
 
6
5
 
7
- var _chunkQVYCDINGjs = require('../../chunk-QVYCDING.js');
8
6
 
9
7
 
10
8
 
11
- var _chunkDIUWF7BWjs = require('../../chunk-DIUWF7BW.js');
12
9
 
13
10
 
14
11
 
15
12
 
16
13
 
14
+ var _chunkTM2CRDJWjs = require('../../chunk-TM2CRDJW.js');
17
15
 
18
16
 
19
17
 
20
18
 
19
+ var _chunk4AKDRRMLjs = require('../../chunk-4AKDRRML.js');
21
20
 
22
21
 
23
22
 
24
- var _chunkTM2CRDJWjs = require('../../chunk-TM2CRDJW.js');
25
23
 
26
24
 
27
25
 
26
+ var _chunkXZ6L6OXJjs = require('../../chunk-XZ6L6OXJ.js');
28
27
 
29
- var _chunk4AKDRRMLjs = require('../../chunk-4AKDRRML.js');
30
28
 
29
+ var _chunk6EMYX25Vjs = require('../../chunk-6EMYX25V.js');
31
30
 
32
31
 
32
+ var _chunkVXHOSAQ7js = require('../../chunk-VXHOSAQ7.js');
33
33
 
34
34
 
35
+ var _chunkQVYCDINGjs = require('../../chunk-QVYCDING.js');
35
36
 
36
- var _chunkXZ6L6OXJjs = require('../../chunk-XZ6L6OXJ.js');
37
37
 
38
38
 
39
- var _chunkVXHOSAQ7js = require('../../chunk-VXHOSAQ7.js');
39
+ var _chunkDIUWF7BWjs = require('../../chunk-DIUWF7BW.js');
40
40
 
41
41
 
42
42
 
43
43
 
44
+ var _chunkPJBQJFQIjs = require('../../chunk-PJBQJFQI.js');
45
+ require('../../chunk-33TUEQBH.js');
44
46
 
45
47
 
46
48
 
47
49
 
48
50
 
49
51
 
50
- var _chunkD2PV33E5js = require('../../chunk-D2PV33E5.js');
51
52
 
52
53
 
53
54
 
54
55
 
55
- var _chunkPJBQJFQIjs = require('../../chunk-PJBQJFQI.js');
56
- require('../../chunk-33TUEQBH.js');
56
+ var _chunkD2PV33E5js = require('../../chunk-D2PV33E5.js');
57
57
 
58
58
 
59
59
 
@@ -1,14 +1,4 @@
1
1
  import "../../chunk-6YZ3OUJB.mjs";
2
- import {
3
- getTypiaTransform
4
- } from "../../chunk-KR72GKIT.mjs";
5
- import {
6
- createCliOptions
7
- } from "../../chunk-W2C5IGWW.mjs";
8
- import {
9
- getProjectConfiguration,
10
- getProjectConfigurations
11
- } from "../../chunk-AH7KAAQJ.mjs";
12
2
  import {
13
3
  LOCK_FILES,
14
4
  NPM_LOCK_FILE,
@@ -34,9 +24,25 @@ import {
34
24
  getProjectRoot,
35
25
  getRoot
36
26
  } from "../../chunk-FKPWMB63.mjs";
27
+ import {
28
+ getTypiaTransform
29
+ } from "../../chunk-KR72GKIT.mjs";
37
30
  import {
38
31
  applyWorkspaceExecutorTokens
39
32
  } from "../../chunk-UBVTASOE.mjs";
33
+ import {
34
+ createCliOptions
35
+ } from "../../chunk-W2C5IGWW.mjs";
36
+ import {
37
+ getProjectConfiguration,
38
+ getProjectConfigurations
39
+ } from "../../chunk-AH7KAAQJ.mjs";
40
+ import {
41
+ PackageManagerTypes,
42
+ addPackageJsonGitHead,
43
+ getPackageInfo
44
+ } from "../../chunk-V5NVKBCF.mjs";
45
+ import "../../chunk-M3YDUOTX.mjs";
40
46
  import {
41
47
  INVALID_CARGO_ARGS,
42
48
  buildCargoCommand,
@@ -48,12 +54,6 @@ import {
48
54
  isExternal,
49
55
  runProcess
50
56
  } from "../../chunk-ZTN2676G.mjs";
51
- import {
52
- PackageManagerTypes,
53
- addPackageJsonGitHead,
54
- getPackageInfo
55
- } from "../../chunk-V5NVKBCF.mjs";
56
- import "../../chunk-M3YDUOTX.mjs";
57
57
  import {
58
58
  eslintVersion,
59
59
  lintStagedVersion,
@@ -0,0 +1,116 @@
1
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
2
+ import { Options } from 'tsup';
3
+
4
+ // Generated by @storm-software/untyped
5
+ // Do not edit this file directly
6
+
7
+ interface BaseExecutorSchema {
8
+ /**
9
+ * Output Path
10
+ *
11
+ * The output path for the build
12
+ *
13
+ * @default "dist/{projectRoot}"
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+ }
19
+
20
+ // Generated by @storm-software/untyped
21
+ // Do not edit this file directly
22
+
23
+ interface BaseGeneratorSchema {
24
+ /**
25
+ * Directory
26
+ *
27
+ * The directory to create the library in
28
+ *
29
+ */
30
+ directory?: string,
31
+ }
32
+
33
+ declare enum TypescriptProjectLinkingType {
34
+ ALIAS = "alias",
35
+ REFERENCE = "reference"
36
+ }
37
+ interface BaseTypescriptPluginOptions {
38
+ /**
39
+ * The project linking type to use for TypeScript projects.
40
+ *
41
+ * @see https://nx.dev/docs/concepts/typescript-project-linking
42
+ * @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
43
+ *
44
+ * @defaultValue "reference"
45
+ */
46
+ projectLinks?: TypescriptProjectLinkingType;
47
+ }
48
+ interface TsupContext {
49
+ projectRoot: string;
50
+ sourceRoot: string;
51
+ projectName: string;
52
+ main: string;
53
+ }
54
+ type BuildOptions = Options;
55
+ type Entry = string | string[] | Record<string, string>;
56
+ interface WorkspaceToolHooks<TSchema = any> {
57
+ applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
58
+ preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
59
+ postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
60
+ }
61
+ interface BaseWorkspaceToolOptions<TSchema = any> {
62
+ skipReadingConfig?: boolean;
63
+ hooks?: WorkspaceToolHooks<TSchema>;
64
+ }
65
+ type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
66
+ interface BaseExecutorResult {
67
+ error?: Error;
68
+ success?: boolean;
69
+ }
70
+ type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
71
+ interface BaseGeneratorResult extends Record<string, any> {
72
+ error?: Error;
73
+ success?: boolean;
74
+ data?: any;
75
+ }
76
+ type ProjectTagVariant = "language" | "type" | "dist-style" | "provider" | "platform" | "registry" | "plugin";
77
+ declare const ProjectTagVariant: {
78
+ LANGUAGE: ProjectTagVariant;
79
+ TYPE: ProjectTagVariant;
80
+ DIST_STYLE: ProjectTagVariant;
81
+ PROVIDER: ProjectTagVariant;
82
+ PLATFORM: ProjectTagVariant;
83
+ REGISTRY: ProjectTagVariant;
84
+ PLUGIN: ProjectTagVariant;
85
+ };
86
+ type ProjectTagLanguageValue = "typescript" | "rust";
87
+ declare const ProjectTagLanguageValue: {
88
+ TYPESCRIPT: ProjectTagLanguageValue;
89
+ RUST: ProjectTagLanguageValue;
90
+ };
91
+ type ProjectTagTypeValue = "library" | "application";
92
+ declare const ProjectTagTypeValue: {
93
+ LIBRARY: ProjectTagTypeValue;
94
+ APPLICATION: ProjectTagTypeValue;
95
+ };
96
+ type ProjectTagDistStyleValue = "normal" | "clean";
97
+ declare const ProjectTagDistStyleValue: {
98
+ NORMAL: ProjectTagDistStyleValue;
99
+ CLEAN: ProjectTagDistStyleValue;
100
+ };
101
+ type ProjectTagPlatformValue = "node" | "browser" | "neutral" | "worker";
102
+ declare const ProjectTagPlatformValue: {
103
+ NODE: ProjectTagPlatformValue;
104
+ BROWSER: ProjectTagPlatformValue;
105
+ NEUTRAL: ProjectTagPlatformValue;
106
+ WORKER: ProjectTagPlatformValue;
107
+ };
108
+ type ProjectTagRegistryValue = "cargo" | "npm" | "container" | "cyclone";
109
+ declare const ProjectTagRegistryValue: {
110
+ CARGO: ProjectTagRegistryValue;
111
+ NPM: ProjectTagRegistryValue;
112
+ CONTAINER: ProjectTagRegistryValue;
113
+ CYCLONE: ProjectTagRegistryValue;
114
+ };
115
+
116
+ export { type BaseExecutorOptions as B, type Entry as E, ProjectTagDistStyleValue as P, type TsupContext as T, type WorkspaceToolHooks as W, type BaseExecutorResult as a, type BaseGeneratorOptions as b, type BaseGeneratorResult as c, type BaseTypescriptPluginOptions as d, type BaseWorkspaceToolOptions as e, type BuildOptions as f, ProjectTagLanguageValue as g, ProjectTagPlatformValue as h, ProjectTagRegistryValue as i, ProjectTagTypeValue as j, ProjectTagVariant as k, TypescriptProjectLinkingType as l, type BaseExecutorSchema as m, type BaseGeneratorSchema as n };
@@ -0,0 +1,116 @@
1
+ import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
2
+ import { Options } from 'tsup';
3
+
4
+ // Generated by @storm-software/untyped
5
+ // Do not edit this file directly
6
+
7
+ interface BaseExecutorSchema {
8
+ /**
9
+ * Output Path
10
+ *
11
+ * The output path for the build
12
+ *
13
+ * @default "dist/{projectRoot}"
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+ }
19
+
20
+ // Generated by @storm-software/untyped
21
+ // Do not edit this file directly
22
+
23
+ interface BaseGeneratorSchema {
24
+ /**
25
+ * Directory
26
+ *
27
+ * The directory to create the library in
28
+ *
29
+ */
30
+ directory?: string,
31
+ }
32
+
33
+ declare enum TypescriptProjectLinkingType {
34
+ ALIAS = "alias",
35
+ REFERENCE = "reference"
36
+ }
37
+ interface BaseTypescriptPluginOptions {
38
+ /**
39
+ * The project linking type to use for TypeScript projects.
40
+ *
41
+ * @see https://nx.dev/docs/concepts/typescript-project-linking
42
+ * @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
43
+ *
44
+ * @defaultValue "reference"
45
+ */
46
+ projectLinks?: TypescriptProjectLinkingType;
47
+ }
48
+ interface TsupContext {
49
+ projectRoot: string;
50
+ sourceRoot: string;
51
+ projectName: string;
52
+ main: string;
53
+ }
54
+ type BuildOptions = Options;
55
+ type Entry = string | string[] | Record<string, string>;
56
+ interface WorkspaceToolHooks<TSchema = any> {
57
+ applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
58
+ preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
59
+ postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
60
+ }
61
+ interface BaseWorkspaceToolOptions<TSchema = any> {
62
+ skipReadingConfig?: boolean;
63
+ hooks?: WorkspaceToolHooks<TSchema>;
64
+ }
65
+ type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
66
+ interface BaseExecutorResult {
67
+ error?: Error;
68
+ success?: boolean;
69
+ }
70
+ type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
71
+ interface BaseGeneratorResult extends Record<string, any> {
72
+ error?: Error;
73
+ success?: boolean;
74
+ data?: any;
75
+ }
76
+ type ProjectTagVariant = "language" | "type" | "dist-style" | "provider" | "platform" | "registry" | "plugin";
77
+ declare const ProjectTagVariant: {
78
+ LANGUAGE: ProjectTagVariant;
79
+ TYPE: ProjectTagVariant;
80
+ DIST_STYLE: ProjectTagVariant;
81
+ PROVIDER: ProjectTagVariant;
82
+ PLATFORM: ProjectTagVariant;
83
+ REGISTRY: ProjectTagVariant;
84
+ PLUGIN: ProjectTagVariant;
85
+ };
86
+ type ProjectTagLanguageValue = "typescript" | "rust";
87
+ declare const ProjectTagLanguageValue: {
88
+ TYPESCRIPT: ProjectTagLanguageValue;
89
+ RUST: ProjectTagLanguageValue;
90
+ };
91
+ type ProjectTagTypeValue = "library" | "application";
92
+ declare const ProjectTagTypeValue: {
93
+ LIBRARY: ProjectTagTypeValue;
94
+ APPLICATION: ProjectTagTypeValue;
95
+ };
96
+ type ProjectTagDistStyleValue = "normal" | "clean";
97
+ declare const ProjectTagDistStyleValue: {
98
+ NORMAL: ProjectTagDistStyleValue;
99
+ CLEAN: ProjectTagDistStyleValue;
100
+ };
101
+ type ProjectTagPlatformValue = "node" | "browser" | "neutral" | "worker";
102
+ declare const ProjectTagPlatformValue: {
103
+ NODE: ProjectTagPlatformValue;
104
+ BROWSER: ProjectTagPlatformValue;
105
+ NEUTRAL: ProjectTagPlatformValue;
106
+ WORKER: ProjectTagPlatformValue;
107
+ };
108
+ type ProjectTagRegistryValue = "cargo" | "npm" | "container" | "cyclone";
109
+ declare const ProjectTagRegistryValue: {
110
+ CARGO: ProjectTagRegistryValue;
111
+ NPM: ProjectTagRegistryValue;
112
+ CONTAINER: ProjectTagRegistryValue;
113
+ CYCLONE: ProjectTagRegistryValue;
114
+ };
115
+
116
+ export { type BaseExecutorOptions as B, type Entry as E, ProjectTagDistStyleValue as P, type TsupContext as T, type WorkspaceToolHooks as W, type BaseExecutorResult as a, type BaseGeneratorOptions as b, type BaseGeneratorResult as c, type BaseTypescriptPluginOptions as d, type BaseWorkspaceToolOptions as e, type BuildOptions as f, ProjectTagLanguageValue as g, ProjectTagPlatformValue as h, ProjectTagRegistryValue as i, ProjectTagTypeValue as j, ProjectTagVariant as k, TypescriptProjectLinkingType as l, type BaseExecutorSchema as m, type BaseGeneratorSchema as n };
@@ -0,0 +1,243 @@
1
+ import * as z$1 from 'zod';
2
+ import * as z from 'zod/mini';
3
+
4
+ /**
5
+ * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
6
+ */
7
+ declare const workspaceConfigSchema: z.ZodMiniObject<{
8
+ $schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
9
+ extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
10
+ name: z.ZodMiniString<string>;
11
+ variant: z.ZodMiniDefault<z.ZodMiniEnum<{
12
+ minimal: "minimal";
13
+ monorepo: "monorepo";
14
+ }>>;
15
+ namespace: z.ZodMiniString<string>;
16
+ organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
17
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
18
+ description: z.ZodMiniOptional<z.ZodMiniString<string>>;
19
+ logo: z.ZodMiniOptional<z.ZodMiniURL>;
20
+ icon: z.ZodMiniOptional<z.ZodMiniURL>;
21
+ url: z.ZodMiniOptional<z.ZodMiniURL>;
22
+ }, z.core.$strip>, z.ZodMiniString<string>]>;
23
+ repository: z.ZodMiniString<string>;
24
+ license: z.ZodMiniDefault<z.ZodMiniString<string>>;
25
+ homepage: z.ZodMiniOptional<z.ZodMiniURL>;
26
+ docs: z.ZodMiniOptional<z.ZodMiniURL>;
27
+ portal: z.ZodMiniOptional<z.ZodMiniURL>;
28
+ licensing: z.ZodMiniOptional<z.ZodMiniURL>;
29
+ contact: z.ZodMiniOptional<z.ZodMiniURL>;
30
+ support: z.ZodMiniOptional<z.ZodMiniURL>;
31
+ branch: z.ZodMiniDefault<z.ZodMiniString<string>>;
32
+ preid: z.ZodMiniOptional<z.ZodMiniString<string>>;
33
+ owner: z.ZodMiniOptional<z.ZodMiniString<string>>;
34
+ bot: z.ZodMiniObject<{
35
+ name: z.ZodMiniString<string>;
36
+ email: z.ZodMiniString<string>;
37
+ }, z.core.$strip>;
38
+ release: z.ZodMiniObject<{
39
+ banner: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
40
+ url: z.ZodMiniOptional<z.ZodMiniString<string>>;
41
+ alt: z.ZodMiniDefault<z.ZodMiniString<string>>;
42
+ }, z.core.$strip>, z.ZodMiniString<string>]>;
43
+ header: z.ZodMiniOptional<z.ZodMiniString<string>>;
44
+ footer: z.ZodMiniOptional<z.ZodMiniString<string>>;
45
+ }, z.core.$strip>;
46
+ socials: z.ZodMiniObject<{
47
+ twitter: z.ZodMiniOptional<z.ZodMiniString<string>>;
48
+ discord: z.ZodMiniOptional<z.ZodMiniString<string>>;
49
+ telegram: z.ZodMiniOptional<z.ZodMiniString<string>>;
50
+ slack: z.ZodMiniOptional<z.ZodMiniString<string>>;
51
+ medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
52
+ github: z.ZodMiniOptional<z.ZodMiniString<string>>;
53
+ }, z.core.$strip>;
54
+ error: z.ZodMiniObject<{
55
+ codesFile: z.ZodMiniDefault<z.ZodMiniString<string>>;
56
+ url: z.ZodMiniOptional<z.ZodMiniURL>;
57
+ }, z.core.$strip>;
58
+ mode: z.ZodMiniDefault<z.ZodMiniEnum<{
59
+ development: "development";
60
+ test: "test";
61
+ production: "production";
62
+ }>>;
63
+ workspaceRoot: z.ZodMiniString<string>;
64
+ skipCache: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
65
+ directories: z.ZodMiniObject<{
66
+ cache: z.ZodMiniOptional<z.ZodMiniString<string>>;
67
+ data: z.ZodMiniOptional<z.ZodMiniString<string>>;
68
+ config: z.ZodMiniOptional<z.ZodMiniString<string>>;
69
+ temp: z.ZodMiniOptional<z.ZodMiniString<string>>;
70
+ log: z.ZodMiniOptional<z.ZodMiniString<string>>;
71
+ build: z.ZodMiniDefault<z.ZodMiniString<string>>;
72
+ }, z.core.$strip>;
73
+ packageManager: z.ZodMiniDefault<z.ZodMiniEnum<{
74
+ npm: "npm";
75
+ yarn: "yarn";
76
+ pnpm: "pnpm";
77
+ bun: "bun";
78
+ }>>;
79
+ timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
80
+ locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
81
+ logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
82
+ error: "error";
83
+ success: "success";
84
+ silent: "silent";
85
+ fatal: "fatal";
86
+ warn: "warn";
87
+ info: "info";
88
+ performance: "performance";
89
+ debug: "debug";
90
+ trace: "trace";
91
+ all: "all";
92
+ }>>;
93
+ skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
94
+ registry: z.ZodMiniDefault<z.ZodMiniObject<{
95
+ github: z.ZodMiniOptional<z.ZodMiniURL>;
96
+ npm: z.ZodMiniOptional<z.ZodMiniURL>;
97
+ cargo: z.ZodMiniOptional<z.ZodMiniURL>;
98
+ cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
99
+ container: z.ZodMiniOptional<z.ZodMiniURL>;
100
+ }, z.core.$strip>>;
101
+ configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
102
+ colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
103
+ dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
104
+ light: z.ZodMiniDefault<z.ZodMiniString<string>>;
105
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
106
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
107
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
108
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
109
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
110
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
111
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
112
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
113
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
114
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
115
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
116
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
117
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
118
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
119
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
120
+ }, z.core.$strip>, z.ZodMiniObject<{
121
+ dark: z.ZodMiniObject<{
122
+ foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
123
+ background: z.ZodMiniDefault<z.ZodMiniString<string>>;
124
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
125
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
126
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
127
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
128
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
129
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
130
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
131
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
132
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
133
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
134
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
135
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
136
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
137
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
138
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
139
+ }, z.core.$strip>;
140
+ light: z.ZodMiniObject<{
141
+ foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
142
+ background: z.ZodMiniDefault<z.ZodMiniString<string>>;
143
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
144
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
145
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
146
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
147
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
148
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
149
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
150
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
151
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
152
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
153
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
154
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
155
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
156
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
157
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
158
+ }, z.core.$strip>;
159
+ }, z.core.$strip>]>, z.ZodMiniRecord<z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"base">, z.ZodMiniString<string>]>, z.ZodMiniString<string>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
160
+ dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
161
+ light: z.ZodMiniDefault<z.ZodMiniString<string>>;
162
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
163
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
164
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
166
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
167
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
168
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
169
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
170
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
171
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
172
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
173
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
174
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
175
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
176
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
177
+ }, z.core.$strip>, z.ZodMiniObject<{
178
+ dark: z.ZodMiniObject<{
179
+ foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
180
+ background: z.ZodMiniDefault<z.ZodMiniString<string>>;
181
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
182
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
183
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
184
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
185
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
186
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
187
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
188
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
189
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
190
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
191
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
192
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
193
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
194
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
195
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
196
+ }, z.core.$strip>;
197
+ light: z.ZodMiniObject<{
198
+ foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
199
+ background: z.ZodMiniDefault<z.ZodMiniString<string>>;
200
+ brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
201
+ alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
202
+ accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
203
+ link: z.ZodMiniDefault<z.ZodMiniString<string>>;
204
+ help: z.ZodMiniDefault<z.ZodMiniString<string>>;
205
+ success: z.ZodMiniDefault<z.ZodMiniString<string>>;
206
+ info: z.ZodMiniDefault<z.ZodMiniString<string>>;
207
+ debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
208
+ warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
209
+ danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
210
+ fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
211
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
212
+ positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
213
+ negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
214
+ gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
215
+ }, z.core.$strip>;
216
+ }, z.core.$strip>]>>]>;
217
+ extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
218
+ }, z.core.$strip>;
219
+
220
+ type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
221
+ /**
222
+ * The Storm workspace's configuration object
223
+ *
224
+ * @remarks
225
+ * 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`.
226
+ *
227
+ * @deprecated
228
+ * This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
229
+ */
230
+ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
231
+ extensions: (TStormWorkspaceConfig["extensions"] & {
232
+ [extensionName in TExtensionName]: TExtensionConfig;
233
+ }) | NonNullable<Record<string, any>>;
234
+ };
235
+ /**
236
+ * The Storm workspace's configuration object
237
+ *
238
+ * @remarks
239
+ * 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`.
240
+ */
241
+ type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
242
+
243
+ export type { StormWorkspaceConfig as S };