@storm-software/build-tools 0.158.66 → 0.158.67
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 +2 -1
- package/dist/{chunk-AXOBVO74.js → chunk-ANNSP7FS.js} +2 -2
- package/dist/{chunk-RPSH5IFV.mjs → chunk-B4H42WDA.mjs} +1 -3
- package/dist/{chunk-LU2DWOAG.js → chunk-BPRPYAQS.js} +1 -3
- package/dist/{chunk-RVBHYVMR.mjs → chunk-JB3U2RRA.mjs} +1 -1
- package/dist/{chunk-UEE474MV.js → chunk-MFGWMX4P.js} +5 -5
- package/dist/{chunk-DB4R5JBC.js → chunk-MTM42ZOK.js} +2 -2
- package/dist/{chunk-3E4JAUKE.mjs → chunk-RNJI24P4.mjs} +1 -1
- package/dist/{chunk-BAGCAJFB.mjs → chunk-RWH23ZV7.mjs} +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/dist/types-B_lvFfKV.d.mts +230 -0
- package/dist/types-B_lvFfKV.d.ts +230 -0
- package/dist/utilities/generate-package-json.js +3 -3
- package/dist/utilities/generate-package-json.mjs +2 -2
- package/dist/utilities/get-entry-points.js +3 -3
- package/dist/utilities/get-entry-points.mjs +2 -2
- package/dist/utilities/index.js +5 -5
- package/dist/utilities/index.mjs +4 -4
- package/dist/utilities/read-nx-config.js +3 -3
- package/dist/utilities/read-nx-config.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -46,6 +46,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
46
46
|
|
|
47
47
|
<!-- START doctoc -->
|
|
48
48
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
49
|
+
|
|
49
50
|
## Table of Contents
|
|
50
51
|
|
|
51
52
|
- [Storm Build Tools](#storm-build-tools)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBPRPYAQSjs = require('./chunk-BPRPYAQS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
|
12
12
|
// src/utilities/get-entry-points.ts
|
|
13
13
|
var _glob = require('glob');
|
|
14
14
|
var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
15
|
-
const workspaceRoot = config.workspaceRoot ||
|
|
15
|
+
const workspaceRoot = config.workspaceRoot || _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, );
|
|
16
16
|
const entryPoints = [];
|
|
17
17
|
if (entry) {
|
|
18
18
|
if (typeof entry === "string") {
|
|
@@ -14,9 +14,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
|
14
14
|
)) {
|
|
15
15
|
return _startPath;
|
|
16
16
|
}
|
|
17
|
-
if (endFileNames.some(
|
|
18
|
-
(endFileName) => existsSync(join(_startPath, endFileName))
|
|
19
|
-
)) {
|
|
17
|
+
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
|
|
20
18
|
return _startPath;
|
|
21
19
|
}
|
|
22
20
|
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
@@ -14,9 +14,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
|
14
14
|
)) {
|
|
15
15
|
return _startPath;
|
|
16
16
|
}
|
|
17
|
-
if (endFileNames.some(
|
|
18
|
-
(endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName))
|
|
19
|
-
)) {
|
|
17
|
+
if (endFileNames.some((endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName)))) {
|
|
20
18
|
return _startPath;
|
|
21
19
|
}
|
|
22
20
|
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBPRPYAQSjs = require('./chunk-BPRPYAQS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -620,7 +620,7 @@ async function getPackageJsonConfig(root) {
|
|
|
620
620
|
let name = void 0;
|
|
621
621
|
let namespace = void 0;
|
|
622
622
|
let repository = void 0;
|
|
623
|
-
const workspaceRoot =
|
|
623
|
+
const workspaceRoot = _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, root);
|
|
624
624
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
|
|
625
625
|
const file = await _promises.readFile.call(void 0,
|
|
626
626
|
_chunkI2YBUOU3js.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
@@ -698,7 +698,7 @@ function applyDefaultConfig(config) {
|
|
|
698
698
|
|
|
699
699
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
700
700
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
701
|
-
const workspacePath = filePath ||
|
|
701
|
+
const workspacePath = filePath || _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, filePath);
|
|
702
702
|
const configs = await Promise.all([
|
|
703
703
|
_c12.loadConfig.call(void 0, {
|
|
704
704
|
cwd: workspacePath,
|
|
@@ -733,7 +733,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
733
733
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
734
734
|
};
|
|
735
735
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
736
|
-
const workspacePath = filePath ? filePath :
|
|
736
|
+
const workspacePath = filePath ? filePath : _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, filePath);
|
|
737
737
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
738
738
|
let config = result.config;
|
|
739
739
|
const configFile = result.configFile;
|
|
@@ -1365,7 +1365,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1365
1365
|
if (!_optionalChain([_static_cache, 'optionalAccess', _33 => _33.data]) || !_optionalChain([_static_cache, 'optionalAccess', _34 => _34.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1366
1366
|
let _workspaceRoot = workspaceRoot;
|
|
1367
1367
|
if (!_workspaceRoot) {
|
|
1368
|
-
_workspaceRoot =
|
|
1368
|
+
_workspaceRoot = _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, );
|
|
1369
1369
|
}
|
|
1370
1370
|
const configEnv = getConfigEnv();
|
|
1371
1371
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBPRPYAQSjs = require('./chunk-BPRPYAQS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkI2YBUOU3js = require('./chunk-I2YBUOU3.js');
|
|
@@ -117,7 +117,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
117
117
|
return packageJson;
|
|
118
118
|
};
|
|
119
119
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
120
|
-
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
120
|
+
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkBPRPYAQSjs.findWorkspaceRoot.call(void 0, );
|
|
121
121
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
122
122
|
_chunkI2YBUOU3js.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
123
123
|
"utf8"
|
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 _chunkMFGWMX4Pjs = require('./chunk-MFGWMX4P.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,11 +14,11 @@ var _chunkKV776SOKjs = require('./chunk-KV776SOK.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkMTM42ZOKjs = require('./chunk-MTM42ZOK.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
20
|
+
var _chunkANNSP7FSjs = require('./chunk-ANNSP7FS.js');
|
|
21
|
+
require('./chunk-BPRPYAQS.js');
|
|
22
22
|
require('./chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
24
24
|
|
|
@@ -83,4 +83,4 @@ var _chunkN7HP2YYEjs = require('./chunk-N7HP2YYE.js');
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
exports.DEFAULT_CSS_BANNER = _chunkDOCZKEDJjs.DEFAULT_CSS_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkDOCZKEDJjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_JS_BANNER = _chunkDOCZKEDJjs.DEFAULT_JS_BANNER; exports.DEFAULT_ORGANIZATION = _chunkDOCZKEDJjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkDOCZKEDJjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkDOCZKEDJjs.DEFAULT_TARGET; exports.addPackageDependencies =
|
|
86
|
+
exports.DEFAULT_CSS_BANNER = _chunkDOCZKEDJjs.DEFAULT_CSS_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkDOCZKEDJjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_JS_BANNER = _chunkDOCZKEDJjs.DEFAULT_JS_BANNER; exports.DEFAULT_ORGANIZATION = _chunkDOCZKEDJjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkDOCZKEDJjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkDOCZKEDJjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkMTM42ZOKjs.addPackageDependencies; exports.addPackageJsonExport = _chunkMTM42ZOKjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkMTM42ZOKjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkMTM42ZOKjs.addWorkspacePackageJsonFields; exports.analyze = _chunkHH7KOSB7js.analyze; exports.copyAssets = _chunkKV776SOKjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkANNSP7FSjs.getEntryPoints; exports.getEnv = _chunkXZVL6F47js.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkMFGWMX4Pjs.readNxConfig; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkFCS3CQSPjs.tsResolvePlugin; exports.typeDefinitions = _chunkN7HP2YYEjs.typeDefinitions;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-KVP3YMX6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
readNxConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RWH23ZV7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createTaskId,
|
|
7
7
|
getAllWorkspaceTaskGraphs
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JB3U2RRA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-RNJI24P4.mjs";
|
|
21
|
+
import "./chunk-B4H42WDA.mjs";
|
|
22
22
|
import "./chunk-VXUVNB76.mjs";
|
|
23
23
|
import {
|
|
24
24
|
getEnv
|
|
@@ -0,0 +1,230 @@
|
|
|
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
|
+
debug: "debug";
|
|
89
|
+
trace: "trace";
|
|
90
|
+
all: "all";
|
|
91
|
+
}>>;
|
|
92
|
+
skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
93
|
+
registry: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
94
|
+
github: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
95
|
+
npm: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
96
|
+
cargo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
97
|
+
cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
98
|
+
container: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
101
|
+
colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
102
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
103
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
104
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
108
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
109
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
110
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
111
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
112
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
113
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
114
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
115
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
116
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
117
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
118
|
+
dark: z.ZodMiniObject<{
|
|
119
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
120
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
121
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
122
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
124
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
126
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
127
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
130
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
131
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
132
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
light: z.ZodMiniObject<{
|
|
136
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
137
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
138
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
139
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
145
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
146
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
147
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
149
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
150
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
}, 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<{
|
|
153
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
154
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
155
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
156
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
159
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
160
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
164
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
166
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
167
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
168
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
169
|
+
dark: z.ZodMiniObject<{
|
|
170
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
171
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
172
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
173
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
174
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
175
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
176
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
177
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
178
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
179
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
182
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
183
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
184
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
light: z.ZodMiniObject<{
|
|
187
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
189
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
190
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
193
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
196
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
197
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
198
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
200
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
201
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
}, z.core.$strip>]>>]>;
|
|
204
|
+
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
|
|
207
|
+
type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
|
|
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
|
+
* @deprecated
|
|
215
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
216
|
+
*/
|
|
217
|
+
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
218
|
+
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
219
|
+
[extensionName in TExtensionName]: TExtensionConfig;
|
|
220
|
+
}) | NonNullable<Record<string, any>>;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* The Storm workspace's configuration object
|
|
224
|
+
*
|
|
225
|
+
* @remarks
|
|
226
|
+
* 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`.
|
|
227
|
+
*/
|
|
228
|
+
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
229
|
+
|
|
230
|
+
export type { StormWorkspaceConfig as S };
|
|
@@ -0,0 +1,230 @@
|
|
|
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
|
+
debug: "debug";
|
|
89
|
+
trace: "trace";
|
|
90
|
+
all: "all";
|
|
91
|
+
}>>;
|
|
92
|
+
skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
93
|
+
registry: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
94
|
+
github: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
95
|
+
npm: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
96
|
+
cargo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
97
|
+
cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
98
|
+
container: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
101
|
+
colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
102
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
103
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
104
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
108
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
109
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
110
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
111
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
112
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
113
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
114
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
115
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
116
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
117
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
118
|
+
dark: z.ZodMiniObject<{
|
|
119
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
120
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
121
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
122
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
124
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
126
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
127
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
130
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
131
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
132
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
light: z.ZodMiniObject<{
|
|
136
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
137
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
138
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
139
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
145
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
146
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
147
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
149
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
150
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
}, 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<{
|
|
153
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
154
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
155
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
156
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
159
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
160
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
164
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
166
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
167
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
168
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
169
|
+
dark: z.ZodMiniObject<{
|
|
170
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
171
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
172
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
173
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
174
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
175
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
176
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
177
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
178
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
179
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
182
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
183
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
184
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
light: z.ZodMiniObject<{
|
|
187
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
189
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
190
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
193
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
196
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
197
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
198
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
200
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
201
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
}, z.core.$strip>]>>]>;
|
|
204
|
+
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
|
|
207
|
+
type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
|
|
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
|
+
* @deprecated
|
|
215
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
216
|
+
*/
|
|
217
|
+
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
218
|
+
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
219
|
+
[extensionName in TExtensionName]: TExtensionConfig;
|
|
220
|
+
}) | NonNullable<Record<string, any>>;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* The Storm workspace's configuration object
|
|
224
|
+
*
|
|
225
|
+
* @remarks
|
|
226
|
+
* 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`.
|
|
227
|
+
*/
|
|
228
|
+
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
229
|
+
|
|
230
|
+
export type { StormWorkspaceConfig as S };
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var _chunkMTM42ZOKjs = require('../chunk-MTM42ZOK.js');
|
|
7
|
+
require('../chunk-BPRPYAQS.js');
|
|
8
8
|
require('../chunk-I2YBUOU3.js');
|
|
9
9
|
require('../chunk-GNQ6P537.js');
|
|
10
10
|
|
|
@@ -12,4 +12,4 @@ require('../chunk-GNQ6P537.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.addPackageDependencies =
|
|
15
|
+
exports.addPackageDependencies = _chunkMTM42ZOKjs.addPackageDependencies; exports.addPackageJsonExport = _chunkMTM42ZOKjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkMTM42ZOKjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkMTM42ZOKjs.addWorkspacePackageJsonFields;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
addPackageJsonExport,
|
|
4
4
|
addPackageJsonExports,
|
|
5
5
|
addWorkspacePackageJsonFields
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-JB3U2RRA.mjs";
|
|
7
|
+
import "../chunk-B4H42WDA.mjs";
|
|
8
8
|
import "../chunk-VXUVNB76.mjs";
|
|
9
9
|
import "../chunk-J5M6XHOM.mjs";
|
|
10
10
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkANNSP7FSjs = require('../chunk-ANNSP7FS.js');
|
|
4
|
+
require('../chunk-BPRPYAQS.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
6
|
require('../chunk-GNQ6P537.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.getEntryPoints =
|
|
9
|
+
exports.getEntryPoints = _chunkANNSP7FSjs.getEntryPoints;
|
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 _chunkMFGWMX4Pjs = require('../chunk-MFGWMX4P.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,11 +14,11 @@ var _chunkKV776SOKjs = require('../chunk-KV776SOK.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkMTM42ZOKjs = require('../chunk-MTM42ZOK.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('../chunk-
|
|
20
|
+
var _chunkANNSP7FSjs = require('../chunk-ANNSP7FS.js');
|
|
21
|
+
require('../chunk-BPRPYAQS.js');
|
|
22
22
|
require('../chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
24
24
|
|
|
@@ -52,4 +52,4 @@ require('../chunk-GNQ6P537.js');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.addPackageDependencies =
|
|
55
|
+
exports.addPackageDependencies = _chunkMTM42ZOKjs.addPackageDependencies; exports.addPackageJsonExport = _chunkMTM42ZOKjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkMTM42ZOKjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkMTM42ZOKjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkKV776SOKjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkANNSP7FSjs.getEntryPoints; exports.getEnv = _chunkXZVL6F47js.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkMFGWMX4Pjs.readNxConfig;
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-KVP3YMX6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
readNxConfig
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RWH23ZV7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createTaskId,
|
|
7
7
|
getAllWorkspaceTaskGraphs
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-JB3U2RRA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-RNJI24P4.mjs";
|
|
21
|
+
import "../chunk-B4H42WDA.mjs";
|
|
22
22
|
import "../chunk-VXUVNB76.mjs";
|
|
23
23
|
import {
|
|
24
24
|
getEnv
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkMFGWMX4Pjs = require('../chunk-MFGWMX4P.js');
|
|
4
|
+
require('../chunk-BPRPYAQS.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
6
|
require('../chunk-GNQ6P537.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.readNxConfig =
|
|
9
|
+
exports.readNxConfig = _chunkMFGWMX4Pjs.readNxConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/build-tools",
|
|
3
|
-
"version": "0.158.
|
|
3
|
+
"version": "0.158.67",
|
|
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.9.3"
|
|
169
169
|
},
|
|
170
170
|
"publishConfig": { "access": "public" },
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "58754a0336790191cb3c0ead5b28fef7db35fac3"
|
|
172
172
|
}
|