@storm-software/workspace-tools 1.294.36 → 1.294.38
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 +37 -0
- package/README.md +1 -1
- package/dist/{chunk-XZPUEPKK.mjs → chunk-27MUZNN2.mjs} +1 -1
- package/dist/{chunk-CK3BPORZ.js → chunk-2DEV7MTD.js} +21 -21
- package/dist/{chunk-3UVFXL7I.js → chunk-2VO5LA3U.js} +10 -10
- package/dist/{chunk-YHO3SOGJ.mjs → chunk-37K47MPA.mjs} +4 -4
- package/dist/{chunk-NTM7F6SO.js → chunk-3ZTDN4LM.js} +2 -2
- package/dist/{chunk-35BFW2YQ.mjs → chunk-42TEYLHF.mjs} +1 -1
- package/dist/{chunk-ZTCV7FTK.js → chunk-4HKJAOZE.js} +2 -2
- package/dist/{chunk-BA7S3VQ3.mjs → chunk-4KPUUE5X.mjs} +2 -2
- package/dist/{chunk-LQZIZT3Y.js → chunk-4U2NLOJ4.js} +2 -2
- package/dist/{chunk-57NKESY4.js → chunk-4XFAGKVY.js} +2 -2
- package/dist/{chunk-CHKLDARN.mjs → chunk-5KJYQ2A4.mjs} +1 -1
- package/dist/{chunk-UK6TAD3O.mjs → chunk-6KULJXXR.mjs} +6 -6
- package/dist/{chunk-6ES3P2CK.js → chunk-6TQ2ZIQQ.js} +12 -12
- package/dist/{chunk-IQ7NS4OX.mjs → chunk-6ZC47WFT.mjs} +3 -3
- package/dist/{chunk-J6VRN6FY.mjs → chunk-7KSP37MJ.mjs} +1 -1
- package/dist/{chunk-HLZG5AEE.mjs → chunk-CDEOZ2LA.mjs} +2 -2
- package/dist/{chunk-SPYERBWG.mjs → chunk-CEC4FZYL.mjs} +1 -1
- package/dist/{chunk-R2GSNVL2.mjs → chunk-CEM3HM3B.mjs} +1 -1
- package/dist/{chunk-NZX54HXX.mjs → chunk-CN3UL6AL.mjs} +2 -2
- package/dist/{chunk-2KJIK2JG.mjs → chunk-E4M7JXF6.mjs} +1 -1
- package/dist/{chunk-DJMMAL4W.mjs → chunk-E7FF7KFZ.mjs} +1 -1
- package/dist/{chunk-VFLEWVYZ.js → chunk-EE24BJX6.js} +34 -34
- package/dist/{chunk-6CO2XOFR.js → chunk-EE66SW3C.js} +4 -4
- package/dist/{chunk-GAOMOIRS.js → chunk-GKKPBHC2.js} +6 -6
- package/dist/{chunk-QY6ZMQ6I.js → chunk-GYSWO4MZ.js} +4 -4
- package/dist/{chunk-PKU6ZJTS.js → chunk-H3IKVCIQ.js} +5 -5
- package/dist/{chunk-VHXO4KB2.js → chunk-HBEU4BAA.js} +2 -2
- package/dist/{chunk-Y6FERKSJ.js → chunk-HRBUI3FP.js} +2 -2
- package/dist/{chunk-DCNARLNN.mjs → chunk-I6M6W65L.mjs} +1 -1
- package/dist/{chunk-MRG3BU6W.mjs → chunk-IE6KPWWN.mjs} +2 -2
- package/dist/{chunk-BU2S2BSO.mjs → chunk-ISKPL45K.mjs} +1 -1
- package/dist/{chunk-5LORK24T.mjs → chunk-JTAXUWUB.mjs} +1 -1
- package/dist/{chunk-MZDT5BZH.js → chunk-JWDJFIY2.js} +5 -5
- package/dist/{chunk-HUZNI7UG.mjs → chunk-JYOKROZO.mjs} +1 -1
- package/dist/{chunk-YRI7JSHF.js → chunk-K2HA4BJN.js} +2 -2
- package/dist/{chunk-QVC3FWV5.js → chunk-LIV5KBYE.js} +2 -2
- package/dist/{chunk-UWQQYG23.mjs → chunk-M7NAHAMC.mjs} +1 -1
- package/dist/{chunk-PBN7PKGE.js → chunk-MS4BPPPO.js} +17 -17
- package/dist/{chunk-QPBVOQFM.js → chunk-MTLWFXXL.js} +2 -2
- package/dist/{chunk-EYFYABBG.mjs → chunk-MYOUONF2.mjs} +4 -4
- package/dist/{chunk-AA5UBL6W.js → chunk-MZGQ4TDY.js} +11 -11
- package/dist/{chunk-TIJ5S5SL.mjs → chunk-NDH64REY.mjs} +1 -1
- package/dist/{chunk-2KU2SYND.js → chunk-OBA5LSVN.js} +2 -2
- package/dist/{chunk-J3V2XDUI.mjs → chunk-OPKOW7IE.mjs} +6 -5
- package/dist/{chunk-R3374L7Q.mjs → chunk-PGNIX7OK.mjs} +3 -3
- package/dist/{chunk-OS24C67P.js → chunk-QEZ37HVM.js} +6 -5
- package/dist/{chunk-CJHDSYRB.js → chunk-RDCGNHHG.js} +2 -2
- package/dist/{chunk-6DW3XFYQ.js → chunk-RXZNL5UA.js} +30 -30
- package/dist/{chunk-2LSF54ZF.mjs → chunk-S3RWO7R6.mjs} +2 -2
- package/dist/{chunk-PK3VAEVW.js → chunk-TJQO23VQ.js} +2 -2
- package/dist/{chunk-R4VLMWSB.mjs → chunk-ULDXNDLD.mjs} +1 -1
- package/dist/{chunk-5ERD4NKM.js → chunk-V3AKBG6K.js} +8 -8
- package/dist/{chunk-ZNRCZ3UF.js → chunk-YG23JJML.js} +2 -2
- package/dist/{chunk-Q5LQOLXC.mjs → chunk-ZMKOMKU4.mjs} +2 -2
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +10 -10
- package/dist/index.js +28 -28
- package/dist/index.mjs +29 -29
- 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 +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.294.37](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.37) (02/18/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `README.md` files ([3755247b8](https://github.com/storm-software/storm-ops/commit/3755247b8))
|
|
10
|
+
- **monorepo:** Update workspace's `README.md` files ([b31df09bc](https://github.com/storm-software/storm-ops/commit/b31df09bc))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **testing-tools** to **v1.119.80**
|
|
15
|
+
- Updated **config-tools** to **v1.189.5**
|
|
16
|
+
- Updated **pnpm-tools** to **v0.6.88**
|
|
17
|
+
- Updated **npm-tools** to **v0.6.43**
|
|
18
|
+
- Updated **prettier** to **v0.58.4**
|
|
19
|
+
- Updated **esbuild** to **v0.53.86**
|
|
20
|
+
- Updated **unbuild** to **v0.57.86**
|
|
21
|
+
- Updated **config** to **v1.135.6**
|
|
22
|
+
- Updated **tsdown** to **v0.45.86**
|
|
23
|
+
|
|
24
|
+
## [1.294.36](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.36) (02/18/2026)
|
|
25
|
+
|
|
26
|
+
### Miscellaneous
|
|
27
|
+
|
|
28
|
+
- **monorepo:** Update workspace's `README.md` files ([b86377730](https://github.com/storm-software/storm-ops/commit/b86377730))
|
|
29
|
+
|
|
30
|
+
### Updated Dependencies
|
|
31
|
+
|
|
32
|
+
- Updated **testing-tools** to **v1.119.79**
|
|
33
|
+
- Updated **config-tools** to **v1.189.4**
|
|
34
|
+
- Updated **pnpm-tools** to **v0.6.87**
|
|
35
|
+
- Updated **npm-tools** to **v0.6.42**
|
|
36
|
+
- Updated **prettier** to **v0.58.3**
|
|
37
|
+
- Updated **esbuild** to **v0.53.85**
|
|
38
|
+
- Updated **unbuild** to **v0.57.85**
|
|
39
|
+
- Updated **config** to **v1.135.5**
|
|
40
|
+
- Updated **tsdown** to **v0.45.85**
|
|
41
|
+
|
|
5
42
|
## [1.294.35](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.35) (02/18/2026)
|
|
6
43
|
|
|
7
44
|
### Miscellaneous
|
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,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -23,7 +23,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
var _defu = require('defu');
|
|
25
25
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config = {};
|
|
29
29
|
try {
|
|
@@ -37,12 +37,12 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
37
37
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
38
38
|
const projectName = context.projectName;
|
|
39
39
|
config.workspaceRoot = workspaceRoot;
|
|
40
|
-
|
|
41
|
-
`${
|
|
40
|
+
_chunkQEZ37HVMjs.writeInfo.call(void 0,
|
|
41
|
+
`${_chunkQEZ37HVMjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
|
|
42
42
|
config
|
|
43
43
|
);
|
|
44
44
|
if (!executorOptions.skipReadingConfig) {
|
|
45
|
-
|
|
45
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
46
46
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
47
47
|
- workspaceRoot: ${workspaceRoot}
|
|
48
48
|
- projectRoot: ${projectRoot}
|
|
@@ -51,18 +51,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
51
51
|
`,
|
|
52
52
|
config
|
|
53
53
|
);
|
|
54
|
-
config = await
|
|
54
|
+
config = await _chunk2VO5LA3Ujs.getConfig.call(void 0, workspaceRoot);
|
|
55
55
|
}
|
|
56
56
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
57
|
-
|
|
57
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
58
58
|
options = await Promise.resolve(
|
|
59
59
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
60
60
|
);
|
|
61
|
-
|
|
61
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
64
64
|
`Executor schema options \u2699\uFE0F
|
|
65
|
-
${
|
|
65
|
+
${_chunkQEZ37HVMjs.formatLogMessage.call(void 0, options)}
|
|
66
66
|
`,
|
|
67
67
|
config
|
|
68
68
|
);
|
|
@@ -75,18 +75,18 @@ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, options)}
|
|
|
75
75
|
),
|
|
76
76
|
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
77
77
|
);
|
|
78
|
-
|
|
78
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
79
79
|
`Executor schema tokenized options \u2699\uFE0F
|
|
80
|
-
${
|
|
80
|
+
${_chunkQEZ37HVMjs.formatLogMessage.call(void 0, tokenized)}
|
|
81
81
|
`,
|
|
82
82
|
config
|
|
83
83
|
);
|
|
84
84
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
85
|
-
|
|
85
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
86
86
|
await Promise.resolve(
|
|
87
87
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
88
88
|
);
|
|
89
|
-
|
|
89
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
90
90
|
}
|
|
91
91
|
const ret = executorFn(tokenized, context, config);
|
|
92
92
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -101,7 +101,7 @@ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
101
101
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
102
102
|
throw new Error(
|
|
103
103
|
`Failure determined while running the ${name} executor
|
|
104
|
-
${
|
|
104
|
+
${_chunkQEZ37HVMjs.formatLogMessage.call(void 0,
|
|
105
105
|
result
|
|
106
106
|
)}`,
|
|
107
107
|
{
|
|
@@ -110,21 +110,21 @@ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0,
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
113
|
-
|
|
113
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
114
114
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
115
|
-
|
|
115
|
+
_chunkQEZ37HVMjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
_chunkQEZ37HVMjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
118
118
|
`, config);
|
|
119
119
|
return {
|
|
120
120
|
success: true
|
|
121
121
|
};
|
|
122
122
|
} catch (error) {
|
|
123
|
-
|
|
123
|
+
_chunkQEZ37HVMjs.writeFatal.call(void 0,
|
|
124
124
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
125
125
|
config
|
|
126
126
|
);
|
|
127
|
-
|
|
127
|
+
_chunkQEZ37HVMjs.writeError.call(void 0,
|
|
128
128
|
`An exception was thrown in the executor's process
|
|
129
129
|
- Details: ${error.message}
|
|
130
130
|
- Stacktrace: ${error.stack}`,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -751,7 +751,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
751
751
|
let config = result.config;
|
|
752
752
|
const configFile = result.configFile;
|
|
753
753
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
754
|
-
|
|
754
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
755
755
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
756
756
|
{
|
|
757
757
|
logLevel: "all"
|
|
@@ -767,7 +767,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
767
767
|
for (const result2 of results) {
|
|
768
768
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
769
769
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
770
|
-
|
|
770
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
771
771
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
772
772
|
{
|
|
773
773
|
logLevel: "all"
|
|
@@ -879,7 +879,7 @@ var getConfigEnv = () => {
|
|
|
879
879
|
},
|
|
880
880
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
881
881
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
882
|
-
) ?
|
|
882
|
+
) ? _chunkQEZ37HVMjs.getLogLevelLabel.call(void 0,
|
|
883
883
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
884
884
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
885
885
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1244,9 +1244,9 @@ var setConfigEnv = (config) => {
|
|
|
1244
1244
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1245
1245
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1246
1246
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1247
|
-
|
|
1247
|
+
_chunkQEZ37HVMjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQEZ37HVMjs.LogLevel.DEBUG ? true : false
|
|
1248
1248
|
);
|
|
1249
|
-
process.env.RUST_BACKTRACE =
|
|
1249
|
+
process.env.RUST_BACKTRACE = _chunkQEZ37HVMjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQEZ37HVMjs.LogLevel.DEBUG ? "full" : "none";
|
|
1250
1250
|
}
|
|
1251
1251
|
if (config.skipConfigLogging !== void 0) {
|
|
1252
1252
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1388,7 +1388,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1388
1388
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1389
1389
|
if (!configFile) {
|
|
1390
1390
|
if (!skipLogs) {
|
|
1391
|
-
|
|
1391
|
+
_chunkQEZ37HVMjs.writeWarning.call(void 0,
|
|
1392
1392
|
"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",
|
|
1393
1393
|
{ logLevel: "all" }
|
|
1394
1394
|
);
|
|
@@ -1415,7 +1415,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1415
1415
|
throw new Error(
|
|
1416
1416
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1417
1417
|
|
|
1418
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1418
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkQEZ37HVMjs.formatLogMessage.call(void 0,
|
|
1419
1419
|
configInput
|
|
1420
1420
|
)}`,
|
|
1421
1421
|
{
|
|
@@ -1460,9 +1460,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1460
1460
|
);
|
|
1461
1461
|
setConfigEnv(config);
|
|
1462
1462
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1463
|
-
|
|
1463
|
+
_chunkQEZ37HVMjs.writeTrace.call(void 0,
|
|
1464
1464
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1465
|
-
${
|
|
1465
|
+
${_chunkQEZ37HVMjs.formatLogMessage.call(void 0, config)}`,
|
|
1466
1466
|
config
|
|
1467
1467
|
);
|
|
1468
1468
|
}
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JTAXUWUB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S3RWO7R6.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M7NAHAMC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
brandIcon,
|
|
17
17
|
formatLogMessage,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
writeInfo,
|
|
23
23
|
writeSuccess,
|
|
24
24
|
writeWarning
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OPKOW7IE.mjs";
|
|
26
26
|
import {
|
|
27
27
|
joinPaths
|
|
28
28
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
|
|
4
4
|
|
|
5
5
|
// src/release/js-version-actions.ts
|
|
6
6
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
@@ -24,7 +24,7 @@ var StormJsVersionActions = (_class = class extends _versionactionsjs2.default {
|
|
|
24
24
|
* @params tree - The file system tree to read from.
|
|
25
25
|
*/
|
|
26
26
|
async init(tree) {
|
|
27
|
-
this.workspaceConfig = await
|
|
27
|
+
this.workspaceConfig = await _chunk2VO5LA3Ujs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.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 = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5KJYQ2A4.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M7NAHAMC.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -7,7 +7,7 @@ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMS4BPPPOjs = require('./chunk-MS4BPPPO.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 = _chunkMS4BPPPOjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK2HA4BJNjs = require('./chunk-K2HA4BJN.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/cargo-publish/executor.ts
|
|
6
6
|
var _devkit = require('@nx/devkit');
|
|
@@ -25,7 +25,7 @@ async function runExecutor(options, context) {
|
|
|
25
25
|
context.root,
|
|
26
26
|
options.packageRoot ? options.packageRoot : root
|
|
27
27
|
);
|
|
28
|
-
const cargoToml =
|
|
28
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoToml.call(void 0,
|
|
29
29
|
_fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
|
|
30
30
|
);
|
|
31
31
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageJsonGitHead
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6ZC47WFT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M7NAHAMC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot
|
|
9
9
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -220,7 +220,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = f
|
|
|
220
220
|
packageJsonPath,
|
|
221
221
|
await format(JSON.stringify(packageJson), {
|
|
222
222
|
parser: "json",
|
|
223
|
-
proseWrap: "
|
|
223
|
+
proseWrap: "preserve",
|
|
224
224
|
trailingComma: "none",
|
|
225
225
|
tabWidth: 2,
|
|
226
226
|
semi: true,
|
|
@@ -232,7 +232,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = f
|
|
|
232
232
|
bracketSpacing: true,
|
|
233
233
|
arrowParens: "avoid",
|
|
234
234
|
endOfLine: "lf",
|
|
235
|
-
plugins: ["prettier-plugin-
|
|
235
|
+
plugins: ["prettier-plugin-packagejson"]
|
|
236
236
|
})
|
|
237
237
|
);
|
|
238
238
|
}
|
|
@@ -286,7 +286,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
286
286
|
packageJsonPath,
|
|
287
287
|
await format2(JSON.stringify(packageJson), {
|
|
288
288
|
parser: "json",
|
|
289
|
-
proseWrap: "
|
|
289
|
+
proseWrap: "preserve",
|
|
290
290
|
trailingComma: "none",
|
|
291
291
|
tabWidth: 2,
|
|
292
292
|
semi: true,
|
|
@@ -298,7 +298,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
298
298
|
bracketSpacing: true,
|
|
299
299
|
arrowParens: "avoid",
|
|
300
300
|
endOfLine: "lf",
|
|
301
|
-
plugins: ["prettier-plugin-
|
|
301
|
+
plugins: ["prettier-plugin-packagejson"]
|
|
302
302
|
})
|
|
303
303
|
);
|
|
304
304
|
}
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkK2HA4BJNjs = require('./chunk-K2HA4BJN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.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 _chunk2VO5LA3Ujs.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunkK2HA4BJNjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkK2HA4BJNjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunkK2HA4BJNjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunkK2HA4BJNjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunkK2HA4BJNjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseCargoToml
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5KJYQ2A4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTagConstants,
|
|
6
6
|
isEqualProjectTag
|
|
@@ -69,7 +69,7 @@ async function addPackageJsonGitHead(packageRoot) {
|
|
|
69
69
|
packageJsonPath,
|
|
70
70
|
await format(JSON.stringify(packageJsonValue), {
|
|
71
71
|
parser: "json",
|
|
72
|
-
proseWrap: "
|
|
72
|
+
proseWrap: "preserve",
|
|
73
73
|
trailingComma: "none",
|
|
74
74
|
tabWidth: 2,
|
|
75
75
|
semi: true,
|
|
@@ -81,7 +81,7 @@ async function addPackageJsonGitHead(packageRoot) {
|
|
|
81
81
|
bracketSpacing: true,
|
|
82
82
|
arrowParens: "avoid",
|
|
83
83
|
endOfLine: "lf",
|
|
84
|
-
plugins: ["prettier-plugin-
|
|
84
|
+
plugins: ["prettier-plugin-packagejson"]
|
|
85
85
|
})
|
|
86
86
|
);
|
|
87
87
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M7NAHAMC.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OPKOW7IE.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S3RWO7R6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPKOW7IE.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|