@storm-software/workspace-tools 1.293.8 → 1.293.9
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 +19 -0
- package/README.md +1 -1
- package/dist/{chunk-MFRKH3QL.mjs → chunk-2GUYRQCA.mjs} +1 -1
- package/dist/{chunk-DBNK7FLL.mjs → chunk-2VEN4MMJ.mjs} +3 -3
- package/dist/{chunk-WS5PLNBP.mjs → chunk-4KQTW4FB.mjs} +2 -2
- package/dist/{chunk-BOC6RTAX.js → chunk-5BBCJ72W.js} +2 -2
- package/dist/{chunk-RZDOMICP.js → chunk-5ZQEH4AG.js} +2 -2
- package/dist/{chunk-T3WEFC55.mjs → chunk-67LH5YAE.mjs} +1 -1
- package/dist/{chunk-RWARFCNL.js → chunk-6BB3BLHX.js} +2 -2
- package/dist/{chunk-TAG2PULI.js → chunk-6RKBHVR3.js} +2 -2
- package/dist/{chunk-VF2LXW3B.js → chunk-757MUDEM.js} +2 -2
- package/dist/{chunk-UETG5X2Z.mjs → chunk-7CHKD6ZU.mjs} +2 -2
- package/dist/{chunk-YJT4F4GN.mjs → chunk-7CYRZRSQ.mjs} +2 -2
- package/dist/{chunk-XLZWHFV7.mjs → chunk-ATKAEDYS.mjs} +2 -2
- package/dist/{chunk-ZGMVPA2H.mjs → chunk-B55Y32GD.mjs} +1 -1
- package/dist/{chunk-4ROGNJIP.js → chunk-B5D7HVM5.js} +10 -10
- package/dist/{chunk-P2QPOCDL.mjs → chunk-BJENCV34.mjs} +2 -2
- package/dist/{chunk-6IHCTXPW.mjs → chunk-CCRGF4HZ.mjs} +1 -1
- package/dist/{chunk-6XDX3W4C.js → chunk-CPSHI6D5.js} +2 -2
- package/dist/{chunk-IT3RQADI.mjs → chunk-D4PVJWPB.mjs} +4 -4
- package/dist/{chunk-RYUO22WK.js → chunk-DRNL76FW.js} +30 -30
- package/dist/{chunk-ROI6N5XU.js → chunk-FZJRO253.js} +2 -2
- package/dist/{chunk-MF2R2GZF.js → chunk-G7AQBWV3.js} +4 -4
- package/dist/{chunk-RGRRXFFX.js → chunk-HEKFNBVI.js} +11 -11
- package/dist/{chunk-DUHZQGVB.js → chunk-I2JFJ4ZH.js} +5 -5
- package/dist/{chunk-5EA2N2AH.js → chunk-KKB2SNCA.js} +34 -34
- package/dist/{chunk-KFRGKGAD.mjs → chunk-KVKXRWJA.mjs} +2 -2
- package/dist/{chunk-TYJZD5KJ.js → chunk-LBJYCV7W.js} +6 -6
- package/dist/{chunk-6F75AWBB.mjs → chunk-LKNGNLWN.mjs} +1 -1
- package/dist/{chunk-UKKUUGK5.mjs → chunk-LMF76PTK.mjs} +1 -1
- package/dist/{chunk-BELCG4XM.mjs → chunk-LV2NZ7T5.mjs} +2 -2
- package/dist/{chunk-ZOUMLMH4.js → chunk-MJRZ6IWM.js} +5 -5
- package/dist/{chunk-VGWI2FQE.mjs → chunk-NCYSWFWT.mjs} +1 -1
- package/dist/{chunk-HD4WVBQR.js → chunk-NIRVJWD5.js} +2 -2
- package/dist/{chunk-V44DYGWX.mjs → chunk-NRPYQWQ4.mjs} +5 -5
- package/dist/{chunk-DUZOZEUA.mjs → chunk-NY4RZDUG.mjs} +1 -1
- package/dist/{chunk-X2SLQ73Q.mjs → chunk-OEHQ4P7L.mjs} +1 -1
- package/dist/{chunk-VGXI3J3C.js → chunk-OJQ53OAY.js} +12 -12
- package/dist/{chunk-NQOA6WGC.mjs → chunk-PAEBBUY2.mjs} +1 -1
- package/dist/{chunk-L7OQTUBA.js → chunk-QBYA4DKC.js} +20 -20
- package/dist/{chunk-MTQNI5FG.mjs → chunk-QJT63C5Y.mjs} +1 -1
- package/dist/{chunk-O5JT5GOM.js → chunk-RAM72W3S.js} +2 -2
- package/dist/{chunk-RVGLZSRS.js → chunk-RRP2E72K.js} +2 -2
- package/dist/{chunk-GIVVWGKW.mjs → chunk-SNK67SOJ.mjs} +1 -1
- package/dist/{chunk-2HWYXG2K.js → chunk-TLSJE3BM.js} +16 -16
- package/dist/{chunk-H4EFSMAS.mjs → chunk-TRWY2MHH.mjs} +1 -1
- package/dist/{chunk-EGVBKE43.js → chunk-U45J52OH.js} +2 -2
- package/dist/{chunk-Y25P6YPV.mjs → chunk-UNIRLSTQ.mjs} +1 -1
- package/dist/{chunk-YOM5ZK63.mjs → chunk-UXTEMU3E.mjs} +4 -4
- package/dist/{chunk-L5WX3FSM.js → chunk-VSIOTWZ3.js} +2 -2
- package/dist/{chunk-OGE2WFDW.js → chunk-WBBERMCB.js} +2 -2
- package/dist/{chunk-L6LJBWJ7.mjs → chunk-XW7KSJT6.mjs} +1 -1
- package/dist/{chunk-JWFGGMYQ.js → chunk-YTYMBCNN.js} +2 -2
- package/dist/{chunk-OF7BAS3P.js → chunk-ZBZLFUGZ.js} +4 -4
- package/dist/{chunk-KSUWYBUX.mjs → chunk-ZUJRNOCS.mjs} +1 -1
- package/dist/{chunk-2CDSXWFA.js → chunk-ZWF65Q7E.js} +6 -6
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.js +28 -28
- package/dist/index.mjs +27 -27
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +5 -5
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/release/index.js +6 -6
- 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 +3 -3
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.293.8](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.8) (11/14/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Adjust `NapiCli` to type import
|
|
10
|
+
([ea0a9da17](https://github.com/storm-software/storm-ops/commit/ea0a9da17))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **testing-tools** to **v1.119.38**
|
|
15
|
+
- Updated **config-tools** to **v1.188.38**
|
|
16
|
+
- Updated **pnpm-tools** to **v0.6.38**
|
|
17
|
+
- Updated **npm-tools** to **v0.5.38**
|
|
18
|
+
- Updated **prettier** to **v0.57.38**
|
|
19
|
+
- Updated **esbuild** to **v0.53.38**
|
|
20
|
+
- Updated **unbuild** to **v0.57.38**
|
|
21
|
+
- Updated **config** to **v1.134.38**
|
|
22
|
+
- Updated **tsdown** to **v0.45.38**
|
|
23
|
+
|
|
5
24
|
## [1.293.7](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.7) (11/14/2025)
|
|
6
25
|
|
|
7
26
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4KQTW4FB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAEBBUY2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
11
11
|
writeTrace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NRPYQWQ4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
15
|
} from "./chunk-GSZ2BO7G.mjs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-QYHQD375.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAEBBUY2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getStopwatch,
|
|
10
10
|
writeDebug,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NRPYQWQ4.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
19
|
} from "./chunk-GSZ2BO7G.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -89,7 +89,7 @@ async function napiExecutor(options, context, config) {
|
|
|
89
89
|
const { task } = await napi.build(normalizedOptions);
|
|
90
90
|
return { success: true, terminalOutput: await task };
|
|
91
91
|
}
|
|
92
|
-
var executor_default =
|
|
92
|
+
var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
93
93
|
"Napi - Build Bindings",
|
|
94
94
|
napiExecutor,
|
|
95
95
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYTYMBCNNjs = require('./chunk-YTYMBCNN.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
|
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
|
-
content:
|
|
34
|
+
content: _chunkYTYMBCNNjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-QYHQD375.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAEBBUY2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NRPYQWQ4.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-GSZ2BO7G.mjs";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -744,7 +744,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
744
744
|
let config = result.config;
|
|
745
745
|
const configFile = result.configFile;
|
|
746
746
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
747
|
-
|
|
747
|
+
_chunkZWF65Q7Ejs.writeTrace.call(void 0,
|
|
748
748
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
749
749
|
{
|
|
750
750
|
logLevel: "all"
|
|
@@ -760,7 +760,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
760
|
for (const result2 of results) {
|
|
761
761
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
762
762
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
763
|
-
|
|
763
|
+
_chunkZWF65Q7Ejs.writeTrace.call(void 0,
|
|
764
764
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
765
765
|
{
|
|
766
766
|
logLevel: "all"
|
|
@@ -872,7 +872,7 @@ var getConfigEnv = () => {
|
|
|
872
872
|
},
|
|
873
873
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
874
874
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
875
|
-
) ?
|
|
875
|
+
) ? _chunkZWF65Q7Ejs.getLogLevelLabel.call(void 0,
|
|
876
876
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
877
877
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
878
878
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1235,9 +1235,9 @@ var setConfigEnv = (config) => {
|
|
|
1235
1235
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1236
1236
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1237
1237
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1238
|
-
|
|
1238
|
+
_chunkZWF65Q7Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkZWF65Q7Ejs.LogLevel.DEBUG ? true : false
|
|
1239
1239
|
);
|
|
1240
|
-
process.env.RUST_BACKTRACE =
|
|
1240
|
+
process.env.RUST_BACKTRACE = _chunkZWF65Q7Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkZWF65Q7Ejs.LogLevel.DEBUG ? "full" : "none";
|
|
1241
1241
|
}
|
|
1242
1242
|
if (config.skipConfigLogging !== void 0) {
|
|
1243
1243
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1373,7 +1373,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1373
1373
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1374
1374
|
if (!configFile) {
|
|
1375
1375
|
if (!skipLogs) {
|
|
1376
|
-
|
|
1376
|
+
_chunkZWF65Q7Ejs.writeWarning.call(void 0,
|
|
1377
1377
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1378
1378
|
{ logLevel: "all" }
|
|
1379
1379
|
);
|
|
@@ -1400,7 +1400,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1400
1400
|
throw new Error(
|
|
1401
1401
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1402
1402
|
|
|
1403
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1403
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0,
|
|
1404
1404
|
configInput
|
|
1405
1405
|
)}`,
|
|
1406
1406
|
{
|
|
@@ -1445,9 +1445,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1445
1445
|
);
|
|
1446
1446
|
setConfigEnv(config);
|
|
1447
1447
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1448
|
-
|
|
1448
|
+
_chunkZWF65Q7Ejs.writeTrace.call(void 0,
|
|
1449
1449
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1450
|
-
${
|
|
1450
|
+
${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, config)}`,
|
|
1451
1451
|
config
|
|
1452
1452
|
);
|
|
1453
1453
|
}
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OEHQ4P7L.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PAEBBUY2.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
addWorkspacePackageJsonFields,
|
|
5
5
|
copyAssets,
|
|
6
6
|
getEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2GUYRQCA.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunExecutor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ATKAEDYS.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getWorkspaceConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PAEBBUY2.mjs";
|
|
14
14
|
import {
|
|
15
15
|
formatLogMessage,
|
|
16
16
|
getStopwatch,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
writeInfo,
|
|
21
21
|
writeSuccess,
|
|
22
22
|
writeWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NRPYQWQ4.mjs";
|
|
24
24
|
import {
|
|
25
25
|
joinPaths
|
|
26
26
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkLBJYCV7Wjs = require('./chunk-LBJYCV7W.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -79,11 +79,11 @@ var resolveOptions = async (userOptions) => {
|
|
|
79
79
|
if (!workspaceRoot) {
|
|
80
80
|
throw new Error("Cannot find Nx workspace root");
|
|
81
81
|
}
|
|
82
|
-
const workspaceConfig = await
|
|
82
|
+
const workspaceConfig = await _chunkB5D7HVM5js.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
83
83
|
workspaceRoot
|
|
84
84
|
});
|
|
85
|
-
|
|
86
|
-
const stopwatch =
|
|
85
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
86
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, "Build options resolution");
|
|
87
87
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
88
88
|
exitOnError: true
|
|
89
89
|
});
|
|
@@ -117,7 +117,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
117
117
|
const result = {
|
|
118
118
|
name: projectName,
|
|
119
119
|
mode: "production",
|
|
120
|
-
target:
|
|
120
|
+
target: _chunkLBJYCV7Wjs.DEFAULT_TARGET,
|
|
121
121
|
generatePackageJson: true,
|
|
122
122
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
123
123
|
minify: !debug,
|
|
@@ -149,15 +149,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
149
149
|
};
|
|
150
150
|
result.env = _defu2.default.call(void 0,
|
|
151
151
|
options.env,
|
|
152
|
-
|
|
152
|
+
_chunkLBJYCV7Wjs.getEnv.call(void 0, "tsdown", result)
|
|
153
153
|
);
|
|
154
154
|
stopwatch();
|
|
155
155
|
return result;
|
|
156
156
|
};
|
|
157
157
|
async function generatePackageJson(options) {
|
|
158
158
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
159
|
-
|
|
160
|
-
const stopwatch =
|
|
159
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
160
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, "Write package.json file");
|
|
161
161
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
162
162
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
163
163
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -174,13 +174,13 @@ async function generatePackageJson(options) {
|
|
|
174
174
|
throw new Error("Cannot find package.json configuration file");
|
|
175
175
|
}
|
|
176
176
|
let packageJson = JSON.parse(packageJsonFile);
|
|
177
|
-
packageJson = await
|
|
177
|
+
packageJson = await _chunkLBJYCV7Wjs.addPackageDependencies.call(void 0,
|
|
178
178
|
options.workspaceConfig.workspaceRoot,
|
|
179
179
|
options.projectRoot,
|
|
180
180
|
options.projectName,
|
|
181
181
|
packageJson
|
|
182
182
|
);
|
|
183
|
-
packageJson = await
|
|
183
|
+
packageJson = await _chunkLBJYCV7Wjs.addWorkspacePackageJsonFields.call(void 0,
|
|
184
184
|
options.workspaceConfig,
|
|
185
185
|
options.projectRoot,
|
|
186
186
|
options.sourceRoot,
|
|
@@ -190,7 +190,7 @@ async function generatePackageJson(options) {
|
|
|
190
190
|
);
|
|
191
191
|
packageJson.exports ??= {};
|
|
192
192
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
193
|
-
packageJson.exports["."] ??=
|
|
193
|
+
packageJson.exports["."] ??= _chunkLBJYCV7Wjs.addPackageJsonExport.call(void 0,
|
|
194
194
|
"index",
|
|
195
195
|
packageJson.type,
|
|
196
196
|
options.sourceRoot
|
|
@@ -206,7 +206,7 @@ async function generatePackageJson(options) {
|
|
|
206
206
|
const split = entryPoint.out.split(".");
|
|
207
207
|
split.pop();
|
|
208
208
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
209
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
209
|
+
packageJson.exports[`./${entry2}`] ??= _chunkLBJYCV7Wjs.addPackageJsonExport.call(void 0,
|
|
210
210
|
entry2,
|
|
211
211
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
212
212
|
options.sourceRoot
|
|
@@ -231,8 +231,8 @@ async function generatePackageJson(options) {
|
|
|
231
231
|
return options;
|
|
232
232
|
}
|
|
233
233
|
async function executeTSDown(options) {
|
|
234
|
-
|
|
235
|
-
const stopwatch =
|
|
234
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
235
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, `${options.name} build`);
|
|
236
236
|
await _tsdown.build.call(void 0, {
|
|
237
237
|
...options,
|
|
238
238
|
entry: options.entry,
|
|
@@ -242,12 +242,12 @@ async function executeTSDown(options) {
|
|
|
242
242
|
return options;
|
|
243
243
|
}
|
|
244
244
|
async function copyBuildAssets(options) {
|
|
245
|
-
|
|
245
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0,
|
|
246
246
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
247
247
|
options.workspaceConfig
|
|
248
248
|
);
|
|
249
|
-
const stopwatch =
|
|
250
|
-
await
|
|
249
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
250
|
+
await _chunkLBJYCV7Wjs.copyAssets.call(void 0,
|
|
251
251
|
options.workspaceConfig,
|
|
252
252
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
253
253
|
options.outDir,
|
|
@@ -260,18 +260,18 @@ async function copyBuildAssets(options) {
|
|
|
260
260
|
return options;
|
|
261
261
|
}
|
|
262
262
|
async function reportResults(options) {
|
|
263
|
-
|
|
263
|
+
_chunkZWF65Q7Ejs.writeSuccess.call(void 0,
|
|
264
264
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
265
265
|
options.workspaceConfig
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
268
|
async function cleanOutputPath(options) {
|
|
269
269
|
if (options.clean !== false && options.workspaceConfig) {
|
|
270
|
-
|
|
270
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0,
|
|
271
271
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
272
272
|
options.workspaceConfig
|
|
273
273
|
);
|
|
274
|
-
const stopwatch =
|
|
274
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
275
275
|
await cleanDirectories(
|
|
276
276
|
options.name,
|
|
277
277
|
options.outDir,
|
|
@@ -282,8 +282,8 @@ async function cleanOutputPath(options) {
|
|
|
282
282
|
return options;
|
|
283
283
|
}
|
|
284
284
|
async function build(options) {
|
|
285
|
-
|
|
286
|
-
const stopwatch =
|
|
285
|
+
_chunkZWF65Q7Ejs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
286
|
+
const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
287
287
|
try {
|
|
288
288
|
const opts = Array.isArray(options) ? options : [options];
|
|
289
289
|
if (opts.length === 0) {
|
|
@@ -303,13 +303,13 @@ async function build(options) {
|
|
|
303
303
|
})
|
|
304
304
|
);
|
|
305
305
|
} else {
|
|
306
|
-
|
|
306
|
+
_chunkZWF65Q7Ejs.writeWarning.call(void 0,
|
|
307
307
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
_chunkZWF65Q7Ejs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
311
311
|
} catch (error) {
|
|
312
|
-
|
|
312
|
+
_chunkZWF65Q7Ejs.writeFatal.call(void 0,
|
|
313
313
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
314
314
|
);
|
|
315
315
|
throw error;
|
|
@@ -320,7 +320,7 @@ async function build(options) {
|
|
|
320
320
|
|
|
321
321
|
// src/executors/tsdown/executor.ts
|
|
322
322
|
async function tsdownExecutorFn(options, context, config) {
|
|
323
|
-
|
|
323
|
+
_chunkZWF65Q7Ejs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
324
324
|
if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
|
|
325
325
|
throw new Error(
|
|
326
326
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -341,7 +341,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
341
341
|
success: true
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
var executor_default =
|
|
344
|
+
var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
345
345
|
"Storm TSDown build",
|
|
346
346
|
tsdownExecutorFn,
|
|
347
347
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.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 = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunk6RKBHVR3js = require('./chunk-6RKBHVR3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -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 _chunkB5D7HVM5js.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
|
}
|
|
@@ -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 _chunk6RKBHVR3js.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`
|