@storm-software/workspace-tools 1.295.69 → 1.295.71
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 +12880 -0
- package/LICENSE +201 -0
- package/README.md +996 -0
- package/assets/cjs_shims.js +11 -0
- package/assets/esm_shims.js +9 -0
- package/config/base.json +306 -0
- package/config/recommended.json +310 -0
- package/dist/chunk-237PJK2V.js +128 -0
- package/dist/chunk-2AVWFUXP.js +112 -0
- package/dist/chunk-2GQSCZ3J.mjs +128 -0
- package/dist/chunk-2HPK7P5W.js +93 -0
- package/dist/chunk-2NAUEEZT.js +31 -0
- package/dist/chunk-2QMGYIOO.mjs +81 -0
- package/dist/chunk-32KQVUCF.js +163 -0
- package/dist/chunk-34LSWMWV.mjs +20 -0
- package/dist/chunk-3J2CP54B.mjs +100 -0
- package/dist/chunk-3QM6CFXC.mjs +49 -0
- package/dist/chunk-437WGH2M.mjs +32 -0
- package/dist/chunk-46GNS53C.mjs +110 -0
- package/dist/chunk-4AKDRRML.js +339 -0
- package/dist/chunk-4VWDSVQJ.mjs +321 -0
- package/dist/chunk-4Z3UCUDJ.mjs +548 -0
- package/dist/chunk-4ZQUYG5T.js +37 -0
- package/dist/chunk-52CEFR2O.js +52 -0
- package/dist/chunk-57OGFZNB.js +321 -0
- package/dist/chunk-5GZC2PF6.mjs +0 -0
- package/dist/chunk-5JNL56OH.mjs +364 -0
- package/dist/chunk-5JYAH2VL.mjs +388 -0
- package/dist/chunk-5OS7GV5T.mjs +51 -0
- package/dist/chunk-6EMYX25V.js +7 -0
- package/dist/chunk-6YZ3OUJB.mjs +0 -0
- package/dist/chunk-77B77QNY.mjs +148 -0
- package/dist/chunk-7AL5GHNT.mjs +82 -0
- package/dist/chunk-7CJRMBX3.js +20 -0
- package/dist/chunk-7JRL2LE3.js +21 -0
- package/dist/chunk-7K3VIGA4.mjs +105 -0
- package/dist/chunk-7RI43PE4.js +32 -0
- package/dist/chunk-A7XSX2OE.js +41 -0
- package/dist/chunk-AGR3NCGA.js +387 -0
- package/dist/chunk-AH7KAAQJ.mjs +17 -0
- package/dist/chunk-ANHKV7HZ.js +22 -0
- package/dist/chunk-BAPFD3TO.js +79 -0
- package/dist/chunk-BRMFLUTQ.js +117 -0
- package/dist/chunk-BWV5PEQM.mjs +10 -0
- package/dist/chunk-C3TC7AUW.js +1 -0
- package/dist/chunk-CJVTWYOM.mjs +50 -0
- package/dist/chunk-CNL74KSJ.mjs +52 -0
- package/dist/chunk-CQDBLKPF.js +172 -0
- package/dist/chunk-CZPRVK6P.mjs +31 -0
- package/dist/chunk-DIUWF7BW.js +17 -0
- package/dist/chunk-DTBAID2E.mjs +469 -0
- package/dist/chunk-EGI64HQ2.mjs +22 -0
- package/dist/chunk-FHHWAN4N.js +50 -0
- package/dist/chunk-FVCRMDQ4.mjs +319 -0
- package/dist/chunk-FX64QLIN.mjs +93 -0
- package/dist/chunk-GHQJKIMQ.mjs +0 -0
- package/dist/chunk-GKLFEOKK.mjs +163 -0
- package/dist/chunk-GSGT2T27.js +150 -0
- package/dist/chunk-HXQRGLII.js +81 -0
- package/dist/chunk-IIDZJGC3.js +469 -0
- package/dist/chunk-IIMRAJEJ.js +74 -0
- package/dist/chunk-IK2SIG4W.mjs +32 -0
- package/dist/chunk-IVAYCDYI.js +250 -0
- package/dist/chunk-JCPIXJ3N.mjs +37 -0
- package/dist/chunk-JGP4YWZY.js +1 -0
- package/dist/chunk-K4QMCCQB.mjs +79 -0
- package/dist/chunk-K7B3YICS.mjs +1510 -0
- package/dist/chunk-KBIJQTKM.js +105 -0
- package/dist/chunk-KBJ7IEXI.js +1 -0
- package/dist/chunk-KR72GKIT.mjs +7 -0
- package/dist/chunk-LMYTVXGX.js +100 -0
- package/dist/chunk-LOIAWLLD.mjs +128 -0
- package/dist/chunk-LQHVZMFV.js +79 -0
- package/dist/chunk-LZ3H2OH5.mjs +158 -0
- package/dist/chunk-M4QORJBG.js +79 -0
- package/dist/chunk-MHKQN2Y7.mjs +77 -0
- package/dist/chunk-OKSECMVK.js +32 -0
- package/dist/chunk-P5P43FOZ.mjs +0 -0
- package/dist/chunk-P6HSE7LH.js +1 -0
- package/dist/chunk-PHIKLLXQ.js +32 -0
- package/dist/chunk-PMPKOMMD.js +158 -0
- package/dist/chunk-QC5ON3X4.mjs +40 -0
- package/dist/chunk-QLV3LANL.js +32 -0
- package/dist/chunk-QQB6GFYM.mjs +79 -0
- package/dist/chunk-QVYCDING.js +23 -0
- package/dist/chunk-R4NPC2W7.mjs +213 -0
- package/dist/chunk-RGPA6TMT.js +364 -0
- package/dist/chunk-RK2H6GNO.js +102 -0
- package/dist/chunk-RN4I4XGR.mjs +117 -0
- package/dist/chunk-RSYBXBX2.js +110 -0
- package/dist/chunk-RW4Q2PQR.js +213 -0
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-SEZ726NO.mjs +150 -0
- package/dist/chunk-SW2E5MQJ.mjs +112 -0
- package/dist/chunk-SZWM7COV.js +40 -0
- package/dist/chunk-T55IDP24.mjs +387 -0
- package/dist/chunk-TAP26ZJQ.js +128 -0
- package/dist/chunk-TBW5MCN6.mjs +172 -0
- package/dist/chunk-TM2CRDJW.js +148 -0
- package/dist/chunk-TX5O64JJ.js +319 -0
- package/dist/chunk-U35L6YML.mjs +105 -0
- package/dist/chunk-UBVTASOE.mjs +62 -0
- package/dist/chunk-UE6LE5R2.mjs +32 -0
- package/dist/chunk-UKTILFKM.mjs +32 -0
- package/dist/chunk-UNUH7N7Y.mjs +76 -0
- package/dist/chunk-UTP3KI2H.js +76 -0
- package/dist/chunk-UV6QIFS3.js +388 -0
- package/dist/chunk-V5K2PDVY.mjs +339 -0
- package/dist/chunk-VMZGSS4M.mjs +253 -0
- package/dist/chunk-VTEU7W42.mjs +41 -0
- package/dist/chunk-VXHOSAQ7.js +62 -0
- package/dist/chunk-W2C5IGWW.mjs +23 -0
- package/dist/chunk-WUKU43IZ.js +49 -0
- package/dist/chunk-X3HC3R2I.js +51 -0
- package/dist/chunk-YYLV7UA6.js +1 -0
- package/dist/chunk-Z7G3CM4Z.js +548 -0
- package/dist/chunk-ZCTECGQS.mjs +21 -0
- package/dist/chunk-ZJ75AYXE.js +1510 -0
- package/dist/executor-0ivVjqma.d.mts +75 -0
- package/dist/executor-0ivVjqma.d.ts +75 -0
- package/dist/executor-BAeunL4c.d.mts +143 -0
- package/dist/executor-BKdjKo-J.d.mts +93 -0
- package/dist/executor-BKdjKo-J.d.ts +93 -0
- package/dist/executor-BbIkDktz.d.mts +103 -0
- package/dist/executor-BbIkDktz.d.ts +103 -0
- package/dist/executor-BxzAij2P.d.ts +57 -0
- package/dist/executor-C4Ddk0eB.d.mts +145 -0
- package/dist/executor-CPBR709C.d.ts +143 -0
- package/dist/executor-CPh7sG83.d.mts +57 -0
- package/dist/executor-CVgzIGPj.d.mts +95 -0
- package/dist/executor-CVgzIGPj.d.ts +95 -0
- package/dist/executor-CWRRdIo2.d.mts +95 -0
- package/dist/executor-CWRRdIo2.d.ts +95 -0
- package/dist/executor-DA8yyqTK.d.mts +33 -0
- package/dist/executor-DJOXX8-N.d.mts +267 -0
- package/dist/executor-DcKEmf82.d.ts +305 -0
- package/dist/executor-DpEbHA1f.d.mts +131 -0
- package/dist/executor-DpEbHA1f.d.ts +131 -0
- package/dist/executor-DvfMQSTP.d.mts +305 -0
- package/dist/executor-HMyCQrhV.d.ts +33 -0
- package/dist/executor-YAjz4bej.d.ts +267 -0
- package/dist/executor-jYQ7uQ13.d.mts +121 -0
- package/dist/executor-jYQ7uQ13.d.ts +121 -0
- package/dist/executor-lCseKo3l.d.ts +145 -0
- package/dist/executors.d.mts +18 -0
- package/dist/executors.d.ts +18 -0
- package/dist/executors.js +66 -0
- package/dist/executors.mjs +67 -0
- package/dist/generator-9L9b-msK.d.mts +108 -0
- package/dist/generator-BT5Kf5x0.d.ts +130 -0
- package/dist/generator-BvhmWt7B.d.mts +130 -0
- package/dist/generator-C9QMvagl.d.ts +130 -0
- package/dist/generator-CkT060vy.d.mts +130 -0
- package/dist/generator-Czm2JkrK.d.ts +108 -0
- package/dist/generator-DIEJD40Q.d.mts +130 -0
- package/dist/generator-DdPUFIRV.d.mts +38 -0
- package/dist/generator-DwHI-Bxg.d.ts +38 -0
- package/dist/generator-GND3rM-I.d.ts +130 -0
- package/dist/generators.d.mts +13 -0
- package/dist/generators.d.ts +13 -0
- package/dist/generators.js +36 -0
- package/dist/generators.mjs +37 -0
- package/dist/index.d.mts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +299 -0
- package/dist/index.mjs +300 -0
- package/dist/init-6Nmtv8d5.d.mts +19 -0
- package/dist/init-6Nmtv8d5.d.ts +19 -0
- package/dist/schema.d-B9y7rRms.d.mts +59 -0
- package/dist/schema.d-B9y7rRms.d.ts +59 -0
- package/dist/src/base/base-executor.d.mts +11 -0
- package/dist/src/base/base-executor.d.ts +11 -0
- package/dist/src/base/base-executor.js +11 -0
- package/dist/src/base/base-executor.mjs +12 -0
- package/dist/src/base/base-executor.untyped.d.mts +5 -0
- package/dist/src/base/base-executor.untyped.d.ts +5 -0
- package/dist/src/base/base-executor.untyped.js +6 -0
- package/dist/src/base/base-executor.untyped.mjs +7 -0
- package/dist/src/base/base-generator.d.mts +11 -0
- package/dist/src/base/base-generator.d.ts +11 -0
- package/dist/src/base/base-generator.js +11 -0
- package/dist/src/base/base-generator.mjs +12 -0
- package/dist/src/base/base-generator.untyped.d.mts +5 -0
- package/dist/src/base/base-generator.untyped.d.ts +5 -0
- package/dist/src/base/base-generator.untyped.js +6 -0
- package/dist/src/base/base-generator.untyped.mjs +7 -0
- package/dist/src/base/cargo-base-executor.untyped.d.mts +5 -0
- package/dist/src/base/cargo-base-executor.untyped.d.ts +5 -0
- package/dist/src/base/cargo-base-executor.untyped.js +7 -0
- package/dist/src/base/cargo-base-executor.untyped.mjs +8 -0
- package/dist/src/base/index.d.mts +155 -0
- package/dist/src/base/index.d.ts +155 -0
- package/dist/src/base/index.js +48 -0
- package/dist/src/base/index.mjs +49 -0
- package/dist/src/base/typescript-build-executor.untyped.d.mts +5 -0
- package/dist/src/base/typescript-build-executor.untyped.d.ts +5 -0
- package/dist/src/base/typescript-build-executor.untyped.js +7 -0
- package/dist/src/base/typescript-build-executor.untyped.mjs +8 -0
- package/dist/src/base/typescript-library-generator.untyped.d.mts +5 -0
- package/dist/src/base/typescript-library-generator.untyped.d.ts +5 -0
- package/dist/src/base/typescript-library-generator.untyped.js +7 -0
- package/dist/src/base/typescript-library-generator.untyped.mjs +8 -0
- package/dist/src/executors/cargo-build/executor.d.mts +2 -0
- package/dist/src/executors/cargo-build/executor.d.ts +2 -0
- package/dist/src/executors/cargo-build/executor.js +15 -0
- package/dist/src/executors/cargo-build/executor.mjs +16 -0
- package/dist/src/executors/cargo-build/schema.d.ts +86 -0
- package/dist/src/executors/cargo-build/schema.json +85 -0
- package/dist/src/executors/cargo-build/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-build/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-build/untyped.js +25 -0
- package/dist/src/executors/cargo-build/untyped.mjs +26 -0
- package/dist/src/executors/cargo-check/executor.d.mts +2 -0
- package/dist/src/executors/cargo-check/executor.d.ts +2 -0
- package/dist/src/executors/cargo-check/executor.js +15 -0
- package/dist/src/executors/cargo-check/executor.mjs +16 -0
- package/dist/src/executors/cargo-check/schema.d.ts +88 -0
- package/dist/src/executors/cargo-check/schema.json +86 -0
- package/dist/src/executors/cargo-check/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-check/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-check/untyped.js +18 -0
- package/dist/src/executors/cargo-check/untyped.mjs +19 -0
- package/dist/src/executors/cargo-clippy/executor.d.mts +2 -0
- package/dist/src/executors/cargo-clippy/executor.d.ts +2 -0
- package/dist/src/executors/cargo-clippy/executor.js +15 -0
- package/dist/src/executors/cargo-clippy/executor.mjs +16 -0
- package/dist/src/executors/cargo-clippy/schema.d.ts +96 -0
- package/dist/src/executors/cargo-clippy/schema.json +92 -0
- package/dist/src/executors/cargo-clippy/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-clippy/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-clippy/untyped.js +25 -0
- package/dist/src/executors/cargo-clippy/untyped.mjs +26 -0
- package/dist/src/executors/cargo-doc/executor.d.mts +2 -0
- package/dist/src/executors/cargo-doc/executor.d.ts +2 -0
- package/dist/src/executors/cargo-doc/executor.js +15 -0
- package/dist/src/executors/cargo-doc/executor.mjs +16 -0
- package/dist/src/executors/cargo-doc/schema.d.ts +124 -0
- package/dist/src/executors/cargo-doc/schema.json +162 -0
- package/dist/src/executors/cargo-doc/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-doc/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-doc/untyped.js +50 -0
- package/dist/src/executors/cargo-doc/untyped.mjs +51 -0
- package/dist/src/executors/cargo-format/executor.d.mts +2 -0
- package/dist/src/executors/cargo-format/executor.d.ts +2 -0
- package/dist/src/executors/cargo-format/executor.js +15 -0
- package/dist/src/executors/cargo-format/executor.mjs +16 -0
- package/dist/src/executors/cargo-format/schema.d.ts +88 -0
- package/dist/src/executors/cargo-format/schema.json +86 -0
- package/dist/src/executors/cargo-format/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-format/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-format/untyped.js +18 -0
- package/dist/src/executors/cargo-format/untyped.mjs +19 -0
- package/dist/src/executors/cargo-publish/executor.d.mts +2 -0
- package/dist/src/executors/cargo-publish/executor.d.ts +2 -0
- package/dist/src/executors/cargo-publish/executor.js +10 -0
- package/dist/src/executors/cargo-publish/executor.mjs +11 -0
- package/dist/src/executors/cargo-publish/schema.d.ts +114 -0
- package/dist/src/executors/cargo-publish/schema.json +105 -0
- package/dist/src/executors/cargo-publish/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-publish/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-publish/untyped.js +40 -0
- package/dist/src/executors/cargo-publish/untyped.mjs +41 -0
- package/dist/src/executors/clean-package/executor.d.mts +13 -0
- package/dist/src/executors/clean-package/executor.d.ts +13 -0
- package/dist/src/executors/clean-package/executor.js +325 -0
- package/dist/src/executors/clean-package/executor.mjs +326 -0
- package/dist/src/executors/clean-package/schema.d.ts +59 -0
- package/dist/src/executors/clean-package/schema.json +55 -0
- package/dist/src/executors/clean-package/untyped.d.mts +5 -0
- package/dist/src/executors/clean-package/untyped.d.ts +5 -0
- package/dist/src/executors/clean-package/untyped.js +64 -0
- package/dist/src/executors/clean-package/untyped.mjs +65 -0
- package/dist/src/executors/esbuild/executor.d.mts +5 -0
- package/dist/src/executors/esbuild/executor.d.ts +5 -0
- package/dist/src/executors/esbuild/executor.js +15 -0
- package/dist/src/executors/esbuild/executor.mjs +16 -0
- package/dist/src/executors/esbuild/schema.d.ts +136 -0
- package/dist/src/executors/esbuild/schema.json +163 -0
- package/dist/src/executors/esbuild/untyped.d.mts +5 -0
- package/dist/src/executors/esbuild/untyped.d.ts +5 -0
- package/dist/src/executors/esbuild/untyped.js +27 -0
- package/dist/src/executors/esbuild/untyped.mjs +28 -0
- package/dist/src/executors/napi/executor.d.mts +5 -0
- package/dist/src/executors/napi/executor.d.ts +5 -0
- package/dist/src/executors/napi/executor.js +15 -0
- package/dist/src/executors/napi/executor.mjs +16 -0
- package/dist/src/executors/napi/schema.d.ts +282 -0
- package/dist/src/executors/napi/schema.json +235 -0
- package/dist/src/executors/napi/untyped.d.mts +5 -0
- package/dist/src/executors/napi/untyped.d.ts +5 -0
- package/dist/src/executors/napi/untyped.js +241 -0
- package/dist/src/executors/napi/untyped.mjs +242 -0
- package/dist/src/executors/npm-publish/executor.d.mts +2 -0
- package/dist/src/executors/npm-publish/executor.d.ts +2 -0
- package/dist/src/executors/npm-publish/executor.js +15 -0
- package/dist/src/executors/npm-publish/executor.mjs +16 -0
- package/dist/src/executors/npm-publish/schema.d.ts +68 -0
- package/dist/src/executors/npm-publish/schema.json +61 -0
- package/dist/src/executors/npm-publish/untyped.d.mts +5 -0
- package/dist/src/executors/npm-publish/untyped.d.ts +5 -0
- package/dist/src/executors/npm-publish/untyped.js +66 -0
- package/dist/src/executors/npm-publish/untyped.mjs +68 -0
- package/dist/src/executors/size-limit/executor.d.mts +5 -0
- package/dist/src/executors/size-limit/executor.d.ts +5 -0
- package/dist/src/executors/size-limit/executor.js +14 -0
- package/dist/src/executors/size-limit/executor.mjs +15 -0
- package/dist/src/executors/size-limit/schema.d.ts +24 -0
- package/dist/src/executors/size-limit/schema.json +26 -0
- package/dist/src/executors/size-limit/untyped.d.mts +5 -0
- package/dist/src/executors/size-limit/untyped.d.ts +5 -0
- package/dist/src/executors/size-limit/untyped.js +28 -0
- package/dist/src/executors/size-limit/untyped.mjs +29 -0
- package/dist/src/executors/tsdown/executor.d.mts +5 -0
- package/dist/src/executors/tsdown/executor.d.ts +5 -0
- package/dist/src/executors/tsdown/executor.js +15 -0
- package/dist/src/executors/tsdown/executor.mjs +16 -0
- package/dist/src/executors/tsdown/schema.d.ts +134 -0
- package/dist/src/executors/tsdown/schema.json +172 -0
- package/dist/src/executors/tsdown/untyped.d.mts +5 -0
- package/dist/src/executors/tsdown/untyped.d.ts +5 -0
- package/dist/src/executors/tsdown/untyped.js +18 -0
- package/dist/src/executors/tsdown/untyped.mjs +19 -0
- package/dist/src/executors/typia/executor.d.mts +5 -0
- package/dist/src/executors/typia/executor.d.ts +5 -0
- package/dist/src/executors/typia/executor.js +14 -0
- package/dist/src/executors/typia/executor.mjs +15 -0
- package/dist/src/executors/typia/schema.d.ts +48 -0
- package/dist/src/executors/typia/schema.json +57 -0
- package/dist/src/executors/typia/untyped.d.mts +5 -0
- package/dist/src/executors/typia/untyped.d.ts +5 -0
- package/dist/src/executors/typia/untyped.js +54 -0
- package/dist/src/executors/typia/untyped.mjs +55 -0
- package/dist/src/executors/unbuild/executor.d.mts +5 -0
- package/dist/src/executors/unbuild/executor.d.ts +5 -0
- package/dist/src/executors/unbuild/executor.js +14 -0
- package/dist/src/executors/unbuild/executor.mjs +15 -0
- package/dist/src/executors/unbuild/schema.d.ts +258 -0
- package/dist/src/executors/unbuild/schema.json +301 -0
- package/dist/src/executors/unbuild/untyped.d.mts +5 -0
- package/dist/src/executors/unbuild/untyped.d.ts +5 -0
- package/dist/src/executors/unbuild/untyped.js +158 -0
- package/dist/src/executors/unbuild/untyped.mjs +159 -0
- package/dist/src/generators/browser-library/files/README.md +58 -0
- package/dist/src/generators/browser-library/files/jest.config.ts +3 -0
- package/dist/src/generators/browser-library/files/src/index.ts.template +10 -0
- package/dist/src/generators/browser-library/files/tsconfig.spec.json +13 -0
- package/dist/src/generators/browser-library/generator.d.mts +8 -0
- package/dist/src/generators/browser-library/generator.d.ts +8 -0
- package/dist/src/generators/browser-library/generator.js +17 -0
- package/dist/src/generators/browser-library/generator.mjs +18 -0
- package/dist/src/generators/browser-library/schema.d.ts +122 -0
- package/dist/src/generators/browser-library/schema.json +117 -0
- package/dist/src/generators/browser-library/untyped.d.mts +5 -0
- package/dist/src/generators/browser-library/untyped.d.ts +5 -0
- package/dist/src/generators/browser-library/untyped.js +36 -0
- package/dist/src/generators/browser-library/untyped.mjs +37 -0
- package/dist/src/generators/config-schema/generator.d.mts +8 -0
- package/dist/src/generators/config-schema/generator.d.ts +8 -0
- package/dist/src/generators/config-schema/generator.js +14 -0
- package/dist/src/generators/config-schema/generator.mjs +15 -0
- package/dist/src/generators/config-schema/schema.d.ts +23 -0
- package/dist/src/generators/config-schema/schema.json +24 -0
- package/dist/src/generators/config-schema/untyped.d.mts +5 -0
- package/dist/src/generators/config-schema/untyped.d.ts +5 -0
- package/dist/src/generators/config-schema/untyped.js +25 -0
- package/dist/src/generators/config-schema/untyped.mjs +26 -0
- package/dist/src/generators/init/init.d.mts +2 -0
- package/dist/src/generators/init/init.d.ts +2 -0
- package/dist/src/generators/init/init.js +8 -0
- package/dist/src/generators/init/init.mjs +9 -0
- package/dist/src/generators/init/schema.d.ts +14 -0
- package/dist/src/generators/init/schema.json +15 -0
- package/dist/src/generators/init/untyped.d.mts +5 -0
- package/dist/src/generators/init/untyped.d.ts +5 -0
- package/dist/src/generators/init/untyped.js +19 -0
- package/dist/src/generators/init/untyped.mjs +21 -0
- package/dist/src/generators/neutral-library/files/README.md +58 -0
- package/dist/src/generators/neutral-library/files/jest.config.ts +3 -0
- package/dist/src/generators/neutral-library/files/src/index.ts.template +10 -0
- package/dist/src/generators/neutral-library/files/tsconfig.spec.json +13 -0
- package/dist/src/generators/neutral-library/generator.d.mts +8 -0
- package/dist/src/generators/neutral-library/generator.d.ts +8 -0
- package/dist/src/generators/neutral-library/generator.js +17 -0
- package/dist/src/generators/neutral-library/generator.mjs +18 -0
- package/dist/src/generators/neutral-library/schema.d.ts +122 -0
- package/dist/src/generators/neutral-library/schema.json +116 -0
- package/dist/src/generators/neutral-library/untyped.d.mts +5 -0
- package/dist/src/generators/neutral-library/untyped.d.ts +5 -0
- package/dist/src/generators/neutral-library/untyped.js +36 -0
- package/dist/src/generators/neutral-library/untyped.mjs +37 -0
- package/dist/src/generators/node-library/files/README.md +63 -0
- package/dist/src/generators/node-library/files/jest.config.ts +3 -0
- package/dist/src/generators/node-library/files/src/index.ts.template +10 -0
- package/dist/src/generators/node-library/files/tsconfig.spec.json +13 -0
- package/dist/src/generators/node-library/generator.d.mts +8 -0
- package/dist/src/generators/node-library/generator.d.ts +8 -0
- package/dist/src/generators/node-library/generator.js +17 -0
- package/dist/src/generators/node-library/generator.mjs +18 -0
- package/dist/src/generators/node-library/schema.d.ts +122 -0
- package/dist/src/generators/node-library/schema.json +117 -0
- package/dist/src/generators/node-library/untyped.d.mts +5 -0
- package/dist/src/generators/node-library/untyped.d.ts +5 -0
- package/dist/src/generators/node-library/untyped.js +36 -0
- package/dist/src/generators/node-library/untyped.mjs +37 -0
- package/dist/src/generators/preset/files/LICENSE +201 -0
- package/dist/src/generators/preset/files/README.md.template +282 -0
- package/dist/src/generators/preset/files/docs/readme-templates/README.footer.md.template +123 -0
- package/dist/src/generators/preset/files/docs/readme-templates/README.header.md.template +22 -0
- package/dist/src/generators/preset/files/eslint.config.js.template +7 -0
- package/dist/src/generators/preset/files/knip.json +20 -0
- package/dist/src/generators/preset/files/lefthook.json +106 -0
- package/dist/src/generators/preset/files/nx.json +7 -0
- package/dist/src/generators/preset/files/pnpm-workspace.yaml +6 -0
- package/dist/src/generators/preset/files/socket.yaml +20 -0
- package/dist/src/generators/preset/files/storm.json.template +12 -0
- package/dist/src/generators/preset/files/tsconfig.base.json.template +11 -0
- package/dist/src/generators/preset/generator.d.mts +8 -0
- package/dist/src/generators/preset/generator.d.ts +8 -0
- package/dist/src/generators/preset/generator.js +15 -0
- package/dist/src/generators/preset/generator.mjs +16 -0
- package/dist/src/generators/preset/schema.d.ts +101 -0
- package/dist/src/generators/preset/schema.json +96 -0
- package/dist/src/generators/preset/untyped.d.mts +5 -0
- package/dist/src/generators/preset/untyped.d.ts +5 -0
- package/dist/src/generators/preset/untyped.js +94 -0
- package/dist/src/generators/preset/untyped.mjs +95 -0
- package/dist/src/plugins/rust/cargo-toml.d.mts +47 -0
- package/dist/src/plugins/rust/cargo-toml.d.ts +47 -0
- package/dist/src/plugins/rust/cargo-toml.js +17 -0
- package/dist/src/plugins/rust/cargo-toml.mjs +18 -0
- package/dist/src/plugins/rust/index.d.mts +2 -0
- package/dist/src/plugins/rust/index.d.ts +2 -0
- package/dist/src/plugins/rust/index.js +17 -0
- package/dist/src/plugins/rust/index.mjs +18 -0
- package/dist/src/plugins/typescript/index.d.mts +65 -0
- package/dist/src/plugins/typescript/index.d.ts +65 -0
- package/dist/src/plugins/typescript/index.js +452 -0
- package/dist/src/plugins/typescript/index.mjs +453 -0
- package/dist/src/plugins/typescript/tsdown.d.mts +13 -0
- package/dist/src/plugins/typescript/tsdown.d.ts +13 -0
- package/dist/src/plugins/typescript/tsdown.js +178 -0
- package/dist/src/plugins/typescript/tsdown.mjs +179 -0
- package/dist/src/plugins/typescript/tsup.d.mts +13 -0
- package/dist/src/plugins/typescript/tsup.d.ts +13 -0
- package/dist/src/plugins/typescript/tsup.js +178 -0
- package/dist/src/plugins/typescript/tsup.mjs +179 -0
- package/dist/src/plugins/typescript/untyped-schema.d.mts +7 -0
- package/dist/src/plugins/typescript/untyped-schema.d.ts +7 -0
- package/dist/src/plugins/typescript/untyped-schema.js +151 -0
- package/dist/src/plugins/typescript/untyped-schema.mjs +152 -0
- package/dist/src/release/index.d.mts +11 -0
- package/dist/src/release/index.d.ts +11 -0
- package/dist/src/release/index.js +17 -0
- package/dist/src/release/index.mjs +18 -0
- package/dist/src/release/js-version-actions.d.mts +44 -0
- package/dist/src/release/js-version-actions.d.ts +44 -0
- package/dist/src/release/js-version-actions.js +10 -0
- package/dist/src/release/js-version-actions.mjs +11 -0
- package/dist/src/release/rust-version-actions.d.mts +56 -0
- package/dist/src/release/rust-version-actions.d.ts +56 -0
- package/dist/src/release/rust-version-actions.js +12 -0
- package/dist/src/release/rust-version-actions.mjs +13 -0
- package/dist/src/types.d.mts +6 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/src/types.js +18 -0
- package/dist/src/types.mjs +19 -0
- package/dist/src/utils/apply-workspace-tokens.d.mts +11 -0
- package/dist/src/utils/apply-workspace-tokens.d.ts +11 -0
- package/dist/src/utils/apply-workspace-tokens.js +8 -0
- package/dist/src/utils/apply-workspace-tokens.mjs +9 -0
- package/dist/src/utils/cargo.d.mts +118 -0
- package/dist/src/utils/cargo.d.ts +118 -0
- package/dist/src/utils/cargo.js +22 -0
- package/dist/src/utils/cargo.mjs +23 -0
- package/dist/src/utils/create-cli-options.d.mts +3 -0
- package/dist/src/utils/create-cli-options.d.ts +3 -0
- package/dist/src/utils/create-cli-options.js +6 -0
- package/dist/src/utils/create-cli-options.mjs +7 -0
- package/dist/src/utils/get-project-configurations.d.mts +16 -0
- package/dist/src/utils/get-project-configurations.d.ts +16 -0
- package/dist/src/utils/get-project-configurations.js +10 -0
- package/dist/src/utils/get-project-configurations.mjs +11 -0
- package/dist/src/utils/index.d.mts +19 -0
- package/dist/src/utils/index.d.ts +19 -0
- package/dist/src/utils/index.js +153 -0
- package/dist/src/utils/index.mjs +154 -0
- package/dist/src/utils/lock-file.d.mts +29 -0
- package/dist/src/utils/lock-file.d.ts +29 -0
- package/dist/src/utils/lock-file.js +26 -0
- package/dist/src/utils/lock-file.mjs +27 -0
- package/dist/src/utils/nx-json.d.mts +33 -0
- package/dist/src/utils/nx-json.d.ts +33 -0
- package/dist/src/utils/nx-json.js +10 -0
- package/dist/src/utils/nx-json.mjs +11 -0
- package/dist/src/utils/package-helpers.d.mts +24 -0
- package/dist/src/utils/package-helpers.d.ts +24 -0
- package/dist/src/utils/package-helpers.js +14 -0
- package/dist/src/utils/package-helpers.mjs +15 -0
- package/dist/src/utils/plugin-helpers.d.mts +20 -0
- package/dist/src/utils/plugin-helpers.d.ts +20 -0
- package/dist/src/utils/plugin-helpers.js +15 -0
- package/dist/src/utils/plugin-helpers.mjs +16 -0
- package/dist/src/utils/project-tags.d.mts +65 -0
- package/dist/src/utils/project-tags.d.ts +65 -0
- package/dist/src/utils/project-tags.js +20 -0
- package/dist/src/utils/project-tags.mjs +21 -0
- package/dist/src/utils/registry-helpers.d.mts +11 -0
- package/dist/src/utils/registry-helpers.d.ts +11 -0
- package/dist/src/utils/registry-helpers.js +6 -0
- package/dist/src/utils/registry-helpers.mjs +7 -0
- package/dist/src/utils/typia-transform.d.mts +5 -0
- package/dist/src/utils/typia-transform.d.ts +5 -0
- package/dist/src/utils/typia-transform.js +6 -0
- package/dist/src/utils/typia-transform.mjs +7 -0
- package/dist/src/utils/versions.d.mts +20 -0
- package/dist/src/utils/versions.d.ts +20 -0
- package/dist/src/utils/versions.js +40 -0
- package/dist/src/utils/versions.mjs +41 -0
- package/dist/types-BlCH22NF.d.mts +77 -0
- package/dist/types-D2zxYEAh.d.mts +41 -0
- package/dist/types-D2zxYEAh.d.ts +41 -0
- package/dist/types-DIIZf_cX.d.ts +77 -0
- package/dist/types-Dug-2iKz.d.mts +243 -0
- package/dist/types-Dug-2iKz.d.ts +243 -0
- package/docs/api/base/base-executor.schema.md +15 -0
- package/docs/api/base/base-generator.schema.md +15 -0
- package/docs/api/base/cargo-base-executor.schema.md +89 -0
- package/docs/api/base/typescript-build-executor.schema.md +125 -0
- package/docs/api/base/typescript-library-generator.schema.md +129 -0
- package/docs/api/executors/cargo-build/schema.md +89 -0
- package/docs/api/executors/cargo-check/schema.md +89 -0
- package/docs/api/executors/cargo-clippy/schema.md +98 -0
- package/docs/api/executors/cargo-doc/schema.md +129 -0
- package/docs/api/executors/cargo-format/schema.md +89 -0
- package/docs/api/executors/cargo-publish/schema.md +116 -0
- package/docs/api/executors/clean-package/schema.md +64 -0
- package/docs/api/executors/esbuild/schema.md +125 -0
- package/docs/api/executors/napi/schema.md +300 -0
- package/docs/api/executors/npm-publish/schema.md +73 -0
- package/docs/api/executors/size-limit/schema.md +24 -0
- package/docs/api/executors/tsdown/schema.md +125 -0
- package/docs/api/executors/typia/schema.md +46 -0
- package/docs/api/executors/unbuild/schema.md +222 -0
- package/docs/api/generators/browser-library/files/README.md +58 -0
- package/docs/api/generators/browser-library/schema.md +129 -0
- package/docs/api/generators/config-schema/schema.md +25 -0
- package/docs/api/generators/init/schema.md +15 -0
- package/docs/api/generators/neutral-library/files/README.md +58 -0
- package/docs/api/generators/neutral-library/schema.md +129 -0
- package/docs/api/generators/node-library/files/README.md +63 -0
- package/docs/api/generators/node-library/schema.md +129 -0
- package/docs/api/generators/preset/schema.md +110 -0
- package/executors.json +69 -0
- package/generators.json +51 -0
- package/package.json +10 -10
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
|
+
|
|
3
|
+
var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk4ZQUYG5Tjs = require('./chunk-4ZQUYG5T.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
12
|
+
|
|
13
|
+
// src/release/rust-version-actions.ts
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _devkit = require('@nx/devkit');
|
|
17
|
+
var _release = require('nx/release');
|
|
18
|
+
var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
19
|
+
__init() {this.validManifestFilenames = ["Cargo.toml"]}
|
|
20
|
+
/**
|
|
21
|
+
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* This member variable is populated during the {@link init} method.
|
|
25
|
+
*/
|
|
26
|
+
__init2() {this.workspaceConfig = null}
|
|
27
|
+
constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
|
|
28
|
+
super(releaseGroup, projectGraphNode, finalConfigForProject);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Asynchronous initialization of the version actions and resolution of manifest paths.
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* This does NOT validate that manifest files exist - that happens later in validate().
|
|
35
|
+
*
|
|
36
|
+
* @params tree - The file system tree to read from.
|
|
37
|
+
*/
|
|
38
|
+
async init(tree) {
|
|
39
|
+
this.workspaceConfig = await _chunkZJ75AYXEjs.getWorkspaceConfig.call(void 0, );
|
|
40
|
+
return super.init(tree);
|
|
41
|
+
}
|
|
42
|
+
async readCurrentVersionFromSourceManifest(tree) {
|
|
43
|
+
const sourceCargoTomlPath = _devkit.joinPathFragments.call(void 0,
|
|
44
|
+
this.projectGraphNode.data.root,
|
|
45
|
+
"Cargo.toml"
|
|
46
|
+
);
|
|
47
|
+
try {
|
|
48
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
49
|
+
tree,
|
|
50
|
+
this.projectGraphNode.data.root,
|
|
51
|
+
this.projectGraphNode.name
|
|
52
|
+
);
|
|
53
|
+
return {
|
|
54
|
+
manifestPath: sourceCargoTomlPath,
|
|
55
|
+
currentVersion: cargoToml.package.version
|
|
56
|
+
};
|
|
57
|
+
} catch (e) {
|
|
58
|
+
throw new Error(
|
|
59
|
+
`Unable to determine the current version for project "${this.projectGraphNode.name}" from ${sourceCargoTomlPath}, please ensure that the "version" field is set within the Cargo.toml file`
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
65
|
+
tree,
|
|
66
|
+
this.projectGraphNode.data.root,
|
|
67
|
+
this.projectGraphNode.name
|
|
68
|
+
);
|
|
69
|
+
const crateName = cargoToml.package.name;
|
|
70
|
+
const metadata = currentVersionResolverMetadata;
|
|
71
|
+
const registryArg = typeof _optionalChain([metadata, 'optionalAccess', _ => _.registry]) === "string" ? metadata.registry : _optionalChain([this, 'access', _2 => _2.workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.cargo]) || "https://crates.io";
|
|
72
|
+
const tagArg = typeof _optionalChain([metadata, 'optionalAccess', _5 => _5.tag]) === "string" ? metadata.tag : "latest";
|
|
73
|
+
let currentVersion = null;
|
|
74
|
+
try {
|
|
75
|
+
currentVersion = await _chunkANHKV7HZjs.getCrateRegistryVersion.call(void 0,
|
|
76
|
+
crateName,
|
|
77
|
+
tagArg,
|
|
78
|
+
registryArg
|
|
79
|
+
);
|
|
80
|
+
} catch (e2) {
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
currentVersion: currentVersion || "0.0.0",
|
|
84
|
+
// Make troubleshooting easier by including the registry and tag data in the log text
|
|
85
|
+
logText: `"cargoRegistry=${registryArg}" tag=${tagArg}`
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
90
|
+
tree,
|
|
91
|
+
this.projectGraphNode.data.root,
|
|
92
|
+
this.projectGraphNode.name
|
|
93
|
+
);
|
|
94
|
+
if (!_optionalChain([projectGraph, 'access', _6 => _6.nodes, 'access', _7 => _7[dependencyProjectName], 'optionalAccess', _8 => _8.data, 'optionalAccess', _9 => _9.root])) {
|
|
95
|
+
return {
|
|
96
|
+
currentVersion: null,
|
|
97
|
+
dependencyCollection: null
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
const dependencyCargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
101
|
+
tree,
|
|
102
|
+
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
|
+
dependencyProjectName
|
|
104
|
+
);
|
|
105
|
+
if (!_optionalChain([dependencyCargoToml, 'optionalAccess', _14 => _14.package, 'optionalAccess', _15 => _15.name])) {
|
|
106
|
+
return {
|
|
107
|
+
currentVersion: null,
|
|
108
|
+
dependencyCollection: null
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
let currentVersion = null;
|
|
112
|
+
let dependencyCollection = null;
|
|
113
|
+
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
114
|
+
if (cargoToml[depType] && cargoToml[depType][dependencyCargoToml.package.name]) {
|
|
115
|
+
currentVersion = typeof cargoToml[depType][dependencyCargoToml.package.name] === "string" ? cargoToml[depType][dependencyCargoToml.package.name] : cargoToml[depType][dependencyCargoToml.package.name].version;
|
|
116
|
+
dependencyCollection = depType;
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
currentVersion,
|
|
122
|
+
dependencyCollection
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
async updateProjectVersion(tree, newVersion) {
|
|
126
|
+
const logMessages = [];
|
|
127
|
+
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
128
|
+
const cargoTomlString = _optionalChain([tree, 'access', _16 => _16.read, 'call', _17 => _17(manifestToUpdate.manifestPath), 'optionalAccess', _18 => _18.toString, 'call', _19 => _19()]);
|
|
129
|
+
if (!cargoTomlString) {
|
|
130
|
+
throw new Error(
|
|
131
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
|
+
cargoToml.package.version = newVersion;
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunk4ZQUYG5Tjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
|
+
logMessages.push(
|
|
138
|
+
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
return logMessages;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Updates the dependencies of the project in the specified Cargo.toml files.
|
|
145
|
+
*
|
|
146
|
+
* @param tree - The file system tree to read from and write to.
|
|
147
|
+
* @param projectGraph - The project graph to use for resolving dependencies.
|
|
148
|
+
* @param dependenciesToUpdate - A mapping of dependency names to their new versions.
|
|
149
|
+
* @returns An array of log messages indicating the results of the updates.
|
|
150
|
+
*/
|
|
151
|
+
async updateProjectDependencies(tree, projectGraph, dependenciesToUpdate = {}) {
|
|
152
|
+
const numDependenciesToUpdate = Object.keys(dependenciesToUpdate).length;
|
|
153
|
+
if (numDependenciesToUpdate === 0) {
|
|
154
|
+
return [];
|
|
155
|
+
}
|
|
156
|
+
const logMessages = [];
|
|
157
|
+
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
158
|
+
const cargoTomlString = _optionalChain([tree, 'access', _20 => _20.read, 'call', _21 => _21(manifestToUpdate.manifestPath), 'optionalAccess', _22 => _22.toString, 'call', _23 => _23()]);
|
|
159
|
+
if (!cargoTomlString) {
|
|
160
|
+
throw new Error(
|
|
161
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
|
+
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
|
+
if (cargoToml[depType]) {
|
|
167
|
+
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
168
|
+
try {
|
|
169
|
+
const projectRoot = _optionalChain([projectGraph, 'access', _24 => _24.nodes, 'access', _25 => _25[dep], 'optionalAccess', _26 => _26.data, 'access', _27 => _27.root]);
|
|
170
|
+
if (!projectRoot) {
|
|
171
|
+
throw new Error(
|
|
172
|
+
`Unable to determine the project root for "${dep}" from the project graph metadata, please ensure that the "@storm-software/workspace-tools" plugin is installed and the project graph has been built. If the issue persists, please report this issue on https://github.com/storm-software/storm-ops/issues`
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
const dependencyCargoTomlString = _optionalChain([tree, 'access', _28 => _28.read, 'call', _29 => _29(manifestToUpdate.manifestPath), 'optionalAccess', _30 => _30.toString, 'call', _31 => _31()]);
|
|
176
|
+
if (!dependencyCargoTomlString) {
|
|
177
|
+
throw new Error(
|
|
178
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
const dependencyCargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0,
|
|
182
|
+
dependencyCargoTomlString
|
|
183
|
+
);
|
|
184
|
+
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
185
|
+
if (typeof cargoToml[depType][dependencyCrateName] === "string") {
|
|
186
|
+
cargoToml[depType][dependencyCrateName] = version;
|
|
187
|
+
} else {
|
|
188
|
+
cargoToml[depType][dependencyCrateName].version = version;
|
|
189
|
+
}
|
|
190
|
+
tree.write(
|
|
191
|
+
manifestToUpdate.manifestPath,
|
|
192
|
+
_chunk4ZQUYG5Tjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
|
+
);
|
|
194
|
+
} catch (error) {
|
|
195
|
+
throw new Error(
|
|
196
|
+
`Unable to update ${depType === "dev-dependencies" ? "dev-dependency" : "dependency"} "${dep}" in manifest at path: ${manifestToUpdate.manifestPath}.`,
|
|
197
|
+
{ cause: error }
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
logMessages.push(
|
|
204
|
+
`\u270D\uFE0F Updated ${numDependenciesToUpdate} ${numDependenciesToUpdate === 1 ? "dependency" : "dependencies"} in manifest: ${manifestToUpdate.manifestPath}`
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
return logMessages;
|
|
208
|
+
}
|
|
209
|
+
}, _class);
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
exports.StormRustVersionActions = StormRustVersionActions;
|
|
File without changes
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyWorkspaceProjectTokens,
|
|
3
|
+
applyWorkspaceTokens
|
|
4
|
+
} from "./chunk-2QMGYIOO.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getConfig
|
|
7
|
+
} from "./chunk-K7B3YICS.mjs";
|
|
8
|
+
import {
|
|
9
|
+
brandIcon,
|
|
10
|
+
formatLogMessage,
|
|
11
|
+
getStopwatch,
|
|
12
|
+
writeDebug,
|
|
13
|
+
writeError,
|
|
14
|
+
writeFatal,
|
|
15
|
+
writeInfo,
|
|
16
|
+
writeSuccess,
|
|
17
|
+
writeTrace
|
|
18
|
+
} from "./chunk-T55IDP24.mjs";
|
|
19
|
+
import {
|
|
20
|
+
findWorkspaceRoot
|
|
21
|
+
} from "./chunk-3J2CP54B.mjs";
|
|
22
|
+
|
|
23
|
+
// src/base/base-executor.ts
|
|
24
|
+
import { defu } from "defu";
|
|
25
|
+
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
+
const stopwatch = getStopwatch(name);
|
|
27
|
+
let options = _options;
|
|
28
|
+
let config = {};
|
|
29
|
+
try {
|
|
30
|
+
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
31
|
+
throw new Error(
|
|
32
|
+
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
36
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
|
|
37
|
+
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
38
|
+
const projectName = context.projectName;
|
|
39
|
+
config.workspaceRoot = workspaceRoot;
|
|
40
|
+
writeInfo(
|
|
41
|
+
`${brandIcon(config)} Running the ${name} executor for ${projectName} `,
|
|
42
|
+
config
|
|
43
|
+
);
|
|
44
|
+
if (!executorOptions.skipReadingConfig) {
|
|
45
|
+
writeTrace(
|
|
46
|
+
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
47
|
+
- workspaceRoot: ${workspaceRoot}
|
|
48
|
+
- projectRoot: ${projectRoot}
|
|
49
|
+
- sourceRoot: ${sourceRoot}
|
|
50
|
+
- projectName: ${projectName}
|
|
51
|
+
`,
|
|
52
|
+
config
|
|
53
|
+
);
|
|
54
|
+
config = await getConfig(workspaceRoot);
|
|
55
|
+
}
|
|
56
|
+
if (executorOptions?.hooks?.applyDefaultOptions) {
|
|
57
|
+
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
58
|
+
options = await Promise.resolve(
|
|
59
|
+
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
60
|
+
);
|
|
61
|
+
writeDebug("Completed the applyDefaultOptions hook", config);
|
|
62
|
+
}
|
|
63
|
+
writeTrace(
|
|
64
|
+
`Executor schema options \u2699\uFE0F
|
|
65
|
+
${formatLogMessage(options)}
|
|
66
|
+
`,
|
|
67
|
+
config
|
|
68
|
+
);
|
|
69
|
+
const tokenized = await applyWorkspaceTokens(
|
|
70
|
+
options,
|
|
71
|
+
defu(
|
|
72
|
+
{ workspaceRoot, projectRoot, sourceRoot, projectName, config },
|
|
73
|
+
config,
|
|
74
|
+
context.projectsConfigurations.projects[context.projectName]
|
|
75
|
+
),
|
|
76
|
+
applyWorkspaceProjectTokens
|
|
77
|
+
);
|
|
78
|
+
writeTrace(
|
|
79
|
+
`Executor schema tokenized options \u2699\uFE0F
|
|
80
|
+
${formatLogMessage(tokenized)}
|
|
81
|
+
`,
|
|
82
|
+
config
|
|
83
|
+
);
|
|
84
|
+
if (executorOptions?.hooks?.preProcess) {
|
|
85
|
+
writeDebug("Running the preProcess hook...", config);
|
|
86
|
+
await Promise.resolve(
|
|
87
|
+
executorOptions.hooks.preProcess(tokenized, config)
|
|
88
|
+
);
|
|
89
|
+
writeDebug("Completed the preProcess hook", config);
|
|
90
|
+
}
|
|
91
|
+
const ret = executorFn(tokenized, context, config);
|
|
92
|
+
if (_isFunction(ret?.next)) {
|
|
93
|
+
const asyncGen = ret;
|
|
94
|
+
for await (const iter of asyncGen) {
|
|
95
|
+
void iter;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
const result = await Promise.resolve(
|
|
99
|
+
ret
|
|
100
|
+
);
|
|
101
|
+
if (result && (!result.success || result.error && result?.error?.message && typeof result?.error?.message === "string" && result?.error?.name && typeof result?.error?.name === "string")) {
|
|
102
|
+
throw new Error(
|
|
103
|
+
`Failure determined while running the ${name} executor
|
|
104
|
+
${formatLogMessage(
|
|
105
|
+
result
|
|
106
|
+
)}`,
|
|
107
|
+
{
|
|
108
|
+
cause: result?.error
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
if (executorOptions?.hooks?.postProcess) {
|
|
113
|
+
writeDebug("Running the postProcess hook...", config);
|
|
114
|
+
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
115
|
+
writeDebug("Completed the postProcess hook", config);
|
|
116
|
+
}
|
|
117
|
+
writeSuccess(`Completed running the ${name} task executor!
|
|
118
|
+
`, config);
|
|
119
|
+
return {
|
|
120
|
+
success: true
|
|
121
|
+
};
|
|
122
|
+
} catch (error) {
|
|
123
|
+
writeFatal(
|
|
124
|
+
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
125
|
+
config
|
|
126
|
+
);
|
|
127
|
+
writeError(
|
|
128
|
+
`An exception was thrown in the executor's process
|
|
129
|
+
- Details: ${error.message}
|
|
130
|
+
- Stacktrace: ${error.stack}`,
|
|
131
|
+
config
|
|
132
|
+
);
|
|
133
|
+
return {
|
|
134
|
+
success: false
|
|
135
|
+
};
|
|
136
|
+
} finally {
|
|
137
|
+
stopwatch();
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
var _isFunction = (value) => {
|
|
141
|
+
try {
|
|
142
|
+
return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
|
|
143
|
+
} catch (e) {
|
|
144
|
+
return false;
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export {
|
|
149
|
+
withRunExecutor
|
|
150
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
base_generator_untyped_default
|
|
3
|
+
} from "./chunk-34LSWMWV.mjs";
|
|
4
|
+
|
|
5
|
+
// src/base/typescript-library-generator.untyped.ts
|
|
6
|
+
import { defineUntypedSchema } from "untyped";
|
|
7
|
+
var typescript_library_generator_untyped_default = defineUntypedSchema({
|
|
8
|
+
...base_generator_untyped_default,
|
|
9
|
+
$schema: {
|
|
10
|
+
id: "TypeScriptLibraryGeneratorSchema",
|
|
11
|
+
title: "TypeScript Library Generator",
|
|
12
|
+
description: "A type definition for the base TypeScript Library Generator schema",
|
|
13
|
+
required: ["directory", "name"]
|
|
14
|
+
},
|
|
15
|
+
name: {
|
|
16
|
+
$schema: {
|
|
17
|
+
title: "Name",
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "The name of the library"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
description: {
|
|
23
|
+
$schema: {
|
|
24
|
+
title: "Description",
|
|
25
|
+
type: "string",
|
|
26
|
+
description: "The description of the library"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
buildExecutor: {
|
|
30
|
+
$schema: {
|
|
31
|
+
title: "Build Executor",
|
|
32
|
+
type: "string",
|
|
33
|
+
description: "The executor to use for building the library"
|
|
34
|
+
},
|
|
35
|
+
$default: "@storm-software/workspace-tools:unbuild"
|
|
36
|
+
},
|
|
37
|
+
platform: {
|
|
38
|
+
$schema: {
|
|
39
|
+
title: "Platform",
|
|
40
|
+
type: "string",
|
|
41
|
+
description: "The platform to target with the library",
|
|
42
|
+
enum: ["neutral", "node", "worker", "browser"]
|
|
43
|
+
},
|
|
44
|
+
$default: "neutral"
|
|
45
|
+
},
|
|
46
|
+
importPath: {
|
|
47
|
+
$schema: {
|
|
48
|
+
title: "Import Path",
|
|
49
|
+
type: "string",
|
|
50
|
+
description: "The import path for the library"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
tags: {
|
|
54
|
+
$schema: {
|
|
55
|
+
title: "Tags",
|
|
56
|
+
type: "string",
|
|
57
|
+
description: "The tags for the library"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
unitTestRunner: {
|
|
61
|
+
$schema: {
|
|
62
|
+
title: "Unit Test Runner",
|
|
63
|
+
type: "string",
|
|
64
|
+
enum: ["jest", "vitest", "none"],
|
|
65
|
+
description: "The unit test runner to use"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
testEnvironment: {
|
|
69
|
+
$schema: {
|
|
70
|
+
title: "Test Environment",
|
|
71
|
+
type: "string",
|
|
72
|
+
enum: ["jsdom", "node"],
|
|
73
|
+
description: "The test environment to use"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
pascalCaseFiles: {
|
|
77
|
+
$schema: {
|
|
78
|
+
title: "Pascal Case Files",
|
|
79
|
+
type: "boolean",
|
|
80
|
+
description: "Use PascalCase for file names"
|
|
81
|
+
},
|
|
82
|
+
$default: false
|
|
83
|
+
},
|
|
84
|
+
strict: {
|
|
85
|
+
$schema: {
|
|
86
|
+
title: "Strict",
|
|
87
|
+
type: "boolean",
|
|
88
|
+
description: "Enable strict mode"
|
|
89
|
+
},
|
|
90
|
+
$default: true
|
|
91
|
+
},
|
|
92
|
+
publishable: {
|
|
93
|
+
$schema: {
|
|
94
|
+
title: "Publishable",
|
|
95
|
+
type: "boolean",
|
|
96
|
+
description: "Make the library publishable"
|
|
97
|
+
},
|
|
98
|
+
$default: false
|
|
99
|
+
},
|
|
100
|
+
buildable: {
|
|
101
|
+
$schema: {
|
|
102
|
+
title: "Buildable",
|
|
103
|
+
type: "boolean",
|
|
104
|
+
description: "Make the library buildable"
|
|
105
|
+
},
|
|
106
|
+
$default: true
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export {
|
|
111
|
+
typescript_library_generator_untyped_default
|
|
112
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/versions.ts
|
|
2
|
+
var tsupVersion = "8.4.0";
|
|
3
|
+
var prettierPackageJsonVersion = "2.4.6";
|
|
4
|
+
var prettierPrismaVersion = "5.0.0";
|
|
5
|
+
var prettierVersion = "^3.0.3";
|
|
6
|
+
var swcCliVersion = "~0.1.62";
|
|
7
|
+
var swcCoreVersion = "~1.3.95";
|
|
8
|
+
var swcHelpersVersion = "~0.5.3";
|
|
9
|
+
var swcNodeVersion = "1.6.8";
|
|
10
|
+
var tsLibVersion = "2.6.2";
|
|
11
|
+
var typesNodeVersion = "20.9.0";
|
|
12
|
+
var verdaccioVersion = "5.27.0";
|
|
13
|
+
var typescriptVersion = "~5.2.2";
|
|
14
|
+
var eslintVersion = "~8.53.0";
|
|
15
|
+
var lintStagedVersion = "15.0.2";
|
|
16
|
+
var semanticReleaseVersion = "22.0.7";
|
|
17
|
+
var nxVersion = "^18.0.4";
|
|
18
|
+
var nodeVersion = "20.11.0";
|
|
19
|
+
var pnpmVersion = "8.10.2";
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
exports.tsupVersion = tsupVersion; exports.prettierPackageJsonVersion = prettierPackageJsonVersion; exports.prettierPrismaVersion = prettierPrismaVersion; exports.prettierVersion = prettierVersion; exports.swcCliVersion = swcCliVersion; exports.swcCoreVersion = swcCoreVersion; exports.swcHelpersVersion = swcHelpersVersion; exports.swcNodeVersion = swcNodeVersion; exports.tsLibVersion = tsLibVersion; exports.typesNodeVersion = typesNodeVersion; exports.verdaccioVersion = verdaccioVersion; exports.typescriptVersion = typescriptVersion; exports.eslintVersion = eslintVersion; exports.lintStagedVersion = lintStagedVersion; exports.semanticReleaseVersion = semanticReleaseVersion; exports.nxVersion = nxVersion; exports.nodeVersion = nodeVersion; exports.pnpmVersion = pnpmVersion;
|