@storm-software/workspace-tools 1.294.21 → 1.294.23
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 +31 -0
- package/dist/{chunk-2OYCCICJ.mjs → chunk-3KQCOKHR.mjs} +2 -2
- package/dist/{chunk-ASZOMYCS.mjs → chunk-3QJHAILV.mjs} +1 -1
- package/dist/{chunk-3T64LUNP.js → chunk-3X6RG4EG.js} +2 -2
- package/dist/{chunk-4BWM53AA.js → chunk-44BBGI2A.js} +4 -2
- package/dist/{chunk-VWP4LOTY.mjs → chunk-4RS25MXA.mjs} +1 -1
- package/dist/{chunk-KV6U4IX6.js → chunk-6NYDBV23.js} +2 -2
- package/dist/{chunk-FORQKF7Q.mjs → chunk-6UHWGGM5.mjs} +16 -1
- package/dist/{chunk-H7GLZOOC.mjs → chunk-73ALUS6R.mjs} +4 -4
- package/dist/{chunk-AYLSCEK6.mjs → chunk-7DDSFP3I.mjs} +2 -2
- package/dist/{chunk-SXC4J7LO.mjs → chunk-C22BY3WI.mjs} +2 -2
- package/dist/{chunk-4GHVWMHE.js → chunk-DFKALALI.js} +2 -2
- package/dist/{chunk-RXSB4AVK.js → chunk-DY45LR4B.js} +2 -2
- package/dist/{chunk-IKTHRMUF.mjs → chunk-E3QUFDT5.mjs} +1 -1
- package/dist/{chunk-LDAAAQLZ.mjs → chunk-E566FKPB.mjs} +1 -1
- package/dist/{chunk-YK4JWL7A.js → chunk-EYAMFI7D.js} +2 -2
- package/dist/{chunk-MPUFSH52.mjs → chunk-FOQC5GHL.mjs} +1 -1
- package/dist/{chunk-SVIR2XZM.js → chunk-FR7Q4DI3.js} +16 -16
- package/dist/{chunk-5FIKIPZW.js → chunk-GDKXPNWV.js} +20 -20
- package/dist/{chunk-LB7DV74C.js → chunk-GV3NH3O3.js} +2 -2
- package/dist/{chunk-HX75TMCP.mjs → chunk-IQGZG64W.mjs} +1 -1
- package/dist/{chunk-JM62BQSM.mjs → chunk-JFTB2MZS.mjs} +2 -2
- package/dist/{chunk-LZC7BM3D.js → chunk-JGSTESA2.js} +2 -2
- package/dist/{chunk-6N7EMPGL.js → chunk-K5U7AXCP.js} +6 -6
- package/dist/{chunk-GXTFFUML.js → chunk-KGBMBIMD.js} +2 -2
- package/dist/{chunk-T2MIMLK4.mjs → chunk-KYF35U5H.mjs} +2 -2
- package/dist/{chunk-NT3NFCMA.mjs → chunk-LGDWG3TS.mjs} +2 -2
- package/dist/{chunk-IPYOIFXP.js → chunk-LT6HABKS.js} +2 -2
- package/dist/{chunk-AOETUPU5.mjs → chunk-LU2AUK5R.mjs} +1 -1
- package/dist/{chunk-7CMIO2NL.js → chunk-M3GIMCUS.js} +4 -4
- package/dist/{chunk-X3ZCGPHB.js → chunk-M7PSICO4.js} +2 -2
- package/dist/{chunk-FEYD5KMF.mjs → chunk-MB6AQKEM.mjs} +1 -1
- package/dist/{chunk-PHVIQYYJ.mjs → chunk-MHDUK7AG.mjs} +2 -2
- package/dist/{chunk-5BONSUJM.mjs → chunk-MYVCMGXZ.mjs} +1 -1
- package/dist/{chunk-EVPYSTFN.js → chunk-NECOAJIF.js} +2 -2
- package/dist/{chunk-AGUQYTSQ.mjs → chunk-NYWAVN3K.mjs} +1 -1
- package/dist/{chunk-LYXDMWXF.js → chunk-O2O6OMNY.js} +4 -4
- package/dist/{chunk-SJCAWCXW.mjs → chunk-ONY5XVLY.mjs} +1 -1
- package/dist/{chunk-X3HM2IHO.mjs → chunk-OOVL4X5X.mjs} +3 -3
- package/dist/{chunk-NURKEB3S.mjs → chunk-PCXRIDP7.mjs} +1 -1
- package/dist/{chunk-5G4PATLH.js → chunk-PKVUHXO7.js} +12 -12
- package/dist/{chunk-6UJMT3W5.js → chunk-R2YWPTGT.js} +25 -10
- package/dist/{chunk-5O25TKHC.js → chunk-REBYV6UF.js} +11 -11
- package/dist/{chunk-VHTTZP53.js → chunk-SPA3KPYJ.js} +5 -5
- package/dist/{chunk-EMCTCFOX.js → chunk-SW324EZL.js} +5 -5
- package/dist/{chunk-MCVES7TN.mjs → chunk-T26MOHEW.mjs} +1 -1
- package/dist/{chunk-QEHJJFRA.js → chunk-UUWZMAV4.js} +30 -30
- package/dist/{chunk-6TMK5JR2.js → chunk-VLO2HY6J.js} +34 -34
- package/dist/{chunk-HMRKWV4A.mjs → chunk-WOC65XYH.mjs} +1 -1
- package/dist/{chunk-6PFAU5XI.mjs → chunk-WUXDWEEW.mjs} +4 -4
- package/dist/{chunk-SVWY4Z75.js → chunk-X6XVS2G3.js} +2 -2
- package/dist/{chunk-TKN4IGLS.js → chunk-XJ2VKQNH.js} +2 -2
- package/dist/{chunk-66Q42VH2.js → chunk-XWAMKDVR.js} +2 -2
- package/dist/{chunk-6MATO2MJ.mjs → chunk-YSQAKVSC.mjs} +4 -2
- package/dist/{chunk-3WCCKGWO.mjs → chunk-ZB64FD5X.mjs} +1 -1
- package/dist/{executor--XDIJdLD.d.ts → executor-B0b85w0j.d.ts} +1 -1
- package/dist/{executor-n2RcT6qh.d.mts → executor-B1teF76_.d.mts} +1 -1
- package/dist/{executor-BfEqeIla.d.ts → executor-BEgTatwB.d.ts} +1 -1
- package/dist/{executor-BKbLJ--E.d.mts → executor-BfOctEDN.d.mts} +1 -1
- package/dist/{executor-B-dxC0WQ.d.mts → executor-BpoG787z.d.mts} +1 -1
- package/dist/{executor-BxXLIcSp.d.mts → executor-C8bjEDVM.d.mts} +1 -1
- package/dist/{executor-Ji6z3dQ5.d.ts → executor-CQnrL7gj.d.ts} +1 -1
- package/dist/{executor-DrmPQZn8.d.ts → executor-CeyAi6Mk.d.ts} +1 -1
- package/dist/{executor-BWgGR4di.d.ts → executor-DgwwK3wO.d.ts} +1 -1
- package/dist/{executor-BCIaWtDH.d.mts → executor-_ImEyb5Z.d.mts} +1 -1
- package/dist/{executor-xSP6q_l2.d.ts → executor-hVIiAH1B.d.ts} +1 -1
- package/dist/{executor-QrMSMiZ3.d.mts → executor-taDcsbXj.d.mts} +1 -1
- package/dist/executors.d.mts +7 -7
- package/dist/executors.d.ts +7 -7
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/{generator-mgm-AEto.d.mts → generator-7TB9pmdr.d.mts} +2 -2
- package/dist/{generator-C7IQBL1_.d.ts → generator-BHlJ9J69.d.ts} +2 -2
- package/dist/{generator-BRv8CovR.d.mts → generator-B_qaxa-4.d.mts} +2 -2
- package/dist/{generator-C1LWbWaE.d.ts → generator-CAtGNKdM.d.ts} +2 -2
- package/dist/{generator-BhoO530L.d.mts → generator-CJunp7GB.d.mts} +2 -2
- package/dist/{generator-C3oor1Tq.d.ts → generator-CU7RGufI.d.ts} +2 -2
- package/dist/{generator-BmMXStvy.d.ts → generator-CrAo0KCH.d.ts} +1 -1
- package/dist/{generator-CG4Dq6d1.d.mts → generator-DLaccLmn.d.mts} +2 -2
- package/dist/{generator-CcKJAkqz.d.mts → generator-DkgZalYq.d.mts} +1 -1
- package/dist/{generator-CvEnH1My.d.ts → generator-X3nB1oRF.d.ts} +2 -2
- package/dist/generators.d.mts +7 -7
- package/dist/generators.d.ts +7 -7
- package/dist/generators.js +10 -10
- package/dist/generators.mjs +12 -12
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +29 -29
- package/dist/index.mjs +31 -31
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.d.ts +2 -2
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.d.mts +2 -2
- package/dist/src/base/base-generator.d.ts +2 -2
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.d.mts +1 -1
- package/dist/src/executors/clean-package/executor.d.ts +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.d.mts +2 -2
- package/dist/src/executors/esbuild/executor.d.ts +2 -2
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/napi/executor.d.mts +2 -2
- package/dist/src/executors/napi/executor.d.ts +2 -2
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +5 -5
- package/dist/src/executors/size-limit/executor.d.mts +2 -2
- package/dist/src/executors/size-limit/executor.d.ts +2 -2
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/tsdown/executor.d.mts +2 -2
- package/dist/src/executors/tsdown/executor.d.ts +2 -2
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.d.mts +2 -2
- package/dist/src/executors/typia/executor.d.ts +2 -2
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.d.mts +2 -2
- package/dist/src/executors/unbuild/executor.d.ts +2 -2
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.d.mts +3 -3
- package/dist/src/generators/browser-library/generator.d.ts +3 -3
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.d.mts +3 -3
- package/dist/src/generators/config-schema/generator.d.ts +3 -3
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.d.mts +3 -3
- package/dist/src/generators/neutral-library/generator.d.ts +3 -3
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.d.mts +3 -3
- package/dist/src/generators/node-library/generator.d.ts +3 -3
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.d.mts +3 -3
- package/dist/src/generators/preset/generator.d.ts +3 -3
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/plugins/typescript/index.d.mts +2 -2
- package/dist/src/plugins/typescript/index.d.ts +2 -2
- package/dist/src/plugins/typescript/tsdown.d.mts +2 -2
- package/dist/src/plugins/typescript/tsdown.d.ts +2 -2
- package/dist/src/plugins/typescript/tsup.d.mts +2 -2
- package/dist/src/plugins/typescript/tsup.d.ts +2 -2
- package/dist/src/release/index.d.mts +1 -1
- package/dist/src/release/index.d.ts +1 -1
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.d.mts +1 -1
- package/dist/src/release/js-version-actions.d.ts +1 -1
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +3 -3
- package/dist/src/release/rust-version-actions.d.mts +1 -1
- package/dist/src/release/rust-version-actions.d.ts +1 -1
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/utils/index.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/dist/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/{types-Dna6kjOz.d.ts → types-BAcl7ePf.d.ts} +1 -1
- package/dist/{types-DeaeRt7S.d.mts → types-Bl3tojmB.d.mts} +7 -1
- package/dist/{types-DeaeRt7S.d.ts → types-Bl3tojmB.d.ts} +7 -1
- package/dist/{types-BJp_GqKO.d.mts → types-Bx5yWHfS.d.mts} +1 -1
- package/package.json +8 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
var _devkit = require('@nx/devkit');
|
|
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
17
17
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
21
21
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
22
22
|
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
23
23
|
_nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
|
|
24
24
|
"src"
|
|
25
25
|
)))
|
|
26
26
|
}).then((result) => {
|
|
27
|
-
|
|
27
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0,
|
|
28
28
|
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
29
29
|
config
|
|
30
30
|
);
|
|
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
33
33
|
success: true
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
var executor_default =
|
|
36
|
+
var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
var _fsextra = require('fs-extra');
|
|
10
10
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
11
11
|
async function typiaExecutorFn(options, _, config) {
|
|
12
12
|
if (options.clean !== false) {
|
|
13
|
-
|
|
13
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
14
14
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
15
15
|
}
|
|
16
16
|
await Promise.all(
|
|
17
17
|
options.entry.map((entry) => {
|
|
18
|
-
|
|
18
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
19
19
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
20
20
|
input: entry,
|
|
21
21
|
output: options.outputPath,
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkK5U7AXCPjs = require('./chunk-K5U7AXCP.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ var _chunk6UJMT3W5js = require('./chunk-6UJMT3W5.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -79,11 +79,11 @@ var resolveOptions = async (userOptions) => {
|
|
|
79
79
|
if (!workspaceRoot) {
|
|
80
80
|
throw new Error("Cannot find Nx workspace root");
|
|
81
81
|
}
|
|
82
|
-
const workspaceConfig = await
|
|
82
|
+
const workspaceConfig = await _chunkR2YWPTGTjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
83
83
|
workspaceRoot
|
|
84
84
|
});
|
|
85
|
-
|
|
86
|
-
const stopwatch =
|
|
85
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
86
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Build options resolution");
|
|
87
87
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
88
88
|
exitOnError: true
|
|
89
89
|
});
|
|
@@ -117,7 +117,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
117
117
|
const result = {
|
|
118
118
|
name: projectName,
|
|
119
119
|
mode: "production",
|
|
120
|
-
target:
|
|
120
|
+
target: _chunkK5U7AXCPjs.DEFAULT_TARGET,
|
|
121
121
|
generatePackageJson: true,
|
|
122
122
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
123
123
|
minify: !debug,
|
|
@@ -149,15 +149,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
149
149
|
};
|
|
150
150
|
result.env = _defu2.default.call(void 0,
|
|
151
151
|
options.env,
|
|
152
|
-
|
|
152
|
+
_chunkK5U7AXCPjs.getEnv.call(void 0, "tsdown", result)
|
|
153
153
|
);
|
|
154
154
|
stopwatch();
|
|
155
155
|
return result;
|
|
156
156
|
};
|
|
157
157
|
async function generatePackageJson(options) {
|
|
158
158
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
159
|
-
|
|
160
|
-
const stopwatch =
|
|
159
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
160
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Write package.json file");
|
|
161
161
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
162
162
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
163
163
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -174,13 +174,13 @@ async function generatePackageJson(options) {
|
|
|
174
174
|
throw new Error("Cannot find package.json configuration file");
|
|
175
175
|
}
|
|
176
176
|
let packageJson = JSON.parse(packageJsonFile);
|
|
177
|
-
packageJson = await
|
|
177
|
+
packageJson = await _chunkK5U7AXCPjs.addPackageDependencies.call(void 0,
|
|
178
178
|
options.workspaceConfig.workspaceRoot,
|
|
179
179
|
options.projectRoot,
|
|
180
180
|
options.projectName,
|
|
181
181
|
packageJson
|
|
182
182
|
);
|
|
183
|
-
packageJson = await
|
|
183
|
+
packageJson = await _chunkK5U7AXCPjs.addWorkspacePackageJsonFields.call(void 0,
|
|
184
184
|
options.workspaceConfig,
|
|
185
185
|
options.projectRoot,
|
|
186
186
|
options.sourceRoot,
|
|
@@ -190,7 +190,7 @@ async function generatePackageJson(options) {
|
|
|
190
190
|
);
|
|
191
191
|
packageJson.exports ??= {};
|
|
192
192
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
193
|
-
packageJson.exports["."] ??=
|
|
193
|
+
packageJson.exports["."] ??= _chunkK5U7AXCPjs.addPackageJsonExport.call(void 0,
|
|
194
194
|
"index",
|
|
195
195
|
packageJson.type,
|
|
196
196
|
options.sourceRoot
|
|
@@ -206,7 +206,7 @@ async function generatePackageJson(options) {
|
|
|
206
206
|
const split = entryPoint.out.split(".");
|
|
207
207
|
split.pop();
|
|
208
208
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
209
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
209
|
+
packageJson.exports[`./${entry2}`] ??= _chunkK5U7AXCPjs.addPackageJsonExport.call(void 0,
|
|
210
210
|
entry2,
|
|
211
211
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
212
212
|
options.sourceRoot
|
|
@@ -231,8 +231,8 @@ async function generatePackageJson(options) {
|
|
|
231
231
|
return options;
|
|
232
232
|
}
|
|
233
233
|
async function executeTSDown(options) {
|
|
234
|
-
|
|
235
|
-
const stopwatch =
|
|
234
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
235
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} build`);
|
|
236
236
|
await _tsdown.build.call(void 0, {
|
|
237
237
|
...options,
|
|
238
238
|
entry: options.entry,
|
|
@@ -242,12 +242,12 @@ async function executeTSDown(options) {
|
|
|
242
242
|
return options;
|
|
243
243
|
}
|
|
244
244
|
async function copyBuildAssets(options) {
|
|
245
|
-
|
|
245
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
246
246
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
247
247
|
options.workspaceConfig
|
|
248
248
|
);
|
|
249
|
-
const stopwatch =
|
|
250
|
-
await
|
|
249
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
250
|
+
await _chunkK5U7AXCPjs.copyAssets.call(void 0,
|
|
251
251
|
options.workspaceConfig,
|
|
252
252
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
253
253
|
options.outDir,
|
|
@@ -260,18 +260,18 @@ async function copyBuildAssets(options) {
|
|
|
260
260
|
return options;
|
|
261
261
|
}
|
|
262
262
|
async function reportResults(options) {
|
|
263
|
-
|
|
263
|
+
_chunk44BBGI2Ajs.writeSuccess.call(void 0,
|
|
264
264
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
265
265
|
options.workspaceConfig
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
268
|
async function cleanOutputPath(options) {
|
|
269
269
|
if (options.clean !== false && options.workspaceConfig) {
|
|
270
|
-
|
|
270
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
271
271
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
272
272
|
options.workspaceConfig
|
|
273
273
|
);
|
|
274
|
-
const stopwatch =
|
|
274
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
275
275
|
await cleanDirectories(
|
|
276
276
|
options.name,
|
|
277
277
|
options.outDir,
|
|
@@ -282,8 +282,8 @@ async function cleanOutputPath(options) {
|
|
|
282
282
|
return options;
|
|
283
283
|
}
|
|
284
284
|
async function build(options) {
|
|
285
|
-
|
|
286
|
-
const stopwatch =
|
|
285
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
286
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
287
287
|
try {
|
|
288
288
|
const opts = Array.isArray(options) ? options : [options];
|
|
289
289
|
if (opts.length === 0) {
|
|
@@ -303,13 +303,13 @@ async function build(options) {
|
|
|
303
303
|
})
|
|
304
304
|
);
|
|
305
305
|
} else {
|
|
306
|
-
|
|
306
|
+
_chunk44BBGI2Ajs.writeWarning.call(void 0,
|
|
307
307
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
_chunk44BBGI2Ajs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
311
311
|
} catch (error) {
|
|
312
|
-
|
|
312
|
+
_chunk44BBGI2Ajs.writeFatal.call(void 0,
|
|
313
313
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
314
314
|
);
|
|
315
315
|
throw error;
|
|
@@ -320,7 +320,7 @@ async function build(options) {
|
|
|
320
320
|
|
|
321
321
|
// src/executors/tsdown/executor.ts
|
|
322
322
|
async function tsdownExecutorFn(options, context, config) {
|
|
323
|
-
|
|
323
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
324
324
|
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])) {
|
|
325
325
|
throw new Error(
|
|
326
326
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -341,7 +341,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
341
341
|
success: true
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
var executor_default =
|
|
344
|
+
var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
|
|
345
345
|
"Storm TSDown build",
|
|
346
346
|
tsdownExecutorFn,
|
|
347
347
|
{
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkK5U7AXCPjs = require('./chunk-K5U7AXCP.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ var _chunk6UJMT3W5js = require('./chunk-6UJMT3W5.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -29,12 +29,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
29
29
|
// ../esbuild/src/assets.ts
|
|
30
30
|
async function copyBuildAssets(context) {
|
|
31
31
|
if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
|
|
32
|
-
|
|
32
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
33
33
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
34
34
|
context.workspaceConfig
|
|
35
35
|
);
|
|
36
|
-
const stopwatch =
|
|
37
|
-
await
|
|
36
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
37
|
+
await _chunkK5U7AXCPjs.copyAssets.call(void 0,
|
|
38
38
|
context.workspaceConfig,
|
|
39
39
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
40
40
|
context.outputPath,
|
|
@@ -102,8 +102,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
102
102
|
".woff2": "file"
|
|
103
103
|
},
|
|
104
104
|
banner: {
|
|
105
|
-
js:
|
|
106
|
-
css:
|
|
105
|
+
js: _chunkK5U7AXCPjs.DEFAULT_JS_BANNER,
|
|
106
|
+
css: _chunkK5U7AXCPjs.DEFAULT_CSS_BANNER
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -114,11 +114,11 @@ async function resolveContext(userOptions) {
|
|
|
114
114
|
if (!workspaceRoot) {
|
|
115
115
|
throw new Error("Cannot find Nx workspace root");
|
|
116
116
|
}
|
|
117
|
-
const workspaceConfig = await
|
|
117
|
+
const workspaceConfig = await _chunkR2YWPTGTjs.getWorkspaceConfig.call(void 0, true, {
|
|
118
118
|
workspaceRoot: workspaceRoot.dir
|
|
119
119
|
});
|
|
120
|
-
|
|
121
|
-
const stopwatch =
|
|
120
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
121
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Build options resolution");
|
|
122
122
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
123
123
|
exitOnError: true
|
|
124
124
|
});
|
|
@@ -149,7 +149,7 @@ async function resolveContext(userOptions) {
|
|
|
149
149
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
150
150
|
throw new Error("Cannot find package.json configuration");
|
|
151
151
|
}
|
|
152
|
-
const env =
|
|
152
|
+
const env = _chunkK5U7AXCPjs.getEnv.call(void 0, "esbuild", options);
|
|
153
153
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
154
154
|
const resolvedOptions = {
|
|
155
155
|
...options,
|
|
@@ -188,10 +188,10 @@ async function resolveContext(userOptions) {
|
|
|
188
188
|
};
|
|
189
189
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
190
190
|
if (context.options.verbose) {
|
|
191
|
-
|
|
191
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
192
192
|
` \u2699\uFE0F Build options resolved:
|
|
193
193
|
|
|
194
|
-
${
|
|
194
|
+
${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, context.options)}`,
|
|
195
195
|
workspaceConfig
|
|
196
196
|
);
|
|
197
197
|
}
|
|
@@ -204,8 +204,8 @@ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
204
204
|
|
|
205
205
|
async function generatePackageJson(context) {
|
|
206
206
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
207
|
-
|
|
208
|
-
const stopwatch =
|
|
207
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
208
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Write package.json file");
|
|
209
209
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
210
210
|
context.options.projectRoot,
|
|
211
211
|
"project.json"
|
|
@@ -225,13 +225,13 @@ async function generatePackageJson(context) {
|
|
|
225
225
|
if (!packageJson) {
|
|
226
226
|
throw new Error("Cannot find package.json configuration file");
|
|
227
227
|
}
|
|
228
|
-
packageJson = await
|
|
228
|
+
packageJson = await _chunkK5U7AXCPjs.addPackageDependencies.call(void 0,
|
|
229
229
|
context.workspaceConfig.workspaceRoot,
|
|
230
230
|
context.options.projectRoot,
|
|
231
231
|
context.projectName,
|
|
232
232
|
packageJson
|
|
233
233
|
);
|
|
234
|
-
packageJson = await
|
|
234
|
+
packageJson = await _chunkK5U7AXCPjs.addWorkspacePackageJsonFields.call(void 0,
|
|
235
235
|
context.workspaceConfig,
|
|
236
236
|
context.options.projectRoot,
|
|
237
237
|
context.sourceRoot,
|
|
@@ -332,12 +332,12 @@ async function generatePackageJson(context) {
|
|
|
332
332
|
var _tsup = require('tsup');
|
|
333
333
|
async function build(options) {
|
|
334
334
|
if (!options.silent) {
|
|
335
|
-
|
|
335
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
336
336
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
337
337
|
options.workspaceConfig
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
|
-
const stopwatch =
|
|
340
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
341
341
|
await _tsup.build.call(void 0, options);
|
|
342
342
|
if (!options.silent) {
|
|
343
343
|
stopwatch();
|
|
@@ -346,11 +346,11 @@ async function build(options) {
|
|
|
346
346
|
|
|
347
347
|
// ../esbuild/src/tsup.ts
|
|
348
348
|
async function executeTsup(context) {
|
|
349
|
-
|
|
349
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
350
350
|
` \u{1F680} Running ${context.options.name} build`,
|
|
351
351
|
context.workspaceConfig
|
|
352
352
|
);
|
|
353
|
-
const stopwatch =
|
|
353
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
354
354
|
await build({
|
|
355
355
|
...context.options,
|
|
356
356
|
outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -364,17 +364,17 @@ async function executeTsup(context) {
|
|
|
364
364
|
async function reportResults(context) {
|
|
365
365
|
if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
|
|
366
366
|
if (context.result.warnings.length > 0) {
|
|
367
|
-
|
|
367
|
+
_chunk44BBGI2Ajs.writeWarning.call(void 0,
|
|
368
368
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
369
369
|
context.workspaceConfig
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
_chunk44BBGI2Ajs.writeSuccess.call(void 0,
|
|
373
373
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
374
374
|
context.workspaceConfig
|
|
375
375
|
);
|
|
376
376
|
} else if (_optionalChain([context, 'access', _12 => _12.result, 'optionalAccess', _13 => _13.errors]) && _optionalChain([context, 'access', _14 => _14.result, 'optionalAccess', _15 => _15.errors, 'access', _16 => _16.length]) > 0) {
|
|
377
|
-
|
|
377
|
+
_chunk44BBGI2Ajs.writeError.call(void 0,
|
|
378
378
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
379
379
|
context.workspaceConfig
|
|
380
380
|
);
|
|
@@ -385,19 +385,19 @@ async function reportResults(context) {
|
|
|
385
385
|
}
|
|
386
386
|
async function cleanOutputPath(context) {
|
|
387
387
|
if (context.clean !== false && context.outputPath) {
|
|
388
|
-
|
|
388
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0,
|
|
389
389
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
390
390
|
context.workspaceConfig
|
|
391
391
|
);
|
|
392
|
-
const stopwatch =
|
|
392
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
393
393
|
await cleanDirectories(context.outputPath);
|
|
394
394
|
stopwatch();
|
|
395
395
|
}
|
|
396
396
|
return context;
|
|
397
397
|
}
|
|
398
398
|
async function build2(options) {
|
|
399
|
-
|
|
400
|
-
const stopwatch =
|
|
399
|
+
_chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
400
|
+
const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
401
401
|
try {
|
|
402
402
|
const opts = Array.isArray(options) ? options : [options];
|
|
403
403
|
if (opts.length === 0) {
|
|
@@ -412,9 +412,9 @@ async function build2(options) {
|
|
|
412
412
|
executeTsup(context)
|
|
413
413
|
]);
|
|
414
414
|
await reportResults(context);
|
|
415
|
-
|
|
415
|
+
_chunk44BBGI2Ajs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
416
416
|
} catch (error) {
|
|
417
|
-
|
|
417
|
+
_chunk44BBGI2Ajs.writeFatal.call(void 0,
|
|
418
418
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
419
419
|
);
|
|
420
420
|
throw error;
|
|
@@ -425,7 +425,7 @@ async function build2(options) {
|
|
|
425
425
|
|
|
426
426
|
// src/executors/esbuild/executor.ts
|
|
427
427
|
async function esbuildExecutorFn(options, context, config) {
|
|
428
|
-
|
|
428
|
+
_chunk44BBGI2Ajs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
429
429
|
if (!_optionalChain([context, 'access', _17 => _17.projectsConfigurations, 'optionalAccess', _18 => _18.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _19 => _19.projectsConfigurations, 'access', _20 => _20.projects, 'access', _21 => _21[context.projectName], 'optionalAccess', _22 => _22.root])) {
|
|
430
430
|
throw new Error(
|
|
431
431
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -446,7 +446,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
446
446
|
success: true
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
var executor_default =
|
|
449
|
+
var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
|
|
450
450
|
"Storm ESBuild build",
|
|
451
451
|
esbuildExecutorFn,
|
|
452
452
|
{
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NYWAVN3K.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JFTB2MZS.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6UHWGGM5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getStopwatch,
|
|
17
17
|
writeDebug,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
writeInfo,
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YSQAKVSC.mjs";
|
|
23
23
|
import {
|
|
24
24
|
findWorkspaceRoot
|
|
25
25
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFR7Q4DI3js = require('./chunk-FR7Q4DI3.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunkFR7Q4DI3js.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -89,7 +89,7 @@ async function napiExecutor(options, context, config) {
|
|
|
89
89
|
const { task } = await napi.build(normalizedOptions);
|
|
90
90
|
return { success: true, terminalOutput: await task };
|
|
91
91
|
}
|
|
92
|
-
var executor_default =
|
|
92
|
+
var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
|
|
93
93
|
"Napi - Build Bindings",
|
|
94
94
|
napiExecutor,
|
|
95
95
|
{
|
|
@@ -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 _chunkKGBMBIMDjs = require('./chunk-KGBMBIMD.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/cargo-publish/executor.ts
|
|
6
6
|
var _devkit = require('@nx/devkit');
|
|
@@ -25,7 +25,7 @@ async function runExecutor(options, context) {
|
|
|
25
25
|
context.root,
|
|
26
26
|
options.packageRoot ? options.packageRoot : root
|
|
27
27
|
);
|
|
28
|
-
const cargoToml =
|
|
28
|
+
const cargoToml = _chunkKGBMBIMDjs.parseCargoToml.call(void 0,
|
|
29
29
|
_fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
|
|
30
30
|
);
|
|
31
31
|
try {
|
|
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
35
35
|
help: "#5C4EE5",
|
|
36
36
|
success: "#087f5b",
|
|
37
37
|
info: "#0550ae",
|
|
38
|
+
debug: "#8afafc",
|
|
38
39
|
warning: "#e3b341",
|
|
39
40
|
danger: "#D8314A",
|
|
40
41
|
fatal: "#51070f",
|
|
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
51
52
|
help: "#818cf8",
|
|
52
53
|
success: "#10b981",
|
|
53
54
|
info: "#58a6ff",
|
|
55
|
+
debug: "#8afafc",
|
|
54
56
|
warning: "#f3d371",
|
|
55
57
|
danger: "#D8314A",
|
|
56
58
|
fatal: "#a40e26",
|
|
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
231
233
|
return (message) => {
|
|
232
234
|
console.debug(
|
|
233
235
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
236
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
237
|
`
|
|
236
238
|
);
|
|
237
239
|
};
|
|
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
240
242
|
return (message) => {
|
|
241
243
|
console.debug(
|
|
242
244
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
245
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
244
246
|
`
|
|
245
247
|
);
|
|
246
248
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-Bl3tojmB.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-Bl3tojmB.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|