@storm-software/workspace-tools 1.267.19 → 1.267.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 +24 -0
- package/README.md +1 -1
- package/dist/chunk-22UY7NFX.js +41 -0
- package/dist/chunk-23BZQTB2.mjs +425 -0
- package/dist/{chunk-7O34DHUG.js → chunk-2AVWFUXP.js} +4 -19
- package/dist/{chunk-VW3PZOJ4.mjs → chunk-2M22JVJQ.mjs} +307 -192
- package/dist/{chunk-5RJOBRYL.mjs → chunk-3EDSGFA5.mjs} +63 -54
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/{chunk-AC5SI4YZ.js → chunk-3TYXXJKV.js} +11 -8
- package/dist/{chunk-QSB5SLZS.mjs → chunk-3ZBMLG4D.mjs} +17 -14
- package/dist/chunk-437WGH2M.mjs +32 -0
- package/dist/{chunk-ULBTYC2B.js → chunk-4BECJRPP.js} +13 -42
- package/dist/chunk-4QRA66TH.mjs +379 -0
- package/dist/chunk-4S66IYQF.mjs +31 -0
- package/dist/{chunk-4JOIS7WW.js → chunk-4WHSR4FK.js} +24 -14
- package/dist/{chunk-JTAXCQX6.js → chunk-53DNHF7B.js} +7 -13
- package/dist/{chunk-GGGO542M.js → chunk-54FVHKCU.js} +36 -24
- package/dist/{chunk-B67R3JAF.mjs → chunk-5HUW3BTP.mjs} +37 -21
- package/dist/{chunk-GWYZDAH6.mjs → chunk-5LB2F3L4.mjs} +80 -65
- package/dist/{chunk-UF6KFXG5.js → chunk-5VY5IBBQ.js} +20 -17
- package/dist/{chunk-6QO3KMZA.js → chunk-5ZFTWEKB.js} +2 -16
- package/dist/chunk-6EMYX25V.js +7 -0
- package/dist/chunk-6QZSAZZ3.mjs +64 -0
- package/dist/{chunk-2JA7WAH7.mjs → chunk-7AN4JMFC.mjs} +2 -16
- package/dist/{chunk-N7XIQOHR.mjs → chunk-7HWV6U3E.mjs} +33 -18
- package/dist/{chunk-GKL4BY2Y.js → chunk-A5CKB6IJ.js} +7 -8
- package/dist/{chunk-Y5WKYMQB.mjs → chunk-ABE7UOMX.mjs} +24 -21
- package/dist/{chunk-L3WQZ3LY.mjs → chunk-AHLKRK7D.mjs} +33 -18
- package/dist/{chunk-6CGAYKQL.js → chunk-AJ3C2EDW.js} +69 -44
- package/dist/chunk-AMW7VHFM.mjs +52 -0
- package/dist/chunk-AOFWKOAI.js +31 -0
- package/dist/{chunk-7YRW5HNX.js → chunk-AX3RSZT7.js} +42 -31
- package/dist/chunk-BFD7HHVZ.mjs +32 -0
- package/dist/{chunk-ZMFVKBRM.js → chunk-BWGJVRAS.js} +2 -13
- package/dist/{chunk-M6NHJNGU.js → chunk-CWBHZBTN.js} +277 -169
- package/dist/{chunk-VGE6EHYW.mjs → chunk-EKWR7TBP.mjs} +36 -24
- package/dist/chunk-EU6N7QT3.js +32 -0
- package/dist/chunk-EYXDS7SG.js +105 -0
- package/dist/chunk-F66XEAID.mjs +113 -0
- package/dist/chunk-FOFNKU5G.js +379 -0
- package/dist/{chunk-7NNHBZC5.js → chunk-GNOIETZR.js} +28 -17
- package/dist/chunk-GQQLBQPQ.mjs +32 -0
- package/dist/{chunk-7PRHEOCT.js → chunk-H5NKKUPV.js} +31 -18
- package/dist/{chunk-5SVLMXLH.mjs → chunk-HMJTTE4A.mjs} +39 -30
- package/dist/{chunk-ZKMIASDR.mjs → chunk-HY3ZC5EZ.mjs} +10 -31
- package/dist/{chunk-OQPX75CG.js → chunk-I5MSPQMO.js} +31 -18
- package/dist/{chunk-L2DHGVS5.mjs → chunk-IEZKYJSF.mjs} +3 -6
- package/dist/{chunk-IWCQL3AQ.js → chunk-IL3R5ZVS.js} +10 -31
- package/dist/{chunk-P4OVFIT6.js → chunk-IZN2IVJ4.js} +19 -6
- package/dist/{chunk-UALZJZUK.js → chunk-J2Z4WP3E.js} +32 -16
- package/dist/{chunk-RBU35LQW.js → chunk-J4DYXH46.js} +70 -61
- package/dist/chunk-KP4RPOBI.mjs +105 -0
- package/dist/chunk-KR72GKIT.mjs +7 -0
- package/dist/chunk-L4NCVOB5.mjs +17 -0
- package/dist/{chunk-4Y6B6JDH.js → chunk-LBAVVYKU.js} +315 -136
- package/dist/{chunk-WMTEZ2PV.mjs → chunk-LSF4BHCI.mjs} +24 -14
- package/dist/chunk-M725BO42.mjs +32 -0
- package/dist/{chunk-7IAGL37F.mjs → chunk-MF6VZSIO.mjs} +30 -17
- package/dist/{chunk-7OOYI33U.mjs → chunk-MMBLGUC3.mjs} +311 -132
- package/dist/chunk-MZSZKV4N.mjs +47 -0
- package/dist/chunk-O6RRIC6I.js +32 -0
- package/dist/chunk-OKSECMVK.js +32 -0
- package/dist/chunk-Q2HYWACQ.mjs +50 -0
- package/dist/{chunk-62XRHQ44.mjs → chunk-QFWQZOVG.mjs} +14 -43
- package/dist/{chunk-DHGZTMND.js → chunk-QVYCDING.js} +4 -7
- package/dist/{chunk-Z4NKRWWJ.js → chunk-RJRBED5Q.js} +48 -32
- package/dist/chunk-S5Z4QGF3.js +64 -0
- package/dist/{chunk-CSHHIGIV.mjs → chunk-SITFTWPY.mjs} +23 -8
- package/dist/chunk-SNMXP6JV.mjs +41 -0
- package/dist/chunk-SPXJBMLY.js +50 -0
- package/dist/{chunk-7TLYMNLD.mjs → chunk-SW2E5MQJ.mjs} +4 -19
- package/dist/{chunk-OKW5O5P4.js → chunk-T7BALDKJ.js} +26 -22
- package/dist/chunk-TSYIV33W.js +32 -0
- package/dist/{chunk-H72YBOLR.mjs → chunk-U65XVJ4Y.mjs} +1 -12
- package/dist/{chunk-AVJVDD4L.mjs → chunk-U7JFVMCK.mjs} +6 -12
- package/dist/chunk-UIPUSUAB.js +425 -0
- package/dist/{chunk-LSG534D5.mjs → chunk-UYSJG2E5.mjs} +56 -31
- package/dist/{chunk-EHXSPF7W.mjs → chunk-VLOTOQYE.mjs} +11 -8
- package/dist/{chunk-EULJEPPD.mjs → chunk-W2C5IGWW.mjs} +3 -6
- package/dist/{chunk-G4QFSE5B.js → chunk-WE4HK4RN.js} +327 -212
- package/dist/{chunk-SUQKASD7.js → chunk-X2VJXJEF.js} +82 -67
- package/dist/{chunk-GY4AEA7P.mjs → chunk-X6PHOMFB.mjs} +32 -16
- package/dist/{chunk-PK2SUBWI.js → chunk-XZSS3YAB.js} +19 -16
- package/dist/chunk-YXBFVZ3K.js +47 -0
- package/dist/{chunk-CUPARBOS.js → chunk-ZP76EMBE.js} +41 -32
- package/dist/{chunk-HAXYCYZE.mjs → chunk-ZT4IIRQF.mjs} +254 -146
- package/dist/executors.js +21 -21
- package/dist/executors.mjs +20 -20
- package/dist/generators.js +17 -17
- package/dist/generators.mjs +18 -18
- package/dist/index.js +41 -41
- package/dist/index.mjs +42 -42
- package/dist/src/base/base-executor.js +7 -7
- package/dist/src/base/base-executor.mjs +6 -6
- package/dist/src/base/base-executor.untyped.js +1 -1
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +7 -7
- package/dist/src/base/base-generator.mjs +6 -6
- package/dist/src/base/base-generator.untyped.js +1 -1
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.js +3 -3
- package/dist/src/base/cargo-base-executor.untyped.mjs +2 -2
- package/dist/src/base/index.js +13 -13
- package/dist/src/base/index.mjs +12 -12
- package/dist/src/base/typescript-build-executor.untyped.js +3 -3
- package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
- package/dist/src/base/typescript-library-generator.untyped.js +3 -3
- package/dist/src/base/typescript-library-generator.untyped.mjs +2 -2
- package/dist/src/executors/cargo-build/executor.js +9 -9
- package/dist/src/executors/cargo-build/executor.mjs +8 -8
- package/dist/src/executors/cargo-build/untyped.js +3 -3
- package/dist/src/executors/cargo-build/untyped.mjs +2 -2
- package/dist/src/executors/cargo-check/executor.js +9 -9
- package/dist/src/executors/cargo-check/executor.mjs +8 -8
- package/dist/src/executors/cargo-check/untyped.js +3 -3
- package/dist/src/executors/cargo-check/untyped.mjs +2 -2
- package/dist/src/executors/cargo-clippy/executor.js +9 -9
- package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
- package/dist/src/executors/cargo-clippy/untyped.js +3 -3
- package/dist/src/executors/cargo-clippy/untyped.mjs +2 -2
- package/dist/src/executors/cargo-doc/executor.js +9 -9
- package/dist/src/executors/cargo-doc/executor.mjs +8 -8
- package/dist/src/executors/cargo-doc/untyped.js +3 -3
- package/dist/src/executors/cargo-doc/untyped.mjs +2 -2
- package/dist/src/executors/cargo-format/executor.js +9 -9
- package/dist/src/executors/cargo-format/executor.mjs +8 -8
- package/dist/src/executors/cargo-format/untyped.js +3 -3
- package/dist/src/executors/cargo-format/untyped.mjs +2 -2
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/cargo-publish/untyped.js +3 -3
- package/dist/src/executors/cargo-publish/untyped.mjs +2 -2
- package/dist/src/executors/clean-package/executor.js +84 -62
- package/dist/src/executors/clean-package/executor.mjs +84 -62
- package/dist/src/executors/clean-package/untyped.js +2 -4
- package/dist/src/executors/clean-package/untyped.mjs +2 -4
- package/dist/src/executors/esbuild/executor.js +8 -8
- package/dist/src/executors/esbuild/executor.mjs +7 -7
- package/dist/src/executors/esbuild/untyped.js +4 -8
- package/dist/src/executors/esbuild/untyped.mjs +3 -7
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/untyped.js +1 -1
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +8 -8
- package/dist/src/executors/size-limit/executor.mjs +7 -7
- package/dist/src/executors/size-limit/untyped.js +1 -1
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +8 -8
- package/dist/src/executors/typia/executor.mjs +7 -7
- package/dist/src/executors/typia/untyped.js +4 -12
- package/dist/src/executors/typia/untyped.mjs +4 -12
- package/dist/src/executors/unbuild/executor.js +8 -8
- package/dist/src/executors/unbuild/executor.mjs +7 -7
- package/dist/src/executors/unbuild/untyped.js +6 -13
- package/dist/src/executors/unbuild/untyped.mjs +5 -12
- package/dist/src/generators/browser-library/generator.js +10 -10
- package/dist/src/generators/browser-library/generator.mjs +9 -9
- package/dist/src/generators/browser-library/untyped.js +5 -11
- package/dist/src/generators/browser-library/untyped.mjs +4 -10
- package/dist/src/generators/config-schema/generator.js +8 -8
- package/dist/src/generators/config-schema/generator.mjs +7 -7
- package/dist/src/generators/config-schema/untyped.js +1 -1
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +2 -2
- package/dist/src/generators/init/untyped.js +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +10 -10
- package/dist/src/generators/neutral-library/generator.mjs +9 -9
- package/dist/src/generators/neutral-library/untyped.js +5 -10
- package/dist/src/generators/neutral-library/untyped.mjs +4 -9
- package/dist/src/generators/node-library/generator.js +10 -10
- package/dist/src/generators/node-library/generator.mjs +9 -9
- package/dist/src/generators/node-library/untyped.js +5 -11
- package/dist/src/generators/node-library/untyped.mjs +4 -10
- package/dist/src/generators/preset/generator.js +8 -8
- package/dist/src/generators/preset/generator.mjs +7 -7
- package/dist/src/generators/preset/untyped.js +3 -11
- package/dist/src/generators/preset/untyped.mjs +3 -11
- package/dist/src/generators/release-version/generator.js +7 -7
- package/dist/src/generators/release-version/generator.mjs +6 -6
- package/dist/src/generators/release-version/untyped.js +3 -14
- package/dist/src/generators/release-version/untyped.mjs +3 -14
- package/dist/src/plugins/rust/cargo-toml.js +5 -5
- package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
- package/dist/src/plugins/rust/index.js +5 -5
- package/dist/src/plugins/rust/index.mjs +4 -4
- package/dist/src/plugins/typescript/index.js +5 -5
- package/dist/src/plugins/typescript/index.mjs +4 -4
- package/dist/src/plugins/typescript/project-config.js +5 -5
- package/dist/src/plugins/typescript/project-config.mjs +4 -4
- package/dist/src/plugins/typescript/tsup.js +114 -109
- package/dist/src/plugins/typescript/tsup.mjs +116 -111
- package/dist/src/plugins/typescript/untyped-schema.js +93 -77
- package/dist/src/plugins/typescript/untyped-schema.mjs +96 -80
- package/dist/src/types.js +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.js +5 -5
- package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
- package/dist/src/utils/cargo.js +3 -3
- package/dist/src/utils/cargo.mjs +2 -2
- package/dist/src/utils/create-cli-options.js +3 -3
- package/dist/src/utils/create-cli-options.mjs +2 -2
- package/dist/src/utils/get-project-configurations.js +5 -5
- package/dist/src/utils/get-project-configurations.mjs +4 -4
- package/dist/src/utils/index.js +15 -15
- package/dist/src/utils/index.mjs +14 -14
- package/dist/src/utils/lock-file.js +3 -3
- package/dist/src/utils/lock-file.mjs +2 -2
- package/dist/src/utils/package-helpers.js +5 -5
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.js +4 -4
- package/dist/src/utils/plugin-helpers.mjs +3 -3
- package/dist/src/utils/pnpm-deps-update.js +4 -4
- package/dist/src/utils/pnpm-deps-update.mjs +3 -3
- package/dist/src/utils/project-tags.js +3 -3
- package/dist/src/utils/project-tags.mjs +2 -2
- package/dist/src/utils/toml.js +3 -3
- package/dist/src/utils/toml.mjs +2 -2
- package/dist/src/utils/typia-transform.js +3 -3
- package/dist/src/utils/typia-transform.mjs +2 -2
- package/dist/src/utils/versions.js +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3GQAWCBQ.js +0 -13
- package/dist/chunk-3IZ3O4OK.js +0 -30
- package/dist/chunk-6JJB5AYA.js +0 -51
- package/dist/chunk-6JTXR7YX.mjs +0 -18
- package/dist/chunk-6RHWGD7G.mjs +0 -48
- package/dist/chunk-7AXFMX2T.js +0 -37
- package/dist/chunk-A77TLQ44.mjs +0 -32
- package/dist/chunk-B3DVFXXD.js +0 -32
- package/dist/chunk-BC7L3S46.mjs +0 -51
- package/dist/chunk-BNMJYJOZ.mjs +0 -446
- package/dist/chunk-CUWWZLK7.mjs +0 -37
- package/dist/chunk-HOXPAVCL.js +0 -32
- package/dist/chunk-ICPUM2HS.js +0 -50
- package/dist/chunk-JJ4PSTY4.mjs +0 -32
- package/dist/chunk-JMCJJNBJ.mjs +0 -102
- package/dist/chunk-KEBNU3P2.js +0 -446
- package/dist/chunk-KTRA4YQT.mjs +0 -32
- package/dist/chunk-M2VZ44W7.mjs +0 -13
- package/dist/chunk-NG7BO4BF.mjs +0 -468
- package/dist/chunk-NSCWEC2S.js +0 -32
- package/dist/chunk-OQTJDGUH.js +0 -468
- package/dist/chunk-ORWCIVMB.mjs +0 -30
- package/dist/chunk-RUKOOSWL.js +0 -31
- package/dist/chunk-T6VIUVAL.mjs +0 -43
- package/dist/chunk-TET4GF3D.js +0 -43
- package/dist/chunk-XITP2BX2.js +0 -13
- package/dist/chunk-YMGMEPP5.mjs +0 -86
- package/dist/chunk-YW4UN25U.js +0 -86
- package/dist/chunk-ZJZOACSR.mjs +0 -31
- package/dist/chunk-ZTVHEV5N.mjs +0 -50
package/dist/chunk-OQTJDGUH.js
DELETED
|
@@ -1,468 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
var _chunkUF6KFXG5js = require('./chunk-UF6KFXG5.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunk7YRW5HNXjs = require('./chunk-7YRW5HNX.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
13
|
-
|
|
14
|
-
// src/plugins/typescript/project-config.ts
|
|
15
|
-
var _devkit = require('@nx/devkit');
|
|
16
|
-
var _fs = require('fs');
|
|
17
|
-
var _path = require('path');
|
|
18
|
-
var _nxjsonjs = require('nx/src/config/nx-json.js');
|
|
19
|
-
var _fileutils = require('nx/src/utils/fileutils');
|
|
20
|
-
var _packagejson = require('nx/src/utils/package-json');
|
|
21
|
-
var _pkgtypes = require('pkg-types');
|
|
22
|
-
var name = "storm-software/typescript";
|
|
23
|
-
var createNodesV2 = [
|
|
24
|
-
"{project.json,**/project.json}",
|
|
25
|
-
async (configFiles, options = {
|
|
26
|
-
includeApps: true
|
|
27
|
-
}, context) => {
|
|
28
|
-
return await _devkit.createNodesFromFiles.call(void 0, async (file, options2 = {
|
|
29
|
-
includeApps: true
|
|
30
|
-
}, context2) => {
|
|
31
|
-
try {
|
|
32
|
-
const packageJson = createPackageJson(file, context2.workspaceRoot);
|
|
33
|
-
if (!packageJson) {
|
|
34
|
-
return [];
|
|
35
|
-
}
|
|
36
|
-
const tsconfig = await createTsconfig(file, context2.workspaceRoot);
|
|
37
|
-
if (!tsconfig) {
|
|
38
|
-
return [];
|
|
39
|
-
}
|
|
40
|
-
const project = createProjectFromPackageJsonNextToProjectJson(file, packageJson);
|
|
41
|
-
if (_optionalChain([options2, 'optionalAccess', _ => _.includeApps]) === false && project.projectType === "application") {
|
|
42
|
-
return [];
|
|
43
|
-
}
|
|
44
|
-
let relativeRoot = project.root.replaceAll("\\", "/").replace(context2.workspaceRoot.replaceAll("\\", "/"), "");
|
|
45
|
-
if (relativeRoot.startsWith("/")) {
|
|
46
|
-
relativeRoot = relativeRoot.slice(1);
|
|
47
|
-
}
|
|
48
|
-
const enableMarkdownlint = _optionalChain([options2, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
|
|
49
|
-
const enableEslint = _optionalChain([options2, 'optionalAccess', _3 => _3.enableEslint]) !== false;
|
|
50
|
-
const nxJson = _nxjsonjs.readNxJson.call(void 0, context2.workspaceRoot);
|
|
51
|
-
const targets = _packagejson.readTargetsFromPackageJson.call(void 0, packageJson, nxJson);
|
|
52
|
-
if (_path.join.call(void 0, context2.workspaceRoot, project.root).startsWith(_path.join.call(void 0, context2.workspaceRoot, "tools")) && _optionalChain([options2, 'optionalAccess', _4 => _4.lintInternalTools]) !== true) {
|
|
53
|
-
targets.lint = {
|
|
54
|
-
dependsOn: [
|
|
55
|
-
"^lint"
|
|
56
|
-
],
|
|
57
|
-
executor: "nx:run-commands",
|
|
58
|
-
options: {
|
|
59
|
-
command: "echo 'Skipping linting of internal tools package \"{projectName}\". This can be changed by setting `lintInternalTools` to `true` in the Storm TypeScript plugin options.' "
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
} else {
|
|
63
|
-
if (!targets["lint-ls"]) {
|
|
64
|
-
targets["lint-ls"] = {
|
|
65
|
-
cache: true,
|
|
66
|
-
inputs: [
|
|
67
|
-
"linting",
|
|
68
|
-
"typescript",
|
|
69
|
-
"^production"
|
|
70
|
-
],
|
|
71
|
-
dependsOn: [
|
|
72
|
-
"^lint-ls"
|
|
73
|
-
],
|
|
74
|
-
executor: "nx:run-commands",
|
|
75
|
-
options: {
|
|
76
|
-
command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
if (!targets["lint-markdown"] && enableMarkdownlint) {
|
|
81
|
-
targets["lint-markdown"] = {
|
|
82
|
-
cache: true,
|
|
83
|
-
outputs: [
|
|
84
|
-
"{projectRoot}/**/*.md",
|
|
85
|
-
"{projectRoot}/**/*.mdx"
|
|
86
|
-
],
|
|
87
|
-
inputs: [
|
|
88
|
-
"linting",
|
|
89
|
-
"{projectRoot}/**/*.md",
|
|
90
|
-
"{projectRoot}/**/*.mdx"
|
|
91
|
-
],
|
|
92
|
-
dependsOn: [
|
|
93
|
-
"^lint-markdown"
|
|
94
|
-
],
|
|
95
|
-
executor: "nx:run-commands",
|
|
96
|
-
options: {
|
|
97
|
-
command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
if (!targets.lint && enableEslint) {
|
|
102
|
-
let eslintConfig = checkEslintConfigAtPath(project.root);
|
|
103
|
-
if (!eslintConfig) {
|
|
104
|
-
eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
|
|
105
|
-
}
|
|
106
|
-
if (eslintConfig) {
|
|
107
|
-
targets.lint = {
|
|
108
|
-
cache: true,
|
|
109
|
-
inputs: [
|
|
110
|
-
"linting",
|
|
111
|
-
"typescript",
|
|
112
|
-
"^production"
|
|
113
|
-
],
|
|
114
|
-
outputs: [
|
|
115
|
-
"{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
|
|
116
|
-
],
|
|
117
|
-
dependsOn: [
|
|
118
|
-
"lint-markdown",
|
|
119
|
-
"lint-knip",
|
|
120
|
-
"^lint"
|
|
121
|
-
],
|
|
122
|
-
executor: "@nx/eslint:lint",
|
|
123
|
-
options: {
|
|
124
|
-
format: "stylish",
|
|
125
|
-
fix: true,
|
|
126
|
-
errorOnUnmatchedPattern: false,
|
|
127
|
-
cache: true,
|
|
128
|
-
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
|
|
129
|
-
eslintConfig
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
if (!targets["format-toml"]) {
|
|
136
|
-
targets["format-toml"] = {
|
|
137
|
-
inputs: [
|
|
138
|
-
"linting",
|
|
139
|
-
"{projectRoot}/**/*.toml"
|
|
140
|
-
],
|
|
141
|
-
outputs: [
|
|
142
|
-
"{projectRoot}/**/*.toml"
|
|
143
|
-
],
|
|
144
|
-
dependsOn: [
|
|
145
|
-
"^format-toml"
|
|
146
|
-
],
|
|
147
|
-
executor: "nx:run-commands",
|
|
148
|
-
options: {
|
|
149
|
-
command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
if (!targets["format-readme"]) {
|
|
154
|
-
targets["format-readme"] = {
|
|
155
|
-
inputs: [
|
|
156
|
-
"linting",
|
|
157
|
-
"documentation",
|
|
158
|
-
"{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
|
|
159
|
-
],
|
|
160
|
-
outputs: [
|
|
161
|
-
"{projectRoot}/README.md"
|
|
162
|
-
],
|
|
163
|
-
dependsOn: [
|
|
164
|
-
"^format-readme"
|
|
165
|
-
],
|
|
166
|
-
executor: "nx:run-commands",
|
|
167
|
-
options: {
|
|
168
|
-
command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
if (!targets["format-prettier"]) {
|
|
173
|
-
targets["format-prettier"] = {
|
|
174
|
-
inputs: [
|
|
175
|
-
"linting",
|
|
176
|
-
"typescript",
|
|
177
|
-
"^production"
|
|
178
|
-
],
|
|
179
|
-
outputs: [
|
|
180
|
-
"{projectRoot}/**/*"
|
|
181
|
-
],
|
|
182
|
-
dependsOn: [
|
|
183
|
-
"^format-prettier"
|
|
184
|
-
],
|
|
185
|
-
executor: "nx:run-commands",
|
|
186
|
-
options: {
|
|
187
|
-
command: 'pnpm exec prettier "{projectRoot}/**/*" --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/config.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore" --cache --cache-location="node_modules/.cache/prettier/{projectRoot}" '
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
if (!targets.format) {
|
|
192
|
-
targets.format = {
|
|
193
|
-
dependsOn: [
|
|
194
|
-
"format-readme",
|
|
195
|
-
"format-toml",
|
|
196
|
-
"format-prettier",
|
|
197
|
-
"^format"
|
|
198
|
-
],
|
|
199
|
-
executor: "nx:run-commands",
|
|
200
|
-
options: {
|
|
201
|
-
command: `echo 'Formatting the project files in "{projectRoot}"' `
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
if (!targets.clean) {
|
|
206
|
-
targets.clean = {
|
|
207
|
-
cache: true,
|
|
208
|
-
executor: "nx:run-commands",
|
|
209
|
-
inputs: [
|
|
210
|
-
"typescript",
|
|
211
|
-
"^production"
|
|
212
|
-
],
|
|
213
|
-
outputs: [
|
|
214
|
-
"{workspaceRoot}/dist/{projectRoot}"
|
|
215
|
-
],
|
|
216
|
-
options: {
|
|
217
|
-
command: "pnpm exec rimraf dist/{projectRoot}",
|
|
218
|
-
color: true,
|
|
219
|
-
cwd: "{workspaceRoot}"
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
if (!targets.rebuild) {
|
|
224
|
-
targets.rebuild = {
|
|
225
|
-
cache: false,
|
|
226
|
-
executor: "nx:run-commands",
|
|
227
|
-
dependsOn: [
|
|
228
|
-
"clean",
|
|
229
|
-
"^build"
|
|
230
|
-
],
|
|
231
|
-
inputs: [
|
|
232
|
-
"typescript",
|
|
233
|
-
"default",
|
|
234
|
-
"^production"
|
|
235
|
-
],
|
|
236
|
-
outputs: [
|
|
237
|
-
"{workspaceRoot}/dist/{projectRoot}"
|
|
238
|
-
],
|
|
239
|
-
options: {
|
|
240
|
-
command: `pnpm exec nx run ${project.name}:build`
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
if (!targets.test && checkJestConfigAtPath(project.root)) {
|
|
245
|
-
targets.test = {
|
|
246
|
-
cache: true,
|
|
247
|
-
executor: "@nx/jest:jest",
|
|
248
|
-
inputs: [
|
|
249
|
-
"testing",
|
|
250
|
-
"typescript",
|
|
251
|
-
"^production"
|
|
252
|
-
],
|
|
253
|
-
outputs: [
|
|
254
|
-
"{workspaceRoot}/coverage/{projectRoot}"
|
|
255
|
-
],
|
|
256
|
-
defaultConfiguration: "development",
|
|
257
|
-
options: {
|
|
258
|
-
jestConfig: "{projectRoot}/jest.config.ts",
|
|
259
|
-
passWithNoTests: true
|
|
260
|
-
},
|
|
261
|
-
configurations: {
|
|
262
|
-
development: {
|
|
263
|
-
ci: false,
|
|
264
|
-
codeCoverage: true
|
|
265
|
-
},
|
|
266
|
-
production: {
|
|
267
|
-
ci: true,
|
|
268
|
-
codeCoverage: true
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
targets["size-limit"] = {
|
|
274
|
-
dependsOn: [
|
|
275
|
-
"build",
|
|
276
|
-
"^size-limit"
|
|
277
|
-
],
|
|
278
|
-
options: {}
|
|
279
|
-
};
|
|
280
|
-
const isPrivate = _nullishCoalesce(packageJson.private, () => ( false));
|
|
281
|
-
if (!isPrivate) {
|
|
282
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Registry.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Registry.NPM, {
|
|
283
|
-
overwrite: true
|
|
284
|
-
});
|
|
285
|
-
targets["nx-release-publish"] = {
|
|
286
|
-
dependsOn: [
|
|
287
|
-
"build",
|
|
288
|
-
"size-limit",
|
|
289
|
-
"^nx-release-publish"
|
|
290
|
-
],
|
|
291
|
-
executor: "@storm-software/workspace-tools:npm-publish",
|
|
292
|
-
options: {}
|
|
293
|
-
};
|
|
294
|
-
if (project.projectType === "application" || _chunk7YRW5HNXjs.isEqualProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.ProjectType.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.ProjectType.APPLICATION) || _chunk7YRW5HNXjs.isEqualProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.DistStyle.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.DistStyle.CLEAN)) {
|
|
295
|
-
targets["clean-package"] = {
|
|
296
|
-
cache: true,
|
|
297
|
-
dependsOn: [
|
|
298
|
-
"build"
|
|
299
|
-
],
|
|
300
|
-
inputs: [
|
|
301
|
-
"linting",
|
|
302
|
-
"testing",
|
|
303
|
-
"documentation",
|
|
304
|
-
"default",
|
|
305
|
-
"^production"
|
|
306
|
-
],
|
|
307
|
-
outputs: [
|
|
308
|
-
"{workspaceRoot}/dist/{projectRoot}"
|
|
309
|
-
],
|
|
310
|
-
executor: "@storm-software/workspace-tools:clean-package",
|
|
311
|
-
options: {
|
|
312
|
-
cleanReadMe: true,
|
|
313
|
-
cleanComments: true
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
_optionalChain([targets, 'access', _5 => _5["nx-release-publish"], 'access', _6 => _6.dependsOn, 'optionalAccess', _7 => _7.push, 'call', _8 => _8("clean-package")]);
|
|
317
|
-
_optionalChain([targets, 'access', _9 => _9["size-limit"], 'access', _10 => _10.dependsOn, 'optionalAccess', _11 => _11.push, 'call', _12 => _12("clean-package")]);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TYPESCRIPT, {
|
|
321
|
-
overwrite: true
|
|
322
|
-
});
|
|
323
|
-
const platform = _chunkUF6KFXG5js.getProjectPlatform.call(void 0, project);
|
|
324
|
-
switch (platform) {
|
|
325
|
-
case "worker":
|
|
326
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER, {
|
|
327
|
-
overwrite: true
|
|
328
|
-
});
|
|
329
|
-
break;
|
|
330
|
-
case "node":
|
|
331
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE, {
|
|
332
|
-
overwrite: true
|
|
333
|
-
});
|
|
334
|
-
break;
|
|
335
|
-
case "browser":
|
|
336
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER, {
|
|
337
|
-
overwrite: true
|
|
338
|
-
});
|
|
339
|
-
break;
|
|
340
|
-
default:
|
|
341
|
-
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
|
|
342
|
-
overwrite: true
|
|
343
|
-
});
|
|
344
|
-
break;
|
|
345
|
-
}
|
|
346
|
-
_chunk7YRW5HNXjs.setDefaultProjectTags.call(void 0, project, name);
|
|
347
|
-
const result = _optionalChain([project, 'optionalAccess', _13 => _13.name]) ? {
|
|
348
|
-
projects: {
|
|
349
|
-
[project.name]: {
|
|
350
|
-
...project,
|
|
351
|
-
root: relativeRoot,
|
|
352
|
-
targets,
|
|
353
|
-
release: {
|
|
354
|
-
..._optionalChain([project, 'optionalAccess', _14 => _14.release]),
|
|
355
|
-
version: {
|
|
356
|
-
..._optionalChain([project, 'optionalAccess', _15 => _15.release, 'optionalAccess', _16 => _16.version]),
|
|
357
|
-
generator: "@storm-software/workspace-tools:release-version"
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
} : {};
|
|
363
|
-
console.log(`Writing Results for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _17 => _17.name]), () => ( "missing name"))}`);
|
|
364
|
-
console.log(result);
|
|
365
|
-
return result;
|
|
366
|
-
} catch (e) {
|
|
367
|
-
console.error(e);
|
|
368
|
-
return {};
|
|
369
|
-
}
|
|
370
|
-
}, configFiles, options, context);
|
|
371
|
-
}
|
|
372
|
-
];
|
|
373
|
-
function createProjectFromPackageJsonNextToProjectJson(projectJsonPath, packageJson) {
|
|
374
|
-
const { nx, name: name2 } = packageJson;
|
|
375
|
-
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
376
|
-
return {
|
|
377
|
-
...nx,
|
|
378
|
-
name: name2,
|
|
379
|
-
root,
|
|
380
|
-
targets: {}
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
_chunk3GQAWCBQjs.__name.call(void 0, createProjectFromPackageJsonNextToProjectJson, "createProjectFromPackageJsonNextToProjectJson");
|
|
384
|
-
function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
385
|
-
try {
|
|
386
|
-
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
387
|
-
const packageJsonPath = _path.join.call(void 0, workspaceRoot, root, "package.json");
|
|
388
|
-
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
389
|
-
return null;
|
|
390
|
-
}
|
|
391
|
-
return _fileutils.readJsonFile.call(void 0, packageJsonPath);
|
|
392
|
-
} catch (e) {
|
|
393
|
-
console.log(e);
|
|
394
|
-
return null;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
_chunk3GQAWCBQjs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
398
|
-
async function createTsconfig(projectJsonPath, workspaceRoot) {
|
|
399
|
-
try {
|
|
400
|
-
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
401
|
-
const tsconfigJsonPath = _path.join.call(void 0, workspaceRoot, root, "tsconfig.json");
|
|
402
|
-
if (!_fs.existsSync.call(void 0, tsconfigJsonPath)) {
|
|
403
|
-
return null;
|
|
404
|
-
}
|
|
405
|
-
return _pkgtypes.readTSConfig.call(void 0, tsconfigJsonPath);
|
|
406
|
-
} catch (e) {
|
|
407
|
-
console.log(e);
|
|
408
|
-
return null;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
_chunk3GQAWCBQjs.__name.call(void 0, createTsconfig, "createTsconfig");
|
|
412
|
-
function checkEslintConfigAtPath(directory) {
|
|
413
|
-
const hasEslintConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName) => {
|
|
414
|
-
return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
|
|
415
|
-
}, "hasEslintConfigFile");
|
|
416
|
-
if (hasEslintConfigFile(".eslintrc.js")) {
|
|
417
|
-
return ".eslintrc.js";
|
|
418
|
-
} else if (hasEslintConfigFile(".eslintrc.cjs")) {
|
|
419
|
-
return ".eslintrc.cjs";
|
|
420
|
-
} else if (hasEslintConfigFile(".eslintrc.yaml")) {
|
|
421
|
-
return ".eslintrc.yaml";
|
|
422
|
-
} else if (hasEslintConfigFile(".eslintrc.yml")) {
|
|
423
|
-
return ".eslintrc.yml";
|
|
424
|
-
} else if (hasEslintConfigFile(".eslintrc.json")) {
|
|
425
|
-
return ".eslintrc.json";
|
|
426
|
-
} else if (hasEslintConfigFile(".eslintrc")) {
|
|
427
|
-
return ".eslintrc";
|
|
428
|
-
} else if (hasEslintConfigFile("eslint.config.js")) {
|
|
429
|
-
return "eslint.config.js";
|
|
430
|
-
} else if (hasEslintConfigFile("eslint.config.cjs")) {
|
|
431
|
-
return "eslint.config.cjs";
|
|
432
|
-
} else if (hasEslintConfigFile("eslint.config.mjs")) {
|
|
433
|
-
return "eslint.config.mjs";
|
|
434
|
-
} else if (hasEslintConfigFile("eslint.config.ts")) {
|
|
435
|
-
return "eslint.config.ts";
|
|
436
|
-
} else if (hasEslintConfigFile("eslint.config.cts")) {
|
|
437
|
-
return "eslint.config.cts";
|
|
438
|
-
} else if (hasEslintConfigFile("eslint.config.mts")) {
|
|
439
|
-
return "eslint.config.mts";
|
|
440
|
-
}
|
|
441
|
-
return null;
|
|
442
|
-
}
|
|
443
|
-
_chunk3GQAWCBQjs.__name.call(void 0, checkEslintConfigAtPath, "checkEslintConfigAtPath");
|
|
444
|
-
function checkJestConfigAtPath(directory) {
|
|
445
|
-
const hasJestConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName) => {
|
|
446
|
-
return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
|
|
447
|
-
}, "hasJestConfigFile");
|
|
448
|
-
if (hasJestConfigFile("eslint.config.js")) {
|
|
449
|
-
return "jest.config.js";
|
|
450
|
-
} else if (hasJestConfigFile("eslint.config.cjs")) {
|
|
451
|
-
return "jest.config.cjs";
|
|
452
|
-
} else if (hasJestConfigFile("eslint.config.mjs")) {
|
|
453
|
-
return "jest.config.mjs";
|
|
454
|
-
} else if (hasJestConfigFile("eslint.config.ts")) {
|
|
455
|
-
return "jest.config.ts";
|
|
456
|
-
} else if (hasJestConfigFile("jest.config.cts")) {
|
|
457
|
-
return "jest.config.cts";
|
|
458
|
-
} else if (hasJestConfigFile("jest.config.mts")) {
|
|
459
|
-
return "jest.config.mts";
|
|
460
|
-
}
|
|
461
|
-
return null;
|
|
462
|
-
}
|
|
463
|
-
_chunk3GQAWCBQjs.__name.call(void 0, checkJestConfigAtPath, "checkJestConfigAtPath");
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
exports.name = name; exports.createNodesV2 = createNodesV2;
|
package/dist/chunk-ORWCIVMB.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__name
|
|
3
|
-
} from "./chunk-L2DHGVS5.mjs";
|
|
4
|
-
|
|
5
|
-
// src/generators/init/init.ts
|
|
6
|
-
import { addDependenciesToPackageJson, formatFiles } from "@nx/devkit";
|
|
7
|
-
async function initGenerator(tree, schema) {
|
|
8
|
-
const task = addDependenciesToPackageJson(tree, {
|
|
9
|
-
nx: "^19.6.2",
|
|
10
|
-
"@nx/workspace": "^19.6.2",
|
|
11
|
-
"@nx/js": "^19.6.2",
|
|
12
|
-
"@storm-software/eslint": "latest",
|
|
13
|
-
"@storm-software/prettier": "latest",
|
|
14
|
-
"@storm-software/config-tools": "latest",
|
|
15
|
-
"@storm-software/testing-tools": "latest",
|
|
16
|
-
"@storm-software/git-tools": "latest",
|
|
17
|
-
"@storm-software/linting-tools": "latest"
|
|
18
|
-
}, {});
|
|
19
|
-
if (!schema.skipFormat) {
|
|
20
|
-
await formatFiles(tree);
|
|
21
|
-
}
|
|
22
|
-
return task;
|
|
23
|
-
}
|
|
24
|
-
__name(initGenerator, "initGenerator");
|
|
25
|
-
var init_default = initGenerator;
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
initGenerator,
|
|
29
|
-
init_default
|
|
30
|
-
};
|
package/dist/chunk-RUKOOSWL.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk6CGAYKQLjs = require('./chunk-6CGAYKQL.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
11
|
-
|
|
12
|
-
// src/executors/cargo-check/executor.ts
|
|
13
|
-
async function cargoCheckExecutor(options, context) {
|
|
14
|
-
const command = _chunkULBTYC2Bjs.buildCargoCommand.call(void 0, "check", options, context);
|
|
15
|
-
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
|
-
}
|
|
17
|
-
_chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
|
|
18
|
-
var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
|
|
19
|
-
skipReadingConfig: false,
|
|
20
|
-
hooks: {
|
|
21
|
-
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
22
|
-
options.toolchain ??= "stable";
|
|
23
|
-
return options;
|
|
24
|
-
}, "applyDefaultOptions")
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.cargoCheckExecutor = cargoCheckExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-T6VIUVAL.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildCargoCommand,
|
|
3
|
-
cargoCommand
|
|
4
|
-
} from "./chunk-62XRHQ44.mjs";
|
|
5
|
-
import {
|
|
6
|
-
withRunExecutor
|
|
7
|
-
} from "./chunk-LSG534D5.mjs";
|
|
8
|
-
import {
|
|
9
|
-
__name
|
|
10
|
-
} from "./chunk-L2DHGVS5.mjs";
|
|
11
|
-
|
|
12
|
-
// src/executors/cargo-doc/executor.ts
|
|
13
|
-
async function cargoDocExecutor(options, context) {
|
|
14
|
-
const opts = {
|
|
15
|
-
...options
|
|
16
|
-
};
|
|
17
|
-
opts["no-deps"] = opts.noDeps;
|
|
18
|
-
delete opts.noDeps;
|
|
19
|
-
const command = buildCargoCommand("doc", options, context);
|
|
20
|
-
return await cargoCommand(...command);
|
|
21
|
-
}
|
|
22
|
-
__name(cargoDocExecutor, "cargoDocExecutor");
|
|
23
|
-
var executor_default = withRunExecutor("Cargo Doc", cargoDocExecutor, {
|
|
24
|
-
skipReadingConfig: false,
|
|
25
|
-
hooks: {
|
|
26
|
-
applyDefaultOptions: /* @__PURE__ */ __name((options) => {
|
|
27
|
-
options.outputPath ??= "dist/docs/{projectRoot}";
|
|
28
|
-
options.toolchain ??= "stable";
|
|
29
|
-
options.release ??= options.profile ? false : true;
|
|
30
|
-
options.allFeatures ??= true;
|
|
31
|
-
options.lib ??= true;
|
|
32
|
-
options.bins ??= true;
|
|
33
|
-
options.examples ??= true;
|
|
34
|
-
options.noDeps ??= false;
|
|
35
|
-
return options;
|
|
36
|
-
}, "applyDefaultOptions")
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
export {
|
|
41
|
-
cargoDocExecutor,
|
|
42
|
-
executor_default
|
|
43
|
-
};
|
package/dist/chunk-TET4GF3D.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk6CGAYKQLjs = require('./chunk-6CGAYKQL.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
11
|
-
|
|
12
|
-
// src/executors/cargo-doc/executor.ts
|
|
13
|
-
async function cargoDocExecutor(options, context) {
|
|
14
|
-
const opts = {
|
|
15
|
-
...options
|
|
16
|
-
};
|
|
17
|
-
opts["no-deps"] = opts.noDeps;
|
|
18
|
-
delete opts.noDeps;
|
|
19
|
-
const command = _chunkULBTYC2Bjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
20
|
-
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
21
|
-
}
|
|
22
|
-
_chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
|
|
23
|
-
var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
|
|
24
|
-
skipReadingConfig: false,
|
|
25
|
-
hooks: {
|
|
26
|
-
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
27
|
-
options.outputPath ??= "dist/docs/{projectRoot}";
|
|
28
|
-
options.toolchain ??= "stable";
|
|
29
|
-
options.release ??= options.profile ? false : true;
|
|
30
|
-
options.allFeatures ??= true;
|
|
31
|
-
options.lib ??= true;
|
|
32
|
-
options.bins ??= true;
|
|
33
|
-
options.examples ??= true;
|
|
34
|
-
options.noDeps ??= false;
|
|
35
|
-
return options;
|
|
36
|
-
}, "applyDefaultOptions")
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
exports.cargoDocExecutor = cargoDocExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-XITP2BX2.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
-
|
|
3
|
-
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
4
|
-
|
|
5
|
-
// src/utils/typia-transform.ts
|
|
6
|
-
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
7
|
-
var getTypiaTransform = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (program, diagnostics) => _transform2.default.call(void 0, program, {}, {
|
|
8
|
-
addDiagnostic: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (input) => diagnostics.push(input), "addDiagnostic")
|
|
9
|
-
}), "getTypiaTransform");
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.getTypiaTransform = getTypiaTransform;
|