@storm-software/build-tools 0.156.1 → 0.156.3
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-KSHAZLHJ.js → chunk-7NCIPNLZ.js} +9 -5
- package/dist/{chunk-TLB7QTPW.mjs → chunk-CVUABLK6.mjs} +1 -1
- package/dist/{chunk-RATSP55P.mjs → chunk-KCHCMB7Y.mjs} +7 -3
- package/dist/{chunk-RT7TYAN5.js → chunk-LU2DWOAG.js} +1 -0
- package/dist/{chunk-736ODPTW.js → chunk-MDNOCK6L.js} +2 -2
- package/dist/{chunk-2SOZ7GIA.mjs → chunk-RPSH5IFV.mjs} +1 -0
- package/dist/{chunk-X4HWLCTK.js → chunk-SPVLVO65.js} +2 -2
- package/dist/{chunk-CKVJLUYT.mjs → chunk-UQSQD3UC.mjs} +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/dist/types-GK3Jz4Bz.d.mts +230 -0
- package/dist/types-GK3Jz4Bz.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
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -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 _chunkLU2DWOAGjs = require('./chunk-LU2DWOAG.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 = _chunkLU2DWOAGjs.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 || _chunkLU2DWOAGjs.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 : _chunkLU2DWOAGjs.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;
|
|
@@ -775,6 +775,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
775
775
|
// ../config-tools/src/create-storm-config.ts
|
|
776
776
|
|
|
777
777
|
|
|
778
|
+
|
|
778
779
|
// ../config-tools/src/env/get-env.ts
|
|
779
780
|
var getExtensionEnv = (extensionName) => {
|
|
780
781
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
@@ -1364,7 +1365,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1364
1365
|
if (!_optionalChain([_static_cache, 'optionalAccess', _33 => _33.data]) || !_optionalChain([_static_cache, 'optionalAccess', _34 => _34.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1365
1366
|
let _workspaceRoot = workspaceRoot;
|
|
1366
1367
|
if (!_workspaceRoot) {
|
|
1367
|
-
_workspaceRoot =
|
|
1368
|
+
_workspaceRoot = _chunkLU2DWOAGjs.findWorkspaceRoot.call(void 0, );
|
|
1368
1369
|
}
|
|
1369
1370
|
const configEnv = getConfigEnv();
|
|
1370
1371
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
@@ -1385,6 +1386,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1385
1386
|
configFile,
|
|
1386
1387
|
defaultConfig
|
|
1387
1388
|
);
|
|
1389
|
+
if (!configInput.variant) {
|
|
1390
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkI2YBUOU3js.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkI2YBUOU3js.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkI2YBUOU3js.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkI2YBUOU3js.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
1391
|
+
}
|
|
1388
1392
|
try {
|
|
1389
1393
|
result = applyDefaultConfig(
|
|
1390
1394
|
await workspaceConfigSchema.parseAsync(configInput)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPSH5IFV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
correctPaths,
|
|
6
6
|
joinPaths
|
|
@@ -774,6 +774,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
774
774
|
|
|
775
775
|
// ../config-tools/src/create-storm-config.ts
|
|
776
776
|
import defu2 from "defu";
|
|
777
|
+
import { existsSync as existsSync2 } from "node:fs";
|
|
777
778
|
|
|
778
779
|
// ../config-tools/src/env/get-env.ts
|
|
779
780
|
var getExtensionEnv = (extensionName) => {
|
|
@@ -1385,6 +1386,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1385
1386
|
configFile,
|
|
1386
1387
|
defaultConfig
|
|
1387
1388
|
);
|
|
1389
|
+
if (!configInput.variant) {
|
|
1390
|
+
configInput.variant = existsSync2(joinPaths(_workspaceRoot, "nx.json")) || existsSync2(joinPaths(_workspaceRoot, ".nx")) || existsSync2(joinPaths(_workspaceRoot, "lerna.json")) || existsSync2(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
1391
|
+
}
|
|
1388
1392
|
try {
|
|
1389
1393
|
result = applyDefaultConfig(
|
|
1390
1394
|
await workspaceConfigSchema.parseAsync(configInput)
|
|
@@ -1454,7 +1458,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
|
|
|
1454
1458
|
};
|
|
1455
1459
|
|
|
1456
1460
|
// src/utilities/read-nx-config.ts
|
|
1457
|
-
import { existsSync as
|
|
1461
|
+
import { existsSync as existsSync3 } from "node:fs";
|
|
1458
1462
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
1459
1463
|
var readNxConfig = async (workspaceRoot) => {
|
|
1460
1464
|
let rootDir = workspaceRoot;
|
|
@@ -1463,7 +1467,7 @@ var readNxConfig = async (workspaceRoot) => {
|
|
|
1463
1467
|
rootDir = config.workspaceRoot;
|
|
1464
1468
|
}
|
|
1465
1469
|
const nxJsonPath = joinPaths(rootDir, "nx.json");
|
|
1466
|
-
if (!
|
|
1470
|
+
if (!existsSync3(nxJsonPath)) {
|
|
1467
1471
|
throw new Error("Cannot find project.json configuration");
|
|
1468
1472
|
}
|
|
1469
1473
|
const configContent = await readFile2(nxJsonPath, "utf8");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLU2DWOAGjs = require('./chunk-LU2DWOAG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ var _chunkKTEGKYAHjs = require('./chunk-KTEGKYAH.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 || _chunkLU2DWOAGjs.findWorkspaceRoot.call(void 0, );
|
|
16
16
|
const entryPoints = [];
|
|
17
17
|
if (entry) {
|
|
18
18
|
if (typeof entry === "string") {
|
|
@@ -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 _chunkLU2DWOAGjs = require('./chunk-LU2DWOAG.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 : _chunkLU2DWOAGjs.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 _chunk7NCIPNLZjs = require('./chunk-7NCIPNLZ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,11 +14,11 @@ var _chunkXYMRJHC7js = require('./chunk-XYMRJHC7.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSPVLVO65js = require('./chunk-SPVLVO65.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
20
|
+
var _chunkMDNOCK6Ljs = require('./chunk-MDNOCK6L.js');
|
|
21
|
+
require('./chunk-LU2DWOAG.js');
|
|
22
22
|
require('./chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
24
24
|
|
|
@@ -81,4 +81,4 @@ var _chunkN7HP2YYEjs = require('./chunk-N7HP2YYE.js');
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies =
|
|
84
|
+
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkSPVLVO65js.addPackageDependencies; exports.addPackageJsonExport = _chunkSPVLVO65js.addPackageJsonExport; exports.addPackageJsonExports = _chunkSPVLVO65js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSPVLVO65js.addWorkspacePackageJsonFields; exports.analyze = _chunkFCNQFEENjs.analyze; exports.copyAssets = _chunkXYMRJHC7js.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMDNOCK6Ljs.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunk7NCIPNLZjs.readNxConfig; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkHHQVJURJjs.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-KCHCMB7Y.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-CVUABLK6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-UQSQD3UC.mjs";
|
|
21
|
+
import "./chunk-RPSH5IFV.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
|
+
staging: "staging";
|
|
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
|
+
debug: "debug";
|
|
83
|
+
error: "error";
|
|
84
|
+
success: "success";
|
|
85
|
+
silent: "silent";
|
|
86
|
+
fatal: "fatal";
|
|
87
|
+
warn: "warn";
|
|
88
|
+
info: "info";
|
|
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
|
+
staging: "staging";
|
|
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
|
+
debug: "debug";
|
|
83
|
+
error: "error";
|
|
84
|
+
success: "success";
|
|
85
|
+
silent: "silent";
|
|
86
|
+
fatal: "fatal";
|
|
87
|
+
warn: "warn";
|
|
88
|
+
info: "info";
|
|
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 _chunkSPVLVO65js = require('../chunk-SPVLVO65.js');
|
|
7
|
+
require('../chunk-LU2DWOAG.js');
|
|
8
8
|
require('../chunk-I2YBUOU3.js');
|
|
9
9
|
require('../chunk-KTEGKYAH.js');
|
|
10
10
|
|
|
@@ -12,4 +12,4 @@ require('../chunk-KTEGKYAH.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.addPackageDependencies =
|
|
15
|
+
exports.addPackageDependencies = _chunkSPVLVO65js.addPackageDependencies; exports.addPackageJsonExport = _chunkSPVLVO65js.addPackageJsonExport; exports.addPackageJsonExports = _chunkSPVLVO65js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSPVLVO65js.addWorkspacePackageJsonFields;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
addPackageJsonExport,
|
|
4
4
|
addPackageJsonExports,
|
|
5
5
|
addWorkspacePackageJsonFields
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-CVUABLK6.mjs";
|
|
7
|
+
import "../chunk-RPSH5IFV.mjs";
|
|
8
8
|
import "../chunk-VXUVNB76.mjs";
|
|
9
9
|
import "../chunk-R2HS3O2S.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 _chunkMDNOCK6Ljs = require('../chunk-MDNOCK6L.js');
|
|
4
|
+
require('../chunk-LU2DWOAG.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
6
|
require('../chunk-KTEGKYAH.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.getEntryPoints =
|
|
9
|
+
exports.getEntryPoints = _chunkMDNOCK6Ljs.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 _chunk7NCIPNLZjs = require('../chunk-7NCIPNLZ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,11 +14,11 @@ var _chunkXYMRJHC7js = require('../chunk-XYMRJHC7.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSPVLVO65js = require('../chunk-SPVLVO65.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('../chunk-
|
|
20
|
+
var _chunkMDNOCK6Ljs = require('../chunk-MDNOCK6L.js');
|
|
21
|
+
require('../chunk-LU2DWOAG.js');
|
|
22
22
|
require('../chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
24
24
|
|
|
@@ -52,4 +52,4 @@ require('../chunk-KTEGKYAH.js');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.addPackageDependencies =
|
|
55
|
+
exports.addPackageDependencies = _chunkSPVLVO65js.addPackageDependencies; exports.addPackageJsonExport = _chunkSPVLVO65js.addPackageJsonExport; exports.addPackageJsonExports = _chunkSPVLVO65js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSPVLVO65js.addWorkspacePackageJsonFields; exports.copyAssets = _chunkXYMRJHC7js.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMDNOCK6Ljs.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunk7NCIPNLZjs.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-KCHCMB7Y.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-CVUABLK6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-UQSQD3UC.mjs";
|
|
21
|
+
import "../chunk-RPSH5IFV.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 _chunk7NCIPNLZjs = require('../chunk-7NCIPNLZ.js');
|
|
4
|
+
require('../chunk-LU2DWOAG.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
6
|
require('../chunk-KTEGKYAH.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.readNxConfig =
|
|
9
|
+
exports.readNxConfig = _chunk7NCIPNLZjs.readNxConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/build-tools",
|
|
3
|
-
"version": "0.156.
|
|
3
|
+
"version": "0.156.3",
|
|
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.2"
|
|
169
169
|
},
|
|
170
170
|
"publishConfig": { "access": "public" },
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "4d44644a8d56ed0d61e060cf74147fcc83210a5c"
|
|
172
172
|
}
|