@storm-software/build-tools 0.158.38 → 0.158.40
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-UQSQD3UC.mjs → chunk-3E4JAUKE.mjs} +1 -1
- package/dist/{chunk-MDNOCK6L.js → chunk-AXOBVO74.js} +3 -3
- package/dist/{chunk-7ZALXK5F.mjs → chunk-BAGCAJFB.mjs} +1 -1
- package/dist/{chunk-XIPSXXX5.js → chunk-DB4R5JBC.js} +3 -3
- package/dist/{chunk-HHQVJURJ.js → chunk-FCS3CQSP.js} +8 -8
- package/dist/{chunk-KTEGKYAH.js → chunk-GNQ6P537.js} +4 -1
- package/dist/{chunk-FCNQFEEN.js → chunk-HH7KOSB7.js} +2 -2
- package/dist/{chunk-R2HS3O2S.mjs → chunk-J5M6XHOM.mjs} +3 -0
- package/dist/{chunk-LKETNGJ2.mjs → chunk-JVUUAAFA.mjs} +1 -1
- package/dist/{chunk-XYMRJHC7.js → chunk-KV776SOK.js} +4 -4
- package/dist/{chunk-3UHONU2J.mjs → chunk-RVBHYVMR.mjs} +1 -1
- package/dist/{chunk-7QY5Q44S.mjs → chunk-UCEEEQVX.mjs} +1 -1
- package/dist/{chunk-VQIGRVCR.js → chunk-UEE474MV.js} +10 -10
- package/dist/{chunk-HDSL2EC4.mjs → chunk-XQQDAMER.mjs} +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/plugins/analyze.js +3 -3
- package/dist/plugins/analyze.mjs +2 -2
- package/dist/plugins/index.js +4 -4
- package/dist/plugins/index.mjs +3 -3
- package/dist/plugins/ts-resolve.js +3 -3
- package/dist/plugins/ts-resolve.mjs +2 -2
- package/dist/types-CG4D7Rp3.d.mts +230 -0
- package/dist/types-CG4D7Rp3.d.ts +230 -0
- package/dist/utilities/copy-assets.js +3 -3
- package/dist/utilities/copy-assets.mjs +2 -2
- 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 +6 -6
- package/dist/utilities/index.mjs +5 -5
- 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 -->
|
|
@@ -7,7 +7,7 @@ var _chunkLU2DWOAGjs = require('./chunk-LU2DWOAG.js');
|
|
|
7
7
|
var _chunkI2YBUOU3js = require('./chunk-I2YBUOU3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
11
11
|
|
|
12
12
|
// src/utilities/get-entry-points.ts
|
|
13
13
|
var _glob = require('glob');
|
|
@@ -42,7 +42,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
|
|
|
42
42
|
_chunkI2YBUOU3js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkI2YBUOU3js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkI2YBUOU3js.correctPaths.call(void 0, projectRoot), "")
|
|
43
43
|
);
|
|
44
44
|
if (result) {
|
|
45
|
-
|
|
45
|
+
_chunkGNQ6P537js.writeDebug.call(void 0,
|
|
46
46
|
`Trying to add entry point ${result} at "${_chunkI2YBUOU3js.joinPaths.call(void 0,
|
|
47
47
|
filePath.path,
|
|
48
48
|
filePath.name
|
|
@@ -57,7 +57,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
|
|
|
57
57
|
}, [])
|
|
58
58
|
);
|
|
59
59
|
} else {
|
|
60
|
-
|
|
60
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
61
61
|
if (!paths.includes(entryPoint)) {
|
|
62
62
|
paths.push(entryPoint);
|
|
63
63
|
}
|
|
@@ -6,7 +6,7 @@ var _chunkLU2DWOAGjs = require('./chunk-LU2DWOAG.js');
|
|
|
6
6
|
var _chunkI2YBUOU3js = require('./chunk-I2YBUOU3.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
10
10
|
|
|
11
11
|
// src/utilities/generate-package-json.ts
|
|
12
12
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
@@ -64,7 +64,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
if (localPackages.length > 0) {
|
|
67
|
-
|
|
67
|
+
_chunkGNQ6P537js.writeTrace.call(void 0,
|
|
68
68
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
69
69
|
);
|
|
70
70
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -112,7 +112,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
112
112
|
return ret;
|
|
113
113
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
114
114
|
} else {
|
|
115
|
-
|
|
115
|
+
_chunkGNQ6P537js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
116
116
|
}
|
|
117
117
|
return packageJson;
|
|
118
118
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
4
4
|
|
|
5
5
|
// src/plugins/ts-resolve.ts
|
|
6
6
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
@@ -26,8 +26,8 @@ var tsResolvePlugin = ({
|
|
|
26
26
|
return {
|
|
27
27
|
name: `storm:ts-resolve`,
|
|
28
28
|
async resolveId(source, importer) {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
|
|
30
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
|
|
31
31
|
if (!importer) {
|
|
32
32
|
return null;
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@ var tsResolvePlugin = ({
|
|
|
38
38
|
return false;
|
|
39
39
|
}
|
|
40
40
|
if (ignore && ignore(source, importer)) {
|
|
41
|
-
|
|
41
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
|
|
42
42
|
return null;
|
|
43
43
|
}
|
|
44
44
|
if (resolveOnly) {
|
|
@@ -47,12 +47,12 @@ var tsResolvePlugin = ({
|
|
|
47
47
|
return v.test(source);
|
|
48
48
|
});
|
|
49
49
|
if (!shouldResolve) {
|
|
50
|
-
|
|
50
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
if (_path2.default.isAbsolute(source)) {
|
|
55
|
-
|
|
55
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
|
|
56
56
|
return null;
|
|
57
57
|
}
|
|
58
58
|
const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
|
|
@@ -81,10 +81,10 @@ var tsResolvePlugin = ({
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
if (id) {
|
|
84
|
-
|
|
84
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
|
|
85
85
|
return id;
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
_chunkGNQ6P537js.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
|
|
88
88
|
return false;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }// ../config-tools/src/
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }// ../config-tools/src/logger/console.ts
|
|
2
|
+
var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
|
|
3
|
+
|
|
4
|
+
// ../config-tools/src/types.ts
|
|
2
5
|
var LogLevel = {
|
|
3
6
|
SILENT: 0,
|
|
4
7
|
FATAL: 10,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
4
4
|
|
|
5
5
|
// src/plugins/analyze.ts
|
|
6
6
|
var formatBytes = (bytes) => {
|
|
@@ -22,7 +22,7 @@ function analyze() {
|
|
|
22
22
|
renderChunk(source, chunk) {
|
|
23
23
|
const sourceBytes = formatBytes(source.length);
|
|
24
24
|
const fileName = chunk.fileName;
|
|
25
|
-
|
|
25
|
+
_chunkGNQ6P537js.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
}
|
|
@@ -4,7 +4,7 @@ var _chunkI2YBUOU3js = require('./chunk-I2YBUOU3.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
8
8
|
|
|
9
9
|
// src/utilities/copy-assets.ts
|
|
10
10
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
@@ -36,7 +36,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
36
36
|
output: "src/"
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
_chunkGNQ6P537js.writeTrace.call(void 0,
|
|
40
40
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
41
41
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkI2YBUOU3js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
42
42
|
config
|
|
@@ -48,9 +48,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
48
48
|
assets: pendingAssets
|
|
49
49
|
});
|
|
50
50
|
await assetHandler.processAllAssetsOnce();
|
|
51
|
-
|
|
51
|
+
_chunkGNQ6P537js.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
52
52
|
if (includeSrc === true) {
|
|
53
|
-
|
|
53
|
+
_chunkGNQ6P537js.writeDebug.call(void 0,
|
|
54
54
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkI2YBUOU3js.joinPaths.call(void 0,
|
|
55
55
|
outputPath,
|
|
56
56
|
"src"
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-VXUVNB76.mjs";
|
|
7
7
|
import {
|
|
8
8
|
writeTrace
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J5M6XHOM.mjs";
|
|
10
10
|
|
|
11
11
|
// src/utilities/generate-package-json.ts
|
|
12
12
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
@@ -12,7 +12,7 @@ var _chunkI2YBUOU3js = require('./chunk-I2YBUOU3.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkGNQ6P537js = require('./chunk-GNQ6P537.js');
|
|
16
16
|
|
|
17
17
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
18
18
|
var _c12 = require('c12');
|
|
@@ -738,7 +738,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
738
738
|
let config = result.config;
|
|
739
739
|
const configFile = result.configFile;
|
|
740
740
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
741
|
-
|
|
741
|
+
_chunkGNQ6P537js.writeTrace.call(void 0,
|
|
742
742
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
743
743
|
{
|
|
744
744
|
logLevel: "all"
|
|
@@ -754,7 +754,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
754
754
|
for (const result2 of results) {
|
|
755
755
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
756
756
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
757
|
-
|
|
757
|
+
_chunkGNQ6P537js.writeTrace.call(void 0,
|
|
758
758
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
759
759
|
{
|
|
760
760
|
logLevel: "all"
|
|
@@ -870,7 +870,7 @@ var getConfigEnv = () => {
|
|
|
870
870
|
},
|
|
871
871
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
872
872
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
873
|
-
) ?
|
|
873
|
+
) ? _chunkGNQ6P537js.getLogLevelLabel.call(void 0,
|
|
874
874
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
875
875
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
876
876
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1233,9 +1233,9 @@ var setConfigEnv = (config) => {
|
|
|
1233
1233
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1234
1234
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1235
1235
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1236
|
-
|
|
1236
|
+
_chunkGNQ6P537js.getLogLevel.call(void 0, config.logLevel) >= _chunkGNQ6P537js.LogLevel.DEBUG ? true : false
|
|
1237
1237
|
);
|
|
1238
|
-
process.env.RUST_BACKTRACE =
|
|
1238
|
+
process.env.RUST_BACKTRACE = _chunkGNQ6P537js.getLogLevel.call(void 0, config.logLevel) >= _chunkGNQ6P537js.LogLevel.DEBUG ? "full" : "none";
|
|
1239
1239
|
}
|
|
1240
1240
|
if (config.skipConfigLogging !== void 0) {
|
|
1241
1241
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1371,7 +1371,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1371
1371
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1372
1372
|
if (!configFile) {
|
|
1373
1373
|
if (!skipLogs) {
|
|
1374
|
-
|
|
1374
|
+
_chunkGNQ6P537js.writeWarning.call(void 0,
|
|
1375
1375
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1376
1376
|
{ logLevel: "all" }
|
|
1377
1377
|
);
|
|
@@ -1398,7 +1398,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1398
1398
|
throw new Error(
|
|
1399
1399
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1400
1400
|
|
|
1401
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1401
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkGNQ6P537js.formatLogMessage.call(void 0,
|
|
1402
1402
|
configInput
|
|
1403
1403
|
)}`,
|
|
1404
1404
|
{
|
|
@@ -1443,9 +1443,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1443
1443
|
);
|
|
1444
1444
|
setConfigEnv(config);
|
|
1445
1445
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1446
|
-
|
|
1446
|
+
_chunkGNQ6P537js.writeTrace.call(void 0,
|
|
1447
1447
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1448
|
-
${
|
|
1448
|
+
${_chunkGNQ6P537js.formatLogMessage.call(void 0, config)}`,
|
|
1449
1449
|
config
|
|
1450
1450
|
);
|
|
1451
1451
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUEE474MVjs = require('./chunk-UEE474MV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkP3MQZA3Djs = require('./chunk-P3MQZA3D.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkKV776SOKjs = require('./chunk-KV776SOK.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkDB4R5JBCjs = require('./chunk-DB4R5JBC.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkAXOBVO74js = require('./chunk-AXOBVO74.js');
|
|
21
21
|
require('./chunk-LU2DWOAG.js');
|
|
22
22
|
require('./chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
@@ -45,14 +45,14 @@ require('./chunk-6F4PWJZI.js');
|
|
|
45
45
|
require('./chunk-WPFIBCZT.js');
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkHH7KOSB7js = require('./chunk-HH7KOSB7.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
var _chunkHQD5ZBIUjs = require('./chunk-HQD5ZBIU.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
55
|
-
require('./chunk-
|
|
54
|
+
var _chunkFCS3CQSPjs = require('./chunk-FCS3CQSP.js');
|
|
55
|
+
require('./chunk-GNQ6P537.js');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
var _chunkN7HP2YYEjs = require('./chunk-N7HP2YYE.js');
|
|
@@ -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 = _chunkDB4R5JBCjs.addPackageDependencies; exports.addPackageJsonExport = _chunkDB4R5JBCjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkDB4R5JBCjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkDB4R5JBCjs.addWorkspacePackageJsonFields; exports.analyze = _chunkHH7KOSB7js.analyze; exports.copyAssets = _chunkKV776SOKjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkAXOBVO74js.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 = _chunkUEE474MVjs.readNxConfig; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkFCS3CQSPjs.tsResolvePlugin; exports.typeDefinitions = _chunkN7HP2YYEjs.typeDefinitions;
|
package/dist/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./chunk-KVP3YMX6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
readNxConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BAGCAJFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createTaskId,
|
|
7
7
|
getAllWorkspaceTaskGraphs
|
|
8
8
|
} from "./chunk-JCFRYUYP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
copyAssets
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UCEEEQVX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addPackageDependencies,
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RVBHYVMR.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3E4JAUKE.mjs";
|
|
21
21
|
import "./chunk-RPSH5IFV.mjs";
|
|
22
22
|
import "./chunk-VXUVNB76.mjs";
|
|
23
23
|
import {
|
|
@@ -45,14 +45,14 @@ import "./chunk-WBQAMGXK.mjs";
|
|
|
45
45
|
import "./chunk-UN3B7LBV.mjs";
|
|
46
46
|
import {
|
|
47
47
|
analyze
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-XQQDAMER.mjs";
|
|
49
49
|
import {
|
|
50
50
|
swc
|
|
51
51
|
} from "./chunk-7YKXR5JJ.mjs";
|
|
52
52
|
import {
|
|
53
53
|
tsResolvePlugin
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-JVUUAAFA.mjs";
|
|
55
|
+
import "./chunk-J5M6XHOM.mjs";
|
|
56
56
|
import {
|
|
57
57
|
typeDefinitions
|
|
58
58
|
} from "./chunk-VGLIZ2H3.mjs";
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkHH7KOSB7js = require('../chunk-HH7KOSB7.js');
|
|
4
|
+
require('../chunk-GNQ6P537.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.analyze =
|
|
7
|
+
exports.analyze = _chunkHH7KOSB7js.analyze;
|
package/dist/plugins/analyze.mjs
CHANGED
package/dist/plugins/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-WPFIBCZT.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHH7KOSB7js = require('../chunk-HH7KOSB7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkHQD5ZBIUjs = require('../chunk-HQD5ZBIU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
10
|
+
var _chunkFCS3CQSPjs = require('../chunk-FCS3CQSP.js');
|
|
11
|
+
require('../chunk-GNQ6P537.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkN7HP2YYEjs = require('../chunk-N7HP2YYE.js');
|
|
@@ -17,4 +17,4 @@ var _chunkN7HP2YYEjs = require('../chunk-N7HP2YYE.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
exports.analyze =
|
|
20
|
+
exports.analyze = _chunkHH7KOSB7js.analyze; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkFCS3CQSPjs.tsResolvePlugin; exports.typeDefinitions = _chunkN7HP2YYEjs.typeDefinitions;
|
package/dist/plugins/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-UN3B7LBV.mjs";
|
|
2
2
|
import {
|
|
3
3
|
analyze
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XQQDAMER.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swc
|
|
7
7
|
} from "../chunk-7YKXR5JJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tsResolvePlugin
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-JVUUAAFA.mjs";
|
|
11
|
+
import "../chunk-J5M6XHOM.mjs";
|
|
12
12
|
import {
|
|
13
13
|
typeDefinitions
|
|
14
14
|
} from "../chunk-VGLIZ2H3.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkFCS3CQSPjs = require('../chunk-FCS3CQSP.js');
|
|
4
|
+
require('../chunk-GNQ6P537.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.tsResolvePlugin =
|
|
7
|
+
exports.tsResolvePlugin = _chunkFCS3CQSPjs.tsResolvePlugin;
|
|
@@ -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
|
+
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
|
+
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
|
+
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 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKV776SOKjs = require('../chunk-KV776SOK.js');
|
|
4
4
|
require('../chunk-I2YBUOU3.js');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-GNQ6P537.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.copyAssets =
|
|
8
|
+
exports.copyAssets = _chunkKV776SOKjs.copyAssets;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDB4R5JBCjs = require('../chunk-DB4R5JBC.js');
|
|
7
7
|
require('../chunk-LU2DWOAG.js');
|
|
8
8
|
require('../chunk-I2YBUOU3.js');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-GNQ6P537.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.addPackageDependencies =
|
|
15
|
+
exports.addPackageDependencies = _chunkDB4R5JBCjs.addPackageDependencies; exports.addPackageJsonExport = _chunkDB4R5JBCjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkDB4R5JBCjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkDB4R5JBCjs.addWorkspacePackageJsonFields;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
addPackageJsonExport,
|
|
4
4
|
addPackageJsonExports,
|
|
5
5
|
addWorkspacePackageJsonFields
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-RVBHYVMR.mjs";
|
|
7
7
|
import "../chunk-RPSH5IFV.mjs";
|
|
8
8
|
import "../chunk-VXUVNB76.mjs";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-J5M6XHOM.mjs";
|
|
10
10
|
export {
|
|
11
11
|
addPackageDependencies,
|
|
12
12
|
addPackageJsonExport,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAXOBVO74js = require('../chunk-AXOBVO74.js');
|
|
4
4
|
require('../chunk-LU2DWOAG.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-GNQ6P537.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.getEntryPoints =
|
|
9
|
+
exports.getEntryPoints = _chunkAXOBVO74js.getEntryPoints;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEntryPoints
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3E4JAUKE.mjs";
|
|
4
4
|
import "../chunk-RPSH5IFV.mjs";
|
|
5
5
|
import "../chunk-VXUVNB76.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-J5M6XHOM.mjs";
|
|
7
7
|
export {
|
|
8
8
|
getEntryPoints
|
|
9
9
|
};
|
package/dist/utilities/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUEE474MVjs = require('../chunk-UEE474MV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkP3MQZA3Djs = require('../chunk-P3MQZA3D.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkKV776SOKjs = require('../chunk-KV776SOK.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkDB4R5JBCjs = require('../chunk-DB4R5JBC.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkAXOBVO74js = require('../chunk-AXOBVO74.js');
|
|
21
21
|
require('../chunk-LU2DWOAG.js');
|
|
22
22
|
require('../chunk-I2YBUOU3.js');
|
|
23
23
|
|
|
@@ -35,7 +35,7 @@ var _chunkA75DEKU5js = require('../chunk-A75DEKU5.js');
|
|
|
35
35
|
|
|
36
36
|
var _chunkWNMPQTPHjs = require('../chunk-WNMPQTPH.js');
|
|
37
37
|
require('../chunk-MYIXHZMS.js');
|
|
38
|
-
require('../chunk-
|
|
38
|
+
require('../chunk-GNQ6P537.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
@@ -52,4 +52,4 @@ require('../chunk-KTEGKYAH.js');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.addPackageDependencies =
|
|
55
|
+
exports.addPackageDependencies = _chunkDB4R5JBCjs.addPackageDependencies; exports.addPackageJsonExport = _chunkDB4R5JBCjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkDB4R5JBCjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkDB4R5JBCjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkKV776SOKjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkAXOBVO74js.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 = _chunkUEE474MVjs.readNxConfig;
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "../chunk-KVP3YMX6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
readNxConfig
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BAGCAJFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createTaskId,
|
|
7
7
|
getAllWorkspaceTaskGraphs
|
|
8
8
|
} from "../chunk-JCFRYUYP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
copyAssets
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-UCEEEQVX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addPackageDependencies,
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-RVBHYVMR.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-3E4JAUKE.mjs";
|
|
21
21
|
import "../chunk-RPSH5IFV.mjs";
|
|
22
22
|
import "../chunk-VXUVNB76.mjs";
|
|
23
23
|
import {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getInternalDependencies
|
|
36
36
|
} from "../chunk-ODQKLK6L.mjs";
|
|
37
37
|
import "../chunk-BEMVEXMQ.mjs";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-J5M6XHOM.mjs";
|
|
39
39
|
export {
|
|
40
40
|
addPackageDependencies,
|
|
41
41
|
addPackageJsonExport,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUEE474MVjs = require('../chunk-UEE474MV.js');
|
|
4
4
|
require('../chunk-LU2DWOAG.js');
|
|
5
5
|
require('../chunk-I2YBUOU3.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-GNQ6P537.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.readNxConfig =
|
|
9
|
+
exports.readNxConfig = _chunkUEE474MVjs.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.40",
|
|
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": "9fb6aab8303c116047d19f12823505c5bd071a55"
|
|
172
172
|
}
|