@storm-software/workspace-tools 1.260.0 → 1.261.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/{chunk-LF5JGT7K.mjs → chunk-3ABED6KX.mjs} +2 -2
- package/dist/{chunk-4OOSTFJU.mjs → chunk-3I74ESKM.mjs} +2 -2
- package/dist/{chunk-7OEZO3SD.mjs → chunk-3XR4FSEA.mjs} +1 -1
- package/dist/{chunk-MABHHD47.mjs → chunk-6YMGUA6X.mjs} +1 -1
- package/dist/{chunk-LUZNYXQ3.js → chunk-AXGI5QP4.js} +5 -5
- package/dist/{chunk-KXK2CT4Z.mjs → chunk-BGSGM2KX.mjs} +1 -1
- package/dist/{chunk-CAZGN7CV.mjs → chunk-BU6NXQWB.mjs} +3 -3
- package/dist/{chunk-IRX25R2M.mjs → chunk-BV32SZPV.mjs} +1 -1
- package/dist/{chunk-QAHYWB6S.js → chunk-D5NZC2JN.js} +11 -11
- package/dist/{chunk-D6MT5XD6.mjs → chunk-DGI7OQYG.mjs} +1 -1
- package/dist/{chunk-Z2DZKHBY.js → chunk-DW3VUP2K.js} +71 -53
- package/dist/{chunk-LZFVNTSD.js → chunk-FGMOZZ77.js} +20 -20
- package/dist/{chunk-5RCOCQH4.js → chunk-FIRVS3UN.js} +2 -2
- package/dist/{chunk-DRW6BTD6.mjs → chunk-G6GGPUG7.mjs} +1 -1
- package/dist/{chunk-DWHFHGLZ.js → chunk-GBXELUHE.js} +2 -2
- package/dist/{chunk-7E34S44R.mjs → chunk-GPOYI6OO.mjs} +1 -1
- package/dist/{chunk-EUFCKDUK.js → chunk-IC2TARGZ.js} +2 -2
- package/dist/{chunk-NQZZEUJZ.js → chunk-IOG5HLIB.js} +31 -31
- package/dist/{chunk-NRS4YAC2.mjs → chunk-IT3ENPW3.mjs} +2 -2
- package/dist/{chunk-I2FWSOY2.js → chunk-JJ4G5NGF.js} +2 -2
- package/dist/{chunk-HTCOBXF7.mjs → chunk-JK2Y76WF.mjs} +2 -25
- package/dist/{chunk-UH5YAUZF.js → chunk-K2LABESF.js} +2 -2
- package/dist/{chunk-IJO4MZSE.js → chunk-KFJJGDFT.js} +4 -4
- package/dist/{chunk-6U6B2B2X.mjs → chunk-L6CV744X.mjs} +1 -1
- package/dist/{chunk-HOH2SGCB.js → chunk-LSL5N332.js} +15 -15
- package/dist/{chunk-WZDSYTAY.js → chunk-N7NXGPZA.js} +2 -2
- package/dist/{chunk-MZDSQVPG.js → chunk-NG6GE2YZ.js} +1 -1
- package/dist/{chunk-X6FNQSU4.mjs → chunk-OBUTMEEY.mjs} +1 -1
- package/dist/{chunk-KHQPJPM5.js → chunk-OVWVVBMF.js} +2 -2
- package/dist/{chunk-B5E3XSP6.js → chunk-Q27N3MQO.js} +2 -2
- package/dist/{chunk-SOSUW3ZX.mjs → chunk-RGZAGFUD.mjs} +1 -1
- package/dist/{chunk-ZDR42VSF.mjs → chunk-SKPTEO43.mjs} +35 -17
- package/dist/{chunk-DCTPPMEP.mjs → chunk-STVTZJIX.mjs} +1 -1
- package/dist/{chunk-7BWXITD4.js → chunk-U6DCH53I.js} +2 -2
- package/dist/{chunk-KNWE2JQL.mjs → chunk-U6DRC3BT.mjs} +2 -2
- package/dist/{chunk-FAU7U3Q3.mjs → chunk-VOIYJ67D.mjs} +1 -1
- package/dist/{chunk-D56HKJCS.js → chunk-XGU4526M.js} +9 -9
- package/dist/{chunk-JOMMQ7S6.mjs → chunk-XIS3TY42.mjs} +1 -1
- package/dist/{chunk-6OSR2VYB.js → chunk-XKGMY2AY.js} +7 -30
- package/dist/{chunk-2TQXYRZ2.js → chunk-XM4IXZ6Y.js} +5 -5
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +13 -13
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.js +21 -21
- package/dist/index.mjs +20 -20
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +2 -2
- package/dist/src/base/index.js +4 -4
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.js +5 -5
- package/dist/src/executors/clean-package/executor.mjs +2 -2
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +3 -3
- package/dist/src/executors/tsdown/executor.js +5 -5
- package/dist/src/executors/tsdown/executor.mjs +4 -4
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +3 -3
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +3 -3
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +3 -3
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +2 -2
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkNG6GE2YZjs = require('./chunk-NG6GE2YZ.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
var _defu = require('defu');
|
|
25
25
|
var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config = {};
|
|
29
29
|
try {
|
|
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
|
|
|
35
35
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
36
36
|
const projectName = context.projectName;
|
|
37
37
|
config.workspaceRoot = workspaceRoot;
|
|
38
|
-
|
|
38
|
+
_chunkNG6GE2YZjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
39
39
|
if (!executorOptions.skipReadingConfig) {
|
|
40
|
-
|
|
40
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
41
41
|
- workspaceRoot: ${workspaceRoot}
|
|
42
42
|
- projectRoot: ${projectRoot}
|
|
43
43
|
- sourceRoot: ${sourceRoot}
|
|
44
44
|
- projectName: ${projectName}
|
|
45
45
|
`, config);
|
|
46
|
-
config = await
|
|
46
|
+
config = await _chunkNG6GE2YZjs.getConfig.call(void 0, workspaceRoot);
|
|
47
47
|
}
|
|
48
48
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
49
|
-
|
|
49
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
50
50
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
51
|
-
|
|
51
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
${
|
|
53
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
|
|
54
|
+
${_chunkNG6GE2YZjs.formatLogMessage.call(void 0, options)}
|
|
55
55
|
`, config);
|
|
56
56
|
const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
|
|
57
57
|
workspaceRoot,
|
|
@@ -60,13 +60,13 @@ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, options)}
|
|
|
60
60
|
projectName,
|
|
61
61
|
config
|
|
62
62
|
}, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
|
|
63
|
-
|
|
64
|
-
${
|
|
63
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
|
|
64
|
+
${_chunkNG6GE2YZjs.formatLogMessage.call(void 0, tokenized)}
|
|
65
65
|
`, config);
|
|
66
66
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
67
|
-
|
|
67
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
68
68
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
69
|
-
|
|
69
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
70
70
|
}
|
|
71
71
|
const ret = executorFn(tokenized, context, config);
|
|
72
72
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -76,26 +76,26 @@ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
76
76
|
}
|
|
77
77
|
const result = await Promise.resolve(ret);
|
|
78
78
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
79
|
-
|
|
80
|
-
${
|
|
79
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
80
|
+
${_chunkNG6GE2YZjs.formatLogMessage.call(void 0, result)}`, config);
|
|
81
81
|
console.error(result);
|
|
82
82
|
throw new Error(`The ${name} executor failed to run`, {
|
|
83
83
|
cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
87
|
-
|
|
87
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
88
88
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
89
|
-
|
|
89
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
_chunkNG6GE2YZjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
92
92
|
`, config);
|
|
93
93
|
return {
|
|
94
94
|
success: true
|
|
95
95
|
};
|
|
96
96
|
} catch (error) {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
_chunkNG6GE2YZjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
|
|
98
|
+
_chunkNG6GE2YZjs.writeError.call(void 0, `An exception was thrown in the executor's process
|
|
99
99
|
- Details: ${error.message}
|
|
100
100
|
- Stacktrace: ${error.stack}`, config);
|
|
101
101
|
return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -20,7 +20,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
20
20
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
21
21
|
}
|
|
22
22
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
|
|
23
|
-
var executor_default =
|
|
23
|
+
var executor_default = _chunkFGMOZZ77js.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
|
|
24
24
|
skipReadingConfig: false,
|
|
25
25
|
hooks: {
|
|
26
26
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
|
|
|
15
15
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
17
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
|
|
18
|
-
var executor_default =
|
|
18
|
+
var executor_default = _chunkFGMOZZ77js.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLSL5N332js = require('./chunk-LSL5N332.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -73,7 +73,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
73
73
|
return null;
|
|
74
74
|
}
|
|
75
75
|
_chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
|
|
76
|
-
var generator_default =
|
|
76
|
+
var generator_default = _chunkLSL5N332js.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
|
|
77
77
|
hooks: {
|
|
78
78
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
79
79
|
options.description ??= "A library used by Storm Software to support browser applications";
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXKGMY2AYjs = require('./chunk-XKGMY2AY.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkNG6GE2YZjs = require('./chunk-NG6GE2YZ.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -74,9 +74,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
74
74
|
if (!workspaceRoot) {
|
|
75
75
|
throw new Error("Cannot find Nx workspace root");
|
|
76
76
|
}
|
|
77
|
-
const config = await
|
|
78
|
-
|
|
79
|
-
const stopwatch =
|
|
77
|
+
const config = await _chunkNG6GE2YZjs.getConfig.call(void 0, workspaceRoot.dir);
|
|
78
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
79
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, "Build options resolution");
|
|
80
80
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
81
81
|
exitOnError: true
|
|
82
82
|
});
|
|
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
93
93
|
}
|
|
94
94
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
95
95
|
options.name ??= `${projectName}-${options.format}`;
|
|
96
|
-
options.target ??=
|
|
96
|
+
options.target ??= _chunkXKGMY2AYjs.DEFAULT_TARGET;
|
|
97
97
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
98
98
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
99
99
|
throw new Error("Cannot find package.json configuration");
|
|
100
100
|
}
|
|
101
|
-
const env =
|
|
101
|
+
const env = _chunkXKGMY2AYjs.getEnv.call(void 0, "tsdown", options);
|
|
102
102
|
const result = {
|
|
103
103
|
...options,
|
|
104
104
|
config,
|
|
105
105
|
...userOptions,
|
|
106
106
|
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
107
107
|
format: options.format || "cjs",
|
|
108
|
-
entryPoints: await
|
|
108
|
+
entryPoints: await _chunkXKGMY2AYjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
109
109
|
"./src/index.ts"
|
|
110
110
|
], userOptions.emitOnAll),
|
|
111
111
|
outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
|
|
@@ -116,7 +116,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
116
116
|
projectGraph,
|
|
117
117
|
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
|
|
118
118
|
minify: userOptions.minify || !userOptions.debug,
|
|
119
|
-
verbose: userOptions.verbose ||
|
|
119
|
+
verbose: userOptions.verbose || _chunkNG6GE2YZjs.isVerbose.call(void 0, ) || userOptions.debug === true,
|
|
120
120
|
includeSrc: userOptions.includeSrc === true,
|
|
121
121
|
metafile: userOptions.metafile !== false,
|
|
122
122
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
@@ -151,8 +151,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
151
151
|
}, "resolveOptions");
|
|
152
152
|
async function generatePackageJson(options) {
|
|
153
153
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
154
|
-
|
|
155
|
-
const stopwatch =
|
|
154
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
155
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, "Write package.json file");
|
|
156
156
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
157
157
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
158
158
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
|
|
|
162
162
|
throw new Error("Cannot find package.json configuration file");
|
|
163
163
|
}
|
|
164
164
|
let packageJson = JSON.parse(packageJsonFile);
|
|
165
|
-
packageJson = await
|
|
166
|
-
packageJson = await
|
|
165
|
+
packageJson = await _chunkXKGMY2AYjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
166
|
+
packageJson = await _chunkXKGMY2AYjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
167
167
|
packageJson.exports ??= {};
|
|
168
168
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
169
|
-
packageJson.exports["."] ??=
|
|
169
|
+
packageJson.exports["."] ??= _chunkXKGMY2AYjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
|
|
170
170
|
let entryPoints = [
|
|
171
171
|
{
|
|
172
172
|
in: "./src/index.ts",
|
|
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
|
|
|
184
184
|
const split = entryPoint.out.split(".");
|
|
185
185
|
split.pop();
|
|
186
186
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
187
|
-
packageJson.exports[`./${entry}`] ??=
|
|
187
|
+
packageJson.exports[`./${entry}`] ??= _chunkXKGMY2AYjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -203,8 +203,8 @@ async function generatePackageJson(options) {
|
|
|
203
203
|
}
|
|
204
204
|
_chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
205
205
|
async function executeTSDown(options) {
|
|
206
|
-
|
|
207
|
-
const stopwatch =
|
|
206
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
|
|
207
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
208
208
|
await _tsdown.build.call(void 0, {
|
|
209
209
|
...options,
|
|
210
210
|
entry: options.entryPoints,
|
|
@@ -216,21 +216,21 @@ async function executeTSDown(options) {
|
|
|
216
216
|
}
|
|
217
217
|
_chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
|
|
218
218
|
async function copyBuildAssets(options) {
|
|
219
|
-
|
|
220
|
-
const stopwatch =
|
|
221
|
-
await
|
|
219
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
220
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
221
|
+
await _chunkXKGMY2AYjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
|
|
222
222
|
stopwatch();
|
|
223
223
|
return options;
|
|
224
224
|
}
|
|
225
225
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
226
226
|
async function reportResults(options) {
|
|
227
|
-
|
|
227
|
+
_chunkNG6GE2YZjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
|
|
228
228
|
}
|
|
229
229
|
_chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
|
|
230
230
|
async function cleanOutputPath(options) {
|
|
231
231
|
if (options.clean !== false && options.outdir) {
|
|
232
|
-
|
|
233
|
-
const stopwatch =
|
|
232
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
233
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
234
234
|
await cleanDirectories(options.name, options.outdir, options.config);
|
|
235
235
|
stopwatch();
|
|
236
236
|
}
|
|
@@ -238,8 +238,8 @@ async function cleanOutputPath(options) {
|
|
|
238
238
|
}
|
|
239
239
|
_chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
240
240
|
async function build(options) {
|
|
241
|
-
|
|
242
|
-
const stopwatch =
|
|
241
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
242
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
243
243
|
try {
|
|
244
244
|
const opts = Array.isArray(options) ? options : [
|
|
245
245
|
options
|
|
@@ -257,11 +257,11 @@ async function build(options) {
|
|
|
257
257
|
await reportResults(opt);
|
|
258
258
|
}));
|
|
259
259
|
} else {
|
|
260
|
-
|
|
260
|
+
_chunkNG6GE2YZjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
_chunkNG6GE2YZjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
263
263
|
} catch (error) {
|
|
264
|
-
|
|
264
|
+
_chunkNG6GE2YZjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
|
|
265
265
|
throw error;
|
|
266
266
|
} finally {
|
|
267
267
|
stopwatch();
|
|
@@ -271,7 +271,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
|
|
|
271
271
|
|
|
272
272
|
// src/executors/tsdown/executor.ts
|
|
273
273
|
async function tsdownExecutorFn(options, context, config) {
|
|
274
|
-
|
|
274
|
+
_chunkNG6GE2YZjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
|
|
275
275
|
if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
|
|
276
276
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
277
277
|
}
|
|
@@ -288,7 +288,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
_chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
|
|
291
|
-
var executor_default =
|
|
291
|
+
var executor_default = _chunkFGMOZZ77js.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
|
|
292
292
|
skipReadingConfig: false,
|
|
293
293
|
hooks: {
|
|
294
294
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
|
|
|
15
15
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
17
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
|
|
18
|
-
var executor_default =
|
|
18
|
+
var executor_default = _chunkFGMOZZ77js.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeDebug,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L6CV744X.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findWorkspaceRoot
|
|
7
7
|
} from "./chunk-2PKZRCQJ.mjs";
|
|
@@ -274,28 +274,6 @@ import _resolve from "resolve";
|
|
|
274
274
|
import { stripIndents } from "@nx/devkit";
|
|
275
275
|
import { relative } from "path";
|
|
276
276
|
|
|
277
|
-
// ../build-tools/src/utilities/get-out-extension.ts
|
|
278
|
-
function getOutExtension(format, pkgType) {
|
|
279
|
-
let jsExtension = ".js";
|
|
280
|
-
let dtsExtension = ".d.ts";
|
|
281
|
-
if (pkgType === "module" && format === "cjs") {
|
|
282
|
-
jsExtension = ".cjs";
|
|
283
|
-
dtsExtension = ".d.cts";
|
|
284
|
-
}
|
|
285
|
-
if (pkgType !== "module" && format === "esm") {
|
|
286
|
-
jsExtension = ".mjs";
|
|
287
|
-
dtsExtension = ".d.mts";
|
|
288
|
-
}
|
|
289
|
-
if (format === "iife") {
|
|
290
|
-
jsExtension = ".global.js";
|
|
291
|
-
}
|
|
292
|
-
return {
|
|
293
|
-
js: jsExtension,
|
|
294
|
-
dts: dtsExtension
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
__name(getOutExtension, "getOutExtension");
|
|
298
|
-
|
|
299
277
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
300
278
|
import { existsSync as existsSync2 } from "node:fs";
|
|
301
279
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
@@ -311,6 +289,5 @@ export {
|
|
|
311
289
|
addWorkspacePackageJsonFields,
|
|
312
290
|
addPackageJsonExport,
|
|
313
291
|
getEntryPoints,
|
|
314
|
-
getEnv
|
|
315
|
-
getOutExtension
|
|
292
|
+
getEnv
|
|
316
293
|
};
|
|
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
|
7
7
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkLSL5N332js = require('./chunk-LSL5N332.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
54
|
_chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
|
|
55
|
-
var generator_default =
|
|
55
|
+
var generator_default = _chunkLSL5N332js.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
|
|
56
56
|
hooks: {
|
|
57
57
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
58
58
|
options.description ??= "A library used by Storm Software to support NodeJs applications";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNG6GE2YZjs = require('./chunk-NG6GE2YZ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
15
15
|
var _defu = require('defu');
|
|
16
16
|
var _jiti = require('jiti');
|
|
17
17
|
async function unbuildExecutorFn(options, context, config) {
|
|
18
|
-
|
|
18
|
+
_chunkNG6GE2YZjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
19
19
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
20
20
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
21
21
|
}
|
|
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
_chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
|
|
66
|
-
var executor_default =
|
|
66
|
+
var executor_default = _chunkFGMOZZ77js.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
|
|
67
67
|
skipReadingConfig: false,
|
|
68
68
|
hooks: {
|
|
69
69
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
@@ -103,7 +103,7 @@ var ColorConfigMapSchema = z.union([
|
|
|
103
103
|
var ExtendsItemSchema = z.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
|
|
104
104
|
var ExtendsSchema = ExtendsItemSchema.or(z.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
|
|
105
105
|
var WorkspaceBotConfigSchema = z.object({
|
|
106
|
-
name: z.string().trim().default("
|
|
106
|
+
name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
|
|
107
107
|
email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
108
108
|
}).describe("The workspace's bot user's config used to automated various operations tasks");
|
|
109
109
|
var WorkspaceDirectoryConfigSchema = z.object({
|
|
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkNG6GE2YZjs = require('./chunk-NG6GE2YZ.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
23
23
|
var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
|
|
24
24
|
skipReadingConfig: false
|
|
25
25
|
}) => async (tree, _options) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config;
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
_chunkNG6GE2YZjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
31
31
|
|
|
32
32
|
`, config);
|
|
33
33
|
const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
34
34
|
if (!generatorOptions.skipReadingConfig) {
|
|
35
|
-
|
|
35
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
37
|
-
config = await
|
|
37
|
+
config = await _chunkNG6GE2YZjs.getConfig.call(void 0, workspaceRoot);
|
|
38
38
|
}
|
|
39
39
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
40
|
-
|
|
40
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
41
41
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
42
|
-
|
|
42
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
45
45
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
46
46
|
const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
|
|
47
47
|
workspaceRoot: tree.root,
|
|
48
48
|
config
|
|
49
49
|
}, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
|
|
50
50
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
51
|
-
|
|
51
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
52
52
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
53
|
-
|
|
53
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
54
54
|
}
|
|
55
55
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
56
56
|
if (result) {
|
|
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
66
|
-
|
|
66
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
67
67
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
68
|
-
|
|
68
|
+
_chunkNG6GE2YZjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
69
69
|
}
|
|
70
70
|
return () => {
|
|
71
|
-
|
|
71
|
+
_chunkNG6GE2YZjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
72
72
|
`, config);
|
|
73
73
|
};
|
|
74
74
|
} catch (error) {
|
|
75
75
|
return () => {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
_chunkNG6GE2YZjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
|
|
77
|
+
_chunkNG6GE2YZjs.writeError.call(void 0, `An exception was thrown in the generator's process
|
|
78
78
|
- Details: ${error.message}
|
|
79
79
|
- Stacktrace: ${error.stack}`, config);
|
|
80
80
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLSL5N332js = require('./chunk-LSL5N332.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
_chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
|
|
48
|
-
var generator_default =
|
|
48
|
+
var generator_default = _chunkLSL5N332js.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
|
|
49
49
|
hooks: {
|
|
50
50
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
51
51
|
options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
|
|
@@ -103,7 +103,7 @@ var ColorConfigMapSchema = _zod2.default.union([
|
|
|
103
103
|
var ExtendsItemSchema = _zod2.default.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
|
|
104
104
|
var ExtendsSchema = ExtendsItemSchema.or(_zod2.default.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
|
|
105
105
|
var WorkspaceBotConfigSchema = _zod2.default.object({
|
|
106
|
-
name: _zod2.default.string().trim().default("
|
|
106
|
+
name: _zod2.default.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
|
|
107
107
|
email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
108
108
|
}).describe("The workspace's bot user's config used to automated various operations tasks");
|
|
109
109
|
var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|