@storm-software/workspace-tools 1.275.20 → 1.275.21
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 +17 -0
- package/README.md +1 -1
- package/dist/{chunk-3PTWOMU2.mjs → chunk-24I5UG2D.mjs} +1 -1
- package/dist/{chunk-PT3X4RIM.js → chunk-323YYPBI.js} +2 -2
- package/dist/{chunk-BZLHJMEB.js → chunk-4AJFY3TU.js} +12 -1
- package/dist/{chunk-MAW537K7.mjs → chunk-4TKNR4UF.mjs} +3 -3
- package/dist/{chunk-4Q5TA4HY.mjs → chunk-562YIZY6.mjs} +2 -2
- package/dist/{chunk-SE4WCL4O.js → chunk-5QELRWTW.js} +20 -20
- package/dist/{chunk-F6VM55TC.js → chunk-62PWDDJ5.js} +53 -21
- package/dist/{chunk-2VYGGPNB.js → chunk-6IGBLWC7.js} +2 -2
- package/dist/{chunk-3DV3EPPP.mjs → chunk-7R5M47RD.mjs} +1 -1
- package/dist/{chunk-7IUPGUV3.mjs → chunk-AQBADFNP.mjs} +2 -2
- package/dist/{chunk-Q7ZNED73.mjs → chunk-AXP4TQEB.mjs} +2 -2
- package/dist/{chunk-ZAMOY46U.mjs → chunk-DR3QHMB4.mjs} +2 -2
- package/dist/{chunk-VNYMAMOQ.js → chunk-F2AQZYX7.js} +5 -5
- package/dist/{chunk-DJJD4NLR.js → chunk-FIHLI4YN.js} +31 -31
- package/dist/{chunk-F2W3BT7Q.js → chunk-FNHLEPRE.js} +5 -5
- package/dist/{chunk-3OPUS7DM.js → chunk-FRSRLLIU.js} +16 -16
- package/dist/{chunk-OCAYHE4R.mjs → chunk-GSDPFFZP.mjs} +2 -2
- package/dist/{chunk-NWZ4RH4R.js → chunk-HTLPAE2L.js} +2 -2
- package/dist/{chunk-X6YEZ2IR.js → chunk-HXX2KU7K.js} +5 -5
- package/dist/{chunk-EFJ4G4IB.js → chunk-JIITW5QG.js} +5 -5
- package/dist/{chunk-UIHVLD6X.js → chunk-JPD34HQ6.js} +4 -4
- package/dist/{chunk-KAVKOD5C.js → chunk-JYOPSFB4.js} +2 -2
- package/dist/{chunk-PTKTAEWS.mjs → chunk-KCYF6ZJO.mjs} +2 -2
- package/dist/{chunk-5M6KTSAU.mjs → chunk-KK7GLPSX.mjs} +1 -1
- package/dist/{chunk-EPHSEJ2O.mjs → chunk-LWMUUMAO.mjs} +1 -1
- package/dist/{chunk-4M4SHAIR.js → chunk-M2RWCXGG.js} +2 -2
- package/dist/{chunk-FXJFMNIG.mjs → chunk-O6CDIW64.mjs} +3 -3
- package/dist/{chunk-NMDGWPQQ.mjs → chunk-P2LLJMPH.mjs} +2 -2
- package/dist/{chunk-RR4536RL.mjs → chunk-PYR2GK7W.mjs} +1 -1
- package/dist/{chunk-ZARYEHW7.js → chunk-Q5PHHZK5.js} +2 -2
- package/dist/{chunk-5LJGZH6B.mjs → chunk-RB2UWVCU.mjs} +2 -2
- package/dist/{chunk-GZ2DMJNP.js → chunk-S3TTYACT.js} +2 -2
- package/dist/{chunk-JY44CTPK.mjs → chunk-SLYJ57BS.mjs} +1 -1
- package/dist/{chunk-QCQPWUUG.mjs → chunk-SQZZXL5S.mjs} +1 -1
- package/dist/{chunk-UIPBCBUB.mjs → chunk-TA7R5VU7.mjs} +1 -1
- package/dist/{chunk-BWWZL3XI.mjs → chunk-TMWRMTZX.mjs} +1 -1
- package/dist/{chunk-YEIQEZ66.js → chunk-U3ORKFRH.js} +5 -5
- package/dist/{chunk-6HLO2W5F.mjs → chunk-UER4EE2C.mjs} +2 -2
- package/dist/{chunk-RJX34CGZ.mjs → chunk-UKJES7FE.mjs} +1 -1
- package/dist/{chunk-44ORGJU6.js → chunk-V7XHSQAI.js} +9 -9
- package/dist/{chunk-XZAVLGX6.js → chunk-VNWWEHIC.js} +2 -2
- package/dist/{chunk-U3YH5M4L.js → chunk-VTPEPAEB.js} +14 -14
- package/dist/{chunk-XFRYBLPE.js → chunk-WRM3EAQL.js} +21 -21
- package/dist/{chunk-NZYIQ7PK.mjs → chunk-WZURLCQH.mjs} +35 -3
- package/dist/{chunk-6U5L5TSA.mjs → chunk-X2JVWB4F.mjs} +12 -1
- package/dist/{chunk-PNPK65F6.js → chunk-X5WXK44U.js} +2 -2
- package/dist/{executor-DBfq-cdb.d.mts → executor-BBzyEOFH.d.mts} +1 -1
- package/dist/{executor-B6rwbTH2.d.mts → executor-BHzuA3tJ.d.mts} +1 -1
- package/dist/{executor-BnzblW4J.d.ts → executor-BYF2xhS9.d.ts} +1 -1
- package/dist/{executor-BACiX_ZU.d.ts → executor-C4qgoGSX.d.ts} +1 -1
- package/dist/{executor-DJ9zo_90.d.ts → executor-CFg--mJ6.d.ts} +1 -1
- package/dist/{executor-C0iYanib.d.mts → executor-D5ne03fk.d.mts} +1 -1
- package/dist/{executor-B8Cw3Tig.d.mts → executor-JPxZNI_w.d.mts} +1 -1
- package/dist/{executor-fjC66tCo.d.ts → executor-Y9N9Pqs7.d.ts} +1 -1
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +15 -15
- package/dist/executors.mjs +19 -19
- package/dist/{generator-CfzaLi0k.d.ts → generator-B5y6fbM9.d.ts} +2 -2
- package/dist/{generator-Dkpc6Apg.d.ts → generator-BDd_dgNW.d.ts} +2 -2
- package/dist/{generator-Diovfw1t.d.mts → generator-BYQUuNd1.d.mts} +2 -2
- package/dist/{generator-B640GNIa.d.mts → generator-Bb-wk9zd.d.mts} +2 -2
- package/dist/{generator-6ooMg1MM.d.mts → generator-BtJNGRAU.d.mts} +2 -2
- package/dist/{generator-p2G5laVf.d.mts → generator-C-imx0M4.d.mts} +1 -1
- package/dist/{generator-BVRsSb8i.d.ts → generator-CEGGlFM-.d.ts} +2 -2
- package/dist/{generator-CCtJHaiZ.d.ts → generator-CYjtZpPF.d.ts} +2 -2
- package/dist/{generator-vnIt_4qz.d.mts → generator-CcUUjx-4.d.mts} +1 -1
- package/dist/{generator-B26zSwLY.d.mts → generator-CqREcpH1.d.mts} +2 -2
- package/dist/{generator-CS2A1Qzu.d.ts → generator-D9LfLTBp.d.ts} +1 -1
- package/dist/{generator-BpgPcSPg.d.ts → generator-DhUKH7iC.d.ts} +1 -1
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +11 -11
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +24 -24
- package/dist/index.mjs +28 -28
- 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 +6 -6
- package/dist/src/base/index.mjs +5 -5
- 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 +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- 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/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 +6 -6
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- 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 +6 -6
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- 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 +6 -6
- package/dist/src/generators/node-library/generator.mjs +5 -5
- 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/generators/release-version/generator.d.mts +2 -2
- package/dist/src/generators/release-version/generator.d.ts +2 -2
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
- 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-kTmkrbB_.d.ts → types-20QvkLZ0.d.mts} +33 -3
- package/dist/{types-kTmkrbB_.d.mts → types-20QvkLZ0.d.ts} +33 -3
- package/dist/{types-DJ_Tqtsg.d.ts → types-CS7-qMzU.d.ts} +1 -1
- package/dist/{types-Bq2vUp-m.d.mts → types-DRb7iLoG.d.mts} +1 -1
- package/package.json +4 -4
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -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 _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.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
|
+
_chunk4AJFY3TUjs.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
|
+
_chunk4AJFY3TUjs.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 = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P2LLJMPH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X2JVWB4F.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkFRSRLLIUjs = require('./chunk-FRSRLLIU.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -15,29 +15,29 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
15
15
|
var _devkit = require('@nx/devkit');
|
|
16
16
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
17
17
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
|
-
|
|
18
|
+
_chunk4AJFY3TUjs.writeInfo.call(void 0,
|
|
19
19
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
23
23
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
24
24
|
config
|
|
25
25
|
);
|
|
26
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0,
|
|
26
|
+
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunk4AJFY3TUjs.stormWorkspaceConfigSchema, {
|
|
27
27
|
name: "StormWorkspaceConfiguration"
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0, jsonSchema, config);
|
|
30
30
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
31
31
|
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
|
|
32
32
|
_optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./"
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
35
35
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
38
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
39
39
|
await _devkit.formatFiles.call(void 0, tree);
|
|
40
|
-
|
|
40
|
+
_chunk4AJFY3TUjs.writeSuccess.call(void 0,
|
|
41
41
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
42
42
|
config
|
|
43
43
|
);
|
|
@@ -45,7 +45,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
45
45
|
success: true
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
var generator_default =
|
|
48
|
+
var generator_default = _chunkFRSRLLIUjs.withRunGenerator.call(void 0,
|
|
49
49
|
"Configuration Schema Creator",
|
|
50
50
|
configSchemaGeneratorFn,
|
|
51
51
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/toml.ts
|
|
6
6
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
7
7
|
function parseCargoTomlWithTree(tree, projectRoot, projectName) {
|
|
8
8
|
const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
|
|
9
9
|
if (!cargoTomlString) {
|
|
10
|
-
|
|
10
|
+
_chunk4AJFY3TUjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
|
|
11
11
|
throw new Error();
|
|
12
12
|
}
|
|
13
13
|
return parseCargoToml(cargoTomlString);
|
|
@@ -106,15 +106,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
106
106
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
107
107
|
let repository = {
|
|
108
108
|
type: "github",
|
|
109
|
-
url: _optionalChain([config, 'optionalAccess', _ => _.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _2 => _2.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess',
|
|
109
|
+
url: _optionalChain([config, 'optionalAccess', _ => _.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _2 => _2.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _3 => _3.organization]) : _optionalChain([config, 'optionalAccess', _4 => _4.organization, 'optionalAccess', _5 => _5.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _6 => _6.namespace]) || _optionalChain([config, 'optionalAccess', _7 => _7.name]) || "repository"}.git`
|
|
110
110
|
};
|
|
111
111
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
112
112
|
if (tree.exists("package.json")) {
|
|
113
113
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
114
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
114
|
+
if (_optionalChain([packageJson, 'optionalAccess', _8 => _8.repository])) {
|
|
115
115
|
repository = packageJson.repository;
|
|
116
116
|
}
|
|
117
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
117
|
+
if (_optionalChain([packageJson, 'optionalAccess', _9 => _9.description])) {
|
|
118
118
|
description = packageJson.description;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -169,9 +169,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
169
169
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
170
170
|
...json,
|
|
171
171
|
pnpm: {
|
|
172
|
-
..._optionalChain([json, 'optionalAccess',
|
|
172
|
+
..._optionalChain([json, 'optionalAccess', _10 => _10.pnpm]),
|
|
173
173
|
overrides: {
|
|
174
|
-
..._optionalChain([json, 'optionalAccess',
|
|
174
|
+
..._optionalChain([json, 'optionalAccess', _11 => _11.pnpm, 'optionalAccess', _12 => _12.overrides]),
|
|
175
175
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -189,10 +189,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
189
189
|
]);
|
|
190
190
|
if (tree.exists("package.json")) {
|
|
191
191
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
192
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
192
|
+
if (_optionalChain([packageJson, 'optionalAccess', _13 => _13.repository])) {
|
|
193
193
|
repository = packageJson.repository;
|
|
194
194
|
}
|
|
195
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
195
|
+
if (_optionalChain([packageJson, 'optionalAccess', _14 => _14.description])) {
|
|
196
196
|
description = packageJson.description;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -229,22 +229,22 @@ function getOutputPath(options) {
|
|
|
229
229
|
function createProjectTsConfigJson(tree, options) {
|
|
230
230
|
const tsconfig = {
|
|
231
231
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
232
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
232
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _15 => _15.tsconfigOptions]), () => ( {})),
|
|
233
233
|
compilerOptions: {
|
|
234
234
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
235
235
|
outDir: _chunk53DNHF7Bjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
236
236
|
noEmit: true,
|
|
237
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
237
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _16 => _16.tsconfigOptions, 'optionalAccess', _17 => _17.compilerOptions]), () => ( {}))
|
|
238
238
|
},
|
|
239
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
239
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _18 => _18.tsconfigOptions, 'optionalAccess', _19 => _19.files]), () => ( []))],
|
|
240
240
|
include: [
|
|
241
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
241
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _20 => _20.tsconfigOptions, 'optionalAccess', _21 => _21.include]), () => ( [])),
|
|
242
242
|
"src/**/*.ts",
|
|
243
243
|
"src/**/*.js",
|
|
244
244
|
"bin/**/*"
|
|
245
245
|
],
|
|
246
246
|
exclude: [
|
|
247
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
247
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _22 => _22.tsconfigOptions, 'optionalAccess', _23 => _23.exclude]), () => ( [])),
|
|
248
248
|
"jest.config.ts",
|
|
249
249
|
"src/**/*.spec.ts",
|
|
250
250
|
"src/**/*.test.ts"
|
|
@@ -254,8 +254,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
254
254
|
}
|
|
255
255
|
async function normalizeOptions(tree, options, config) {
|
|
256
256
|
let importPath = options.importPath;
|
|
257
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
258
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
257
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _24 => _24.namespace])) {
|
|
258
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _25 => _25.namespace])}/${options.name}`;
|
|
259
259
|
}
|
|
260
260
|
if (options.publishable) {
|
|
261
261
|
if (!importPath) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk62PWDDJ5js = require('./chunk-62PWDDJ5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkF6VM55TCjs = require('./chunk-F6VM55TC.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,7 +22,7 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunk4AJFY3TUjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunk4AJFY3TUjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunk62PWDDJ5js.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunk4AJFY3TUjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunkBZLHJMEBjs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunk4AJFY3TUjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -95,9 +95,9 @@ ${_chunkBZLHJMEBjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
95
95
|
ret
|
|
96
96
|
);
|
|
97
97
|
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")) {
|
|
98
|
-
|
|
98
|
+
_chunk4AJFY3TUjs.writeTrace.call(void 0,
|
|
99
99
|
`Failure determined by the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunk4AJFY3TUjs.formatLogMessage.call(void 0, result)}`,
|
|
101
101
|
config
|
|
102
102
|
);
|
|
103
103
|
console.error(result);
|
|
@@ -106,21 +106,21 @@ ${_chunkBZLHJMEBjs.formatLogMessage.call(void 0, result)}`,
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunk4AJFY3TUjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunk4AJFY3TUjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunk4AJFY3TUjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
stormWorkspaceConfigSchema,
|
|
13
13
|
writeTrace,
|
|
14
14
|
writeWarning
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X2JVWB4F.mjs";
|
|
16
16
|
import {
|
|
17
17
|
findWorkspaceRoot
|
|
18
18
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -143,7 +143,13 @@ var getConfigEnv = () => {
|
|
|
143
143
|
medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
|
|
144
144
|
github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
|
|
145
145
|
},
|
|
146
|
-
organization: process.env[`${prefix}ORGANIZATION`] ||
|
|
146
|
+
organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
|
|
147
|
+
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
148
|
+
description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
|
|
149
|
+
url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
|
|
150
|
+
logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
|
|
151
|
+
icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
|
|
152
|
+
} : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
|
|
147
153
|
packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
|
|
148
154
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
149
155
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
@@ -350,7 +356,33 @@ var setConfigEnv = (config) => {
|
|
|
350
356
|
}
|
|
351
357
|
}
|
|
352
358
|
if (config.organization) {
|
|
353
|
-
|
|
359
|
+
if (typeof config.organization === "string") {
|
|
360
|
+
process.env[`${prefix}ORG`] = config.organization;
|
|
361
|
+
process.env[`${prefix}ORG_NAME`] = config.organization;
|
|
362
|
+
process.env[`${prefix}ORGANIZATION`] = config.organization;
|
|
363
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
|
|
364
|
+
} else {
|
|
365
|
+
process.env[`${prefix}ORG`] = config.organization.name;
|
|
366
|
+
process.env[`${prefix}ORG_NAME`] = config.organization.name;
|
|
367
|
+
process.env[`${prefix}ORGANIZATION`] = config.organization.name;
|
|
368
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
|
|
369
|
+
if (config.organization.url) {
|
|
370
|
+
process.env[`${prefix}ORG_URL`] = config.organization.url;
|
|
371
|
+
process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
|
|
372
|
+
}
|
|
373
|
+
if (config.organization.description) {
|
|
374
|
+
process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
|
|
375
|
+
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
|
|
376
|
+
}
|
|
377
|
+
if (config.organization.logo) {
|
|
378
|
+
process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
|
|
379
|
+
process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
|
|
380
|
+
}
|
|
381
|
+
if (config.organization.icon) {
|
|
382
|
+
process.env[`${prefix}ORG_ICON`] = config.organization.icon;
|
|
383
|
+
process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
354
386
|
}
|
|
355
387
|
if (config.packageManager) {
|
|
356
388
|
process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
|
|
@@ -171,6 +171,15 @@ var errorConfigSchema = z.object({
|
|
|
171
171
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
172
172
|
)
|
|
173
173
|
}).describe("The workspace's error config used during the error process");
|
|
174
|
+
var organizationConfigSchema = z.object({
|
|
175
|
+
name: z.string().trim().describe("The name of the organization"),
|
|
176
|
+
description: z.string().trim().optional().describe("A description of the organization"),
|
|
177
|
+
logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
|
|
178
|
+
icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
|
|
179
|
+
url: z.string().trim().url().optional().describe(
|
|
180
|
+
"A URL to a page that provides more information about the organization"
|
|
181
|
+
)
|
|
182
|
+
}).describe("The workspace's organization details");
|
|
174
183
|
var stormWorkspaceConfigSchema = z.object({
|
|
175
184
|
$schema: z.string().trim().default(
|
|
176
185
|
"https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
|
|
@@ -182,7 +191,9 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
182
191
|
"The name of the service/package/scope using this configuration"
|
|
183
192
|
),
|
|
184
193
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
185
|
-
organization: z.string().trim().
|
|
194
|
+
organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
|
|
195
|
+
"The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
196
|
+
),
|
|
186
197
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
187
198
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
188
199
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
@@ -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 _chunkVNWWEHICjs = require('./chunk-VNWWEHIC.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 = _chunkVNWWEHICjs.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 {
|
|
@@ -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-20QvkLZ0.mjs';
|
|
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-20QvkLZ0.mjs';
|
|
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-20QvkLZ0.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-20QvkLZ0.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-20QvkLZ0.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-20QvkLZ0.mjs';
|
|
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-20QvkLZ0.mjs';
|
|
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-20QvkLZ0.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
package/dist/executors.d.mts
CHANGED
|
@@ -5,11 +5,11 @@ export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-B
|
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-BD3oxCXJ.mjs';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-CpcXNDfG.mjs';
|
|
7
7
|
export { C as CleanPackageExecutorSchema } from './schema.d-CRz8jtUC.mjs';
|
|
8
|
-
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-
|
|
8
|
+
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-JPxZNI_w.mjs';
|
|
9
9
|
export { L as LARGE_BUFFER, N as NpmPublishExecutorSchema } from './executor-0ivVjqma.mjs';
|
|
10
|
-
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-
|
|
11
|
-
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-
|
|
12
|
-
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-
|
|
10
|
+
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-BBzyEOFH.mjs';
|
|
11
|
+
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-BHzuA3tJ.mjs';
|
|
12
|
+
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-D5ne03fk.mjs';
|
|
13
13
|
import '@nx/devkit';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-20QvkLZ0.mjs';
|
|
15
15
|
import 'zod';
|
package/dist/executors.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-B
|
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-BD3oxCXJ.js';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-CpcXNDfG.js';
|
|
7
7
|
export { C as CleanPackageExecutorSchema } from './schema.d-CRz8jtUC.js';
|
|
8
|
-
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-
|
|
8
|
+
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-Y9N9Pqs7.js';
|
|
9
9
|
export { L as LARGE_BUFFER, N as NpmPublishExecutorSchema } from './executor-0ivVjqma.js';
|
|
10
|
-
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-
|
|
11
|
-
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-
|
|
12
|
-
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-
|
|
10
|
+
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-BYF2xhS9.js';
|
|
11
|
+
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-CFg--mJ6.js';
|
|
12
|
+
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-C4qgoGSX.js';
|
|
13
13
|
import '@nx/devkit';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-20QvkLZ0.js';
|
|
15
15
|
import 'zod';
|