@storm-software/workspace-tools 1.296.57 → 1.296.59
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-F5IA75ER.js → chunk-33X22YHZ.js} +4 -2
- package/dist/{chunk-UL6SVNDQ.mjs → chunk-PVNPMJZX.mjs} +3 -1
- package/dist/executor-BUtmgAjf.d.ts +145 -0
- package/dist/executor-BnyqeRMQ.d.ts +57 -0
- package/dist/executor-CF2P28x7.d.ts +267 -0
- package/dist/executor-CtQ0X9Pp.d.ts +305 -0
- package/dist/executor-CyDG2Xnx.d.mts +305 -0
- package/dist/executor-DMfDjEeE.d.mts +33 -0
- package/dist/executor-DnWsZ925.d.mts +145 -0
- package/dist/executor-DzcyLzwF.d.mts +143 -0
- package/dist/executor-DzhOBtUi.d.ts +143 -0
- package/dist/executor-HE1a47Xg.d.mts +57 -0
- package/dist/executor-boD9fICC.d.ts +33 -0
- package/dist/executor-x1NRvlct.d.mts +267 -0
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +1 -1
- package/dist/generator-9dRx-biC.d.mts +38 -0
- package/dist/generator-B28ipdml.d.ts +38 -0
- package/dist/generator-BwfBbJTK.d.mts +130 -0
- package/dist/generator-C8CSrU1X.d.mts +108 -0
- package/dist/generator-CETtBRcF.d.ts +130 -0
- package/dist/generator-CYZiAInn.d.ts +130 -0
- package/dist/generator-Cj2dPxfL.d.ts +108 -0
- package/dist/generator-Cw56SbGO.d.mts +130 -0
- package/dist/generator-E2v2OQls.d.ts +130 -0
- package/dist/generator-Nz6bDiFl.d.mts +130 -0
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +2 -2
- package/dist/src/executors/npm-publish/executor.mjs +1 -1
- package/dist/types-BTQ7Xra1.d.ts +77 -0
- package/dist/types-CsrlUBxJ.d.mts +77 -0
- package/dist/types-DwFGBJr1.d.mts +243 -0
- package/dist/types-DwFGBJr1.d.ts +243 -0
- package/package.json +11 -11
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { c as BaseGeneratorResult } from './types-CsrlUBxJ.mjs';
|
|
2
|
+
import * as _nx_devkit from '@nx/devkit';
|
|
3
|
+
import { Tree } from '@nx/devkit';
|
|
4
|
+
import { S as StormWorkspaceConfig } from './types-DwFGBJr1.mjs';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface NeutralLibraryGeneratorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Directory
|
|
12
|
+
*
|
|
13
|
+
* The directory to create the library in
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
directory: string,
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Name
|
|
20
|
+
*
|
|
21
|
+
* The name of the library
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
name: string,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Description
|
|
28
|
+
*
|
|
29
|
+
* The description of the library
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
description?: string,
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Build Executor
|
|
36
|
+
*
|
|
37
|
+
* The executor to use for building the library
|
|
38
|
+
*
|
|
39
|
+
* @default "@storm-software/workspace-tools:unbuild"
|
|
40
|
+
*/
|
|
41
|
+
buildExecutor?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Platform
|
|
45
|
+
*
|
|
46
|
+
* The platform to target with the library
|
|
47
|
+
*
|
|
48
|
+
* @default "neutral"
|
|
49
|
+
*
|
|
50
|
+
* @enum neutral
|
|
51
|
+
*/
|
|
52
|
+
platform?: string,
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Import Path
|
|
56
|
+
*
|
|
57
|
+
* The import path for the library
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
importPath?: string,
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Tags
|
|
64
|
+
*
|
|
65
|
+
* The tags for the library
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
tags?: string,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Unit Test Runner
|
|
72
|
+
*
|
|
73
|
+
* The unit test runner to use
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @enum jest,vitest,none
|
|
77
|
+
*/
|
|
78
|
+
unitTestRunner?: string,
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Test Environment
|
|
82
|
+
*
|
|
83
|
+
* The test environment to use
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @enum jsdom,node
|
|
87
|
+
*/
|
|
88
|
+
testEnvironment?: string,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Pascal Case Files
|
|
92
|
+
*
|
|
93
|
+
* Use PascalCase for file names
|
|
94
|
+
*
|
|
95
|
+
* @default false
|
|
96
|
+
*/
|
|
97
|
+
pascalCaseFiles?: boolean,
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Strict
|
|
101
|
+
*
|
|
102
|
+
* Enable strict mode
|
|
103
|
+
*
|
|
104
|
+
* @default true
|
|
105
|
+
*/
|
|
106
|
+
strict?: boolean,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Publishable
|
|
110
|
+
*
|
|
111
|
+
* Make the library publishable
|
|
112
|
+
*
|
|
113
|
+
* @default false
|
|
114
|
+
*/
|
|
115
|
+
publishable?: boolean,
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Buildable
|
|
119
|
+
*
|
|
120
|
+
* Make the library buildable
|
|
121
|
+
*
|
|
122
|
+
* @default true
|
|
123
|
+
*/
|
|
124
|
+
buildable?: boolean,
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare function neutralLibraryGeneratorFn(tree: Tree, schema: NeutralLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
|
|
128
|
+
declare const _default: (tree: Tree, _options: NeutralLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
|
|
129
|
+
|
|
130
|
+
export { type NeutralLibraryGeneratorSchema as N, _default as _, neutralLibraryGeneratorFn as n };
|
package/dist/generators.js
CHANGED
|
@@ -7,10 +7,10 @@ var _chunkNB5WSHYSjs = require('./chunk-NB5WSHYS.js');
|
|
|
7
7
|
var _chunkPVYWMIYRjs = require('./chunk-PVYWMIYR.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNXB4Z7NSjs = require('./chunk-NXB4Z7NS.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkKV522LHWjs = require('./chunk-KV522LHW.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
presetGeneratorFn
|
|
7
7
|
} from "./chunk-FJK7GHBY.mjs";
|
|
8
|
-
import {
|
|
9
|
-
configSchemaGeneratorFn
|
|
10
|
-
} from "./chunk-DQYZOPO7.mjs";
|
|
11
8
|
import {
|
|
12
9
|
browserLibraryGeneratorFn
|
|
13
10
|
} from "./chunk-KZSELW4F.mjs";
|
|
11
|
+
import {
|
|
12
|
+
configSchemaGeneratorFn
|
|
13
|
+
} from "./chunk-DQYZOPO7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
initGenerator
|
|
16
16
|
} from "./chunk-437WGH2M.mjs";
|
package/dist/index.js
CHANGED
|
@@ -77,7 +77,7 @@ require('./chunk-URZ6ZNPK.js');
|
|
|
77
77
|
var _chunk33C5YQ6Jjs = require('./chunk-33C5YQ6J.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunk33X22YHZjs = require('./chunk-33X22YHZ.js');
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
var _chunkLANYX3R2js = require('./chunk-LANYX3R2.js');
|
|
@@ -125,10 +125,10 @@ var _chunkNB5WSHYSjs = require('./chunk-NB5WSHYS.js');
|
|
|
125
125
|
var _chunkPVYWMIYRjs = require('./chunk-PVYWMIYR.js');
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
var _chunkNXB4Z7NSjs = require('./chunk-NXB4Z7NS.js');
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkKV522LHWjs = require('./chunk-KV522LHW.js');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
@@ -300,4 +300,4 @@ var _chunk7CJRMBX3js = require('./chunk-7CJRMBX3.js');
|
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
exports.INVALID_CARGO_ARGS = _chunk32KQVUCFjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER =
|
|
303
|
+
exports.INVALID_CARGO_ARGS = _chunk32KQVUCFjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunk33X22YHZjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkTM2CRDJWjs.LOCK_FILES; exports.NAMED_INPUTS = _chunkWCUI5X7Pjs.NAMED_INPUTS; exports.NPM_LOCK_FILE = _chunkTM2CRDJWjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkTM2CRDJWjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkTM2CRDJWjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkTM2CRDJWjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk46OIJVV3js.PackageManagerTypes; exports.ProjectTagConstants = _chunkTAP26ZJQjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunkX3HC3R2Ijs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunkX3HC3R2Ijs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunkX3HC3R2Ijs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunkX3HC3R2Ijs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunkX3HC3R2Ijs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunkX3HC3R2Ijs.ProjectTagVariant; exports.RELEASE = _chunkWCUI5X7Pjs.RELEASE; exports.StormJsVersionActions = _chunkJR7RLYGKjs.StormJsVersionActions; exports.StormRustVersionActions = _chunkU5VDFK5Ujs.StormRustVersionActions; exports.TypescriptProjectLinkingType = _chunkX3HC3R2Ijs.TypescriptProjectLinkingType; exports.YARN_LOCK_FILE = _chunkTM2CRDJWjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkTM2CRDJWjs.YARN_LOCK_PATH; exports.addPackageJsonGitHead = _chunk46OIJVV3js.addPackageJsonGitHead; exports.addPluginProjectTag = _chunkTAP26ZJQjs.addPluginProjectTag; exports.addProjectTag = _chunkTAP26ZJQjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkVXHOSAQ7js.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunk7JRL2LE3js.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkNXB4Z7NSjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunk32KQVUCFjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunkLQHVZMFVjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkTFQGKHL5js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkZORHWWTNjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkLANYX3R2js.cargoClippyExecutor; exports.cargoCommand = _chunk32KQVUCFjs.cargoCommand; exports.cargoCommandSync = _chunk32KQVUCFjs.cargoCommandSync; exports.cargoDocExecutor = _chunkZMHKOSQOjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQEP2JF6Djs.cargoFormatExecutor; exports.cargoMetadata = _chunk32KQVUCFjs.cargoMetadata; exports.cargoRunCommand = _chunk32KQVUCFjs.cargoRunCommand; exports.childProcess = _chunk32KQVUCFjs.childProcess; exports.configSchemaGeneratorFn = _chunkKV522LHWjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.createProjectTsConfigJson = _chunk57OGFZNBjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunk6CVTX3NDjs.esbuildExecutorFn; exports.eslintVersion = _chunkSZWM7COVjs.eslintVersion; exports.formatProjectTag = _chunkTAP26ZJQjs.formatProjectTag; exports.getGitHubTools = _chunkMKJITWLNjs.getGitHubTools; exports.getLockFileDependencies = _chunkTM2CRDJWjs.getLockFileDependencies; exports.getLockFileName = _chunkTM2CRDJWjs.getLockFileName; exports.getLockFileNodes = _chunkTM2CRDJWjs.getLockFileNodes; exports.getOutputPath = _chunk57OGFZNBjs.getOutputPath; exports.getPackageInfo = _chunk46OIJVV3js.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunkBAPFD3TOjs.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkBAPFD3TOjs.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkDIUWF7BWjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkDIUWF7BWjs.getProjectConfigurations; exports.getProjectPlatform = _chunkBAPFD3TOjs.getProjectPlatform; exports.getProjectRoot = _chunkBAPFD3TOjs.getProjectRoot; exports.getProjectTag = _chunkTAP26ZJQjs.getProjectTag; exports.getRegistryVersion = _chunkRU4TNHFGjs.getRegistryVersion; exports.getRoot = _chunkBAPFD3TOjs.getRoot; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.hasProjectTag = _chunkTAP26ZJQjs.hasProjectTag; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.isEqualProjectTag = _chunkTAP26ZJQjs.isEqualProjectTag; exports.isExternal = _chunk32KQVUCFjs.isExternal; exports.lintStagedVersion = _chunkSZWM7COVjs.lintStagedVersion; exports.lockFileExists = _chunkTM2CRDJWjs.lockFileExists; exports.napiExecutor = _chunk33C5YQ6Jjs.napiExecutor; exports.neutralLibraryGeneratorFn = _chunkZO3L5FAUjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkNB5WSHYSjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkSZWM7COVjs.nodeVersion; exports.normalizeOptions = _chunk57OGFZNBjs.normalizeOptions; exports.nxVersion = _chunkSZWM7COVjs.nxVersion; exports.pnpmVersion = _chunkSZWM7COVjs.pnpmVersion; exports.presetGeneratorFn = _chunkPVYWMIYRjs.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkSZWM7COVjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkSZWM7COVjs.prettierPrismaVersion; exports.prettierVersion = _chunkSZWM7COVjs.prettierVersion; exports.runProcess = _chunk32KQVUCFjs.runProcess; exports.semanticReleaseVersion = _chunkSZWM7COVjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkTAP26ZJQjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkETZOESEMjs.sizeLimitExecutorFn; exports.swcCliVersion = _chunkSZWM7COVjs.swcCliVersion; exports.swcCoreVersion = _chunkSZWM7COVjs.swcCoreVersion; exports.swcHelpersVersion = _chunkSZWM7COVjs.swcHelpersVersion; exports.swcNodeVersion = _chunkSZWM7COVjs.swcNodeVersion; exports.tsLibVersion = _chunkSZWM7COVjs.tsLibVersion; exports.tsdownExecutorFn = _chunkZ6JQV7U5js.tsdownExecutorFn; exports.tsupVersion = _chunkSZWM7COVjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunk57OGFZNBjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkSZWM7COVjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkPMPKOMMDjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkSZWM7COVjs.typescriptVersion; exports.typiaExecutorFn = _chunkGU3JSJVGjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkRCJKWUC3js.unbuildExecutorFn; exports.verdaccioVersion = _chunkSZWM7COVjs.verdaccioVersion; exports.withNamedInputs = _chunkWCUI5X7Pjs.withNamedInputs; exports.withRunExecutor = _chunk3QCVXOSBjs.withRunExecutor; exports.withRunGenerator = _chunk32U6V6W2js.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./chunk-FSP5BXTH.mjs";
|
|
78
78
|
import {
|
|
79
79
|
LARGE_BUFFER
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-PVNPMJZX.mjs";
|
|
81
81
|
import {
|
|
82
82
|
cargoClippyExecutor
|
|
83
83
|
} from "./chunk-XZE55MLM.mjs";
|
|
@@ -123,12 +123,12 @@ import {
|
|
|
123
123
|
import {
|
|
124
124
|
presetGeneratorFn
|
|
125
125
|
} from "./chunk-FJK7GHBY.mjs";
|
|
126
|
-
import {
|
|
127
|
-
configSchemaGeneratorFn
|
|
128
|
-
} from "./chunk-DQYZOPO7.mjs";
|
|
129
126
|
import {
|
|
130
127
|
browserLibraryGeneratorFn
|
|
131
128
|
} from "./chunk-KZSELW4F.mjs";
|
|
129
|
+
import {
|
|
130
|
+
configSchemaGeneratorFn
|
|
131
|
+
} from "./chunk-DQYZOPO7.mjs";
|
|
132
132
|
import {
|
|
133
133
|
initGenerator
|
|
134
134
|
} from "./chunk-437WGH2M.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk33X22YHZjs = require('../../../chunk-33X22YHZ.js');
|
|
5
5
|
require('../../../chunk-MKJITWLN.js');
|
|
6
6
|
require('../../../chunk-46OIJVV3.js');
|
|
7
7
|
require('../../../chunk-N2365RCI.js');
|
|
@@ -13,4 +13,4 @@ require('../../../chunk-CQDBLKPF.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.LARGE_BUFFER =
|
|
16
|
+
exports.LARGE_BUFFER = _chunk33X22YHZjs.LARGE_BUFFER; exports.default = _chunk33X22YHZjs.npmPublishExecutorFn;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { S as StormWorkspaceConfig } from './types-DwFGBJr1.js';
|
|
2
|
+
import { Options } from 'tsup';
|
|
3
|
+
import './types-D2zxYEAh.js';
|
|
4
|
+
|
|
5
|
+
// Generated by @storm-software/untyped
|
|
6
|
+
// Do not edit this file directly
|
|
7
|
+
|
|
8
|
+
interface BaseExecutorSchema {
|
|
9
|
+
/**
|
|
10
|
+
* Output Path
|
|
11
|
+
*
|
|
12
|
+
* The output path for the build
|
|
13
|
+
*
|
|
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
|
+
|
|
77
|
+
export { type BaseExecutorOptions as B, type Entry as E, 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, TypescriptProjectLinkingType as g, type BaseExecutorSchema as h, type BaseGeneratorSchema as i };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { S as StormWorkspaceConfig } from './types-DwFGBJr1.mjs';
|
|
2
|
+
import { Options } from 'tsup';
|
|
3
|
+
import './types-D2zxYEAh.mjs';
|
|
4
|
+
|
|
5
|
+
// Generated by @storm-software/untyped
|
|
6
|
+
// Do not edit this file directly
|
|
7
|
+
|
|
8
|
+
interface BaseExecutorSchema {
|
|
9
|
+
/**
|
|
10
|
+
* Output Path
|
|
11
|
+
*
|
|
12
|
+
* The output path for the build
|
|
13
|
+
*
|
|
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
|
+
|
|
77
|
+
export { type BaseExecutorOptions as B, type Entry as E, 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, TypescriptProjectLinkingType as g, type BaseExecutorSchema as h, type BaseGeneratorSchema as i };
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as z$1 from 'zod';
|
|
2
|
+
import * as z from 'zod/v4/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
|
+
discovery: 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
|
+
discovery: 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
|
+
discovery: 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
|
+
discovery: 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
|
+
discovery: 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
|
+
discovery: 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 };
|