@storm-software/workspace-tools 1.273.7 → 1.273.10
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 +33 -0
- package/README.md +1 -1
- package/config/base.json +1 -0
- package/dist/{chunk-Y7JE33K2.js → chunk-222WOWGJ.js} +2 -2
- package/dist/{chunk-ON5324R7.js → chunk-2443J2PM.js} +2 -2
- package/dist/{chunk-A6H2SCIM.mjs → chunk-2PZQYXN7.mjs} +25 -22
- package/dist/{chunk-3G3HNZ22.js → chunk-2XAKOAWZ.js} +2 -2
- package/dist/{chunk-ZASRR3NW.mjs → chunk-33SPJY5N.mjs} +1 -1
- package/dist/{chunk-UQJ4W5YX.mjs → chunk-4F35W2XF.mjs} +2 -2
- package/dist/{chunk-QWRE2UFS.js → chunk-4PBELSTL.js} +16 -16
- package/dist/{chunk-AAQQSGPY.mjs → chunk-5E6PGJFN.mjs} +1 -1
- package/dist/{chunk-TSP73RLP.js → chunk-6X3ZLBG2.js} +2 -2
- package/dist/{chunk-MLF7ZQBW.mjs → chunk-7VBGCQH3.mjs} +2 -2
- package/dist/{chunk-FCRAGTW6.mjs → chunk-7XEPEVIZ.mjs} +2 -2
- package/dist/{chunk-VUSG5IWM.js → chunk-A2XTQR6N.js} +21 -21
- package/dist/{chunk-DYDIVZRW.js → chunk-AALD7ZEV.js} +5 -5
- package/dist/{chunk-75RE5W2I.mjs → chunk-AYJTBMXU.mjs} +1 -1
- package/dist/{chunk-5XYM22SB.mjs → chunk-BAZRQFS5.mjs} +3 -3
- package/dist/{chunk-SMRFUKN7.js → chunk-BVE3BYKP.js} +2 -2
- package/dist/{chunk-N63KWRTH.mjs → chunk-C4XOCICR.mjs} +12 -5
- package/dist/{chunk-BNERGX6I.js → chunk-CSYOP22P.js} +55 -18
- package/dist/{chunk-C22PXFKF.js → chunk-CTWNTX3J.js} +5 -5
- package/dist/{chunk-EGPDUUWX.mjs → chunk-D6P2STPQ.mjs} +2 -2
- package/dist/{chunk-AW3I76E2.mjs → chunk-EEHAAR36.mjs} +1 -1
- package/dist/{chunk-5MOK3MSQ.mjs → chunk-EO5BEDAY.mjs} +1 -1
- package/dist/{chunk-2F5TLK3C.js → chunk-F6TLFN34.js} +20 -20
- package/dist/{chunk-MSCI7LQ2.js → chunk-FG3RQ2OV.js} +4 -4
- package/dist/{chunk-S2JDNKK6.js → chunk-FOCRXFSZ.js} +9 -9
- package/dist/{chunk-2PZOGRBP.mjs → chunk-HSBG3ZLM.mjs} +4 -4
- package/dist/{chunk-CUMWQELT.js → chunk-J43B54ZW.js} +32 -29
- package/dist/{chunk-KF6AKLGE.js → chunk-JMRTB4ST.js} +2 -2
- package/dist/{chunk-3QD2U6SS.js → chunk-JQE6CQLQ.js} +29 -29
- package/dist/{chunk-EDMNYJEB.js → chunk-JYCGVSCY.js} +2 -2
- package/dist/{chunk-DMJKKHEC.mjs → chunk-K3NTMKCM.mjs} +2 -2
- package/dist/{chunk-6L7JKV7E.mjs → chunk-M2NVA6UP.mjs} +2 -2
- package/dist/{chunk-EQ3664ZD.mjs → chunk-MAJJATNY.mjs} +2 -2
- package/dist/{chunk-7Q2NOIDR.js → chunk-MBEN52II.js} +2 -2
- package/dist/{chunk-DJYOYWNY.mjs → chunk-NDUYSOQT.mjs} +2 -2
- package/dist/{chunk-5XTW4576.mjs → chunk-NTDTTTFS.mjs} +1 -1
- package/dist/{chunk-M75P2EGZ.js → chunk-QBVFFRGM.js} +2 -2
- package/dist/{chunk-Y5UH66KY.mjs → chunk-R4DNKY7G.mjs} +2 -2
- package/dist/{chunk-M6IYTP2T.mjs → chunk-TITVB67A.mjs} +1 -1
- package/dist/{chunk-2CZBN33P.js → chunk-TP4TN5V3.js} +26 -19
- package/dist/{chunk-TVH6TDED.js → chunk-VF5EUZOL.js} +2 -2
- package/dist/{chunk-WLB7XVWW.mjs → chunk-VWLAZOKW.mjs} +52 -15
- package/dist/{chunk-MNQIKYEB.js → chunk-WJDCZZ4L.js} +2 -2
- package/dist/{chunk-6QQQU5ES.mjs → chunk-XMLAOOM7.mjs} +2 -2
- package/dist/{chunk-W2RLHQ24.mjs → chunk-YRKPABVG.mjs} +1 -1
- package/dist/{chunk-BNV64O5L.js → chunk-ZCP6KEZ3.js} +2 -2
- package/dist/{chunk-R2WP5YDO.mjs → chunk-ZI3GFOY5.mjs} +1 -1
- package/dist/{executor-BB2ETtRv.d.mts → executor--mlxAMR_.d.mts} +1 -1
- package/dist/{executor-B64kh1oi.d.mts → executor-BAnuLY62.d.mts} +1 -1
- package/dist/{executor-iAEPRwdw.d.mts → executor-BGlIYFTt.d.mts} +1 -1
- package/dist/{executor-BoDeD560.d.ts → executor-BS6HK_i-.d.ts} +1 -1
- package/dist/{executor-DweIL90b.d.ts → executor-CmMXt0ZL.d.ts} +1 -1
- package/dist/{executor-DQYta-Bm.d.mts → executor-D-oX5X59.d.mts} +1 -1
- package/dist/{executor-DGI7S1K6.d.ts → executor-VvboSWN6.d.ts} +1 -1
- package/dist/{executor-DJnjBsHi.d.ts → executor-YXD16-Jl.d.ts} +1 -1
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +16 -16
- package/dist/executors.mjs +16 -16
- package/dist/{generator-DkZ7aOcA.d.ts → generator-B0Jsp2ju.d.ts} +2 -2
- package/dist/{generator-Dgh8EO8f.d.mts → generator-B0UkDTyO.d.mts} +2 -2
- package/dist/{generator-Di06Xw7z.d.mts → generator-B4_Po-mX.d.mts} +1 -1
- package/dist/{generator-Bjo526Ot.d.ts → generator-BkkCO0DX.d.ts} +1 -1
- package/dist/{generator-DK9vOp3f.d.mts → generator-CjXWOnnK.d.mts} +2 -2
- package/dist/{generator-BHwTuGoc.d.ts → generator-CsmV6snI.d.ts} +2 -2
- package/dist/{generator-PTy4kTc1.d.ts → generator-CuNtuEDC.d.ts} +2 -2
- package/dist/{generator-BqKMXZ9U.d.mts → generator-DP4Yjbo_.d.mts} +2 -2
- package/dist/{generator-qr528Z40.d.ts → generator-DVfwgNrx.d.ts} +2 -2
- package/dist/{generator-DMoR2v0k.d.mts → generator-DvREvLTF.d.mts} +2 -2
- package/dist/{generator-iNjBgmgt.d.mts → generator-UHjIhmN1.d.mts} +1 -1
- package/dist/{generator-DRa-qwNt.d.ts → generator-lfLl3DXf.d.ts} +1 -1
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +13 -13
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +25 -25
- package/dist/index.mjs +26 -26
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/base/base-generator.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- 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.d.mts +1 -1
- package/dist/src/executors/clean-package/executor.d.ts +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.d.mts +2 -2
- package/dist/src/executors/esbuild/executor.d.ts +2 -2
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +2 -2
- package/dist/src/executors/npm-publish/executor.mjs +2 -2
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.d.mts +2 -2
- package/dist/src/executors/size-limit/executor.d.ts +2 -2
- 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/typia/executor.d.mts +2 -2
- package/dist/src/executors/typia/executor.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/executors/unbuild/executor.d.ts +2 -2
- 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.d.mts +3 -3
- package/dist/src/generators/browser-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/config-schema/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/neutral-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/node-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/preset/generator.d.ts +3 -3
- 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/generators/release-version/generator.d.mts +2 -2
- package/dist/src/generators/release-version/generator.d.ts +2 -2
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +5 -5
- package/dist/src/generators/release-version/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/project-config.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/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.ts +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.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- 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/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/pnpm-deps-update.mjs +1 -1
- package/dist/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/dist/{types-TCjBSz49.d.mts → types-C3bmMIQz.d.mts} +11 -8
- package/dist/{types-TCjBSz49.d.ts → types-C3bmMIQz.d.ts} +11 -8
- package/dist/{types-DrIOVAV9.d.ts → types-U3fABbAy.d.ts} +1 -1
- package/dist/{types-J0DsoZaH.d.mts → types-jbWdA7g_.d.mts} +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.273.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.9) (2025-05-13)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Add back `groupPreVersionCommand` build configuration
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated esbuild to 0.41.8
|
|
14
|
+
- Updated esbuild to 0.41.8
|
|
15
|
+
- Updated unbuild to 0.47.8
|
|
16
|
+
- Updated unbuild to 0.47.8
|
|
17
|
+
|
|
18
|
+
## [1.273.8](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.8) (2025-05-13)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **workspace-tools:** Resolve issue with null version written to package.json
|
|
23
|
+
|
|
24
|
+
## [1.273.7](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.7) (2025-05-13)
|
|
25
|
+
|
|
26
|
+
### Miscellaneous
|
|
27
|
+
|
|
28
|
+
- **monorepo:** Regenerate README markdown files
|
|
29
|
+
|
|
30
|
+
### Updated Dependencies
|
|
31
|
+
|
|
32
|
+
- Updated prettier to 0.51.7
|
|
33
|
+
- Updated esbuild to 0.41.7
|
|
34
|
+
- Updated esbuild to 0.41.7
|
|
35
|
+
- Updated unbuild to 0.47.7
|
|
36
|
+
- Updated unbuild to 0.47.7
|
|
37
|
+
|
|
5
38
|
## [1.273.6](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.6) (2025-05-09)
|
|
6
39
|
|
|
7
40
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/config/base.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4PBELSTLjs = require('./chunk-4PBELSTL.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunk4PBELSTLjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkA2XTQR6Njs = require('./chunk-A2XTQR6N.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkA2XTQR6Njs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -25,8 +25,9 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
25
25
|
context.root,
|
|
26
26
|
options.packageRoot || joinPaths("dist", projectConfig.root)
|
|
27
27
|
);
|
|
28
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName]
|
|
28
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ? joinPaths(
|
|
29
29
|
context.root,
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
30
31
|
context.projectsConfigurations.projects[context.projectName].root
|
|
31
32
|
) : packageRoot;
|
|
32
33
|
const packageJsonPath = joinPaths(packageRoot, "package.json");
|
|
@@ -45,28 +46,30 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
45
46
|
const projectPackageJson = JSON.parse(projectPackageJsonFile);
|
|
46
47
|
if (packageJson.version !== projectPackageJson.version) {
|
|
47
48
|
console.warn(
|
|
48
|
-
`The version in the package.json file at ${packageJsonPath} does not match the version in the package.json file at ${projectPackageJsonPath}. This file will be updated to match the version in the project package.json file.`
|
|
49
|
-
);
|
|
50
|
-
packageJson.version = projectPackageJson.version;
|
|
51
|
-
await writeFile(
|
|
52
|
-
packageJsonPath,
|
|
53
|
-
await format(JSON.stringify(packageJson), {
|
|
54
|
-
parser: "json",
|
|
55
|
-
proseWrap: "always",
|
|
56
|
-
trailingComma: "none",
|
|
57
|
-
tabWidth: 2,
|
|
58
|
-
semi: true,
|
|
59
|
-
singleQuote: false,
|
|
60
|
-
quoteProps: "as-needed",
|
|
61
|
-
insertPragma: false,
|
|
62
|
-
bracketSameLine: true,
|
|
63
|
-
printWidth: 80,
|
|
64
|
-
bracketSpacing: true,
|
|
65
|
-
arrowParens: "avoid",
|
|
66
|
-
endOfLine: "lf",
|
|
67
|
-
plugins: ["prettier-plugin-pkg"]
|
|
68
|
-
})
|
|
49
|
+
`The version in the package.json file at ${packageJsonPath} (current: ${packageJson.version}) does not match the version in the package.json file at ${projectPackageJsonPath} (current: ${projectPackageJson.version}). This file will be updated to match the version in the project package.json file.`
|
|
69
50
|
);
|
|
51
|
+
if (projectPackageJson.version) {
|
|
52
|
+
packageJson.version = projectPackageJson.version;
|
|
53
|
+
await writeFile(
|
|
54
|
+
packageJsonPath,
|
|
55
|
+
await format(JSON.stringify(packageJson), {
|
|
56
|
+
parser: "json",
|
|
57
|
+
proseWrap: "always",
|
|
58
|
+
trailingComma: "none",
|
|
59
|
+
tabWidth: 2,
|
|
60
|
+
semi: true,
|
|
61
|
+
singleQuote: false,
|
|
62
|
+
quoteProps: "as-needed",
|
|
63
|
+
insertPragma: false,
|
|
64
|
+
bracketSameLine: true,
|
|
65
|
+
printWidth: 80,
|
|
66
|
+
bracketSpacing: true,
|
|
67
|
+
arrowParens: "avoid",
|
|
68
|
+
endOfLine: "lf",
|
|
69
|
+
plugins: ["prettier-plugin-pkg"]
|
|
70
|
+
})
|
|
71
|
+
);
|
|
72
|
+
}
|
|
70
73
|
}
|
|
71
74
|
const packageName = packageJson.name;
|
|
72
75
|
console.info(
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkA2XTQR6Njs = require('./chunk-A2XTQR6N.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkA2XTQR6Njs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-3PTWOMU2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7VBGCQH3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-U7JFVMCK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AYJTBMXU.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTP4TN5V3js = require('./chunk-TP4TN5V3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ var _chunk2CZBN33Pjs = require('./chunk-2CZBN33P.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkCSYOP22Pjs = require('./chunk-CSYOP22P.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,30 +22,30 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
23
23
|
skipReadingConfig: false
|
|
24
24
|
}) => async (tree, _options) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunkCSYOP22Pjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config;
|
|
28
28
|
try {
|
|
29
|
-
|
|
29
|
+
_chunkCSYOP22Pjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
30
30
|
|
|
31
31
|
`, config);
|
|
32
32
|
const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
|
|
33
33
|
if (!generatorOptions.skipReadingConfig) {
|
|
34
|
-
|
|
34
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0,
|
|
35
35
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
config = await
|
|
39
|
+
config = await _chunkTP4TN5V3js.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
|
-
|
|
42
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
43
43
|
options = await Promise.resolve(
|
|
44
44
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
_chunkCSYOP22Pjs.writeTrace.call(void 0,
|
|
49
49
|
`Generator schema options \u2699\uFE0F
|
|
50
50
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
51
51
|
config
|
|
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
56
56
|
_chunkJ2Z4WP3Ejs.applyWorkspaceBaseTokens
|
|
57
57
|
);
|
|
58
58
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
59
|
-
|
|
59
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
60
60
|
await Promise.resolve(
|
|
61
61
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
62
62
|
);
|
|
63
|
-
|
|
63
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
64
64
|
}
|
|
65
65
|
const result = await Promise.resolve(
|
|
66
66
|
generatorFn(tree, tokenized, config)
|
|
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
78
|
-
|
|
78
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
79
79
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
80
|
-
|
|
80
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
81
81
|
}
|
|
82
82
|
return () => {
|
|
83
|
-
|
|
83
|
+
_chunkCSYOP22Pjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
84
84
|
`, config);
|
|
85
85
|
};
|
|
86
86
|
} catch (error) {
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
_chunkCSYOP22Pjs.writeFatal.call(void 0,
|
|
89
89
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
90
90
|
config
|
|
91
91
|
);
|
|
92
|
-
|
|
92
|
+
_chunkCSYOP22Pjs.writeError.call(void 0,
|
|
93
93
|
`An exception was thrown in the generator's process
|
|
94
94
|
- Details: ${error.message}
|
|
95
95
|
- Stacktrace: ${error.stack}`,
|
|
@@ -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 _chunkJYCGVSCYjs = require('./chunk-JYCGVSCY.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 = _chunkJYCGVSCYjs.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 {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-X6PHOMFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C4XOCICR.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getStopwatch,
|
|
10
10
|
writeDebug,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VWLAZOKW.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
19
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-X6PHOMFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C4XOCICR.mjs";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VWLAZOKW.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTP4TN5V3js = require('./chunk-TP4TN5V3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunk2CZBN33Pjs = require('./chunk-2CZBN33P.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkCSYOP22Pjs = require('./chunk-CSYOP22P.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,7 +22,7 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunkCSYOP22Pjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunkCSYOP22Pjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunkCSYOP22Pjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunkTP4TN5V3js.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunkCSYOP22Pjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunkCSYOP22Pjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunkBNERGX6Ijs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunkCSYOP22Pjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunkCSYOP22Pjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -95,9 +95,9 @@ ${_chunkBNERGX6Ijs.formatLogMessage.call(void 0, tokenized)}
|
|
|
95
95
|
ret
|
|
96
96
|
);
|
|
97
97
|
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")) {
|
|
98
|
-
|
|
98
|
+
_chunkCSYOP22Pjs.writeTrace.call(void 0,
|
|
99
99
|
`Failure determined by the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunkCSYOP22Pjs.formatLogMessage.call(void 0, result)}`,
|
|
101
101
|
config
|
|
102
102
|
);
|
|
103
103
|
console.error(result);
|
|
@@ -106,21 +106,21 @@ ${_chunkBNERGX6Ijs.formatLogMessage.call(void 0, result)}`,
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunkCSYOP22Pjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunkCSYOP22Pjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunkCSYOP22Pjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunkCSYOP22Pjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA2XTQR6Njs = require('./chunk-A2XTQR6N.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCSYOP22Pjs = require('./chunk-CSYOP22P.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
var _fsextra = require('fs-extra');
|
|
10
10
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
11
11
|
async function typiaExecutorFn(options, _, config) {
|
|
12
12
|
if (options.clean !== false) {
|
|
13
|
-
|
|
13
|
+
_chunkCSYOP22Pjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
14
14
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
15
15
|
}
|
|
16
16
|
await Promise.all(
|
|
17
17
|
options.entry.map((entry) => {
|
|
18
|
-
|
|
18
|
+
_chunkCSYOP22Pjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
19
19
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
20
20
|
input: entry,
|
|
21
21
|
output: options.outputPath,
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunkA2XTQR6Njs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
5
5
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
8
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__23d29aaa007764500c48e48a9770b339/node_modules/tsup/assets/esm_shims.js
|
|
9
9
|
import { fileURLToPath } from "url";
|
|
10
10
|
import path from "path";
|
|
11
11
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZI3GFOY5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C4XOCICR.mjs";
|
|
10
10
|
import {
|
|
11
11
|
getStopwatch,
|
|
12
12
|
writeDebug,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VWLAZOKW.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkU3YH5M4Ljs = require('./chunk-U3YH5M4L.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4PBELSTLjs = require('./chunk-4PBELSTL.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunk4PBELSTLjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -4,14 +4,15 @@ import {
|
|
|
4
4
|
STORM_DEFAULT_DOCS,
|
|
5
5
|
STORM_DEFAULT_HOMEPAGE,
|
|
6
6
|
STORM_DEFAULT_LICENSING,
|
|
7
|
+
applyDefaultConfig,
|
|
7
8
|
formatLogMessage,
|
|
8
|
-
getDefaultConfig,
|
|
9
9
|
getLogLevel,
|
|
10
10
|
getLogLevelLabel,
|
|
11
|
+
getPackageJsonConfig,
|
|
11
12
|
stormWorkspaceConfigSchema,
|
|
12
13
|
writeTrace,
|
|
13
14
|
writeWarning
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VWLAZOKW.mjs";
|
|
15
16
|
import {
|
|
16
17
|
findWorkspaceRoot
|
|
17
18
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -149,6 +150,7 @@ var getConfigEnv = () => {
|
|
|
149
150
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
150
151
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
151
152
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
153
|
+
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
152
154
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
153
155
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
154
156
|
configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
@@ -367,6 +369,9 @@ var setConfigEnv = (config) => {
|
|
|
367
369
|
if (config.contact) {
|
|
368
370
|
process.env[`${prefix}CONTACT`] = config.contact;
|
|
369
371
|
}
|
|
372
|
+
if (config.support) {
|
|
373
|
+
process.env[`${prefix}SUPPORT`] = config.support;
|
|
374
|
+
}
|
|
370
375
|
if (config.timezone) {
|
|
371
376
|
process.env[`${prefix}TIMEZONE`] = config.timezone;
|
|
372
377
|
process.env.TZ = config.timezone;
|
|
@@ -616,9 +621,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
616
621
|
return void 0;
|
|
617
622
|
}
|
|
618
623
|
}
|
|
619
|
-
const defaultConfig = await
|
|
620
|
-
result =
|
|
621
|
-
|
|
624
|
+
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
625
|
+
result = applyDefaultConfig(
|
|
626
|
+
await stormWorkspaceConfigSchema.parseAsync(
|
|
627
|
+
defu2(configEnv, configFile, defaultConfig)
|
|
628
|
+
)
|
|
622
629
|
);
|
|
623
630
|
result.workspaceRoot ??= _workspaceRoot;
|
|
624
631
|
} else {
|