@storm-software/workspace-tools 1.295.79 → 1.295.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/config/base.json +20 -1
- package/config/recommended.json +20 -1
- package/dist/{chunk-2FQIDYBN.js → chunk-2CXXVFU4.js} +12 -12
- package/dist/{chunk-5M7Q5AGZ.js → chunk-2L7ICILU.js} +30 -30
- package/dist/{chunk-3ZYXVFDI.mjs → chunk-35ERFW7I.mjs} +2 -2
- package/dist/{chunk-HU3JD26C.mjs → chunk-35G4LHK2.mjs} +1 -1
- package/dist/{chunk-TEYNJ3L6.mjs → chunk-4AR5RJMF.mjs} +9 -3
- package/dist/{chunk-JINU7C4X.js → chunk-6HJ4EEBB.js} +2 -2
- package/dist/{chunk-IDQYPP4E.js → chunk-6IXJEWJR.js} +2 -2
- package/dist/{chunk-CSZ34LXS.mjs → chunk-7MM5MBEP.mjs} +1 -1
- package/dist/{chunk-GOCSQYEA.mjs → chunk-ALL63TSY.mjs} +2 -2
- package/dist/{chunk-24WGOY7M.js → chunk-AY3HOPOX.js} +2 -2
- package/dist/{chunk-HLULZNA6.mjs → chunk-BAYA5SVP.mjs} +1 -1
- package/dist/{chunk-KW6T252F.mjs → chunk-BT7OBRJT.mjs} +3 -3
- package/dist/{chunk-KSL6QUB7.js → chunk-CBVZ57E6.js} +21 -21
- package/dist/{chunk-CHHDG2MX.js → chunk-CQIILJEF.js} +10 -10
- package/dist/{chunk-X777ZFHU.js → chunk-DEP6TIXL.js} +5 -5
- package/dist/{chunk-KM43UGU6.mjs → chunk-DJZX3XBE.mjs} +2 -2
- package/dist/{chunk-75H7T5KM.mjs → chunk-EMX7LTEI.mjs} +2 -2
- package/dist/{chunk-CW4MH5E2.mjs → chunk-EQMVQ3I7.mjs} +2 -2
- package/dist/{chunk-L4SZWD3D.js → chunk-ETSIRKO5.js} +2 -2
- package/dist/{chunk-AJSJ2JR6.mjs → chunk-EYO6EPEG.mjs} +1 -1
- package/dist/{chunk-IPVDQCJ4.js → chunk-FFEJNAFP.js} +2 -2
- package/dist/{chunk-6ECSUXBH.mjs → chunk-FPNWNZUL.mjs} +2 -2
- package/dist/{chunk-42LESXB3.mjs → chunk-FQX7ZBQS.mjs} +1 -1
- package/dist/{chunk-AFZKYL2P.mjs → chunk-GCDDSEDG.mjs} +13 -21
- package/dist/{chunk-VSWADZIP.mjs → chunk-GED6QYLK.mjs} +1 -1
- package/dist/{chunk-F5HQPVFD.mjs → chunk-GTBTSMUH.mjs} +1 -1
- package/dist/{chunk-5QE6QZLL.js → chunk-GZA2CV3C.js} +9 -3
- package/dist/{chunk-5WFZQ5JS.mjs → chunk-HECOVC7R.mjs} +2 -2
- package/dist/{chunk-YZVCSH3T.mjs → chunk-IETUQQJT.mjs} +2 -2
- package/dist/{chunk-K2QPHBGO.js → chunk-IIFXLZEH.js} +6 -6
- package/dist/{chunk-35KAXAXF.js → chunk-JDDKEYTF.js} +34 -34
- package/dist/{chunk-OPW7VZL2.mjs → chunk-JPOHRWVM.mjs} +1 -1
- package/dist/{chunk-J2TZAZ76.js → chunk-LULOWPU2.js} +17 -17
- package/dist/{chunk-VGLDTD5U.mjs → chunk-MNA3AU4B.mjs} +1 -1
- package/dist/{chunk-Q5FLBXGL.js → chunk-NUGNYGBF.js} +4 -4
- package/dist/{chunk-WNPTYHA4.js → chunk-O7Z2YGFU.js} +5 -5
- package/dist/{chunk-BEZE4GFI.mjs → chunk-OBATTMGC.mjs} +2 -2
- package/dist/{chunk-RK2R4IGP.js → chunk-P56QF3XG.js} +2 -2
- package/dist/{chunk-BE6YVKCO.js → chunk-PB5565L7.js} +2 -2
- package/dist/{chunk-TFTJEDAM.mjs → chunk-PICVMVJQ.mjs} +4 -4
- package/dist/{chunk-HXRTQR3U.js → chunk-PRW5IUAC.js} +2 -2
- package/dist/{chunk-HE55HJHZ.mjs → chunk-QSNWB7A5.mjs} +1 -1
- package/dist/{chunk-TLWPXL7M.mjs → chunk-RCSUK5YZ.mjs} +2 -2
- package/dist/{chunk-MNFKXDV6.mjs → chunk-S2KOD2HL.mjs} +2 -2
- package/dist/{chunk-UIRPA76V.js → chunk-SGI4JCLV.js} +15 -23
- package/dist/{chunk-QKLKDDTU.js → chunk-THA4SGMV.js} +2 -2
- package/dist/{chunk-FSSGFERS.js → chunk-U5JPGO47.js} +2 -2
- package/dist/{chunk-XT7T25QQ.js → chunk-VC4FGY7P.js} +2 -2
- package/dist/{chunk-CHUFDTF4.js → chunk-WJ5AG2IU.js} +11 -11
- package/dist/{chunk-42RN7JZQ.mjs → chunk-WQUWUZZ4.mjs} +1 -1
- package/dist/{chunk-KMBE3TLK.js → chunk-WTWQAZUM.js} +4 -4
- package/dist/{chunk-OAST6ITX.mjs → chunk-X2UWPTFU.mjs} +1 -1
- package/dist/{chunk-FAMMSDNC.js → chunk-XNHWWPSK.js} +2 -2
- package/dist/{chunk-H75JKG5Z.mjs → chunk-YRGMZRC3.mjs} +4 -4
- package/dist/{chunk-7Y4HTTCH.js → chunk-ZYI527ZS.js} +2 -2
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +20 -20
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +9 -9
- package/dist/index.js +28 -28
- package/dist/index.mjs +28 -28
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +4 -4
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +4 -4
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +5 -5
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +4 -4
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +6 -6
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +5 -5
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +6 -6
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +5 -5
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +6 -6
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +5 -5
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +5 -5
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +5 -5
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +5 -5
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +5 -5
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +6 -6
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +5 -5
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.295.80](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.80) (05/16/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Added more release fields to `base.json` file ([78a664388](https://github.com/storm-software/storm-ops/commit/78a664388))
|
|
10
|
+
- **workspace-tools:** Revert changes to `nx.json` file ([de5a83976](https://github.com/storm-software/storm-ops/commit/de5a83976))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **package-constants** to **v0.1.33**
|
|
15
|
+
- Updated **testing-tools** to **v1.119.173**
|
|
16
|
+
- Updated **config-tools** to **v1.190.20**
|
|
17
|
+
- Updated **pnpm-tools** to **v0.7.30**
|
|
18
|
+
- Updated **npm-tools** to **v0.6.137**
|
|
19
|
+
- Updated **prettier** to **v0.59.72**
|
|
20
|
+
- Updated **esbuild** to **v0.53.181**
|
|
21
|
+
- Updated **unbuild** to **v0.57.181**
|
|
22
|
+
- Updated **config** to **v1.137.52**
|
|
23
|
+
- Updated **tsdown** to **v0.45.181**
|
|
24
|
+
|
|
25
|
+
## [1.295.79](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.79) (05/16/2026)
|
|
26
|
+
|
|
27
|
+
### Updated Dependencies
|
|
28
|
+
|
|
29
|
+
- Updated **package-constants** to **v0.1.32**
|
|
30
|
+
- Updated **testing-tools** to **v1.119.172**
|
|
31
|
+
- Updated **config-tools** to **v1.190.19**
|
|
32
|
+
- Updated **pnpm-tools** to **v0.7.29**
|
|
33
|
+
- Updated **npm-tools** to **v0.6.136**
|
|
34
|
+
- Updated **prettier** to **v0.59.71**
|
|
35
|
+
- Updated **esbuild** to **v0.53.180**
|
|
36
|
+
- Updated **unbuild** to **v0.57.180**
|
|
37
|
+
- Updated **config** to **v1.137.51**
|
|
38
|
+
- Updated **tsdown** to **v0.45.180**
|
|
39
|
+
|
|
5
40
|
## [1.295.78](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.78) (05/15/2026)
|
|
6
41
|
|
|
7
42
|
### Updated Dependencies
|
package/config/base.json
CHANGED
|
@@ -295,7 +295,26 @@
|
|
|
295
295
|
"groups": {
|
|
296
296
|
"packages": {
|
|
297
297
|
"projects": ["packages/*"],
|
|
298
|
-
"projectsRelationship": "independent"
|
|
298
|
+
"projectsRelationship": "independent",
|
|
299
|
+
"changelog": {
|
|
300
|
+
"createRelease": "github",
|
|
301
|
+
"entryWhenNoChanges": false
|
|
302
|
+
},
|
|
303
|
+
"version": {
|
|
304
|
+
"groupPreVersionCommand": "pnpm build",
|
|
305
|
+
"currentVersionResolver": "git-tag",
|
|
306
|
+
"specifierSource": "conventional-commits",
|
|
307
|
+
"manifestRootsToUpdate": [
|
|
308
|
+
"{projectRoot}",
|
|
309
|
+
{
|
|
310
|
+
"path": "dist/{projectRoot}",
|
|
311
|
+
"preserveLocalDependencyProtocols": false
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"releaseTag": {
|
|
316
|
+
"pattern": "{projectName}@{version}"
|
|
317
|
+
}
|
|
299
318
|
}
|
|
300
319
|
}
|
|
301
320
|
},
|
package/config/recommended.json
CHANGED
|
@@ -295,7 +295,26 @@
|
|
|
295
295
|
"groups": {
|
|
296
296
|
"packages": {
|
|
297
297
|
"projects": ["packages/*"],
|
|
298
|
-
"projectsRelationship": "independent"
|
|
298
|
+
"projectsRelationship": "independent",
|
|
299
|
+
"changelog": {
|
|
300
|
+
"createRelease": "github",
|
|
301
|
+
"entryWhenNoChanges": false
|
|
302
|
+
},
|
|
303
|
+
"version": {
|
|
304
|
+
"groupPreVersionCommand": "pnpm build",
|
|
305
|
+
"currentVersionResolver": "git-tag",
|
|
306
|
+
"specifierSource": "conventional-commits",
|
|
307
|
+
"manifestRootsToUpdate": [
|
|
308
|
+
"{projectRoot}",
|
|
309
|
+
{
|
|
310
|
+
"path": "dist/{projectRoot}",
|
|
311
|
+
"preserveLocalDependencyProtocols": false
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"releaseTag": {
|
|
316
|
+
"pattern": "{projectName}@{version}"
|
|
317
|
+
}
|
|
299
318
|
}
|
|
300
319
|
}
|
|
301
320
|
},
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPB5565L7js = require('./chunk-PB5565L7.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.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 _chunkCQIILJEFjs.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 = _chunkPB5565L7js.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 = _chunkPB5565L7js.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 = _chunkPB5565L7js.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 = _chunkPB5565L7js.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 = _chunkPB5565L7js.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkPB5565L7js.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 = _chunkPB5565L7js.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 = _chunkPB5565L7js.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
|
+
_chunkPB5565L7js.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 _chunkIIFXLZEHjs = require('./chunk-IIFXLZEH.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.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 _chunkCQIILJEFjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
84
84
|
workspaceRoot
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
const stopwatch =
|
|
86
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
87
|
+
const stopwatch = _chunkGZA2CV3Cjs.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: _chunkIIFXLZEHjs.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
|
+
_chunkIIFXLZEHjs.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
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
161
|
+
const stopwatch = _chunkGZA2CV3Cjs.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 _chunkIIFXLZEHjs.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 _chunkIIFXLZEHjs.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["."] ??= _chunkIIFXLZEHjs.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}`] ??= _chunkIIFXLZEHjs.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
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
236
|
+
const stopwatch = _chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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 = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
251
|
+
await _chunkIIFXLZEHjs.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
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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 = _chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, ` ${_chunkGZA2CV3Cjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
287
|
+
const stopwatch = _chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
312
312
|
} catch (error) {
|
|
313
|
-
|
|
313
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
|
|
346
346
|
"Storm TSDown build",
|
|
347
347
|
tsdownExecutorFn,
|
|
348
348
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-35G4LHK2.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-4AR5RJMF.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -353,16 +353,22 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
353
353
|
const skip = options.skip ?? [];
|
|
354
354
|
const sort = options.sort ?? true;
|
|
355
355
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
-
${message.
|
|
356
|
+
${message.sort(
|
|
357
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
358
|
+
).map(
|
|
357
359
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
358
360
|
item,
|
|
359
361
|
{ prefix: `${prefix}--`, skip, sort },
|
|
360
362
|
depth + 1
|
|
361
363
|
)}`
|
|
362
364
|
).join("\n")}` : typeof message === "object" ? `
|
|
363
|
-
${Object.keys(message).filter(
|
|
365
|
+
${Object.keys(message).filter(
|
|
366
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
367
|
+
).sort(
|
|
368
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
369
|
+
).map(
|
|
364
370
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
365
|
-
(key2) => !skip.includes(key2)
|
|
371
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
366
372
|
).length === 0 ? "{}" : formatLogMessage(
|
|
367
373
|
message[key],
|
|
368
374
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLULOWPU2js = require('./chunk-LULOWPU2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunkLULOWPU2js.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPB5565L7js = require('./chunk-PB5565L7.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: _chunkPB5565L7js.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-35G4LHK2.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-4AR5RJMF.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ALL63TSY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-35G4LHK2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
11
11
|
writeTrace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4AR5RJMF.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
15
|
} from "./chunk-3J2CP54B.mjs";
|