@storm-software/tsdown 0.45.223 → 0.45.225
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/build.cjs +3 -3
- package/dist/build.js +2 -2
- package/dist/{chunk-R4BVIZ5W.cjs → chunk-2BMNNQCP.cjs} +3 -3
- package/dist/{chunk-FXALW4QG.cjs → chunk-D7UYX4U4.cjs} +45 -45
- package/dist/{chunk-AZALAT6L.js → chunk-HLQNAXMQ.js} +14 -14
- package/dist/{chunk-AD2IA2HR.js → chunk-NNKBZK6E.js} +3 -3
- package/dist/clean.cjs +2 -2
- package/dist/clean.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/dist/build.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkD7UYX4U4cjs = require('./chunk-D7UYX4U4.cjs');
|
|
5
|
+
require('./chunk-2BMNNQCP.cjs');
|
|
6
6
|
require('./chunk-DPNREUD4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.build =
|
|
10
|
+
exports.build = _chunkD7UYX4U4cjs.build; exports.cleanOutputPath = _chunkD7UYX4U4cjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -34,7 +34,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
34
34
|
foreground: "#1d1e22",
|
|
35
35
|
brand: "#1fb2a6",
|
|
36
36
|
alternate: "#db2777",
|
|
37
|
-
|
|
37
|
+
discovery: "#5C4EE5",
|
|
38
38
|
success: "#087f5b",
|
|
39
39
|
info: "#0550ae",
|
|
40
40
|
debug: "#8afafc",
|
|
@@ -48,11 +48,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
48
48
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
49
49
|
},
|
|
50
50
|
dark: {
|
|
51
|
-
background: "#
|
|
51
|
+
background: "#1e2124",
|
|
52
52
|
foreground: "#cbd5e1",
|
|
53
53
|
brand: "#2dd4bf",
|
|
54
54
|
alternate: "#db2777",
|
|
55
|
-
|
|
55
|
+
discovery: "#818cf8",
|
|
56
56
|
success: "#10b981",
|
|
57
57
|
info: "#58a6ff",
|
|
58
58
|
debug: "#8afafc",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk2BMNNQCPcjs = require('./chunk-2BMNNQCP.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -199,7 +199,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
199
199
|
output: "src/"
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0,
|
|
203
203
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
204
204
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
205
205
|
config
|
|
@@ -211,9 +211,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
211
211
|
assets: pendingAssets
|
|
212
212
|
});
|
|
213
213
|
await assetHandler.processAllAssetsOnce();
|
|
214
|
-
|
|
214
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
215
215
|
if (includeSrc === true) {
|
|
216
|
-
|
|
216
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0,
|
|
217
217
|
`\u{1F4DD} Adding banner and writing source files: ${joinPaths(
|
|
218
218
|
outputPath,
|
|
219
219
|
"src"
|
|
@@ -392,7 +392,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
if (localPackages.length > 0) {
|
|
395
|
-
|
|
395
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0,
|
|
396
396
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
397
397
|
);
|
|
398
398
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -440,7 +440,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
440
440
|
return ret;
|
|
441
441
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
442
442
|
} else {
|
|
443
|
-
|
|
443
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
444
444
|
}
|
|
445
445
|
return packageJson;
|
|
446
446
|
};
|
|
@@ -541,7 +541,7 @@ var colorSchema = z.string().check(
|
|
|
541
541
|
schemaRegistry.add(colorSchema, {
|
|
542
542
|
description: "A base schema for describing the format of colors"
|
|
543
543
|
});
|
|
544
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
544
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
545
545
|
schemaRegistry.add(darkColorSchema, {
|
|
546
546
|
description: "The dark background color of the workspace"
|
|
547
547
|
});
|
|
@@ -565,8 +565,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
565
565
|
schemaRegistry.add(linkColorSchema, {
|
|
566
566
|
description: "The color used to display hyperlink text"
|
|
567
567
|
});
|
|
568
|
-
var
|
|
569
|
-
schemaRegistry.add(
|
|
568
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
569
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
570
570
|
description: "The second brand specific color of the workspace"
|
|
571
571
|
});
|
|
572
572
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -616,7 +616,7 @@ var darkColorsSchema = z.object({
|
|
|
616
616
|
alternate: alternateColorSchema,
|
|
617
617
|
accent: accentColorSchema,
|
|
618
618
|
link: linkColorSchema,
|
|
619
|
-
|
|
619
|
+
discovery: discoveryColorSchema,
|
|
620
620
|
success: successColorSchema,
|
|
621
621
|
info: infoColorSchema,
|
|
622
622
|
debug: debugColorSchema,
|
|
@@ -635,7 +635,7 @@ var lightColorsSchema = z.object({
|
|
|
635
635
|
alternate: alternateColorSchema,
|
|
636
636
|
accent: accentColorSchema,
|
|
637
637
|
link: linkColorSchema,
|
|
638
|
-
|
|
638
|
+
discovery: discoveryColorSchema,
|
|
639
639
|
success: successColorSchema,
|
|
640
640
|
info: infoColorSchema,
|
|
641
641
|
debug: debugColorSchema,
|
|
@@ -658,7 +658,7 @@ var singleColorsSchema = z.object({
|
|
|
658
658
|
alternate: alternateColorSchema,
|
|
659
659
|
accent: accentColorSchema,
|
|
660
660
|
link: linkColorSchema,
|
|
661
|
-
|
|
661
|
+
discovery: discoveryColorSchema,
|
|
662
662
|
success: successColorSchema,
|
|
663
663
|
info: infoColorSchema,
|
|
664
664
|
debug: debugColorSchema,
|
|
@@ -1108,7 +1108,7 @@ var COLOR_KEYS = [
|
|
|
1108
1108
|
"accent",
|
|
1109
1109
|
"link",
|
|
1110
1110
|
"success",
|
|
1111
|
-
"
|
|
1111
|
+
"discovery",
|
|
1112
1112
|
"info",
|
|
1113
1113
|
"warning",
|
|
1114
1114
|
"danger",
|
|
@@ -1247,7 +1247,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1247
1247
|
let config = result.config;
|
|
1248
1248
|
const configFile = result.configFile;
|
|
1249
1249
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
1250
|
-
|
|
1250
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0,
|
|
1251
1251
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
1252
1252
|
{
|
|
1253
1253
|
logLevel: "all"
|
|
@@ -1263,7 +1263,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1263
1263
|
for (const result2 of results) {
|
|
1264
1264
|
if (_optionalChain([result2, 'optionalAccess', _34 => _34.config]) && _optionalChain([result2, 'optionalAccess', _35 => _35.configFile]) && Object.keys(result2.config).length > 0) {
|
|
1265
1265
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
1266
|
-
|
|
1266
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0,
|
|
1267
1267
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
1268
1268
|
{
|
|
1269
1269
|
logLevel: "all"
|
|
@@ -1379,7 +1379,7 @@ var getConfigEnv = () => {
|
|
|
1379
1379
|
},
|
|
1380
1380
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
1381
1381
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
1382
|
-
) ?
|
|
1382
|
+
) ? _chunk2BMNNQCPcjs.getLogLevelLabel.call(void 0,
|
|
1383
1383
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
1384
1384
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
1385
1385
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1447,7 +1447,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1447
1447
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1448
1448
|
accent: process.env[`${prefix}ACCENT`],
|
|
1449
1449
|
link: process.env[`${prefix}LINK`],
|
|
1450
|
-
|
|
1450
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1451
1451
|
success: process.env[`${prefix}SUCCESS`],
|
|
1452
1452
|
info: process.env[`${prefix}INFO`],
|
|
1453
1453
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1487,7 +1487,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1487
1487
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1488
1488
|
accent: process.env[`${prefix}ACCENT`],
|
|
1489
1489
|
link: process.env[`${prefix}LINK`],
|
|
1490
|
-
|
|
1490
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1491
1491
|
success: process.env[`${prefix}SUCCESS`],
|
|
1492
1492
|
info: process.env[`${prefix}INFO`],
|
|
1493
1493
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1746,9 +1746,9 @@ var setConfigEnv = (config) => {
|
|
|
1746
1746
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1747
1747
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1748
1748
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1749
|
-
|
|
1749
|
+
_chunk2BMNNQCPcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk2BMNNQCPcjs.LogLevel.DEBUG ? true : false
|
|
1750
1750
|
);
|
|
1751
|
-
process.env.RUST_BACKTRACE =
|
|
1751
|
+
process.env.RUST_BACKTRACE = _chunk2BMNNQCPcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk2BMNNQCPcjs.LogLevel.DEBUG ? "full" : "none";
|
|
1752
1752
|
}
|
|
1753
1753
|
if (config.skipConfigLogging !== void 0) {
|
|
1754
1754
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1784,8 +1784,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1784
1784
|
if (config.link) {
|
|
1785
1785
|
process.env[`${prefix}LINK`] = config.link;
|
|
1786
1786
|
}
|
|
1787
|
-
if (config.
|
|
1788
|
-
process.env[`${prefix}
|
|
1787
|
+
if (config.discovery) {
|
|
1788
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1789
1789
|
}
|
|
1790
1790
|
if (config.success) {
|
|
1791
1791
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1845,8 +1845,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1845
1845
|
if (config.link) {
|
|
1846
1846
|
process.env[`${prefix}LINK`] = config.link;
|
|
1847
1847
|
}
|
|
1848
|
-
if (config.
|
|
1849
|
-
process.env[`${prefix}
|
|
1848
|
+
if (config.discovery) {
|
|
1849
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1850
1850
|
}
|
|
1851
1851
|
if (config.success) {
|
|
1852
1852
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1896,7 +1896,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1896
1896
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1897
1897
|
if (!configFile) {
|
|
1898
1898
|
if (!skipLogs) {
|
|
1899
|
-
|
|
1899
|
+
_chunk2BMNNQCPcjs.writeWarning.call(void 0,
|
|
1900
1900
|
"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",
|
|
1901
1901
|
{ logLevel: "all" }
|
|
1902
1902
|
);
|
|
@@ -1927,7 +1927,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1927
1927
|
throw new Error(
|
|
1928
1928
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _60 => _60.message]) ? `: ${error.message}` : ""}
|
|
1929
1929
|
|
|
1930
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1930
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk2BMNNQCPcjs.formatLogMessage.call(void 0,
|
|
1931
1931
|
configInput
|
|
1932
1932
|
)}`,
|
|
1933
1933
|
{
|
|
@@ -1972,9 +1972,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1972
1972
|
);
|
|
1973
1973
|
setConfigEnv(config);
|
|
1974
1974
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1975
|
-
|
|
1975
|
+
_chunk2BMNNQCPcjs.writeTrace.call(void 0,
|
|
1976
1976
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1977
|
-
${
|
|
1977
|
+
${_chunk2BMNNQCPcjs.formatLogMessage.call(void 0, config)}`,
|
|
1978
1978
|
config
|
|
1979
1979
|
);
|
|
1980
1980
|
}
|
|
@@ -2034,8 +2034,8 @@ var resolveOptions = async (userOptions) => {
|
|
|
2034
2034
|
const workspaceConfig = await getWorkspaceConfig(options.debug === true, {
|
|
2035
2035
|
workspaceRoot
|
|
2036
2036
|
});
|
|
2037
|
-
|
|
2038
|
-
const stopwatch =
|
|
2037
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
2038
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
2039
2039
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2040
2040
|
exitOnError: true
|
|
2041
2041
|
});
|
|
@@ -2107,8 +2107,8 @@ var resolveOptions = async (userOptions) => {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
async function generatePackageJson(options) {
|
|
2109
2109
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(options.projectRoot, "package.json"))) {
|
|
2110
|
-
|
|
2111
|
-
const stopwatch =
|
|
2110
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
2111
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
2112
2112
|
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
2113
2113
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2114
2114
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -2182,8 +2182,8 @@ async function generatePackageJson(options) {
|
|
|
2182
2182
|
return options;
|
|
2183
2183
|
}
|
|
2184
2184
|
async function executeTSDown(options) {
|
|
2185
|
-
|
|
2186
|
-
const stopwatch =
|
|
2185
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
2186
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
2187
2187
|
await _tsdown.build.call(void 0, {
|
|
2188
2188
|
...options,
|
|
2189
2189
|
entry: options.entry,
|
|
@@ -2193,11 +2193,11 @@ async function executeTSDown(options) {
|
|
|
2193
2193
|
return options;
|
|
2194
2194
|
}
|
|
2195
2195
|
async function copyBuildAssets(options) {
|
|
2196
|
-
|
|
2196
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0,
|
|
2197
2197
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
2198
2198
|
options.workspaceConfig
|
|
2199
2199
|
);
|
|
2200
|
-
const stopwatch =
|
|
2200
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
2201
2201
|
await copyAssets(
|
|
2202
2202
|
options.workspaceConfig,
|
|
2203
2203
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -2211,19 +2211,19 @@ async function copyBuildAssets(options) {
|
|
|
2211
2211
|
return options;
|
|
2212
2212
|
}
|
|
2213
2213
|
async function reportResults(options) {
|
|
2214
|
-
|
|
2214
|
+
_chunk2BMNNQCPcjs.writeSuccess.call(void 0,
|
|
2215
2215
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
2216
2216
|
options.workspaceConfig
|
|
2217
2217
|
);
|
|
2218
2218
|
}
|
|
2219
2219
|
async function cleanOutputPath(options) {
|
|
2220
2220
|
if (options.clean !== false && options.workspaceConfig) {
|
|
2221
|
-
|
|
2221
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0,
|
|
2222
2222
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
2223
2223
|
options.workspaceConfig
|
|
2224
2224
|
);
|
|
2225
|
-
const stopwatch =
|
|
2226
|
-
await
|
|
2225
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
2226
|
+
await _chunk2BMNNQCPcjs.cleanDirectories.call(void 0,
|
|
2227
2227
|
options.name,
|
|
2228
2228
|
options.outDir,
|
|
2229
2229
|
options.workspaceConfig
|
|
@@ -2233,8 +2233,8 @@ async function cleanOutputPath(options) {
|
|
|
2233
2233
|
return options;
|
|
2234
2234
|
}
|
|
2235
2235
|
async function build(options) {
|
|
2236
|
-
|
|
2237
|
-
const stopwatch =
|
|
2236
|
+
_chunk2BMNNQCPcjs.writeDebug.call(void 0, ` ${_chunk2BMNNQCPcjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
2237
|
+
const stopwatch = _chunk2BMNNQCPcjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
2238
2238
|
try {
|
|
2239
2239
|
const opts = Array.isArray(options) ? options : [options];
|
|
2240
2240
|
if (opts.length === 0) {
|
|
@@ -2254,13 +2254,13 @@ async function build(options) {
|
|
|
2254
2254
|
})
|
|
2255
2255
|
);
|
|
2256
2256
|
} else {
|
|
2257
|
-
|
|
2257
|
+
_chunk2BMNNQCPcjs.writeWarning.call(void 0,
|
|
2258
2258
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
2259
2259
|
);
|
|
2260
2260
|
}
|
|
2261
|
-
|
|
2261
|
+
_chunk2BMNNQCPcjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
2262
2262
|
} catch (error) {
|
|
2263
|
-
|
|
2263
|
+
_chunk2BMNNQCPcjs.writeFatal.call(void 0,
|
|
2264
2264
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
2265
2265
|
);
|
|
2266
2266
|
throw error;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
writeSuccess,
|
|
12
12
|
writeTrace,
|
|
13
13
|
writeWarning
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NNKBZK6E.js";
|
|
15
15
|
import {
|
|
16
16
|
getDefaultOptions,
|
|
17
17
|
toTSDownFormat
|
|
@@ -541,7 +541,7 @@ var colorSchema = z.string().check(
|
|
|
541
541
|
schemaRegistry.add(colorSchema, {
|
|
542
542
|
description: "A base schema for describing the format of colors"
|
|
543
543
|
});
|
|
544
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
544
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
545
545
|
schemaRegistry.add(darkColorSchema, {
|
|
546
546
|
description: "The dark background color of the workspace"
|
|
547
547
|
});
|
|
@@ -565,8 +565,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
565
565
|
schemaRegistry.add(linkColorSchema, {
|
|
566
566
|
description: "The color used to display hyperlink text"
|
|
567
567
|
});
|
|
568
|
-
var
|
|
569
|
-
schemaRegistry.add(
|
|
568
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
569
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
570
570
|
description: "The second brand specific color of the workspace"
|
|
571
571
|
});
|
|
572
572
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -616,7 +616,7 @@ var darkColorsSchema = z.object({
|
|
|
616
616
|
alternate: alternateColorSchema,
|
|
617
617
|
accent: accentColorSchema,
|
|
618
618
|
link: linkColorSchema,
|
|
619
|
-
|
|
619
|
+
discovery: discoveryColorSchema,
|
|
620
620
|
success: successColorSchema,
|
|
621
621
|
info: infoColorSchema,
|
|
622
622
|
debug: debugColorSchema,
|
|
@@ -635,7 +635,7 @@ var lightColorsSchema = z.object({
|
|
|
635
635
|
alternate: alternateColorSchema,
|
|
636
636
|
accent: accentColorSchema,
|
|
637
637
|
link: linkColorSchema,
|
|
638
|
-
|
|
638
|
+
discovery: discoveryColorSchema,
|
|
639
639
|
success: successColorSchema,
|
|
640
640
|
info: infoColorSchema,
|
|
641
641
|
debug: debugColorSchema,
|
|
@@ -658,7 +658,7 @@ var singleColorsSchema = z.object({
|
|
|
658
658
|
alternate: alternateColorSchema,
|
|
659
659
|
accent: accentColorSchema,
|
|
660
660
|
link: linkColorSchema,
|
|
661
|
-
|
|
661
|
+
discovery: discoveryColorSchema,
|
|
662
662
|
success: successColorSchema,
|
|
663
663
|
info: infoColorSchema,
|
|
664
664
|
debug: debugColorSchema,
|
|
@@ -1108,7 +1108,7 @@ var COLOR_KEYS = [
|
|
|
1108
1108
|
"accent",
|
|
1109
1109
|
"link",
|
|
1110
1110
|
"success",
|
|
1111
|
-
"
|
|
1111
|
+
"discovery",
|
|
1112
1112
|
"info",
|
|
1113
1113
|
"warning",
|
|
1114
1114
|
"danger",
|
|
@@ -1447,7 +1447,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1447
1447
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1448
1448
|
accent: process.env[`${prefix}ACCENT`],
|
|
1449
1449
|
link: process.env[`${prefix}LINK`],
|
|
1450
|
-
|
|
1450
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1451
1451
|
success: process.env[`${prefix}SUCCESS`],
|
|
1452
1452
|
info: process.env[`${prefix}INFO`],
|
|
1453
1453
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1487,7 +1487,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1487
1487
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1488
1488
|
accent: process.env[`${prefix}ACCENT`],
|
|
1489
1489
|
link: process.env[`${prefix}LINK`],
|
|
1490
|
-
|
|
1490
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1491
1491
|
success: process.env[`${prefix}SUCCESS`],
|
|
1492
1492
|
info: process.env[`${prefix}INFO`],
|
|
1493
1493
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1784,8 +1784,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1784
1784
|
if (config.link) {
|
|
1785
1785
|
process.env[`${prefix}LINK`] = config.link;
|
|
1786
1786
|
}
|
|
1787
|
-
if (config.
|
|
1788
|
-
process.env[`${prefix}
|
|
1787
|
+
if (config.discovery) {
|
|
1788
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1789
1789
|
}
|
|
1790
1790
|
if (config.success) {
|
|
1791
1791
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1845,8 +1845,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1845
1845
|
if (config.link) {
|
|
1846
1846
|
process.env[`${prefix}LINK`] = config.link;
|
|
1847
1847
|
}
|
|
1848
|
-
if (config.
|
|
1849
|
-
process.env[`${prefix}
|
|
1848
|
+
if (config.discovery) {
|
|
1849
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1850
1850
|
}
|
|
1851
1851
|
if (config.success) {
|
|
1852
1852
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -34,7 +34,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
34
34
|
foreground: "#1d1e22",
|
|
35
35
|
brand: "#1fb2a6",
|
|
36
36
|
alternate: "#db2777",
|
|
37
|
-
|
|
37
|
+
discovery: "#5C4EE5",
|
|
38
38
|
success: "#087f5b",
|
|
39
39
|
info: "#0550ae",
|
|
40
40
|
debug: "#8afafc",
|
|
@@ -48,11 +48,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
48
48
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
49
49
|
},
|
|
50
50
|
dark: {
|
|
51
|
-
background: "#
|
|
51
|
+
background: "#1e2124",
|
|
52
52
|
foreground: "#cbd5e1",
|
|
53
53
|
brand: "#2dd4bf",
|
|
54
54
|
alternate: "#db2777",
|
|
55
|
-
|
|
55
|
+
discovery: "#818cf8",
|
|
56
56
|
success: "#10b981",
|
|
57
57
|
info: "#58a6ff",
|
|
58
58
|
debug: "#8afafc",
|
package/dist/clean.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2BMNNQCPcjs = require('./chunk-2BMNNQCP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.clean =
|
|
8
|
+
exports.clean = _chunk2BMNNQCPcjs.clean; exports.cleanDirectories = _chunk2BMNNQCPcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkD7UYX4U4cjs = require('./chunk-D7UYX4U4.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk2BMNNQCPcjs = require('./chunk-2BMNNQCP.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -18,4 +18,4 @@ require('./chunk-ZBPRDZS4.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.build =
|
|
21
|
+
exports.build = _chunkD7UYX4U4cjs.build; exports.clean = _chunk2BMNNQCPcjs.clean; exports.cleanDirectories = _chunk2BMNNQCPcjs.cleanDirectories; exports.cleanOutputPath = _chunkD7UYX4U4cjs.cleanOutputPath; exports.getDefaultOptions = _chunkDPNREUD4cjs.getDefaultOptions; exports.toTSDownFormat = _chunkDPNREUD4cjs.toTSDownFormat;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build,
|
|
3
3
|
cleanOutputPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HLQNAXMQ.js";
|
|
5
5
|
import {
|
|
6
6
|
clean,
|
|
7
7
|
cleanDirectories
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NNKBZK6E.js";
|
|
9
9
|
import {
|
|
10
10
|
getDefaultOptions,
|
|
11
11
|
toTSDownFormat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsdown",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.225",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"keywords": [
|
|
@@ -134,9 +134,9 @@
|
|
|
134
134
|
"bin": { "storm-tsdown": "./bin/tsdown.cjs" },
|
|
135
135
|
"files": ["dist/**/*"],
|
|
136
136
|
"dependencies": {
|
|
137
|
-
"@storm-software/build-tools": "^0.158.
|
|
138
|
-
"@storm-software/config": "^1.
|
|
139
|
-
"@storm-software/config-tools": "^1.190.
|
|
137
|
+
"@storm-software/build-tools": "^0.158.224",
|
|
138
|
+
"@storm-software/config": "^1.138.1",
|
|
139
|
+
"@storm-software/config-tools": "^1.190.64",
|
|
140
140
|
"chokidar": "^4.0.3",
|
|
141
141
|
"commander": "^12.1.0",
|
|
142
142
|
"es-toolkit": "^1.47.1",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"@nx/js": "22.7.5",
|
|
153
153
|
"@types/node": "^25.9.3",
|
|
154
154
|
"defu": "^6.1.7",
|
|
155
|
-
"rollup": "^4.
|
|
155
|
+
"rollup": "^4.62.0",
|
|
156
156
|
"spdx-exceptions": "^2.5.0",
|
|
157
157
|
"spdx-license-ids": "^3.0.23",
|
|
158
158
|
"tsdown": "^0.22.2"
|
|
@@ -168,5 +168,5 @@
|
|
|
168
168
|
"tsdown": { "optional": false }
|
|
169
169
|
},
|
|
170
170
|
"publishConfig": { "access": "public" },
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "058ac110e66970612f8f2498c7c1e1246ef4cd54"
|
|
172
172
|
}
|