@storm-software/workspace-tools 1.293.1 → 1.293.2
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 +34 -0
- package/README.md +68 -7
- package/dist/{chunk-XYDGMWNM.js → chunk-2HWYXG2K.js} +7 -7
- package/dist/{chunk-IVAHNQZP.js → chunk-322ASCCN.js} +3 -3
- package/dist/{chunk-HP36FVRU.mjs → chunk-3UGFRM4O.mjs} +1 -1
- package/dist/chunk-4EA2KL6D.js +124 -0
- package/dist/{chunk-DSDE2UL5.js → chunk-4ROGNJIP.js} +29 -29
- package/dist/{chunk-MYFQ64WE.js → chunk-5EA2N2AH.js} +22 -22
- package/dist/{chunk-ZM7BQH6Q.mjs → chunk-6F75AWBB.mjs} +3 -3
- package/dist/{chunk-QITMVWVJ.mjs → chunk-6IHCTXPW.mjs} +1 -1
- package/dist/{chunk-IUDAADGV.js → chunk-6XDX3W4C.js} +2 -2
- package/dist/{chunk-IIDQ2ITD.mjs → chunk-BELCG4XM.mjs} +1 -1
- package/dist/{chunk-5N7GGHPM.js → chunk-BOC6RTAX.js} +2 -2
- package/dist/{chunk-4HV5G4DT.js → chunk-COIQ4U46.js} +13 -13
- package/dist/{chunk-G2L3EEEO.js → chunk-CQDBLKPF.js} +44 -1
- package/dist/{chunk-REKF65PT.mjs → chunk-DBNK7FLL.mjs} +3 -3
- package/dist/{chunk-SVSX2DDY.js → chunk-DUHZQGVB.js} +2 -2
- package/dist/{chunk-HT7FNLPL.mjs → chunk-DUZOZEUA.mjs} +1 -1
- package/dist/{chunk-6A7OOTO2.js → chunk-EGVBKE43.js} +7 -7
- package/dist/{chunk-CDBRCMR4.mjs → chunk-GIVVWGKW.mjs} +1 -1
- package/dist/{chunk-VGJEUOUN.mjs → chunk-GSZ2BO7G.mjs} +1 -1
- package/dist/{chunk-NXWRHUNL.mjs → chunk-IT3RQADI.mjs} +4 -4
- package/dist/{chunk-BCXNBLCP.mjs → chunk-KFRGKGAD.mjs} +1 -1
- package/dist/{chunk-6JX3VJQY.mjs → chunk-KSUWYBUX.mjs} +1 -1
- package/dist/{chunk-W4IH547O.js → chunk-L5WX3FSM.js} +2 -2
- package/dist/{chunk-K5XMGL6Y.mjs → chunk-L6LJBWJ7.mjs} +3 -3
- package/dist/{chunk-TCC635LO.js → chunk-L7OQTUBA.js} +7 -7
- package/dist/{chunk-EECJXHDA.js → chunk-MF2R2GZF.js} +20 -20
- package/dist/{chunk-F3NQOV2M.mjs → chunk-MFRKH3QL.mjs} +2 -2
- package/dist/{chunk-LA2KY2TQ.js → chunk-ML2VHRB6.js} +2 -2
- package/dist/{chunk-NOTQLVZP.mjs → chunk-NQOA6WGC.mjs} +2 -2
- package/dist/{chunk-T5BI42AO.js → chunk-O5JT5GOM.js} +7 -7
- package/dist/{chunk-YNZUCZH3.js → chunk-OF7BAS3P.js} +5 -5
- package/dist/{chunk-YMZQ7GGX.js → chunk-OGE2WFDW.js} +7 -7
- package/dist/{chunk-EYRX4NM6.mjs → chunk-P2QPOCDL.mjs} +1 -1
- package/dist/{chunk-GEP246CJ.mjs → chunk-P6JV6ABK.mjs} +1 -1
- package/dist/chunk-PQ2ED6U2.mjs +124 -0
- package/dist/{chunk-76SRFTZ2.mjs → chunk-QYHQD375.mjs} +1 -1
- package/dist/{chunk-3Q7VPB75.js → chunk-R5MXU5BG.js} +2 -2
- package/dist/{chunk-MBO4Z5AV.js → chunk-RGRRXFFX.js} +7 -7
- package/dist/{chunk-QEGJ4PKW.js → chunk-ROI6N5XU.js} +2 -2
- package/dist/{chunk-2NHKQWQ5.js → chunk-RVGLZSRS.js} +2 -2
- package/dist/{chunk-ADWXA4ZQ.js → chunk-RYUO22WK.js} +25 -25
- package/dist/{chunk-LXOTH243.js → chunk-RZDOMICP.js} +2 -2
- package/dist/{chunk-332US6XA.mjs → chunk-T3WEFC55.mjs} +1 -1
- package/dist/{chunk-ZP4B44CQ.js → chunk-TAG2PULI.js} +2 -2
- package/dist/{chunk-C26A6BXG.mjs → chunk-TBW5MCN6.mjs} +44 -1
- package/dist/{chunk-FSYURQ5X.js → chunk-TYJZD5KJ.js} +15 -15
- package/dist/{chunk-OOR7HG4P.mjs → chunk-UETG5X2Z.mjs} +4 -4
- package/dist/{chunk-ALFDHMDV.mjs → chunk-UKKUUGK5.mjs} +1 -1
- package/dist/{chunk-J3WZEN2U.js → chunk-VF2LXW3B.js} +2 -2
- package/dist/{chunk-TMUZX6IO.mjs → chunk-VGWI2FQE.mjs} +3 -3
- package/dist/{chunk-TCGF4GS7.js → chunk-VGXI3J3C.js} +2 -2
- package/dist/{chunk-FML2FBSG.mjs → chunk-WHGUOK37.mjs} +1 -1
- package/dist/{chunk-JGFRV7ZL.mjs → chunk-WS5PLNBP.mjs} +3 -3
- package/dist/{chunk-ZTFZJPOM.mjs → chunk-XLZWHFV7.mjs} +3 -3
- package/dist/{chunk-6PVCCKX4.mjs → chunk-Y25P6YPV.mjs} +1 -1
- package/dist/{chunk-YJXVS5UQ.mjs → chunk-YJT4F4GN.mjs} +2 -2
- package/dist/{chunk-32G4OHA3.mjs → chunk-YOM5ZK63.mjs} +5 -5
- package/dist/{chunk-KLUJ3GE7.js → chunk-YXJ3YDLQ.js} +2 -2
- package/dist/{chunk-TJRQRM4Z.mjs → chunk-ZGMVPA2H.mjs} +1 -1
- package/dist/{chunk-5C7DI3NF.js → chunk-ZOUMLMH4.js} +2 -2
- package/dist/{executor-BH3B5WW0.d.mts → executor-Bx3N1lzV.d.mts} +8 -0
- package/dist/{executor-DKkrAhWH.d.ts → executor-NLb4xNfW.d.ts} +8 -0
- package/dist/executors.d.mts +1 -1
- package/dist/executors.d.ts +1 -1
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +11 -11
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +31 -31
- package/dist/index.mjs +30 -30
- package/dist/src/base/base-executor.js +6 -6
- package/dist/src/base/base-executor.mjs +5 -5
- package/dist/src/base/base-generator.js +6 -6
- package/dist/src/base/base-generator.mjs +5 -5
- package/dist/src/base/index.js +8 -8
- package/dist/src/base/index.mjs +7 -7
- package/dist/src/executors/cargo-build/executor.js +7 -7
- package/dist/src/executors/cargo-build/executor.mjs +6 -6
- package/dist/src/executors/cargo-check/executor.js +7 -7
- package/dist/src/executors/cargo-check/executor.mjs +6 -6
- package/dist/src/executors/cargo-clippy/executor.js +7 -7
- package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
- package/dist/src/executors/cargo-doc/executor.js +7 -7
- package/dist/src/executors/cargo-doc/executor.mjs +6 -6
- package/dist/src/executors/cargo-format/executor.js +7 -7
- package/dist/src/executors/cargo-format/executor.mjs +6 -6
- package/dist/src/executors/clean-package/executor.js +7 -7
- package/dist/src/executors/clean-package/executor.mjs +5 -5
- package/dist/src/executors/esbuild/executor.js +8 -8
- package/dist/src/executors/esbuild/executor.mjs +7 -7
- package/dist/src/executors/napi/executor.d.mts +1 -1
- package/dist/src/executors/napi/executor.d.ts +1 -1
- package/dist/src/executors/napi/executor.js +7 -7
- package/dist/src/executors/napi/executor.mjs +6 -6
- 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.js +7 -7
- package/dist/src/executors/size-limit/executor.mjs +6 -6
- package/dist/src/executors/tsdown/executor.js +8 -8
- package/dist/src/executors/tsdown/executor.mjs +7 -7
- package/dist/src/executors/typia/executor.js +7 -7
- package/dist/src/executors/typia/executor.mjs +6 -6
- package/dist/src/executors/unbuild/executor.js +7 -7
- package/dist/src/executors/unbuild/executor.mjs +6 -6
- package/dist/src/generators/browser-library/generator.js +8 -8
- package/dist/src/generators/browser-library/generator.mjs +7 -7
- package/dist/src/generators/config-schema/generator.js +7 -7
- package/dist/src/generators/config-schema/generator.mjs +6 -6
- package/dist/src/generators/neutral-library/generator.js +8 -8
- package/dist/src/generators/neutral-library/generator.mjs +7 -7
- package/dist/src/generators/node-library/generator.js +8 -8
- package/dist/src/generators/node-library/generator.mjs +7 -7
- package/dist/src/generators/preset/generator.js +7 -7
- package/dist/src/generators/preset/generator.mjs +6 -6
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.js +5 -5
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/utils/apply-workspace-tokens.js +4 -4
- package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
- package/dist/src/utils/get-project-configurations.js +4 -4
- package/dist/src/utils/get-project-configurations.mjs +3 -3
- package/dist/src/utils/index.js +6 -6
- package/dist/src/utils/index.mjs +5 -5
- package/dist/src/utils/package-helpers.js +3 -3
- package/dist/src/utils/package-helpers.mjs +2 -2
- package/package.json +8 -8
- package/dist/chunk-6CBCLVUS.mjs +0 -71
- package/dist/chunk-6FRCSY35.js +0 -71
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkTAG2PULIjs = require('./chunk-TAG2PULI.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
13
13
|
|
|
14
14
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
15
15
|
var _child_process = require('child_process');
|
|
@@ -35,7 +35,7 @@ async function getNpmRegistry() {
|
|
|
35
35
|
if (process.env.STORM_REGISTRY_NPM) {
|
|
36
36
|
return process.env.STORM_REGISTRY_NPM;
|
|
37
37
|
}
|
|
38
|
-
const workspaceConfig = await
|
|
38
|
+
const workspaceConfig = await _chunk4ROGNJIPjs.getConfig.call(void 0, );
|
|
39
39
|
if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
|
|
40
40
|
return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
|
|
41
41
|
}
|
|
@@ -61,8 +61,8 @@ var _semver = require('semver');
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _yaml = require('yaml');
|
|
64
|
-
function getPnpmWorkspaceFilePath(workspaceRoot =
|
|
65
|
-
const pnpmWorkspacePath =
|
|
64
|
+
function getPnpmWorkspaceFilePath(workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
65
|
+
const pnpmWorkspacePath = _chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
|
|
66
66
|
if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
|
|
67
67
|
throw new Error(
|
|
68
68
|
`No \`pnpm-workspace.yaml\` file found in workspace root (searched in: ${pnpmWorkspacePath}).`
|
|
@@ -70,7 +70,7 @@ function getPnpmWorkspaceFilePath(workspaceRoot = _chunkIVAHNQZPjs.findWorkspace
|
|
|
70
70
|
}
|
|
71
71
|
return pnpmWorkspacePath;
|
|
72
72
|
}
|
|
73
|
-
async function readPnpmWorkspaceFile(workspaceRoot =
|
|
73
|
+
async function readPnpmWorkspaceFile(workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
74
74
|
const result = await _promises.readFile.call(void 0,
|
|
75
75
|
getPnpmWorkspaceFilePath(workspaceRoot),
|
|
76
76
|
"utf8"
|
|
@@ -82,7 +82,7 @@ async function readPnpmWorkspaceFile(workspaceRoot = _chunkIVAHNQZPjs.findWorksp
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
85
|
-
async function getCatalogSafe(workspaceRoot =
|
|
85
|
+
async function getCatalogSafe(workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
86
86
|
const pnpmWorkspaceFile = await readPnpmWorkspaceFile(workspaceRoot);
|
|
87
87
|
if (!pnpmWorkspaceFile) {
|
|
88
88
|
throw new Error("No pnpm-workspace.yaml file found");
|
|
@@ -105,7 +105,7 @@ File content: ${JSON.stringify(
|
|
|
105
105
|
}
|
|
106
106
|
return void 0;
|
|
107
107
|
}
|
|
108
|
-
async function getCatalog(workspaceRoot =
|
|
108
|
+
async function getCatalog(workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
109
109
|
const catalog = await getCatalogSafe(workspaceRoot);
|
|
110
110
|
if (!catalog) {
|
|
111
111
|
throw new Error("No catalog entries found in pnpm-workspace.yaml file");
|
|
@@ -114,8 +114,8 @@ async function getCatalog(workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.cal
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
117
|
-
async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot =
|
|
118
|
-
const packageJsonPath =
|
|
117
|
+
async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, packageRoot)) {
|
|
118
|
+
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
119
119
|
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
120
120
|
if (!packageJsonFile) {
|
|
121
121
|
throw new Error(
|
|
@@ -124,7 +124,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _
|
|
|
124
124
|
}
|
|
125
125
|
const catalog = await getCatalog(workspaceRoot);
|
|
126
126
|
const packageJson = JSON.parse(packageJsonFile);
|
|
127
|
-
const pnpmWorkspacePath =
|
|
127
|
+
const pnpmWorkspacePath = _chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
|
|
128
128
|
if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
|
|
129
129
|
console.warn(
|
|
130
130
|
`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${pnpmWorkspacePath}). Skipping pnpm catalog read for now.`
|
|
@@ -176,7 +176,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _
|
|
|
176
176
|
Object.keys(projectGraph.nodes).map(async (node) => {
|
|
177
177
|
const projectNode = projectGraph.nodes[node];
|
|
178
178
|
if (_optionalChain([projectNode, 'optionalAccess', _6 => _6.data, 'access', _7 => _7.root])) {
|
|
179
|
-
const projectPackageJsonPath =
|
|
179
|
+
const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
180
180
|
workspaceRoot,
|
|
181
181
|
projectNode.data.root,
|
|
182
182
|
"package.json"
|
|
@@ -253,22 +253,22 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
253
253
|
`Could not find project configuration for \`${context.projectName}\``
|
|
254
254
|
);
|
|
255
255
|
}
|
|
256
|
-
const packageRoot =
|
|
256
|
+
const packageRoot = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
257
257
|
context.root,
|
|
258
|
-
options.packageRoot ||
|
|
258
|
+
options.packageRoot || _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", projectConfig.root)
|
|
259
259
|
);
|
|
260
|
-
const projectRoot = _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.root]) ?
|
|
260
|
+
const projectRoot = _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.root]) ? _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
261
261
|
context.root,
|
|
262
262
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
263
263
|
context.projectsConfigurations.projects[context.projectName].root
|
|
264
264
|
) : packageRoot;
|
|
265
|
-
const packageJsonPath =
|
|
265
|
+
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
266
266
|
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
267
267
|
if (!packageJsonFile) {
|
|
268
268
|
throw new Error(`Could not find \`package.json\` at ${packageJsonPath}`);
|
|
269
269
|
}
|
|
270
270
|
const packageJson = JSON.parse(packageJsonFile);
|
|
271
|
-
const projectPackageJsonPath =
|
|
271
|
+
const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, projectRoot, "package.json");
|
|
272
272
|
const projectPackageJsonFile = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
273
273
|
if (!projectPackageJsonFile) {
|
|
274
274
|
throw new Error(
|
|
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
315
315
|
return { success: true };
|
|
316
316
|
}
|
|
317
317
|
await replaceDepsAliases(packageRoot, context.root);
|
|
318
|
-
await
|
|
318
|
+
await _chunkTAG2PULIjs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
319
319
|
const npmPublishCommandSegments = [`npm publish --json`];
|
|
320
320
|
const npmViewCommandSegments = [
|
|
321
321
|
`npm view ${packageName} versions dist-tags --json`
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-V44DYGWX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findWorkspaceRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GSZ2BO7G.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
|
|
12
12
|
// ../build-tools/src/config.ts
|
|
13
13
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
6
6
|
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
@@ -37,7 +37,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
|
37
37
|
if (result.includes("{workspaceRoot}")) {
|
|
38
38
|
result = result.replaceAll(
|
|
39
39
|
"{workspaceRoot}",
|
|
40
|
-
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => (
|
|
40
|
+
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, )))
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
return result;
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
} from "./chunk-V44DYGWX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GSZ2BO7G.mjs";
|
|
12
12
|
import {
|
|
13
13
|
correctPaths,
|
|
14
14
|
joinPaths
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBW5MCN6.mjs";
|
|
16
16
|
|
|
17
17
|
// ../config/src/schema.ts
|
|
18
18
|
import * as z from "zod/mini";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
11
11
|
|
|
12
12
|
// src/generators/neutral-library/generator.ts
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
|
|
|
17
17
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
20
|
-
const filesDir =
|
|
20
|
+
const filesDir = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
21
21
|
__dirname,
|
|
22
22
|
"src",
|
|
23
23
|
"generators",
|
|
@@ -30,7 +30,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
30
30
|
devDependencies: {},
|
|
31
31
|
buildExecutor: "@storm-software/workspace-tools:unbuild"
|
|
32
32
|
};
|
|
33
|
-
const options = await
|
|
33
|
+
const options = await _chunkCOIQ4U46js.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
34
34
|
const { className, name, propertyName } = _devkit.names.call(void 0,
|
|
35
35
|
options.projectNames.projectFileName
|
|
36
36
|
);
|
|
@@ -50,11 +50,11 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
50
50
|
buildable: options.bundler && options.bundler !== "none",
|
|
51
51
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
52
52
|
});
|
|
53
|
-
await
|
|
53
|
+
await _chunkCOIQ4U46js.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -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 _chunkL7OQTUBAjs = require('./chunk-L7OQTUBA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
10
10
|
|
|
11
11
|
// src/executors/unbuild/executor.ts
|
|
12
12
|
var _defu = require('defu');
|
|
@@ -29,7 +29,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
32
|
-
fsCache: config.skipCache ? false :
|
|
32
|
+
fsCache: config.skipCache ? false : _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
33
33
|
config.workspaceRoot,
|
|
34
34
|
config.directories.cache || "node_modules/.cache/storm",
|
|
35
35
|
"jiti"
|
|
@@ -51,7 +51,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
51
51
|
{
|
|
52
52
|
stubOptions: {
|
|
53
53
|
jiti: {
|
|
54
|
-
fsCache: config.skipCache ? false :
|
|
54
|
+
fsCache: config.skipCache ? false : _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
55
55
|
config.workspaceRoot,
|
|
56
56
|
config.directories.cache || "node_modules/.cache/storm",
|
|
57
57
|
"jiti"
|
|
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
80
80
|
success: true
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
var executor_default =
|
|
83
|
+
var executor_default = _chunkL7OQTUBAjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
14
14
|
|
|
15
15
|
// src/generators/node-library/generator.ts
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
|
|
|
20
20
|
|
|
21
21
|
var _devkit = require('@nx/devkit');
|
|
22
22
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
23
|
-
const filesDir =
|
|
23
|
+
const filesDir = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
24
24
|
__dirname,
|
|
25
25
|
"src",
|
|
26
26
|
"generators",
|
|
@@ -37,7 +37,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
37
37
|
directory: schema.directory,
|
|
38
38
|
description: schema.description
|
|
39
39
|
};
|
|
40
|
-
const options = await
|
|
40
|
+
const options = await _chunkCOIQ4U46js.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
41
41
|
const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
|
|
42
42
|
_devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
|
|
43
43
|
...schema,
|
|
@@ -55,11 +55,11 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
55
55
|
buildable: options.bundler && options.bundler !== "none",
|
|
56
56
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
57
57
|
});
|
|
58
|
-
await
|
|
58
|
+
await _chunkCOIQ4U46js.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cargoMetadata
|
|
3
|
+
} from "./chunk-ZTN2676G.mjs";
|
|
4
|
+
import {
|
|
5
|
+
withRunExecutor
|
|
6
|
+
} from "./chunk-XLZWHFV7.mjs";
|
|
7
|
+
import {
|
|
8
|
+
correctPaths,
|
|
9
|
+
isAbsolute,
|
|
10
|
+
joinPaths,
|
|
11
|
+
relative
|
|
12
|
+
} from "./chunk-TBW5MCN6.mjs";
|
|
13
|
+
|
|
14
|
+
// src/executors/napi/executor.ts
|
|
15
|
+
import { createJiti } from "jiti";
|
|
16
|
+
import { fileExists } from "nx/src/utils/fileutils";
|
|
17
|
+
async function napiExecutor(options, context, config) {
|
|
18
|
+
const jiti = createJiti(config.workspaceRoot, {
|
|
19
|
+
fsCache: config.skipCache ? false : joinPaths(
|
|
20
|
+
config.workspaceRoot,
|
|
21
|
+
config.directories.cache || "node_modules/.cache/storm",
|
|
22
|
+
"jiti"
|
|
23
|
+
),
|
|
24
|
+
interopDefault: true
|
|
25
|
+
});
|
|
26
|
+
const { NapiCli } = await jiti.import(
|
|
27
|
+
jiti.esmResolve("@napi-rs/cli")
|
|
28
|
+
);
|
|
29
|
+
if (!context.projectGraph?.nodes[context.projectName ?? ""]) {
|
|
30
|
+
throw new Error(
|
|
31
|
+
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""].data.root;
|
|
35
|
+
const packageJson = joinPaths(projectRoot ?? ".", "package.json");
|
|
36
|
+
if (!fileExists(packageJson)) {
|
|
37
|
+
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
38
|
+
}
|
|
39
|
+
const napi = new NapiCli();
|
|
40
|
+
const normalizedOptions = { ...options };
|
|
41
|
+
const metadata = cargoMetadata();
|
|
42
|
+
normalizedOptions.targetDir = options.targetDir || metadata?.target_directory || joinPaths(config.workspaceRoot, "dist", "target");
|
|
43
|
+
normalizedOptions.outputDir = options.outputPath;
|
|
44
|
+
normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
45
|
+
if (options.cwd) {
|
|
46
|
+
normalizedOptions.cwd = correctPaths(options.cwd);
|
|
47
|
+
} else {
|
|
48
|
+
normalizedOptions.cwd = correctPaths(projectRoot);
|
|
49
|
+
const absoluteProjectRoot = joinPaths(
|
|
50
|
+
config.workspaceRoot,
|
|
51
|
+
projectRoot || "."
|
|
52
|
+
);
|
|
53
|
+
if (normalizedOptions.outputDir) {
|
|
54
|
+
normalizedOptions.outputDir = relative(
|
|
55
|
+
absoluteProjectRoot,
|
|
56
|
+
correctPaths(
|
|
57
|
+
isAbsolute(normalizedOptions.outputDir) ? normalizedOptions.outputDir : joinPaths(config.workspaceRoot, normalizedOptions.outputDir)
|
|
58
|
+
)
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
if (normalizedOptions.packageJsonPath) {
|
|
62
|
+
normalizedOptions.packageJsonPath = relative(
|
|
63
|
+
absoluteProjectRoot,
|
|
64
|
+
correctPaths(
|
|
65
|
+
isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
66
|
+
)
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
if (normalizedOptions.targetDir) {
|
|
70
|
+
normalizedOptions.targetDir = relative(
|
|
71
|
+
absoluteProjectRoot,
|
|
72
|
+
correctPaths(
|
|
73
|
+
isAbsolute(normalizedOptions.targetDir) ? normalizedOptions.targetDir : joinPaths(config.workspaceRoot, normalizedOptions.targetDir)
|
|
74
|
+
)
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
if (normalizedOptions.configPath) {
|
|
78
|
+
normalizedOptions.configPath = relative(
|
|
79
|
+
absoluteProjectRoot,
|
|
80
|
+
correctPaths(
|
|
81
|
+
isAbsolute(normalizedOptions.configPath) ? normalizedOptions.configPath : joinPaths(config.workspaceRoot, normalizedOptions.configPath)
|
|
82
|
+
)
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
if (normalizedOptions.manifestPath) {
|
|
86
|
+
normalizedOptions.manifestPath = relative(
|
|
87
|
+
absoluteProjectRoot,
|
|
88
|
+
correctPaths(
|
|
89
|
+
isAbsolute(normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : joinPaths(config.workspaceRoot, normalizedOptions.manifestPath)
|
|
90
|
+
)
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (process.env.VERCEL) {
|
|
95
|
+
return { success: true };
|
|
96
|
+
}
|
|
97
|
+
const { task } = await napi.build(normalizedOptions);
|
|
98
|
+
return { success: true, terminalOutput: await task };
|
|
99
|
+
}
|
|
100
|
+
var executor_default = withRunExecutor(
|
|
101
|
+
"Napi - Build Bindings",
|
|
102
|
+
napiExecutor,
|
|
103
|
+
{
|
|
104
|
+
skipReadingConfig: false,
|
|
105
|
+
hooks: {
|
|
106
|
+
applyDefaultOptions: (options) => {
|
|
107
|
+
options.outputPath ??= "{sourceRoot}";
|
|
108
|
+
options.toolchain ??= "stable";
|
|
109
|
+
options.dtsCache ??= true;
|
|
110
|
+
options.platform ??= true;
|
|
111
|
+
options.constEnum ??= false;
|
|
112
|
+
options.verbose ??= false;
|
|
113
|
+
options.jsBinding ??= "binding.js";
|
|
114
|
+
options.dts ??= "binding.d.ts";
|
|
115
|
+
return options;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
export {
|
|
122
|
+
napiExecutor,
|
|
123
|
+
executor_default
|
|
124
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
4
4
|
|
|
5
5
|
// src/utils/get-project-configurations.ts
|
|
6
6
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
7
7
|
var getProjectConfigurations = async () => {
|
|
8
8
|
return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0,
|
|
9
|
-
|
|
9
|
+
_chunk322ASCCNjs.findWorkspaceRoot.call(void 0, )
|
|
10
10
|
);
|
|
11
11
|
};
|
|
12
12
|
var getProjectConfiguration = (projectName) => _optionalChain([getProjectConfigurations, 'call', _ => _(), 'optionalAccess', _2 => _2[projectName]]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ var _chunkDSDE2UL5js = require('./chunk-DSDE2UL5.js');
|
|
|
12
12
|
var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
16
16
|
|
|
17
17
|
// src/generators/config-schema/generator.ts
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
@@ -26,9 +26,9 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
26
26
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
27
27
|
config
|
|
28
28
|
);
|
|
29
|
-
const jsonSchema = z.toJSONSchema(
|
|
29
|
+
const jsonSchema = z.toJSONSchema(_chunk4ROGNJIPjs.workspaceConfigSchema, {
|
|
30
30
|
target: "draft-7",
|
|
31
|
-
metadata:
|
|
31
|
+
metadata: _chunk4ROGNJIPjs.schemaRegistry
|
|
32
32
|
});
|
|
33
33
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
34
34
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
@@ -40,7 +40,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
43
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => (
|
|
43
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, ))),
|
|
44
44
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
45
45
|
);
|
|
46
46
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
57
57
|
success: true
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
var generator_default =
|
|
60
|
+
var generator_default = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
|
|
61
61
|
"Configuration Schema Creator",
|
|
62
62
|
configSchemaGeneratorFn,
|
|
63
63
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkL7OQTUBAjs = require('./chunk-L7OQTUBA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkL7OQTUBAjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkL7OQTUBAjs = require('./chunk-L7OQTUBA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkL7OQTUBAjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|