@storm-software/build-tools 0.132.0 → 0.133.0
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-BCWUJJVE.js → chunk-275E2SAD.js} +15 -8
- package/dist/{chunk-YG4VWSYI.js → chunk-4EOISDM2.js} +23 -27
- package/dist/{chunk-V2FCH37M.js → chunk-7TZNJMAB.js} +8 -8
- package/dist/{chunk-FQS4AZLP.mjs → chunk-ASTOW4W7.mjs} +1 -1
- package/dist/{chunk-WH5SP7MT.mjs → chunk-DRXCFXBB.mjs} +15 -8
- package/dist/{chunk-L74AGHQG.mjs → chunk-HCFLWTVN.mjs} +1 -1
- package/dist/{chunk-L62W65H5.mjs → chunk-KJNY2WFO.mjs} +1 -1
- package/dist/{chunk-M3OSJGGS.js → chunk-L7W4YZE4.js} +2 -2
- package/dist/{chunk-TRIE4RYN.mjs → chunk-OWWSOXVQ.mjs} +13 -17
- package/dist/{chunk-7EJEPQAW.js → chunk-QMLJ4YOF.js} +42 -42
- package/dist/{chunk-MPAOCAO3.js → chunk-SYSXNB3M.js} +8 -8
- package/dist/{chunk-RBEHXV2K.mjs → chunk-SZMRYRJK.mjs} +1 -1
- package/dist/{chunk-XP6VRJ5A.mjs → chunk-TYWDA4EL.mjs} +1 -1
- package/dist/{chunk-R7QCOOUE.js → chunk-YXBRJJCU.js} +5 -5
- 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/utilities/copy-assets.js +4 -4
- package/dist/utilities/copy-assets.mjs +3 -3
- 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 +1 -1
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 -->
|
|
@@ -479,49 +479,56 @@ var formatTimestamp = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (date
|
|
|
479
479
|
var getLogFn = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
480
480
|
const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
481
481
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
482
|
-
if (
|
|
482
|
+
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
483
483
|
return (_) => {
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel
|
|
486
|
+
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
487
487
|
return (message) => {
|
|
488
488
|
console.error(`
|
|
489
489
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
490
490
|
`);
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
|
-
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel
|
|
493
|
+
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
494
494
|
return (message) => {
|
|
495
495
|
console.error(`
|
|
496
496
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
497
497
|
`);
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
|
-
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel
|
|
500
|
+
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
501
501
|
return (message) => {
|
|
502
502
|
console.warn(`
|
|
503
503
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
504
504
|
`);
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
|
-
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel
|
|
507
|
+
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
508
508
|
return (message) => {
|
|
509
509
|
console.info(`
|
|
510
510
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
511
511
|
`);
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel
|
|
514
|
+
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
515
515
|
return (message) => {
|
|
516
516
|
console.info(`
|
|
517
517
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
518
518
|
`);
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
521
|
+
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
522
522
|
return (message) => {
|
|
523
523
|
console.debug(`
|
|
524
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]}
|
|
524
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
|
+
`);
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
529
|
+
return (message) => {
|
|
530
|
+
console.debug(`
|
|
531
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
532
|
`);
|
|
526
533
|
};
|
|
527
534
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkQMLJ4YOFjs = require('./chunk-QMLJ4YOF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -17,27 +17,23 @@ var _glob = require('glob');
|
|
|
17
17
|
var _promises = require('fs/promises');
|
|
18
18
|
var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
19
19
|
const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
pendingAssets.push({
|
|
21
|
+
input: projectRoot,
|
|
22
|
+
glob: "*.md",
|
|
23
|
+
output: "."
|
|
24
|
+
});
|
|
25
|
+
pendingAssets.push({
|
|
26
|
+
input: config.workspaceRoot,
|
|
27
|
+
glob: "LICENSE",
|
|
28
|
+
output: "."
|
|
29
|
+
});
|
|
27
30
|
if (generatePackageJson === false) {
|
|
28
31
|
pendingAssets.push({
|
|
29
|
-
input:
|
|
32
|
+
input: projectRoot,
|
|
30
33
|
glob: "package.json",
|
|
31
34
|
output: "."
|
|
32
35
|
});
|
|
33
36
|
}
|
|
34
|
-
if (!_optionalChain([pendingAssets, 'optionalAccess', _4 => _4.some, 'call', _5 => _5((asset) => _optionalChain([asset, 'optionalAccess', _6 => _6.glob]) === "LICENSE")])) {
|
|
35
|
-
pendingAssets.push({
|
|
36
|
-
input: "",
|
|
37
|
-
glob: "LICENSE",
|
|
38
|
-
output: "."
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
37
|
if (includeSrc === true) {
|
|
42
38
|
pendingAssets.push({
|
|
43
39
|
input: sourceRoot,
|
|
@@ -45,15 +41,15 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
|
|
|
45
41
|
output: "src/"
|
|
46
42
|
});
|
|
47
43
|
}
|
|
48
|
-
const nxJson =
|
|
44
|
+
const nxJson = _chunkQMLJ4YOFjs.readNxConfig.call(void 0, config.workspaceRoot);
|
|
49
45
|
const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
50
46
|
const projectsConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
51
|
-
if (!_optionalChain([projectsConfigurations, 'optionalAccess',
|
|
47
|
+
if (!_optionalChain([projectsConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName]])) {
|
|
52
48
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
53
49
|
}
|
|
54
|
-
const buildTarget = _optionalChain([projectsConfigurations, 'access',
|
|
50
|
+
const buildTarget = _optionalChain([projectsConfigurations, 'access', _3 => _3.projects, 'access', _4 => _4[projectName], 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build]);
|
|
55
51
|
if (!buildTarget) {
|
|
56
|
-
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${
|
|
52
|
+
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunk275E2SADjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
|
|
57
53
|
}
|
|
58
54
|
const result = await _js.copyAssets.call(void 0, {
|
|
59
55
|
assets,
|
|
@@ -68,18 +64,18 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
|
|
|
68
64
|
projectsConfigurations,
|
|
69
65
|
nxJsonConfiguration: nxJson,
|
|
70
66
|
cwd: config.workspaceRoot,
|
|
71
|
-
isVerbose:
|
|
67
|
+
isVerbose: _chunk275E2SADjs.isVerbose.call(void 0, config.logLevel)
|
|
72
68
|
});
|
|
73
69
|
if (!result.success) {
|
|
74
70
|
throw new Error("The Build process failed trying to copy assets");
|
|
75
71
|
}
|
|
76
72
|
if (includeSrc === true) {
|
|
77
|
-
|
|
73
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunk275E2SADjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
78
74
|
const files = await _glob.glob.call(void 0, [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
_chunk275E2SADjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
76
|
+
_chunk275E2SADjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
77
|
+
_chunk275E2SADjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
78
|
+
_chunk275E2SADjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
83
79
|
]);
|
|
84
80
|
await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
85
81
|
|
|
@@ -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 _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -25,8 +25,8 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
|
|
|
25
25
|
return {
|
|
26
26
|
name: `storm:ts-resolve`,
|
|
27
27
|
async resolveId(source, importer) {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
|
|
29
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
|
|
30
30
|
if (!importer) {
|
|
31
31
|
return null;
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
|
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
39
|
if (ignore && ignore(source, importer)) {
|
|
40
|
-
|
|
40
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
|
|
41
41
|
return null;
|
|
42
42
|
}
|
|
43
43
|
if (resolveOnly) {
|
|
@@ -46,12 +46,12 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
|
|
|
46
46
|
return v.test(source);
|
|
47
47
|
});
|
|
48
48
|
if (!shouldResolve) {
|
|
49
|
-
|
|
49
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
if (_path2.default.isAbsolute(source)) {
|
|
54
|
-
|
|
54
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
57
|
const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
|
|
@@ -83,10 +83,10 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
if (id) {
|
|
86
|
-
|
|
86
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
|
|
87
87
|
return id;
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
|
|
90
90
|
return false;
|
|
91
91
|
}
|
|
92
92
|
};
|
|
@@ -479,49 +479,56 @@ var formatTimestamp = /* @__PURE__ */ __name((date = /* @__PURE__ */ new Date())
|
|
|
479
479
|
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
480
480
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
481
481
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
482
|
-
if (
|
|
482
|
+
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
483
483
|
return (_) => {
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel
|
|
486
|
+
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
487
487
|
return (message) => {
|
|
488
488
|
console.error(`
|
|
489
489
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
490
490
|
`);
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
|
-
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel
|
|
493
|
+
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
494
494
|
return (message) => {
|
|
495
495
|
console.error(`
|
|
496
496
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
497
497
|
`);
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
|
-
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel
|
|
500
|
+
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
501
501
|
return (message) => {
|
|
502
502
|
console.warn(`
|
|
503
503
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
504
504
|
`);
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
|
-
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel
|
|
507
|
+
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
508
508
|
return (message) => {
|
|
509
509
|
console.info(`
|
|
510
510
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
511
511
|
`);
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel
|
|
514
|
+
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
515
515
|
return (message) => {
|
|
516
516
|
console.info(`
|
|
517
517
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
518
518
|
`);
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
521
|
+
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
522
522
|
return (message) => {
|
|
523
523
|
console.debug(`
|
|
524
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]}
|
|
524
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
|
+
`);
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
529
|
+
return (message) => {
|
|
530
|
+
console.debug(`
|
|
531
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
532
|
`);
|
|
526
533
|
};
|
|
527
534
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -30,7 +30,7 @@ function analyze() {
|
|
|
30
30
|
renderChunk(source, chunk) {
|
|
31
31
|
const sourceBytes = formatBytes(source.length);
|
|
32
32
|
const fileName = chunk.fileName;
|
|
33
|
-
|
|
33
|
+
_chunk275E2SADjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readNxConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HCFLWTVN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
isVerbose,
|
|
6
6
|
joinPaths,
|
|
7
7
|
writeDebug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DRXCFXBB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-O6YSETKJ.mjs";
|
|
@@ -17,27 +17,23 @@ import { glob } from "glob";
|
|
|
17
17
|
import { readFile, writeFile } from "node:fs/promises";
|
|
18
18
|
var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
19
19
|
const pendingAssets = Array.from(assets ?? []);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
pendingAssets.push({
|
|
21
|
+
input: projectRoot,
|
|
22
|
+
glob: "*.md",
|
|
23
|
+
output: "."
|
|
24
|
+
});
|
|
25
|
+
pendingAssets.push({
|
|
26
|
+
input: config.workspaceRoot,
|
|
27
|
+
glob: "LICENSE",
|
|
28
|
+
output: "."
|
|
29
|
+
});
|
|
27
30
|
if (generatePackageJson === false) {
|
|
28
31
|
pendingAssets.push({
|
|
29
|
-
input:
|
|
32
|
+
input: projectRoot,
|
|
30
33
|
glob: "package.json",
|
|
31
34
|
output: "."
|
|
32
35
|
});
|
|
33
36
|
}
|
|
34
|
-
if (!pendingAssets?.some((asset) => asset?.glob === "LICENSE")) {
|
|
35
|
-
pendingAssets.push({
|
|
36
|
-
input: "",
|
|
37
|
-
glob: "LICENSE",
|
|
38
|
-
output: "."
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
37
|
if (includeSrc === true) {
|
|
42
38
|
pendingAssets.push({
|
|
43
39
|
input: sourceRoot,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -23,7 +23,7 @@ var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
|
23
23
|
var _c12 = require('c12');
|
|
24
24
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
25
25
|
var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
26
|
-
const workspacePath = filePath ||
|
|
26
|
+
const workspacePath = filePath || _chunk275E2SADjs.findWorkspaceRoot.call(void 0, filePath);
|
|
27
27
|
let config = await _c12.loadConfig.call(void 0, {
|
|
28
28
|
cwd: workspacePath,
|
|
29
29
|
packageJson: true,
|
|
@@ -31,7 +31,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
|
|
|
31
31
|
envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
|
|
32
32
|
jitiOptions: {
|
|
33
33
|
debug: false,
|
|
34
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
34
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk275E2SADjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
35
35
|
},
|
|
36
36
|
...options
|
|
37
37
|
});
|
|
@@ -43,7 +43,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
|
|
|
43
43
|
envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
|
|
44
44
|
jitiOptions: {
|
|
45
45
|
debug: false,
|
|
46
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
46
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk275E2SADjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
47
47
|
},
|
|
48
48
|
configFile: fileName,
|
|
49
49
|
...options
|
|
@@ -52,12 +52,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
|
|
|
52
52
|
return config;
|
|
53
53
|
}, "getConfigFileByName");
|
|
54
54
|
var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
55
|
-
const workspacePath = filePath ? filePath :
|
|
55
|
+
const workspacePath = filePath ? filePath : _chunk275E2SADjs.findWorkspaceRoot.call(void 0, filePath);
|
|
56
56
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
57
57
|
let config = result.config;
|
|
58
58
|
const configFile = result.configFile;
|
|
59
59
|
if (config && configFile && Object.keys(config).length > 0) {
|
|
60
|
-
|
|
60
|
+
_chunk275E2SADjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
61
61
|
logLevel: "all"
|
|
62
62
|
});
|
|
63
63
|
}
|
|
@@ -65,7 +65,7 @@ var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (
|
|
|
65
65
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
66
66
|
for (const result2 of results) {
|
|
67
67
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
68
|
-
|
|
68
|
+
_chunk275E2SADjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
69
69
|
logLevel: "all"
|
|
70
70
|
});
|
|
71
71
|
config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
|
|
@@ -102,15 +102,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
|
|
|
102
102
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
103
103
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
104
104
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
105
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
106
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
105
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
106
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
107
107
|
directories: {
|
|
108
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
109
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
110
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
111
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
112
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
113
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
108
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
109
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
110
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
111
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
112
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
113
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunk275E2SADjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
114
114
|
},
|
|
115
115
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
116
116
|
env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -133,23 +133,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
|
|
|
133
133
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
134
134
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
135
135
|
},
|
|
136
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ?
|
|
136
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunk275E2SADjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
137
137
|
};
|
|
138
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
138
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk275E2SADjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
139
139
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
140
140
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
141
141
|
return ret;
|
|
142
142
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
143
|
-
if (config.docs ===
|
|
144
|
-
if (config.homepage ===
|
|
145
|
-
config.docs = `${
|
|
143
|
+
if (config.docs === _chunk275E2SADjs.STORM_DEFAULT_DOCS) {
|
|
144
|
+
if (config.homepage === _chunk275E2SADjs.STORM_DEFAULT_HOMEPAGE) {
|
|
145
|
+
config.docs = `${_chunk275E2SADjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
146
146
|
} else {
|
|
147
147
|
config.docs = `${config.homepage}/docs`;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
if (config.licensing ===
|
|
151
|
-
if (config.homepage ===
|
|
152
|
-
config.licensing = `${
|
|
150
|
+
if (config.licensing === _chunk275E2SADjs.STORM_DEFAULT_LICENSING) {
|
|
151
|
+
if (config.homepage === _chunk275E2SADjs.STORM_DEFAULT_HOMEPAGE) {
|
|
152
|
+
config.licensing = `${_chunk275E2SADjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
153
153
|
} else {
|
|
154
154
|
config.licensing = `${config.homepage}/docs`;
|
|
155
155
|
}
|
|
@@ -287,31 +287,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
|
|
|
287
287
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
288
288
|
}
|
|
289
289
|
if (config.configFile) {
|
|
290
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
290
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunk275E2SADjs.correctPaths.call(void 0, config.configFile);
|
|
291
291
|
}
|
|
292
292
|
if (config.workspaceRoot) {
|
|
293
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
294
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
295
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
293
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunk275E2SADjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
294
|
+
process.env.NX_WORKSPACE_ROOT = _chunk275E2SADjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
295
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunk275E2SADjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
296
296
|
}
|
|
297
297
|
if (config.directories) {
|
|
298
298
|
if (!config.skipCache && config.directories.cache) {
|
|
299
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
299
|
+
process.env[`${prefix}CACHE_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.cache);
|
|
300
300
|
}
|
|
301
301
|
if (config.directories.data) {
|
|
302
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
302
|
+
process.env[`${prefix}DATA_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.data);
|
|
303
303
|
}
|
|
304
304
|
if (config.directories.config) {
|
|
305
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
305
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.config);
|
|
306
306
|
}
|
|
307
307
|
if (config.directories.temp) {
|
|
308
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
308
|
+
process.env[`${prefix}TEMP_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.temp);
|
|
309
309
|
}
|
|
310
310
|
if (config.directories.log) {
|
|
311
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
311
|
+
process.env[`${prefix}LOG_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.log);
|
|
312
312
|
}
|
|
313
313
|
if (config.directories.build) {
|
|
314
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
314
|
+
process.env[`${prefix}BUILD_DIR`] = _chunk275E2SADjs.correctPaths.call(void 0, config.directories.build);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
if (config.skipCache !== void 0) {
|
|
@@ -365,8 +365,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
|
|
|
365
365
|
if (config.logLevel) {
|
|
366
366
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
367
367
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
368
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
369
|
-
process.env.RUST_BACKTRACE =
|
|
368
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunk275E2SADjs.getLogLevel.call(void 0, config.logLevel) >= _chunk275E2SADjs.LogLevel.DEBUG ? true : false);
|
|
369
|
+
process.env.RUST_BACKTRACE = _chunk275E2SADjs.getLogLevel.call(void 0, config.logLevel) >= _chunk275E2SADjs.LogLevel.DEBUG ? "full" : "none";
|
|
370
370
|
}
|
|
371
371
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
372
372
|
for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
|
|
@@ -476,23 +476,23 @@ var _static_cache = void 0;
|
|
|
476
476
|
var loadStormConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (workspaceRoot) => {
|
|
477
477
|
let config = {};
|
|
478
478
|
if (_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) && _optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) && _static_cache.timestamp >= Date.now() + 3e4) {
|
|
479
|
-
|
|
479
|
+
_chunk275E2SADjs.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
|
|
480
480
|
return _static_cache.data;
|
|
481
481
|
}
|
|
482
482
|
let _workspaceRoot = workspaceRoot;
|
|
483
483
|
if (!_workspaceRoot) {
|
|
484
|
-
_workspaceRoot =
|
|
484
|
+
_workspaceRoot = _chunk275E2SADjs.findWorkspaceRoot.call(void 0, );
|
|
485
485
|
}
|
|
486
486
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
487
487
|
if (!configFile) {
|
|
488
|
-
|
|
488
|
+
_chunk275E2SADjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
|
|
489
489
|
logLevel: "all"
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
|
-
config = _defu2.default.call(void 0, getConfigEnv(), configFile,
|
|
492
|
+
config = _defu2.default.call(void 0, getConfigEnv(), configFile, _chunk275E2SADjs.getDefaultConfig.call(void 0, _workspaceRoot));
|
|
493
493
|
setConfigEnv(config);
|
|
494
|
-
|
|
495
|
-
${
|
|
494
|
+
_chunk275E2SADjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
|
|
495
|
+
${_chunk275E2SADjs.formatLogMessage.call(void 0, config)}`, config);
|
|
496
496
|
return config;
|
|
497
497
|
}, "loadStormConfig");
|
|
498
498
|
|
|
@@ -505,7 +505,7 @@ var readNxConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (w
|
|
|
505
505
|
const config = await loadStormConfig();
|
|
506
506
|
rootDir = config.workspaceRoot;
|
|
507
507
|
}
|
|
508
|
-
const nxJsonPath =
|
|
508
|
+
const nxJsonPath = _chunk275E2SADjs.joinPaths.call(void 0, rootDir, "nx.json");
|
|
509
509
|
if (!_fs.existsSync.call(void 0, nxJsonPath)) {
|
|
510
510
|
throw new Error("Cannot find project.json configuration");
|
|
511
511
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -19,7 +19,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
|
|
|
19
19
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
|
|
20
20
|
const projectNode = project.node;
|
|
21
21
|
if (projectNode.data.root) {
|
|
22
|
-
const projectPackageJsonPath =
|
|
22
|
+
const projectPackageJsonPath = _chunk275E2SADjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
|
|
23
23
|
if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
|
|
24
24
|
const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
25
25
|
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
@@ -30,7 +30,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
if (localPackages.length > 0) {
|
|
33
|
-
|
|
33
|
+
_chunk275E2SADjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
34
34
|
packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
|
|
35
35
|
if (!ret[localPackage.name]) {
|
|
36
36
|
ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
|
|
@@ -52,13 +52,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
|
|
|
52
52
|
return ret;
|
|
53
53
|
}, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
|
|
54
54
|
} else {
|
|
55
|
-
|
|
55
|
+
_chunk275E2SADjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
56
56
|
}
|
|
57
57
|
return packageJson;
|
|
58
58
|
}, "addPackageDependencies");
|
|
59
59
|
var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
60
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot :
|
|
61
|
-
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
60
|
+
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk275E2SADjs.findWorkspaceRoot.call(void 0, );
|
|
61
|
+
const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunk275E2SADjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
|
|
62
62
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
63
63
|
packageJson.type ??= "module";
|
|
64
64
|
packageJson.sideEffects ??= false;
|
|
@@ -67,7 +67,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
|
|
|
67
67
|
if (distSrc.startsWith("/")) {
|
|
68
68
|
distSrc = distSrc.substring(1);
|
|
69
69
|
}
|
|
70
|
-
packageJson.source ??= `${
|
|
70
|
+
packageJson.source ??= `${_chunk275E2SADjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
71
71
|
}
|
|
72
72
|
packageJson.files ??= [
|
|
73
73
|
"dist/**/*"
|
|
@@ -98,7 +98,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
|
|
|
98
98
|
];
|
|
99
99
|
}
|
|
100
100
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
101
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
101
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk275E2SADjs.joinPaths.call(void 0, "packages", projectName);
|
|
102
102
|
return packageJson;
|
|
103
103
|
}, "addWorkspacePackageJsonFields");
|
|
104
104
|
var addPackageJsonExport = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk275E2SADjs = require('./chunk-275E2SAD.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
@@ -11,7 +11,7 @@ var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
|
|
|
11
11
|
// src/utilities/get-entry-points.ts
|
|
12
12
|
var _glob = require('glob');
|
|
13
13
|
var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
14
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot :
|
|
14
|
+
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk275E2SADjs.findWorkspaceRoot.call(void 0, );
|
|
15
15
|
const entryPoints = [];
|
|
16
16
|
if (entry) {
|
|
17
17
|
if (Array.isArray(entry)) {
|
|
@@ -23,7 +23,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
if (emitOnAll) {
|
|
26
|
-
entryPoints.push(
|
|
26
|
+
entryPoints.push(_chunk275E2SADjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
27
27
|
}
|
|
28
28
|
const results = [];
|
|
29
29
|
for (const entryPoint in entryPoints) {
|
|
@@ -32,9 +32,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
|
|
|
32
32
|
withFileTypes: true
|
|
33
33
|
});
|
|
34
34
|
results.push(...files.reduce((ret, filePath) => {
|
|
35
|
-
const result =
|
|
35
|
+
const result = _chunk275E2SADjs.correctPaths.call(void 0, _chunk275E2SADjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk275E2SADjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunk275E2SADjs.correctPaths.call(void 0, projectRoot), ""));
|
|
36
36
|
if (result) {
|
|
37
|
-
|
|
37
|
+
_chunk275E2SADjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunk275E2SADjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
38
38
|
if (!results.includes(result)) {
|
|
39
39
|
results.push(result);
|
|
40
40
|
}
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
var _chunkJP4YIUPAjs = require('./chunk-JP4YIUPA.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4EOISDM2js = require('./chunk-4EOISDM2.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQMLJ4YOFjs = require('./chunk-QMLJ4YOF.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSYSXNB3Mjs = require('./chunk-SYSXNB3M.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkYXBRJJCUjs = require('./chunk-YXBRJJCU.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkIZKGYT3Djs = require('./chunk-IZKGYT3D.js');
|
|
@@ -43,14 +43,14 @@ require('./chunk-GGNOJ77I.js');
|
|
|
43
43
|
require('./chunk-WPFIBCZT.js');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkL7W4YZE4js = require('./chunk-L7W4YZE4.js');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunk2TV7ZJSKjs = require('./chunk-2TV7ZJSK.js');
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
53
|
-
require('./chunk-
|
|
52
|
+
var _chunk7TZNJMABjs = require('./chunk-7TZNJMAB.js');
|
|
53
|
+
require('./chunk-275E2SAD.js');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
var _chunkY3HRAWPUjs = require('./chunk-Y3HRAWPU.js');
|
|
@@ -80,4 +80,4 @@ require('./chunk-SHUYVCID.js');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies =
|
|
83
|
+
exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkSYSXNB3Mjs.addPackageDependencies; exports.addPackageJsonExport = _chunkSYSXNB3Mjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkSYSXNB3Mjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSYSXNB3Mjs.addWorkspacePackageJsonFields; exports.analyze = _chunkL7W4YZE4js.analyze; exports.copyAssets = _chunk4EOISDM2js.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkYXBRJJCUjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkQMLJ4YOFjs.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunk7TZNJMABjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
|
package/dist/index.mjs
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./chunk-67VZRCF5.mjs";
|
|
6
6
|
import {
|
|
7
7
|
copyAssets
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OWWSOXVQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
readNxConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HCFLWTVN.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addPackageDependencies,
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ASTOW4W7.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KJNY2WFO.mjs";
|
|
21
21
|
import {
|
|
22
22
|
getEnv
|
|
23
23
|
} from "./chunk-ZLC5KVQE.mjs";
|
|
@@ -43,14 +43,14 @@ import "./chunk-WAXGOBY2.mjs";
|
|
|
43
43
|
import "./chunk-UN3B7LBV.mjs";
|
|
44
44
|
import {
|
|
45
45
|
analyze
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-TYWDA4EL.mjs";
|
|
47
47
|
import {
|
|
48
48
|
swc
|
|
49
49
|
} from "./chunk-LCPSDCDB.mjs";
|
|
50
50
|
import {
|
|
51
51
|
tsResolvePlugin
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-SZMRYRJK.mjs";
|
|
53
|
+
import "./chunk-DRXCFXBB.mjs";
|
|
54
54
|
import {
|
|
55
55
|
typeDefinitions
|
|
56
56
|
} from "./chunk-VQUREEMI.mjs";
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkL7W4YZE4js = require('../chunk-L7W4YZE4.js');
|
|
4
|
+
require('../chunk-275E2SAD.js');
|
|
5
5
|
require('../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyze =
|
|
8
|
+
exports.analyze = _chunkL7W4YZE4js.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 _chunkL7W4YZE4js = require('../chunk-L7W4YZE4.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk2TV7ZJSKjs = require('../chunk-2TV7ZJSK.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
10
|
+
var _chunk7TZNJMABjs = require('../chunk-7TZNJMAB.js');
|
|
11
|
+
require('../chunk-275E2SAD.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkY3HRAWPUjs = require('../chunk-Y3HRAWPU.js');
|
|
@@ -18,4 +18,4 @@ require('../chunk-SHUYVCID.js');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.analyze =
|
|
21
|
+
exports.analyze = _chunkL7W4YZE4js.analyze; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunk7TZNJMABjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.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-TYWDA4EL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swc
|
|
7
7
|
} from "../chunk-LCPSDCDB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tsResolvePlugin
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-SZMRYRJK.mjs";
|
|
11
|
+
import "../chunk-DRXCFXBB.mjs";
|
|
12
12
|
import {
|
|
13
13
|
typeDefinitions
|
|
14
14
|
} from "../chunk-VQUREEMI.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk7TZNJMABjs = require('../chunk-7TZNJMAB.js');
|
|
4
|
+
require('../chunk-275E2SAD.js');
|
|
5
5
|
require('../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tsResolvePlugin =
|
|
8
|
+
exports.tsResolvePlugin = _chunk7TZNJMABjs.tsResolvePlugin;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunk4EOISDM2js = require('../chunk-4EOISDM2.js');
|
|
4
|
+
require('../chunk-QMLJ4YOF.js');
|
|
5
|
+
require('../chunk-275E2SAD.js');
|
|
6
6
|
require('../chunk-SHUYVCID.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.copyAssets =
|
|
9
|
+
exports.copyAssets = _chunk4EOISDM2js.copyAssets;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copyAssets
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-OWWSOXVQ.mjs";
|
|
4
|
+
import "../chunk-HCFLWTVN.mjs";
|
|
5
|
+
import "../chunk-DRXCFXBB.mjs";
|
|
6
6
|
import "../chunk-O6YSETKJ.mjs";
|
|
7
7
|
export {
|
|
8
8
|
copyAssets
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var _chunkSYSXNB3Mjs = require('../chunk-SYSXNB3M.js');
|
|
7
|
+
require('../chunk-275E2SAD.js');
|
|
8
8
|
require('../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.addPackageDependencies =
|
|
14
|
+
exports.addPackageDependencies = _chunkSYSXNB3Mjs.addPackageDependencies; exports.addPackageJsonExport = _chunkSYSXNB3Mjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkSYSXNB3Mjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSYSXNB3Mjs.addWorkspacePackageJsonFields;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
addPackageJsonExport,
|
|
4
4
|
addPackageJsonExports,
|
|
5
5
|
addWorkspacePackageJsonFields
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-ASTOW4W7.mjs";
|
|
7
|
+
import "../chunk-DRXCFXBB.mjs";
|
|
8
8
|
import "../chunk-O6YSETKJ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
addPackageDependencies,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkYXBRJJCUjs = require('../chunk-YXBRJJCU.js');
|
|
4
|
+
require('../chunk-275E2SAD.js');
|
|
5
5
|
require('../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.getEntryPoints =
|
|
8
|
+
exports.getEntryPoints = _chunkYXBRJJCUjs.getEntryPoints;
|
package/dist/utilities/index.js
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
var _chunkJP4YIUPAjs = require('../chunk-JP4YIUPA.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4EOISDM2js = require('../chunk-4EOISDM2.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQMLJ4YOFjs = require('../chunk-QMLJ4YOF.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSYSXNB3Mjs = require('../chunk-SYSXNB3M.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkYXBRJJCUjs = require('../chunk-YXBRJJCU.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkIZKGYT3Djs = require('../chunk-IZKGYT3D.js');
|
|
@@ -33,7 +33,7 @@ var _chunkTWCCJQYFjs = require('../chunk-TWCCJQYF.js');
|
|
|
33
33
|
|
|
34
34
|
var _chunkVSAQXEXDjs = require('../chunk-VSAQXEXD.js');
|
|
35
35
|
require('../chunk-2KEW5JJ7.js');
|
|
36
|
-
require('../chunk-
|
|
36
|
+
require('../chunk-275E2SAD.js');
|
|
37
37
|
require('../chunk-SHUYVCID.js');
|
|
38
38
|
|
|
39
39
|
|
|
@@ -51,4 +51,4 @@ require('../chunk-SHUYVCID.js');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
exports.addPackageDependencies =
|
|
54
|
+
exports.addPackageDependencies = _chunkSYSXNB3Mjs.addPackageDependencies; exports.addPackageJsonExport = _chunkSYSXNB3Mjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkSYSXNB3Mjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkSYSXNB3Mjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunk4EOISDM2js.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkYXBRJJCUjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkQMLJ4YOFjs.readNxConfig;
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "../chunk-67VZRCF5.mjs";
|
|
6
6
|
import {
|
|
7
7
|
copyAssets
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-OWWSOXVQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
readNxConfig
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-HCFLWTVN.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addPackageDependencies,
|
|
14
14
|
addPackageJsonExport,
|
|
15
15
|
addPackageJsonExports,
|
|
16
16
|
addWorkspacePackageJsonFields
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-ASTOW4W7.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getEntryPoints
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-KJNY2WFO.mjs";
|
|
21
21
|
import {
|
|
22
22
|
getEnv
|
|
23
23
|
} from "../chunk-ZLC5KVQE.mjs";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getInternalDependencies
|
|
34
34
|
} from "../chunk-ZW5JWBA4.mjs";
|
|
35
35
|
import "../chunk-YGULBW26.mjs";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-DRXCFXBB.mjs";
|
|
37
37
|
import "../chunk-O6YSETKJ.mjs";
|
|
38
38
|
export {
|
|
39
39
|
addPackageDependencies,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkQMLJ4YOFjs = require('../chunk-QMLJ4YOF.js');
|
|
4
|
+
require('../chunk-275E2SAD.js');
|
|
5
5
|
require('../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.readNxConfig =
|
|
8
|
+
exports.readNxConfig = _chunkQMLJ4YOFjs.readNxConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/build-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.133.0",
|
|
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",
|