@storm-software/workspace-tools 1.296.78 → 1.296.81
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/README.md +1 -1
- package/dist/{chunk-H4BZ2XJ6.mjs → chunk-2OB3TJFJ.mjs} +2 -2
- package/dist/{chunk-6PL6C6JQ.js → chunk-2R2MHEOI.js} +2 -2
- package/dist/{chunk-WK6YLIUT.mjs → chunk-2UJDNCR7.mjs} +2 -2
- package/dist/{chunk-DLZFR63X.js → chunk-323C3SE6.js} +2 -2
- package/dist/{chunk-WCG3YZT5.mjs → chunk-3ILHY6UE.mjs} +3 -3
- package/dist/{chunk-HXQRGLII.js → chunk-3PMAVAFI.js} +2 -2
- package/dist/{chunk-ZOOATPKM.mjs → chunk-3S7IQWT7.mjs} +1 -1
- package/dist/{chunk-LQ4UTUAF.js → chunk-4ARF5MP2.js} +6 -6
- package/dist/{chunk-DHJTU33T.mjs → chunk-4RR3IGJL.mjs} +1 -1
- package/dist/{chunk-QGDBHZ2M.js → chunk-5E753H52.js} +2 -2
- package/dist/{chunk-GOJ243WU.js → chunk-5PC3QVAF.js} +2 -2
- package/dist/{chunk-5THQG4I5.mjs → chunk-63IIWMRM.mjs} +1 -1
- package/dist/{chunk-OZ5BVPYJ.mjs → chunk-6S6QE7OG.mjs} +1 -1
- package/dist/{chunk-2QMGYIOO.mjs → chunk-6YP444OR.mjs} +1 -1
- package/dist/{chunk-U5VDFK5U.js → chunk-AEDI2SBN.js} +2 -2
- package/dist/{chunk-NHCDW7CD.mjs → chunk-B37LR2KQ.mjs} +1 -1
- package/dist/{chunk-LQBNMDPY.mjs → chunk-C2QNKR3W.mjs} +2 -2
- package/dist/{chunk-BVY6TUTT.mjs → chunk-CWE3LKLU.mjs} +3 -3
- package/dist/{chunk-IP23MSZ4.mjs → chunk-D5MRSAIQ.mjs} +1 -1
- package/dist/{chunk-VXHOSAQ7.js → chunk-DIIMX7QF.js} +2 -2
- package/dist/{chunk-UBVTASOE.mjs → chunk-EDROFLKN.mjs} +1 -1
- package/dist/{chunk-3ZTDNSFF.js → chunk-EEMND2GI.js} +2 -2
- package/dist/{chunk-R6Y2OAA4.mjs → chunk-EHJC5RYU.mjs} +2 -2
- package/dist/{chunk-6SGLYIAR.js → chunk-F6U5OQR6.js} +8 -8
- package/dist/{chunk-3LFBUXYQ.mjs → chunk-FEHSLYPB.mjs} +1 -1
- package/dist/{chunk-AH7KAAQJ.mjs → chunk-FL2BH4QQ.mjs} +1 -1
- package/dist/{chunk-DQYZOPO7.mjs → chunk-FX6ULQZH.mjs} +3 -3
- package/dist/{chunk-65774IGV.mjs → chunk-GJ35IQWQ.mjs} +1 -1
- package/dist/{chunk-LMYTVXGX.js → chunk-GUI4USIO.js} +3 -1
- package/dist/{chunk-GU3JSJVG.js → chunk-GYOKIIB3.js} +2 -2
- package/dist/{chunk-RCJKWUC3.js → chunk-HQUL4XZI.js} +2 -2
- package/dist/{chunk-U7X7MAHX.mjs → chunk-JU6WU2TC.mjs} +1 -1
- package/dist/{chunk-3J2CP54B.mjs → chunk-JUJWJXED.mjs} +3 -1
- package/dist/{chunk-6JPLZS7V.js → chunk-KGLVCKYK.js} +2 -2
- package/dist/{chunk-KV522LHW.js → chunk-KTRUDBKV.js} +7 -7
- package/dist/{chunk-ETZOESEM.js → chunk-LLSSYWDG.js} +2 -2
- package/dist/{chunk-KIEM2PKS.mjs → chunk-N2SWGQYO.mjs} +1 -1
- package/dist/{chunk-SWRGTRTW.js → chunk-NECG6355.js} +2 -2
- package/dist/{chunk-QTRRVFW3.js → chunk-NEI4NCUG.js} +7 -7
- package/dist/{chunk-ANOLNHIH.js → chunk-OTF4YRBO.js} +2 -2
- package/dist/{chunk-JODIITKJ.mjs → chunk-OYAGJAJC.mjs} +1 -1
- package/dist/{chunk-QJ7X75J7.mjs → chunk-Q36BH543.mjs} +2 -2
- package/dist/{chunk-32U6V6W2.js → chunk-QSTZP7MX.js} +7 -7
- package/dist/{chunk-3QCVXOSB.js → chunk-RQTILTHD.js} +7 -7
- package/dist/{chunk-DIUWF7BW.js → chunk-UAK3EVR2.js} +2 -2
- package/dist/{chunk-NVQEK4YA.mjs → chunk-VLALGAEO.mjs} +1 -1
- package/dist/{chunk-JGXYRLRO.mjs → chunk-VO3QUJGP.mjs} +1 -1
- package/dist/{chunk-2WUWNWKR.js → chunk-WYXSJWM4.js} +2 -2
- package/dist/{chunk-KLFGYSH4.js → chunk-XELY5YI7.js} +2 -2
- package/dist/{chunk-J54QMYZO.mjs → chunk-Y5BPWYHW.mjs} +3 -3
- package/dist/{chunk-G5PC6KMK.js → chunk-YRVFGD7F.js} +2 -2
- package/dist/{chunk-PVYWMIYR.js → chunk-YXDHTGAK.js} +2 -2
- package/dist/{chunk-T2REIWDE.mjs → chunk-ZRSFSLQE.mjs} +1 -1
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +17 -17
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +12 -12
- package/dist/index.js +28 -28
- package/dist/index.mjs +29 -29
- package/dist/src/base/base-executor.js +5 -5
- package/dist/src/base/base-executor.mjs +5 -5
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +5 -5
- package/dist/src/base/base-generator.mjs +5 -5
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +6 -6
- package/dist/src/base/index.mjs +6 -6
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +6 -6
- package/dist/src/executors/cargo-build/executor.mjs +6 -6
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +6 -6
- package/dist/src/executors/cargo-check/executor.mjs +6 -6
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +6 -6
- package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +6 -6
- package/dist/src/executors/cargo-doc/executor.mjs +6 -6
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +6 -6
- package/dist/src/executors/cargo-format/executor.mjs +6 -6
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +5 -5
- package/dist/src/executors/clean-package/executor.mjs +5 -5
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +6 -6
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.js +6 -6
- package/dist/src/executors/napi/executor.mjs +6 -6
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +4 -4
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +6 -6
- package/dist/src/executors/size-limit/executor.mjs +6 -6
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +6 -6
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +6 -6
- package/dist/src/executors/typia/executor.mjs +6 -6
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +6 -6
- package/dist/src/executors/unbuild/executor.mjs +6 -6
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +6 -6
- package/dist/src/generators/browser-library/generator.mjs +6 -6
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +6 -6
- package/dist/src/generators/config-schema/generator.mjs +6 -6
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +6 -6
- package/dist/src/generators/neutral-library/generator.mjs +6 -6
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +6 -6
- package/dist/src/generators/node-library/generator.mjs +6 -6
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +6 -6
- package/dist/src/generators/preset/generator.mjs +6 -6
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.js +5 -5
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +4 -4
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.js +3 -3
- package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.js +3 -3
- package/dist/src/utils/get-project-configurations.mjs +3 -3
- package/dist/src/utils/github.mjs +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.mjs +1 -1
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-NTTC774E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y5BPWYHW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4RR3IGJL.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/browser-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -7,7 +7,7 @@ var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkQSTZP7MXjs = require('./chunk-QSTZP7MX.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunkQSTZP7MXjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-QC5ON3X4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y5BPWYHW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__dirname
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4RR3IGJL.mjs";
|
|
11
11
|
|
|
12
12
|
// src/generators/preset/generator.ts
|
|
13
13
|
import {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQSTZP7MXjs = require('./chunk-QSTZP7MX.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkQSTZP7MXjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CWE3LKLU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VO3QUJGP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
brandIcon,
|
|
9
9
|
getStopwatch,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-45CW7OJB.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JUJWJXED.mjs";
|
|
20
20
|
import {
|
|
21
21
|
joinPaths
|
|
22
22
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -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 _chunkGUI4USIOjs = require('./chunk-GUI4USIO.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]))), () => ( _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, )))
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
return result;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkGUI4USIOjs = require('./chunk-GUI4USIO.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -642,7 +642,7 @@ async function getPackageJsonConfig(root) {
|
|
|
642
642
|
let name = void 0;
|
|
643
643
|
let namespace = void 0;
|
|
644
644
|
let repository = void 0;
|
|
645
|
-
const workspaceRoot =
|
|
645
|
+
const workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, root);
|
|
646
646
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
|
|
647
647
|
const file = await _promises.readFile.call(void 0,
|
|
648
648
|
_chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
@@ -720,7 +720,7 @@ function applyDefaultConfig(config) {
|
|
|
720
720
|
|
|
721
721
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
722
722
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
723
|
-
const workspacePath = filePath ||
|
|
723
|
+
const workspacePath = filePath || _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, filePath);
|
|
724
724
|
const configs = await Promise.all([
|
|
725
725
|
_c12.loadConfig.call(void 0, {
|
|
726
726
|
cwd: workspacePath,
|
|
@@ -755,7 +755,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
755
755
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
756
756
|
};
|
|
757
757
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
758
|
-
const workspacePath = filePath ? filePath :
|
|
758
|
+
const workspacePath = filePath ? filePath : _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, filePath);
|
|
759
759
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
760
760
|
let config = result.config;
|
|
761
761
|
const configFile = result.configFile;
|
|
@@ -1399,7 +1399,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1399
1399
|
if (!_optionalChain([_static_cache, 'optionalAccess', _33 => _33.data]) || !_optionalChain([_static_cache, 'optionalAccess', _34 => _34.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1400
1400
|
let _workspaceRoot = workspaceRoot;
|
|
1401
1401
|
if (!_workspaceRoot) {
|
|
1402
|
-
_workspaceRoot =
|
|
1402
|
+
_workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, );
|
|
1403
1403
|
}
|
|
1404
1404
|
const configEnv = getConfigEnv();
|
|
1405
1405
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
@@ -1497,7 +1497,7 @@ function getConfig(workspaceRoot, skipLogs = false) {
|
|
|
1497
1497
|
function getWorkspaceConfig(skipLogs = true, options = {}) {
|
|
1498
1498
|
let workspaceRoot = options.workspaceRoot;
|
|
1499
1499
|
if (!workspaceRoot) {
|
|
1500
|
-
workspaceRoot =
|
|
1500
|
+
workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
1501
1501
|
}
|
|
1502
1502
|
return getConfig(workspaceRoot, skipLogs);
|
|
1503
1503
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__4d4bc1c01039622d83fab8d0e0c72c85/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRQTILTHDjs = require('./chunk-RQTILTHD.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 = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkRQTILTHDjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRQTILTHDjs = require('./chunk-RQTILTHD.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
@@ -101,7 +101,7 @@ cwd: ${normalizedOptions.cwd}`,
|
|
|
101
101
|
const { task } = await napi.build(normalizedOptions);
|
|
102
102
|
return { success: true, terminalOutput: await task };
|
|
103
103
|
}
|
|
104
|
-
var executor_default =
|
|
104
|
+
var executor_default = _chunkRQTILTHDjs.withRunExecutor.call(void 0,
|
|
105
105
|
"Napi - Build Bindings",
|
|
106
106
|
napiExecutor,
|
|
107
107
|
{
|
|
@@ -8,7 +8,7 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
8
8
|
var _chunkN2365RCIjs = require('./chunk-N2365RCI.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk4ARF5MP2js = require('./chunk-4ARF5MP2.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunk4ARF5MP2js.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-NTTC774E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y5BPWYHW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4RR3IGJL.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceProjectTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6YP444OR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VO3QUJGP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
formatLogMessage,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-45CW7OJB.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JUJWJXED.mjs";
|
|
22
22
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
import { defu } from "defu";
|
|
@@ -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 _chunkGUI4USIOjs = require('./chunk-GUI4USIO.js');
|
|
4
4
|
|
|
5
5
|
// src/utils/apply-workspace-tokens.ts
|
|
6
6
|
var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
|
|
@@ -51,7 +51,7 @@ var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
|
|
|
51
51
|
if (result.includes("{workspaceRoot}")) {
|
|
52
52
|
result = result.replaceAll(
|
|
53
53
|
"{workspaceRoot}",
|
|
54
|
-
_nullishCoalesce(tokenizerOptions.workspaceRoot, () => (
|
|
54
|
+
_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, )))
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
return result;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQSTZP7MXjs = require('./chunk-QSTZP7MX.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunkQSTZP7MXjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y5BPWYHW.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4RR3IGJL.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -6,10 +6,10 @@ var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
|
|
|
6
6
|
var _chunk46OIJVV3js = require('./chunk-46OIJVV3.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4ARF5MP2js = require('./chunk-4ARF5MP2.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkGUI4USIOjs = require('./chunk-GUI4USIO.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -29,7 +29,7 @@ var _stripansi = require('strip-ansi'); var _stripansi2 = _interopRequireDefault
|
|
|
29
29
|
var _fs = require('fs');
|
|
30
30
|
var _promises = require('fs/promises');
|
|
31
31
|
var _yaml = require('yaml');
|
|
32
|
-
function getPnpmWorkspaceFilePath(workspaceRoot =
|
|
32
|
+
function getPnpmWorkspaceFilePath(workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
33
33
|
const pnpmWorkspacePath = _chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
|
|
34
34
|
if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
|
|
35
35
|
throw new Error(
|
|
@@ -38,7 +38,7 @@ function getPnpmWorkspaceFilePath(workspaceRoot = _chunkLMYTVXGXjs.findWorkspace
|
|
|
38
38
|
}
|
|
39
39
|
return pnpmWorkspacePath;
|
|
40
40
|
}
|
|
41
|
-
async function readPnpmWorkspaceFile(workspaceRoot =
|
|
41
|
+
async function readPnpmWorkspaceFile(workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
42
42
|
const result = await _promises.readFile.call(void 0,
|
|
43
43
|
getPnpmWorkspaceFilePath(workspaceRoot),
|
|
44
44
|
"utf8"
|
|
@@ -50,7 +50,7 @@ async function readPnpmWorkspaceFile(workspaceRoot = _chunkLMYTVXGXjs.findWorksp
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
53
|
-
async function getCatalogSafe(workspaceRoot =
|
|
53
|
+
async function getCatalogSafe(workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
54
54
|
const pnpmWorkspaceFile = await readPnpmWorkspaceFile(workspaceRoot);
|
|
55
55
|
if (!pnpmWorkspaceFile) {
|
|
56
56
|
throw new Error("No pnpm-workspace.yaml file found");
|
|
@@ -73,7 +73,7 @@ File content: ${JSON.stringify(
|
|
|
73
73
|
}
|
|
74
74
|
return void 0;
|
|
75
75
|
}
|
|
76
|
-
async function getCatalog(workspaceRoot =
|
|
76
|
+
async function getCatalog(workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, process.cwd())) {
|
|
77
77
|
const catalog = await getCatalogSafe(workspaceRoot);
|
|
78
78
|
if (!catalog) {
|
|
79
79
|
throw new Error("No catalog entries found in pnpm-workspace.yaml file");
|
|
@@ -89,7 +89,7 @@ var _devkit = require('@nx/devkit');
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
var _prettier = require('prettier');
|
|
92
|
-
async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot =
|
|
92
|
+
async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _chunkGUI4USIOjs.findWorkspaceRoot.call(void 0, packageRoot)) {
|
|
93
93
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
94
94
|
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
95
95
|
if (!packageJsonFile) {
|
|
@@ -219,7 +219,7 @@ var _jiti = require('jiti');
|
|
|
219
219
|
|
|
220
220
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
221
221
|
async function npmPublishExecutorFn(options, context) {
|
|
222
|
-
const workspaceConfig = await
|
|
222
|
+
const workspaceConfig = await _chunk4ARF5MP2js.getConfig.call(void 0, context.root);
|
|
223
223
|
const github = await _chunkMKJITWLNjs.getGitHubTools.call(void 0, workspaceConfig);
|
|
224
224
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
225
225
|
if (!context.projectName) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5BPWYHW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VO3QUJGP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-45CW7OJB.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JUJWJXED.mjs";
|
|
16
16
|
|
|
17
17
|
// src/generators/config-schema/generator.ts
|
|
18
18
|
import { formatFiles, writeJson } from "@nx/devkit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRQTILTHDjs = require('./chunk-RQTILTHD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunkRQTILTHDjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -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 _chunkRQTILTHDjs = require('./chunk-RQTILTHD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
@@ -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 = _chunkRQTILTHDjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkRQTILTHDjs = require('./chunk-RQTILTHD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
@@ -41,7 +41,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
41
41
|
success: true
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
var executor_default =
|
|
44
|
+
var executor_default = _chunkRQTILTHDjs.withRunExecutor.call(void 0,
|
|
45
45
|
"Storm ESBuild build",
|
|
46
46
|
esbuildExecutorFn,
|
|
47
47
|
{
|