@storm-software/workspace-tools 1.295.73 → 1.295.74
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 +15 -0
- package/dist/{chunk-A7XSX2OE.js → chunk-24WGOY7M.js} +2 -2
- package/dist/{chunk-RW4Q2PQR.js → chunk-2FQIDYBN.js} +12 -12
- package/dist/{chunk-IIDZJGC3.js → chunk-35KAXAXF.js} +34 -34
- package/dist/{chunk-SEZ726NO.mjs → chunk-3ZYXVFDI.mjs} +2 -2
- package/dist/{chunk-UE6LE5R2.mjs → chunk-42LESXB3.mjs} +1 -1
- package/dist/{chunk-IK2SIG4W.mjs → chunk-42RN7JZQ.mjs} +1 -1
- package/dist/{chunk-RGPA6TMT.js → chunk-5M7Q5AGZ.js} +30 -30
- package/dist/{chunk-AGR3NCGA.js → chunk-5QE6QZLL.js} +17 -8
- package/dist/{chunk-ZTBAMYWX.mjs → chunk-5WFZQ5JS.mjs} +1 -1
- package/dist/{chunk-PLILUNWG.mjs → chunk-6ECSUXBH.mjs} +1 -1
- package/dist/{chunk-CJVTWYOM.mjs → chunk-75H7T5KM.mjs} +2 -2
- package/dist/{chunk-QLV3LANL.js → chunk-7Y4HTTCH.js} +2 -2
- package/dist/{chunk-4Z3UCUDJ.mjs → chunk-AFZKYL2P.mjs} +2 -2
- package/dist/{chunk-FX64QLIN.mjs → chunk-AJSJ2JR6.mjs} +1 -1
- package/dist/{chunk-4ZQUYG5T.js → chunk-BE6YVKCO.js} +2 -2
- package/dist/{chunk-OXB34DFO.mjs → chunk-BEZE4GFI.mjs} +1 -1
- package/dist/{chunk-ZJ75AYXE.js → chunk-CHHDG2MX.js} +10 -10
- package/dist/{chunk-UTP3KI2H.js → chunk-CHUFDTF4.js} +11 -11
- package/dist/{chunk-UKTILFKM.mjs → chunk-CSZ34LXS.mjs} +1 -1
- package/dist/{chunk-R4NPC2W7.mjs → chunk-CW4MH5E2.mjs} +2 -2
- package/dist/{chunk-PHIKLLXQ.js → chunk-FAMMSDNC.js} +2 -2
- package/dist/{chunk-BRMFLUTQ.js → chunk-FSSGFERS.js} +2 -2
- package/dist/{chunk-46GNS53C.mjs → chunk-GOCSQYEA.mjs} +2 -2
- package/dist/{chunk-DTBAID2E.mjs → chunk-H75JKG5Z.mjs} +4 -4
- package/dist/{chunk-VTEU7W42.mjs → chunk-HE55HJHZ.mjs} +1 -1
- package/dist/{chunk-FVCRMDQ4.mjs → chunk-HLULZNA6.mjs} +1 -1
- package/dist/{chunk-K7B3YICS.mjs → chunk-HU3JD26C.mjs} +1 -1
- package/dist/{chunk-2NAUEEZT.js → chunk-HXRTQR3U.js} +2 -2
- package/dist/{chunk-2HPK7P5W.js → chunk-IDQYPP4E.js} +2 -2
- package/dist/{chunk-IVAYCDYI.js → chunk-IPVDQCJ4.js} +2 -2
- package/dist/{chunk-RSYBXBX2.js → chunk-J2TZAZ76.js} +17 -17
- package/dist/{chunk-RK2H6GNO.js → chunk-JINU7C4X.js} +2 -2
- package/dist/{chunk-TX5O64JJ.js → chunk-K2QPHBGO.js} +6 -6
- package/dist/{chunk-U35L6YML.mjs → chunk-KM43UGU6.mjs} +2 -2
- package/dist/{chunk-237PJK2V.js → chunk-KMBE3TLK.js} +4 -4
- package/dist/{chunk-GSGT2T27.js → chunk-KSL6QUB7.js} +21 -21
- package/dist/{chunk-UNUH7N7Y.mjs → chunk-KW6T252F.mjs} +3 -3
- package/dist/{chunk-M4QORJBG.js → chunk-L4SZWD3D.js} +2 -2
- package/dist/{chunk-LOIAWLLD.mjs → chunk-MNFKXDV6.mjs} +2 -2
- package/dist/{chunk-JCPIXJ3N.mjs → chunk-OAST6ITX.mjs} +1 -1
- package/dist/{chunk-CZPRVK6P.mjs → chunk-OPW7VZL2.mjs} +1 -1
- package/dist/{chunk-KBIJQTKM.js → chunk-Q5FLBXGL.js} +4 -4
- package/dist/{chunk-7RI43PE4.js → chunk-QKLKDDTU.js} +2 -2
- package/dist/{chunk-IIMRAJEJ.js → chunk-RK2R4IGP.js} +2 -2
- package/dist/{chunk-T55IDP24.mjs → chunk-TEYNJ3L6.mjs} +17 -8
- package/dist/{chunk-5JNL56OH.mjs → chunk-TFTJEDAM.mjs} +4 -4
- package/dist/{chunk-3V43ZXBN.mjs → chunk-TLWPXL7M.mjs} +1 -1
- package/dist/{chunk-Z7G3CM4Z.js → chunk-UIRPA76V.js} +4 -4
- package/dist/{chunk-3QM6CFXC.mjs → chunk-VGLDTD5U.mjs} +1 -1
- package/dist/{chunk-RN4I4XGR.mjs → chunk-VSWADZIP.mjs} +1 -1
- package/dist/{chunk-52CEFR2O.js → chunk-WNPTYHA4.js} +5 -5
- package/dist/{chunk-FHHWAN4N.js → chunk-X777ZFHU.js} +5 -5
- package/dist/{chunk-WUKU43IZ.js → chunk-XT7T25QQ.js} +2 -2
- package/dist/{chunk-CNL74KSJ.mjs → chunk-YZVCSH3T.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 +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/dist/src/generators/browser-library/schema.d.ts +0 -122
- package/dist/src/generators/config-schema/schema.d.ts +0 -23
- package/dist/src/generators/init/schema.d.ts +0 -14
- package/dist/src/generators/neutral-library/schema.d.ts +0 -122
- package/dist/src/generators/neutral-library/schema.json +0 -116
- package/dist/src/generators/node-library/schema.d.ts +0 -122
- package/dist/src/generators/node-library/schema.json +0 -117
- package/dist/src/generators/preset/schema.d.ts +0 -101
- package/dist/src/generators/preset/schema.json +0 -96
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.295.73](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.73) (05/15/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **package-constants** to **v0.1.27**
|
|
10
|
+
- Updated **testing-tools** to **v1.119.167**
|
|
11
|
+
- Updated **config-tools** to **v1.190.13**
|
|
12
|
+
- Updated **pnpm-tools** to **v0.7.23**
|
|
13
|
+
- Updated **npm-tools** to **v0.6.130**
|
|
14
|
+
- Updated **prettier** to **v0.59.66**
|
|
15
|
+
- Updated **esbuild** to **v0.53.174**
|
|
16
|
+
- Updated **unbuild** to **v0.57.174**
|
|
17
|
+
- Updated **config** to **v1.137.46**
|
|
18
|
+
- Updated **tsdown** to **v0.45.174**
|
|
19
|
+
|
|
5
20
|
## [1.295.72](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.72) (05/15/2026)
|
|
6
21
|
|
|
7
22
|
### Updated Dependencies
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.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 = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBE6YVKCOjs = require('./chunk-BE6YVKCO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.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 _chunkCHHDG2MXjs.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 = _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.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 = _chunkBE6YVKCOjs.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
|
+
_chunkBE6YVKCOjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkK2QPHBGOjs = require('./chunk-K2QPHBGO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -22,7 +22,7 @@ var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -30,12 +30,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
30
30
|
// ../esbuild/src/assets.ts
|
|
31
31
|
async function copyBuildAssets(context) {
|
|
32
32
|
if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
|
|
33
|
-
|
|
33
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
34
34
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
35
35
|
context.workspaceConfig
|
|
36
36
|
);
|
|
37
|
-
const stopwatch =
|
|
38
|
-
await
|
|
37
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
38
|
+
await _chunkK2QPHBGOjs.copyAssets.call(void 0,
|
|
39
39
|
context.workspaceConfig,
|
|
40
40
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
41
41
|
context.outputPath,
|
|
@@ -103,8 +103,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
103
103
|
".woff2": "file"
|
|
104
104
|
},
|
|
105
105
|
banner: {
|
|
106
|
-
js:
|
|
107
|
-
css:
|
|
106
|
+
js: _chunkK2QPHBGOjs.DEFAULT_JS_BANNER,
|
|
107
|
+
css: _chunkK2QPHBGOjs.DEFAULT_CSS_BANNER
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
|
|
@@ -115,11 +115,11 @@ async function resolveContext(userOptions) {
|
|
|
115
115
|
if (!workspaceRoot) {
|
|
116
116
|
throw new Error("Cannot find Nx workspace root");
|
|
117
117
|
}
|
|
118
|
-
const workspaceConfig = await
|
|
118
|
+
const workspaceConfig = await _chunkCHHDG2MXjs.getWorkspaceConfig.call(void 0, true, {
|
|
119
119
|
workspaceRoot: workspaceRoot.dir
|
|
120
120
|
});
|
|
121
|
-
|
|
122
|
-
const stopwatch =
|
|
121
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
122
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "Build options resolution");
|
|
123
123
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
124
124
|
exitOnError: true
|
|
125
125
|
});
|
|
@@ -150,7 +150,7 @@ async function resolveContext(userOptions) {
|
|
|
150
150
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
151
151
|
throw new Error("Cannot find package.json configuration");
|
|
152
152
|
}
|
|
153
|
-
const env =
|
|
153
|
+
const env = _chunkK2QPHBGOjs.getEnv.call(void 0, "esbuild", options);
|
|
154
154
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
155
155
|
const resolvedOptions = {
|
|
156
156
|
...options,
|
|
@@ -189,10 +189,10 @@ async function resolveContext(userOptions) {
|
|
|
189
189
|
};
|
|
190
190
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
191
191
|
if (context.options.verbose) {
|
|
192
|
-
|
|
192
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
193
193
|
` \u2699\uFE0F Build options resolved:
|
|
194
194
|
|
|
195
|
-
${
|
|
195
|
+
${_chunk5QE6QZLLjs.formatLogMessage.call(void 0, context.options)}`,
|
|
196
196
|
workspaceConfig
|
|
197
197
|
);
|
|
198
198
|
}
|
|
@@ -205,8 +205,8 @@ ${_chunkAGR3NCGAjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
205
205
|
|
|
206
206
|
async function generatePackageJson(context) {
|
|
207
207
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
208
|
-
|
|
209
|
-
const stopwatch =
|
|
208
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
209
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "Write package.json file");
|
|
210
210
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
211
211
|
context.options.projectRoot,
|
|
212
212
|
"project.json"
|
|
@@ -226,13 +226,13 @@ async function generatePackageJson(context) {
|
|
|
226
226
|
if (!packageJson) {
|
|
227
227
|
throw new Error("Cannot find package.json configuration file");
|
|
228
228
|
}
|
|
229
|
-
packageJson = await
|
|
229
|
+
packageJson = await _chunkK2QPHBGOjs.addPackageDependencies.call(void 0,
|
|
230
230
|
context.workspaceConfig.workspaceRoot,
|
|
231
231
|
context.options.projectRoot,
|
|
232
232
|
context.projectName,
|
|
233
233
|
packageJson
|
|
234
234
|
);
|
|
235
|
-
packageJson = await
|
|
235
|
+
packageJson = await _chunkK2QPHBGOjs.addWorkspacePackageJsonFields.call(void 0,
|
|
236
236
|
context.workspaceConfig,
|
|
237
237
|
context.options.projectRoot,
|
|
238
238
|
context.sourceRoot,
|
|
@@ -333,12 +333,12 @@ async function generatePackageJson(context) {
|
|
|
333
333
|
var _tsup = require('tsup');
|
|
334
334
|
async function build(options) {
|
|
335
335
|
if (!options.silent) {
|
|
336
|
-
|
|
336
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
337
337
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
338
338
|
options.workspaceConfig
|
|
339
339
|
);
|
|
340
340
|
}
|
|
341
|
-
const stopwatch =
|
|
341
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
342
342
|
await _tsup.build.call(void 0, options);
|
|
343
343
|
if (!options.silent) {
|
|
344
344
|
stopwatch();
|
|
@@ -347,11 +347,11 @@ async function build(options) {
|
|
|
347
347
|
|
|
348
348
|
// ../esbuild/src/tsup.ts
|
|
349
349
|
async function executeTsup(context) {
|
|
350
|
-
|
|
350
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
351
351
|
` \u{1F680} Running ${context.options.name} build`,
|
|
352
352
|
context.workspaceConfig
|
|
353
353
|
);
|
|
354
|
-
const stopwatch =
|
|
354
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
355
355
|
await build({
|
|
356
356
|
...context.options,
|
|
357
357
|
outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -365,17 +365,17 @@ async function executeTsup(context) {
|
|
|
365
365
|
async function reportResults(context) {
|
|
366
366
|
if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
|
|
367
367
|
if (context.result.warnings.length > 0) {
|
|
368
|
-
|
|
368
|
+
_chunk5QE6QZLLjs.writeWarning.call(void 0,
|
|
369
369
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
370
370
|
context.workspaceConfig
|
|
371
371
|
);
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
_chunk5QE6QZLLjs.writeSuccess.call(void 0,
|
|
374
374
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
375
375
|
context.workspaceConfig
|
|
376
376
|
);
|
|
377
377
|
} else if (_optionalChain([context, 'access', _12 => _12.result, 'optionalAccess', _13 => _13.errors]) && _optionalChain([context, 'access', _14 => _14.result, 'optionalAccess', _15 => _15.errors, 'access', _16 => _16.length]) > 0) {
|
|
378
|
-
|
|
378
|
+
_chunk5QE6QZLLjs.writeError.call(void 0,
|
|
379
379
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
380
380
|
context.workspaceConfig
|
|
381
381
|
);
|
|
@@ -386,19 +386,19 @@ async function reportResults(context) {
|
|
|
386
386
|
}
|
|
387
387
|
async function cleanOutputPath(context) {
|
|
388
388
|
if (context.clean !== false && context.outputPath) {
|
|
389
|
-
|
|
389
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
390
390
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
391
391
|
context.workspaceConfig
|
|
392
392
|
);
|
|
393
|
-
const stopwatch =
|
|
393
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
394
394
|
await cleanDirectories(context.outputPath);
|
|
395
395
|
stopwatch();
|
|
396
396
|
}
|
|
397
397
|
return context;
|
|
398
398
|
}
|
|
399
399
|
async function build2(options) {
|
|
400
|
-
|
|
401
|
-
const stopwatch =
|
|
400
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, ` ${_chunk5QE6QZLLjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
|
|
401
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
402
402
|
try {
|
|
403
403
|
const opts = Array.isArray(options) ? options : [options];
|
|
404
404
|
if (opts.length === 0) {
|
|
@@ -413,9 +413,9 @@ async function build2(options) {
|
|
|
413
413
|
executeTsup(context)
|
|
414
414
|
]);
|
|
415
415
|
await reportResults(context);
|
|
416
|
-
|
|
416
|
+
_chunk5QE6QZLLjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
417
417
|
} catch (error) {
|
|
418
|
-
|
|
418
|
+
_chunk5QE6QZLLjs.writeFatal.call(void 0,
|
|
419
419
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
420
420
|
);
|
|
421
421
|
throw error;
|
|
@@ -426,7 +426,7 @@ async function build2(options) {
|
|
|
426
426
|
|
|
427
427
|
// src/executors/esbuild/executor.ts
|
|
428
428
|
async function esbuildExecutorFn(options, context, config) {
|
|
429
|
-
|
|
429
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
430
430
|
if (!_optionalChain([context, 'access', _17 => _17.projectsConfigurations, 'optionalAccess', _18 => _18.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _19 => _19.projectsConfigurations, 'access', _20 => _20.projects, 'access', _21 => _21[context.projectName], 'optionalAccess', _22 => _22.root])) {
|
|
431
431
|
throw new Error(
|
|
432
432
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -447,7 +447,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
447
447
|
success: true
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
|
-
var executor_default =
|
|
450
|
+
var executor_default = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
451
451
|
"Storm ESBuild build",
|
|
452
452
|
esbuildExecutorFn,
|
|
453
453
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HU3JD26C.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
formatLogMessage,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TEYNJ3L6.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkK2QPHBGOjs = require('./chunk-K2QPHBGO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -80,11 +80,11 @@ var resolveOptions = async (userOptions) => {
|
|
|
80
80
|
if (!workspaceRoot) {
|
|
81
81
|
throw new Error("Cannot find Nx workspace root");
|
|
82
82
|
}
|
|
83
|
-
const workspaceConfig = await
|
|
83
|
+
const workspaceConfig = await _chunkCHHDG2MXjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
84
84
|
workspaceRoot
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
const stopwatch =
|
|
86
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
87
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "Build options resolution");
|
|
88
88
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
89
89
|
exitOnError: true
|
|
90
90
|
});
|
|
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
118
118
|
const result = {
|
|
119
119
|
name: projectName,
|
|
120
120
|
mode: "production",
|
|
121
|
-
target:
|
|
121
|
+
target: _chunkK2QPHBGOjs.DEFAULT_TARGET,
|
|
122
122
|
generatePackageJson: true,
|
|
123
123
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
124
124
|
minify: !debug,
|
|
@@ -150,15 +150,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
150
150
|
};
|
|
151
151
|
result.env = _defu2.default.call(void 0,
|
|
152
152
|
options.env,
|
|
153
|
-
|
|
153
|
+
_chunkK2QPHBGOjs.getEnv.call(void 0, "tsdown", result)
|
|
154
154
|
);
|
|
155
155
|
stopwatch();
|
|
156
156
|
return result;
|
|
157
157
|
};
|
|
158
158
|
async function generatePackageJson(options) {
|
|
159
159
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
160
|
-
|
|
161
|
-
const stopwatch =
|
|
160
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
161
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "Write package.json file");
|
|
162
162
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
163
163
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
164
164
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -175,13 +175,13 @@ async function generatePackageJson(options) {
|
|
|
175
175
|
throw new Error("Cannot find package.json configuration file");
|
|
176
176
|
}
|
|
177
177
|
let packageJson = JSON.parse(packageJsonFile);
|
|
178
|
-
packageJson = await
|
|
178
|
+
packageJson = await _chunkK2QPHBGOjs.addPackageDependencies.call(void 0,
|
|
179
179
|
options.workspaceConfig.workspaceRoot,
|
|
180
180
|
options.projectRoot,
|
|
181
181
|
options.projectName,
|
|
182
182
|
packageJson
|
|
183
183
|
);
|
|
184
|
-
packageJson = await
|
|
184
|
+
packageJson = await _chunkK2QPHBGOjs.addWorkspacePackageJsonFields.call(void 0,
|
|
185
185
|
options.workspaceConfig,
|
|
186
186
|
options.projectRoot,
|
|
187
187
|
options.sourceRoot,
|
|
@@ -191,7 +191,7 @@ async function generatePackageJson(options) {
|
|
|
191
191
|
);
|
|
192
192
|
packageJson.exports ??= {};
|
|
193
193
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
194
|
-
packageJson.exports["."] ??=
|
|
194
|
+
packageJson.exports["."] ??= _chunkK2QPHBGOjs.addPackageJsonExport.call(void 0,
|
|
195
195
|
"index",
|
|
196
196
|
packageJson.type,
|
|
197
197
|
options.sourceRoot
|
|
@@ -207,7 +207,7 @@ async function generatePackageJson(options) {
|
|
|
207
207
|
const split = entryPoint.out.split(".");
|
|
208
208
|
split.pop();
|
|
209
209
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
210
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
210
|
+
packageJson.exports[`./${entry2}`] ??= _chunkK2QPHBGOjs.addPackageJsonExport.call(void 0,
|
|
211
211
|
entry2,
|
|
212
212
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
213
213
|
options.sourceRoot
|
|
@@ -232,8 +232,8 @@ async function generatePackageJson(options) {
|
|
|
232
232
|
return options;
|
|
233
233
|
}
|
|
234
234
|
async function executeTSDown(options) {
|
|
235
|
-
|
|
236
|
-
const stopwatch =
|
|
235
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
236
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
237
237
|
await _tsdown.build.call(void 0, {
|
|
238
238
|
...options,
|
|
239
239
|
entry: options.entry,
|
|
@@ -243,12 +243,12 @@ async function executeTSDown(options) {
|
|
|
243
243
|
return options;
|
|
244
244
|
}
|
|
245
245
|
async function copyBuildAssets(options) {
|
|
246
|
-
|
|
246
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
247
247
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
248
248
|
options.workspaceConfig
|
|
249
249
|
);
|
|
250
|
-
const stopwatch =
|
|
251
|
-
await
|
|
250
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
251
|
+
await _chunkK2QPHBGOjs.copyAssets.call(void 0,
|
|
252
252
|
options.workspaceConfig,
|
|
253
253
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
254
254
|
options.outDir,
|
|
@@ -261,18 +261,18 @@ async function copyBuildAssets(options) {
|
|
|
261
261
|
return options;
|
|
262
262
|
}
|
|
263
263
|
async function reportResults(options) {
|
|
264
|
-
|
|
264
|
+
_chunk5QE6QZLLjs.writeSuccess.call(void 0,
|
|
265
265
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
266
266
|
options.workspaceConfig
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
async function cleanOutputPath(options) {
|
|
270
270
|
if (options.clean !== false && options.workspaceConfig) {
|
|
271
|
-
|
|
271
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0,
|
|
272
272
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
273
273
|
options.workspaceConfig
|
|
274
274
|
);
|
|
275
|
-
const stopwatch =
|
|
275
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
276
276
|
await cleanDirectories(
|
|
277
277
|
options.name,
|
|
278
278
|
options.outDir,
|
|
@@ -283,8 +283,8 @@ async function cleanOutputPath(options) {
|
|
|
283
283
|
return options;
|
|
284
284
|
}
|
|
285
285
|
async function build(options) {
|
|
286
|
-
|
|
287
|
-
const stopwatch =
|
|
286
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, ` ${_chunk5QE6QZLLjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
287
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
288
288
|
try {
|
|
289
289
|
const opts = Array.isArray(options) ? options : [options];
|
|
290
290
|
if (opts.length === 0) {
|
|
@@ -304,13 +304,13 @@ async function build(options) {
|
|
|
304
304
|
})
|
|
305
305
|
);
|
|
306
306
|
} else {
|
|
307
|
-
|
|
307
|
+
_chunk5QE6QZLLjs.writeWarning.call(void 0,
|
|
308
308
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
309
309
|
);
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
_chunk5QE6QZLLjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
312
312
|
} catch (error) {
|
|
313
|
-
|
|
313
|
+
_chunk5QE6QZLLjs.writeFatal.call(void 0,
|
|
314
314
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
315
315
|
);
|
|
316
316
|
throw error;
|
|
@@ -321,7 +321,7 @@ async function build(options) {
|
|
|
321
321
|
|
|
322
322
|
// src/executors/tsdown/executor.ts
|
|
323
323
|
async function tsdownExecutorFn(options, context, config) {
|
|
324
|
-
|
|
324
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
325
325
|
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])) {
|
|
326
326
|
throw new Error(
|
|
327
327
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
342
342
|
success: true
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
var executor_default =
|
|
345
|
+
var executor_default = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
346
346
|
"Storm TSDown build",
|
|
347
347
|
tsdownExecutorFn,
|
|
348
348
|
{
|
|
@@ -344,22 +344,31 @@ var getStopwatch = (name) => {
|
|
|
344
344
|
);
|
|
345
345
|
};
|
|
346
346
|
};
|
|
347
|
-
var MAX_DEPTH =
|
|
347
|
+
var MAX_DEPTH = 10;
|
|
348
348
|
var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
349
349
|
if (depth > MAX_DEPTH) {
|
|
350
350
|
return "<max depth>";
|
|
351
351
|
}
|
|
352
|
-
const prefix = _nullishCoalesce(options.prefix, () => ( "
|
|
352
|
+
const prefix = _nullishCoalesce(options.prefix, () => ( ""));
|
|
353
353
|
const skip = _nullishCoalesce(options.skip, () => ( []));
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
${
|
|
357
|
-
(
|
|
354
|
+
const sort = _nullishCoalesce(options.sort, () => ( true));
|
|
355
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
+
${message.map(
|
|
357
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
358
|
+
item,
|
|
359
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
360
|
+
depth + 1
|
|
361
|
+
)}`
|
|
362
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
363
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
364
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
365
|
+
(key2) => !skip.includes(key2)
|
|
366
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
358
367
|
message[key],
|
|
359
|
-
{ prefix: `${prefix}
|
|
368
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
360
369
|
depth + 1
|
|
361
370
|
) : message[key]}`
|
|
362
|
-
).join("\n")}` : message;
|
|
371
|
+
).join("\n")}` : String(message);
|
|
363
372
|
};
|
|
364
373
|
var _isFunction = (value) => {
|
|
365
374
|
try {
|