@storm-software/workspace-tools 1.228.0 → 1.229.0
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 +16 -0
- package/dist/chunk-2EGD2QSN.js +183 -0
- package/dist/chunk-2JA7WAH7.mjs +93 -0
- package/dist/chunk-34LSWMWV.mjs +20 -0
- package/dist/chunk-35B5C22H.mjs +50 -0
- package/dist/chunk-36FMHXUD.js +988 -0
- package/dist/chunk-3GQAWCBQ.js +13 -0
- package/dist/chunk-3GVBGSCQ.js +86 -0
- package/dist/chunk-3IZ3O4OK.js +30 -0
- package/dist/chunk-3J53KHVV.js +1 -0
- package/dist/chunk-3ORCJSUT.mjs +37 -0
- package/dist/chunk-45GU4HW2.js +267 -0
- package/dist/chunk-4NOLUAQN.js +43 -0
- package/dist/chunk-5CPYNJT2.js +61 -0
- package/dist/chunk-5MKQX2FE.js +82 -0
- package/dist/chunk-6267MSX4.mjs +118 -0
- package/dist/chunk-66TYTM73.mjs +102 -0
- package/dist/chunk-6B6IVIMQ.js +31 -0
- package/dist/chunk-6QO3KMZA.js +93 -0
- package/dist/chunk-6TSAUSG4.mjs +18 -0
- package/dist/chunk-6YZ3OUJB.mjs +0 -0
- package/dist/chunk-6ZQ3QYXH.mjs +93 -0
- package/dist/chunk-7AXFMX2T.js +37 -0
- package/dist/chunk-7CJRMBX3.js +20 -0
- package/dist/chunk-7MZQTO7J.js +726 -0
- package/dist/chunk-7YRW5HNX.js +102 -0
- package/dist/chunk-B3KIYNGT.mjs +88 -0
- package/dist/chunk-B7LWGAUI.js +50 -0
- package/dist/chunk-BO44O7D2.mjs +43 -0
- package/dist/chunk-BWFTYFWM.js +59 -0
- package/dist/chunk-CT7IVPJY.js +384 -0
- package/dist/chunk-CZJW5H5T.mjs +183 -0
- package/dist/chunk-DGC5L3Z7.mjs +22 -0
- package/dist/chunk-DHGZTMND.js +26 -0
- package/dist/chunk-DIODSFGH.js +1045 -0
- package/dist/chunk-DLO5NZQI.mjs +1046 -0
- package/dist/chunk-DLQLZTCZ.mjs +69 -0
- package/dist/chunk-DMUTOQCB.mjs +82 -0
- package/dist/chunk-EK75QNMS.mjs +40 -0
- package/dist/chunk-ESRRKJO5.mjs +51 -0
- package/dist/chunk-F5WI7VDM.js +42 -0
- package/dist/chunk-F7QTSVDJ.mjs +130 -0
- package/dist/chunk-FBLF4KJF.js +306 -0
- package/dist/chunk-FFBZYD6R.mjs +59 -0
- package/dist/chunk-FP4PPOO6.js +32 -0
- package/dist/chunk-GGGO542M.js +93 -0
- package/dist/chunk-GV44QHV3.mjs +32 -0
- package/dist/chunk-GZPCM2GI.mjs +413 -0
- package/dist/chunk-HAT7PSQD.mjs +509 -0
- package/dist/chunk-HI4G4OOG.js +40 -0
- package/dist/chunk-I734UVDT.js +22 -0
- package/dist/chunk-I7OZOKTH.js +65 -0
- package/dist/chunk-INAG73GE.js +69 -0
- package/dist/chunk-INERRJ6Q.js +1 -0
- package/dist/chunk-J5SXKBBU.mjs +30 -0
- package/dist/chunk-JEV3GSS7.js +51 -0
- package/dist/chunk-JGP4YWZY.js +1 -0
- package/dist/chunk-JGTW4AJ7.mjs +32 -0
- package/dist/chunk-KLEKFCL2.js +58 -0
- package/dist/chunk-LIYZBMAM.mjs +13 -0
- package/dist/chunk-MF4RRA4Q.mjs +726 -0
- package/dist/chunk-MSENNRAY.js +118 -0
- package/dist/chunk-NCVJPQSP.js +88 -0
- package/dist/chunk-NDDXQD7R.mjs +61 -0
- package/dist/chunk-OA7KWN7D.mjs +66 -0
- package/dist/chunk-OESA3G7F.mjs +31 -0
- package/dist/chunk-OJ3R7YBK.js +302 -0
- package/dist/chunk-PMDV5GKD.js +240 -0
- package/dist/chunk-PS2NPPRM.mjs +267 -0
- package/dist/chunk-PS55UN6T.mjs +59 -0
- package/dist/chunk-PVTEDLBL.mjs +26 -0
- package/dist/chunk-PY52QA2R.js +130 -0
- package/dist/chunk-QMJ7P54Z.mjs +241 -0
- package/dist/chunk-QZHIWK5Z.mjs +190 -0
- package/dist/chunk-RKOOM5R5.js +509 -0
- package/dist/chunk-RLIZVCIN.mjs +0 -0
- package/dist/chunk-RPECQQG4.mjs +288 -0
- package/dist/chunk-SFT3A33D.mjs +32 -0
- package/dist/chunk-T7IVGU7T.mjs +302 -0
- package/dist/chunk-TILR7372.js +48 -0
- package/dist/chunk-TYAPQ46X.js +353 -0
- package/dist/chunk-UDAQKEJS.mjs +384 -0
- package/dist/chunk-ULBTYC2B.js +190 -0
- package/dist/chunk-USUT2GLD.mjs +26 -0
- package/dist/chunk-V7YZ3666.mjs +0 -0
- package/dist/chunk-VYH45FO6.mjs +55 -0
- package/dist/chunk-W4QV74K2.mjs +87 -0
- package/dist/chunk-WJ5TU6JU.mjs +988 -0
- package/dist/chunk-WTHELTBU.mjs +48 -0
- package/dist/chunk-XCSSYTCU.js +26 -0
- package/dist/chunk-XID4OBY2.mjs +353 -0
- package/dist/chunk-XITP2BX2.js +13 -0
- package/dist/chunk-XONECYS4.js +413 -0
- package/dist/chunk-XSCTGWRG.mjs +42 -0
- package/dist/chunk-XSRDTQ5C.mjs +306 -0
- package/dist/chunk-XUV4U54K.mjs +21 -0
- package/dist/chunk-ZCZVVZBX.js +32 -0
- package/dist/chunk-ZFIZ5Q46.js +288 -0
- package/dist/chunk-ZMFVKBRM.js +55 -0
- package/dist/chunk-ZPWY4RXH.js +18 -0
- package/dist/chunk-ZXT33DDB.js +32 -0
- package/dist/executor-5Wog21g_.d.mts +34 -0
- package/dist/executor-B8D-FX1j.d.mts +132 -0
- package/dist/executor-B8D-FX1j.d.ts +132 -0
- package/dist/executor-B8unq_QL.d.mts +150 -0
- package/dist/executor-BD3oxCXJ.d.mts +96 -0
- package/dist/executor-BD3oxCXJ.d.ts +96 -0
- package/dist/executor-BKdjKo-J.d.mts +93 -0
- package/dist/executor-BKdjKo-J.d.ts +93 -0
- package/dist/executor-BSXWmnE3.d.mts +263 -0
- package/dist/executor-Bt8koUTv.d.mts +104 -0
- package/dist/executor-Bt8koUTv.d.ts +104 -0
- package/dist/executor-BuS0IH1B.d.mts +96 -0
- package/dist/executor-BuS0IH1B.d.ts +96 -0
- package/dist/executor-C5AtaKvj.d.mts +148 -0
- package/dist/executor-CpcXNDfG.d.mts +122 -0
- package/dist/executor-CpcXNDfG.d.ts +122 -0
- package/dist/executor-D5hcfG7B.d.ts +57 -0
- package/dist/executor-D8m1bXgk.d.mts +57 -0
- package/dist/executor-DTcKLfcw.d.mts +67 -0
- package/dist/executor-DTcKLfcw.d.ts +67 -0
- package/dist/executor-DlTSIchw.d.ts +148 -0
- package/dist/executor-U929Bp8J.d.ts +34 -0
- package/dist/executor-sYaxQf5n.d.ts +150 -0
- package/dist/executor-wWkM11v5.d.ts +263 -0
- package/dist/executors.d.mts +16 -0
- package/dist/executors.d.ts +16 -0
- package/dist/executors.js +62 -0
- package/dist/executors.mjs +62 -0
- package/dist/generator-48_WHnGL.d.mts +184 -0
- package/dist/generator-BOj8XBVt.d.mts +322 -0
- package/dist/generator-C392qNd1.d.ts +322 -0
- package/dist/generator-CNiN6sul.d.mts +322 -0
- package/dist/generator-CgdrKFcO.d.mts +108 -0
- package/dist/generator-CtMFNmXP.d.ts +108 -0
- package/dist/generator-DX0frURz.d.ts +322 -0
- package/dist/generator-Dc6RWp26.d.ts +322 -0
- package/dist/generator-DeNfAL1R.d.ts +184 -0
- package/dist/generator-DmJcSdfk.d.mts +38 -0
- package/dist/generator-VyYYXMy4.d.mts +322 -0
- package/dist/generator-WuasfjoA.d.ts +38 -0
- package/dist/generators.d.mts +13 -0
- package/dist/generators.d.ts +13 -0
- package/dist/generators.js +41 -0
- package/dist/generators.mjs +41 -0
- package/dist/index.d.mts +367 -0
- package/dist/index.d.ts +367 -0
- package/dist/index.js +259 -0
- package/dist/index.mjs +259 -0
- package/dist/init-6Nmtv8d5.d.mts +19 -0
- package/dist/init-6Nmtv8d5.d.ts +19 -0
- package/dist/schema.d-CRz8jtUC.d.mts +60 -0
- package/dist/schema.d-CRz8jtUC.d.ts +60 -0
- package/dist/src/base/base-executor.d.mts +9 -0
- package/dist/src/base/base-executor.d.ts +7 -15
- package/dist/src/base/base-executor.js +12 -0
- package/dist/src/base/base-executor.mjs +12 -0
- package/dist/src/base/base-executor.schema.d.ts +17 -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 +7 -0
- package/dist/src/base/base-executor.untyped.mjs +7 -0
- package/dist/src/base/base-generator.d.mts +9 -0
- package/dist/src/base/base-generator.d.ts +7 -12
- package/dist/src/base/base-generator.js +11 -0
- package/dist/src/base/base-generator.mjs +11 -0
- package/dist/src/base/base-generator.schema.d.ts +14 -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 +7 -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 +8 -0
- package/dist/src/base/cargo-base-executor.untyped.mjs +8 -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 +8 -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 +8 -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 +16 -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/schema.md +89 -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 +26 -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 +16 -0
- package/dist/src/executors/cargo-check/executor.mjs +16 -0
- package/dist/src/executors/cargo-check/schema.d.ts +89 -0
- package/dist/src/executors/cargo-check/schema.json +88 -0
- package/dist/src/executors/cargo-check/schema.md +90 -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 +19 -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 +16 -0
- package/dist/src/executors/cargo-clippy/executor.mjs +16 -0
- package/dist/src/executors/cargo-clippy/schema.d.ts +97 -0
- package/dist/src/executors/cargo-clippy/schema.json +94 -0
- package/dist/src/executors/cargo-clippy/schema.md +99 -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 +26 -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 +16 -0
- package/dist/src/executors/cargo-doc/executor.mjs +16 -0
- package/dist/src/executors/cargo-doc/schema.d.ts +125 -0
- package/dist/src/executors/cargo-doc/schema.json +164 -0
- package/dist/src/executors/cargo-doc/schema.md +130 -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 +51 -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 +16 -0
- package/dist/src/executors/cargo-format/executor.mjs +16 -0
- package/dist/src/executors/cargo-format/schema.d.ts +89 -0
- package/dist/src/executors/cargo-format/schema.json +88 -0
- package/dist/src/executors/cargo-format/schema.md +90 -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 +19 -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 +10 -0
- package/dist/src/executors/cargo-publish/schema.d.ts +115 -0
- package/dist/src/executors/cargo-publish/schema.json +107 -0
- package/dist/src/executors/cargo-publish/schema.md +117 -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 +41 -0
- package/dist/src/executors/cargo-publish/untyped.mjs +41 -0
- package/dist/src/executors/clean-package/executor.d.mts +12 -0
- package/dist/src/executors/clean-package/executor.d.ts +12 -0
- package/dist/src/executors/clean-package/executor.js +303 -0
- package/dist/src/executors/clean-package/executor.mjs +303 -0
- package/dist/src/executors/clean-package/schema.d.ts +60 -0
- package/dist/src/executors/clean-package/schema.json +57 -0
- package/dist/src/executors/clean-package/schema.md +65 -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 +68 -0
- package/dist/src/executors/clean-package/untyped.mjs +68 -0
- package/dist/src/executors/esbuild/executor.d.mts +4 -0
- package/dist/src/executors/esbuild/executor.d.ts +4 -0
- package/dist/src/executors/esbuild/executor.js +16 -0
- package/dist/src/executors/esbuild/executor.mjs +16 -0
- package/dist/src/executors/esbuild/schema.d.ts +141 -0
- package/dist/src/executors/esbuild/schema.json +173 -0
- package/dist/src/executors/esbuild/schema.md +130 -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 +32 -0
- package/dist/src/executors/esbuild/untyped.mjs +32 -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 +11 -0
- package/dist/src/executors/npm-publish/executor.mjs +11 -0
- package/dist/src/executors/npm-publish/schema.d.ts +60 -0
- package/dist/src/executors/npm-publish/schema.json +55 -0
- package/dist/src/executors/npm-publish/schema.md +64 -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 +61 -0
- package/dist/src/executors/npm-publish/untyped.mjs +61 -0
- package/dist/src/executors/size-limit/executor.d.mts +4 -0
- package/dist/src/executors/size-limit/executor.d.ts +4 -0
- package/dist/src/executors/size-limit/executor.js +15 -0
- package/dist/src/executors/size-limit/executor.mjs +15 -0
- package/dist/src/executors/size-limit/schema.d.ts +25 -0
- package/dist/src/executors/size-limit/schema.json +29 -0
- package/dist/src/executors/size-limit/schema.md +25 -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 +29 -0
- package/dist/src/executors/size-limit/untyped.mjs +29 -0
- package/dist/src/executors/tsdown/executor.d.mts +4 -0
- package/dist/src/executors/tsdown/executor.d.ts +4 -0
- package/dist/src/executors/tsdown/executor.js +16 -0
- package/dist/src/executors/tsdown/executor.mjs +16 -0
- package/dist/src/executors/tsdown/schema.d.ts +139 -0
- package/dist/src/executors/tsdown/schema.json +182 -0
- package/dist/src/executors/tsdown/schema.md +130 -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 +19 -0
- package/dist/src/executors/tsdown/untyped.mjs +19 -0
- package/dist/src/executors/typia/executor.d.mts +4 -0
- package/dist/src/executors/typia/executor.d.ts +4 -0
- package/dist/src/executors/typia/executor.js +15 -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/schema.md +46 -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 +63 -0
- package/dist/src/executors/typia/untyped.mjs +63 -0
- package/dist/src/executors/unbuild/executor.d.mts +4 -0
- package/dist/src/executors/unbuild/executor.d.ts +4 -0
- package/dist/src/executors/unbuild/executor.js +16 -0
- package/dist/src/executors/unbuild/executor.mjs +16 -0
- package/dist/src/executors/unbuild/schema.d.ts +254 -0
- package/dist/src/executors/unbuild/schema.json +305 -0
- package/dist/src/executors/unbuild/schema.md +220 -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 +138 -0
- package/dist/src/executors/unbuild/untyped.mjs +138 -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/tsconfig.spec.json +13 -0
- package/dist/src/generators/browser-library/generator.d.mts +6 -0
- package/dist/src/generators/browser-library/generator.d.ts +6 -0
- package/dist/src/generators/browser-library/generator.js +17 -0
- package/dist/src/generators/browser-library/generator.mjs +17 -0
- package/dist/src/generators/browser-library/schema.d.ts +314 -0
- package/dist/src/generators/browser-library/schema.json +262 -0
- package/dist/src/generators/browser-library/schema.md +297 -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 +43 -0
- package/dist/src/generators/browser-library/untyped.mjs +43 -0
- package/dist/src/generators/config-schema/generator.d.mts +6 -0
- package/dist/src/generators/config-schema/generator.d.ts +6 -0
- package/dist/src/generators/config-schema/generator.js +14 -0
- package/dist/src/generators/config-schema/generator.mjs +14 -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/schema.md +25 -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 +26 -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 +9 -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/schema.md +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 +21 -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/tsconfig.spec.json +13 -0
- package/dist/src/generators/neutral-library/generator.d.mts +6 -0
- package/dist/src/generators/neutral-library/generator.d.ts +6 -0
- package/dist/src/generators/neutral-library/generator.js +17 -0
- package/dist/src/generators/neutral-library/generator.mjs +17 -0
- package/dist/src/generators/neutral-library/schema.d.ts +314 -0
- package/dist/src/generators/neutral-library/schema.json +261 -0
- package/dist/src/generators/neutral-library/schema.md +297 -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 +42 -0
- package/dist/src/generators/neutral-library/untyped.mjs +42 -0
- package/dist/src/generators/node-library/files/README.md +58 -0
- package/dist/src/generators/node-library/files/jest.config.ts +3 -0
- package/dist/src/generators/node-library/files/tsconfig.spec.json +13 -0
- package/dist/src/generators/node-library/generator.d.mts +6 -0
- package/dist/src/generators/node-library/generator.d.ts +6 -0
- package/dist/src/generators/node-library/generator.js +17 -0
- package/dist/src/generators/node-library/generator.mjs +17 -0
- package/dist/src/generators/node-library/schema.d.ts +314 -0
- package/dist/src/generators/node-library/schema.json +262 -0
- package/dist/src/generators/node-library/schema.md +297 -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 +43 -0
- package/dist/src/generators/node-library/untyped.mjs +43 -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 +24 -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 +6 -0
- package/dist/src/generators/preset/generator.d.ts +6 -0
- package/dist/src/generators/preset/generator.js +15 -0
- package/dist/src/generators/preset/generator.mjs +15 -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/schema.md +110 -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 +103 -0
- package/dist/src/generators/preset/untyped.mjs +103 -0
- package/dist/src/generators/release-version/generator.d.mts +5 -0
- package/dist/src/generators/release-version/generator.d.ts +5 -0
- package/dist/src/generators/release-version/generator.js +13 -0
- package/dist/src/generators/release-version/generator.mjs +13 -0
- package/dist/src/generators/release-version/schema.d.ts +178 -0
- package/dist/src/generators/release-version/schema.json +154 -0
- package/dist/src/generators/release-version/schema.md +158 -0
- package/dist/src/generators/release-version/untyped.d.mts +5 -0
- package/dist/src/generators/release-version/untyped.d.ts +5 -0
- package/dist/src/generators/release-version/untyped.js +170 -0
- package/dist/src/generators/release-version/untyped.mjs +170 -0
- package/dist/src/plugins/rust/cargo-toml.d.mts +23 -0
- package/dist/src/plugins/rust/cargo-toml.d.ts +23 -0
- package/dist/src/plugins/rust/cargo-toml.js +19 -0
- package/dist/src/plugins/rust/cargo-toml.mjs +19 -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 +19 -0
- package/dist/src/plugins/rust/index.mjs +19 -0
- package/dist/src/plugins/typescript/index.d.mts +2 -0
- package/dist/src/plugins/typescript/index.d.ts +2 -0
- package/dist/src/plugins/typescript/index.js +10 -0
- package/dist/src/plugins/typescript/index.mjs +10 -0
- package/dist/src/plugins/typescript/project-config.d.mts +9 -0
- package/dist/src/plugins/typescript/project-config.d.ts +9 -0
- package/dist/src/plugins/typescript/project-config.js +10 -0
- package/dist/src/plugins/typescript/project-config.mjs +10 -0
- package/dist/src/plugins/typescript/tsdown.d.mts +8 -0
- package/dist/src/plugins/typescript/tsdown.d.ts +8 -0
- package/dist/src/plugins/typescript/tsdown.js +142 -0
- package/dist/src/plugins/typescript/tsdown.mjs +142 -0
- package/dist/src/plugins/typescript/tsup.d.mts +8 -0
- package/dist/src/plugins/typescript/tsup.d.ts +8 -0
- package/dist/src/plugins/typescript/tsup.js +142 -0
- package/dist/src/plugins/typescript/tsup.mjs +142 -0
- package/dist/src/types.d.mts +4 -0
- package/dist/src/types.d.ts +4 -0
- package/dist/src/types.js +17 -0
- package/dist/src/types.mjs +17 -0
- package/dist/src/utils/apply-workspace-tokens.d.mts +17 -0
- package/dist/src/utils/apply-workspace-tokens.d.ts +17 -0
- package/dist/src/utils/apply-workspace-tokens.js +9 -0
- package/dist/src/utils/apply-workspace-tokens.mjs +9 -0
- package/dist/src/utils/cargo.d.mts +119 -0
- package/dist/src/utils/cargo.d.ts +119 -0
- package/dist/src/utils/cargo.js +23 -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 +7 -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 +11 -0
- package/dist/src/utils/get-project-configurations.mjs +11 -0
- package/dist/src/utils/index.d.mts +20 -0
- package/dist/src/utils/index.d.ts +20 -0
- package/dist/src/utils/index.js +146 -0
- package/dist/src/utils/index.mjs +146 -0
- package/dist/src/utils/lock-file.d.mts +26 -0
- package/dist/src/utils/lock-file.d.ts +26 -0
- package/dist/src/utils/lock-file.js +27 -0
- package/dist/src/utils/lock-file.mjs +27 -0
- package/dist/src/utils/package-helpers.d.mts +16 -0
- package/dist/src/utils/package-helpers.d.ts +16 -0
- package/dist/src/utils/package-helpers.js +11 -0
- package/dist/src/utils/package-helpers.mjs +11 -0
- package/dist/src/utils/pnpm-deps-update.d.mts +9 -0
- package/dist/src/utils/pnpm-deps-update.d.ts +9 -0
- package/dist/src/utils/pnpm-deps-update.js +8 -0
- package/dist/src/utils/pnpm-deps-update.mjs +8 -0
- package/dist/src/utils/project-tags.d.mts +54 -0
- package/dist/src/utils/project-tags.d.ts +54 -0
- package/dist/src/utils/project-tags.js +21 -0
- package/dist/src/utils/project-tags.mjs +21 -0
- package/dist/src/utils/toml.d.mts +136 -0
- package/dist/src/utils/toml.d.ts +136 -0
- package/dist/src/utils/toml.js +15 -0
- package/dist/src/utils/toml.mjs +15 -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 +7 -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 +41 -0
- package/dist/src/utils/versions.mjs +41 -0
- package/dist/types-CMFSY9ut.d.mts +101 -0
- package/dist/types-D9vU63tt.d.mts +1185 -0
- package/dist/types-D9vU63tt.d.ts +1185 -0
- package/dist/types-Dbr7XMO3.d.ts +101 -0
- package/docs/api/base/base-executor.schema.md +16 -0
- package/docs/api/base/base-generator.schema.md +15 -0
- package/docs/api/base/cargo-base-executor.schema.md +90 -0
- package/docs/api/base/typescript-build-executor.schema.md +130 -0
- package/docs/api/base/typescript-library-generator.schema.md +297 -0
- package/docs/api/executors/cargo-build/schema.md +89 -0
- package/docs/api/executors/cargo-check/schema.md +90 -0
- package/docs/api/executors/cargo-clippy/schema.md +99 -0
- package/docs/api/executors/cargo-doc/schema.md +130 -0
- package/docs/api/executors/cargo-format/schema.md +90 -0
- package/docs/api/executors/cargo-publish/schema.md +117 -0
- package/docs/api/executors/clean-package/schema.md +65 -0
- package/docs/api/executors/esbuild/schema.md +130 -0
- package/docs/api/executors/npm-publish/schema.md +64 -0
- package/docs/api/executors/size-limit/schema.md +25 -0
- package/docs/api/executors/tsdown/schema.md +130 -0
- package/docs/api/executors/typia/schema.md +46 -0
- package/docs/api/executors/unbuild/schema.md +220 -0
- package/docs/api/generators/browser-library/files/README.md +58 -0
- package/docs/api/generators/browser-library/schema.md +297 -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 +297 -0
- package/docs/api/generators/node-library/files/README.md +58 -0
- package/docs/api/generators/node-library/schema.md +297 -0
- package/docs/api/generators/preset/schema.md +110 -0
- package/docs/api/generators/release-version/schema.md +158 -0
- package/package.json +1 -1
- /package/{docs/api/base/base-executor.md → dist/src/base/base-executor.schema.md} +0 -0
- /package/{docs/api/base/base-generator.md → dist/src/base/base-generator.schema.md} +0 -0
- /package/dist/src/base/{cargo-base-executor.d.ts → cargo-base-executor.schema.d.ts} +0 -0
- /package/{docs/api/base/cargo-base-executor.md → dist/src/base/cargo-base-executor.schema.md} +0 -0
- /package/dist/src/base/{typescript-build-executor.d.ts → typescript-build-executor.schema.d.ts} +0 -0
- /package/{docs/api/base/typescript-build-executor.md → dist/src/base/typescript-build-executor.schema.md} +0 -0
- /package/dist/src/base/{typescript-library-generator.d.ts → typescript-library-generator.schema.d.ts} +0 -0
- /package/{docs/api/base/typescript-library-generator.md → dist/src/base/typescript-library-generator.schema.md} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
joinPaths
|
|
3
|
+
} from "./chunk-PVTEDLBL.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__name
|
|
6
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
7
|
+
|
|
8
|
+
// src/utils/pnpm-deps-update.ts
|
|
9
|
+
import { existsSync } from "node:fs";
|
|
10
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
11
|
+
import readYamlFile from "read-yaml-file";
|
|
12
|
+
var pnpmCatalog;
|
|
13
|
+
async function pnpmCatalogUpdate(packageRoot, workspaceRoot = process.cwd()) {
|
|
14
|
+
if (!pnpmCatalog) {
|
|
15
|
+
const pnpmWorkspacePath = joinPaths(workspaceRoot, "pnpm-workspace.yaml");
|
|
16
|
+
if (!existsSync(pnpmWorkspacePath)) {
|
|
17
|
+
console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${pnpmWorkspacePath}). Skipping pnpm catalog read for now.`);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const pnpmWorkspaceYaml = await readYamlFile(pnpmWorkspacePath);
|
|
21
|
+
console.info(`pnpmWorkspaceYaml: ${JSON.stringify(pnpmWorkspaceYaml ?? {})}`);
|
|
22
|
+
if (pnpmWorkspaceYaml?.catalog) {
|
|
23
|
+
pnpmCatalog = pnpmWorkspaceYaml.catalog;
|
|
24
|
+
} else {
|
|
25
|
+
console.warn(`Found a \`pnpm-workspace.yaml\` file in the workspace root directory, but no pnpm catalog existed:
|
|
26
|
+
File name: ${pnpmWorkspacePath}
|
|
27
|
+
File contents: ${pnpmWorkspaceYaml ? JSON.stringify(pnpmWorkspaceYaml) : "EMPTY FILE"}`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (!pnpmCatalog) {
|
|
31
|
+
console.warn(`No pnpm catalog found. Attempting to read from workspace root's \`pnpm-workspace.yaml\` file.`);
|
|
32
|
+
}
|
|
33
|
+
const packageJsonPath = joinPaths(packageRoot, "package.json");
|
|
34
|
+
const packageJsonFile = await readFile(packageJsonPath, "utf8");
|
|
35
|
+
if (!packageJsonFile) {
|
|
36
|
+
throw new Error("No package.json file found in package root: " + packageRoot);
|
|
37
|
+
}
|
|
38
|
+
const packageJson = JSON.parse(packageJsonFile);
|
|
39
|
+
for (const dependencyType of [
|
|
40
|
+
"dependencies",
|
|
41
|
+
"devDependencies",
|
|
42
|
+
"peerDependencies"
|
|
43
|
+
]) {
|
|
44
|
+
const dependencies = packageJson[dependencyType];
|
|
45
|
+
if (!dependencies) {
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
for (const dependencyName of Object.keys(dependencies)) {
|
|
49
|
+
if (dependencies[dependencyName] === "catalog:") {
|
|
50
|
+
if (!pnpmCatalog) {
|
|
51
|
+
throw new Error(`Dependency ${dependencyName} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`);
|
|
52
|
+
}
|
|
53
|
+
const catalogVersion = pnpmCatalog[dependencyName];
|
|
54
|
+
if (!catalogVersion) {
|
|
55
|
+
throw new Error("Missing pnpm catalog version for " + dependencyName);
|
|
56
|
+
}
|
|
57
|
+
dependencies[dependencyName] = catalogVersion;
|
|
58
|
+
} else if (dependencies[dependencyName].startsWith("catalog:")) {
|
|
59
|
+
throw new Error("multiple named catalogs not supported");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return writeFile(packageJsonPath, JSON.stringify(packageJson));
|
|
64
|
+
}
|
|
65
|
+
__name(pnpmCatalogUpdate, "pnpmCatalogUpdate");
|
|
66
|
+
|
|
67
|
+
export {
|
|
68
|
+
pnpmCatalogUpdate
|
|
69
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
correctPaths
|
|
3
|
+
} from "./chunk-PVTEDLBL.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__name
|
|
6
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
7
|
+
|
|
8
|
+
// ../config-tools/src/utilities/find-up.ts
|
|
9
|
+
import { existsSync } from "node:fs";
|
|
10
|
+
import { join } from "node:path";
|
|
11
|
+
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
12
|
+
var depth = 0;
|
|
13
|
+
function findFolderUp(startPath, endFileNames) {
|
|
14
|
+
const _startPath = startPath ?? process.cwd();
|
|
15
|
+
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
|
|
16
|
+
return _startPath;
|
|
17
|
+
}
|
|
18
|
+
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
19
|
+
const parent = join(_startPath, "..");
|
|
20
|
+
return findFolderUp(parent, endFileNames);
|
|
21
|
+
}
|
|
22
|
+
return void 0;
|
|
23
|
+
}
|
|
24
|
+
__name(findFolderUp, "findFolderUp");
|
|
25
|
+
|
|
26
|
+
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
27
|
+
var rootFiles = [
|
|
28
|
+
"storm.json",
|
|
29
|
+
"storm.json",
|
|
30
|
+
"storm.yaml",
|
|
31
|
+
"storm.yml",
|
|
32
|
+
"storm.js",
|
|
33
|
+
"storm.ts",
|
|
34
|
+
".storm.json",
|
|
35
|
+
".storm.yaml",
|
|
36
|
+
".storm.yml",
|
|
37
|
+
".storm.js",
|
|
38
|
+
".storm.ts",
|
|
39
|
+
"lerna.json",
|
|
40
|
+
"nx.json",
|
|
41
|
+
"turbo.json",
|
|
42
|
+
"npm-workspace.json",
|
|
43
|
+
"yarn-workspace.json",
|
|
44
|
+
"pnpm-workspace.json",
|
|
45
|
+
"npm-workspace.yaml",
|
|
46
|
+
"yarn-workspace.yaml",
|
|
47
|
+
"pnpm-workspace.yaml",
|
|
48
|
+
"npm-workspace.yml",
|
|
49
|
+
"yarn-workspace.yml",
|
|
50
|
+
"pnpm-workspace.yml",
|
|
51
|
+
"npm-lock.json",
|
|
52
|
+
"yarn-lock.json",
|
|
53
|
+
"pnpm-lock.json",
|
|
54
|
+
"npm-lock.yaml",
|
|
55
|
+
"yarn-lock.yaml",
|
|
56
|
+
"pnpm-lock.yaml",
|
|
57
|
+
"npm-lock.yml",
|
|
58
|
+
"yarn-lock.yml",
|
|
59
|
+
"pnpm-lock.yml",
|
|
60
|
+
"bun.lockb"
|
|
61
|
+
];
|
|
62
|
+
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
63
|
+
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
64
|
+
return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
65
|
+
}
|
|
66
|
+
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
|
|
67
|
+
}
|
|
68
|
+
__name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
69
|
+
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
70
|
+
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
71
|
+
if (!result) {
|
|
72
|
+
throw new Error(`Cannot find workspace root upwards from known path. Files search list includes:
|
|
73
|
+
${rootFiles.join("\n")}
|
|
74
|
+
Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
75
|
+
}
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
__name(findWorkspaceRoot, "findWorkspaceRoot");
|
|
79
|
+
|
|
80
|
+
export {
|
|
81
|
+
findWorkspaceRoot
|
|
82
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// src/utils/versions.ts
|
|
2
|
+
var tsupVersion = "^7.2.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
|
+
export {
|
|
22
|
+
tsupVersion,
|
|
23
|
+
prettierPackageJsonVersion,
|
|
24
|
+
prettierPrismaVersion,
|
|
25
|
+
prettierVersion,
|
|
26
|
+
swcCliVersion,
|
|
27
|
+
swcCoreVersion,
|
|
28
|
+
swcHelpersVersion,
|
|
29
|
+
swcNodeVersion,
|
|
30
|
+
tsLibVersion,
|
|
31
|
+
typesNodeVersion,
|
|
32
|
+
verdaccioVersion,
|
|
33
|
+
typescriptVersion,
|
|
34
|
+
eslintVersion,
|
|
35
|
+
lintStagedVersion,
|
|
36
|
+
semanticReleaseVersion,
|
|
37
|
+
nxVersion,
|
|
38
|
+
nodeVersion,
|
|
39
|
+
pnpmVersion
|
|
40
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunGenerator
|
|
3
|
+
} from "./chunk-B3KIYNGT.mjs";
|
|
4
|
+
import {
|
|
5
|
+
StormConfigSchema,
|
|
6
|
+
writeInfo,
|
|
7
|
+
writeSuccess,
|
|
8
|
+
writeTrace
|
|
9
|
+
} from "./chunk-WJ5TU6JU.mjs";
|
|
10
|
+
import {
|
|
11
|
+
findWorkspaceRoot
|
|
12
|
+
} from "./chunk-DMUTOQCB.mjs";
|
|
13
|
+
import {
|
|
14
|
+
__name
|
|
15
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
16
|
+
|
|
17
|
+
// src/generators/config-schema/generator.ts
|
|
18
|
+
import { formatFiles, writeJson } from "@nx/devkit";
|
|
19
|
+
import { zodToJsonSchema } from "zod-to-json-schema";
|
|
20
|
+
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
+
writeInfo("\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
|
|
22
|
+
writeTrace(`Determining the Storm Configuration JSON Schema...`, config);
|
|
23
|
+
const jsonSchema = zodToJsonSchema(StormConfigSchema, {
|
|
24
|
+
name: "StormWorkspaceConfiguration"
|
|
25
|
+
});
|
|
26
|
+
writeTrace(jsonSchema, config);
|
|
27
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(config?.workspaceRoot ?? findWorkspaceRoot(), options.outputFile?.startsWith("./") ? "" : "./");
|
|
28
|
+
writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
29
|
+
writeJson(tree, outputPath, jsonSchema, {
|
|
30
|
+
spaces: 2
|
|
31
|
+
});
|
|
32
|
+
await formatFiles(tree);
|
|
33
|
+
writeSuccess("\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
|
|
34
|
+
return {
|
|
35
|
+
success: true
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
__name(configSchemaGeneratorFn, "configSchemaGeneratorFn");
|
|
39
|
+
var generator_default = withRunGenerator("Configuration Schema Creator", configSchemaGeneratorFn, {
|
|
40
|
+
hooks: {
|
|
41
|
+
applyDefaultOptions: /* @__PURE__ */ __name((options) => {
|
|
42
|
+
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
43
|
+
return options;
|
|
44
|
+
}, "applyDefaultOptions")
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
configSchemaGeneratorFn,
|
|
50
|
+
generator_default
|
|
51
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
11
|
+
|
|
12
|
+
// src/executors/cargo-doc/executor.ts
|
|
13
|
+
var _deepclone = require('deep-clone'); var _deepclone2 = _interopRequireDefault(_deepclone);
|
|
14
|
+
async function cargoDocExecutor(options, context) {
|
|
15
|
+
const opts = _deepclone2.default.call(void 0, options);
|
|
16
|
+
opts["no-deps"] = opts.noDeps;
|
|
17
|
+
delete opts.noDeps;
|
|
18
|
+
const command = _chunkULBTYC2Bjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
19
|
+
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
20
|
+
}
|
|
21
|
+
_chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
|
|
22
|
+
var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
|
|
23
|
+
skipReadingConfig: false,
|
|
24
|
+
hooks: {
|
|
25
|
+
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
26
|
+
options.outputPath ??= "dist/docs/{projectRoot}";
|
|
27
|
+
options.toolchain ??= "stable";
|
|
28
|
+
options.release ??= options.profile ? false : true;
|
|
29
|
+
options.allFeatures ??= true;
|
|
30
|
+
options.lib ??= true;
|
|
31
|
+
options.bins ??= true;
|
|
32
|
+
options.examples ??= true;
|
|
33
|
+
options.noDeps ??= false;
|
|
34
|
+
return options;
|
|
35
|
+
}, "applyDefaultOptions")
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
exports.cargoDocExecutor = cargoDocExecutor; exports.executor_default = executor_default;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__name
|
|
3
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
4
|
+
|
|
5
|
+
// src/utils/lock-file.ts
|
|
6
|
+
import { existsSync } from "node:fs";
|
|
7
|
+
import { join } from "node:path";
|
|
8
|
+
import { output, readJsonFile, workspaceRoot } from "nx/src/devkit-exports";
|
|
9
|
+
import { getNpmLockfileDependencies, getNpmLockfileNodes } from "nx/src/plugins/js/lock-file/npm-parser";
|
|
10
|
+
import { getPnpmLockfileDependencies, getPnpmLockfileNodes } from "nx/src/plugins/js/lock-file/pnpm-parser";
|
|
11
|
+
import { getYarnLockfileDependencies, getYarnLockfileNodes } from "nx/src/plugins/js/lock-file/yarn-parser";
|
|
12
|
+
var YARN_LOCK_FILE = "yarn.lock";
|
|
13
|
+
var NPM_LOCK_FILE = "package-lock.json";
|
|
14
|
+
var PNPM_LOCK_FILE = "pnpm-lock.yaml";
|
|
15
|
+
var LOCK_FILES = [
|
|
16
|
+
YARN_LOCK_FILE,
|
|
17
|
+
NPM_LOCK_FILE,
|
|
18
|
+
PNPM_LOCK_FILE
|
|
19
|
+
];
|
|
20
|
+
var YARN_LOCK_PATH = join(workspaceRoot, YARN_LOCK_FILE);
|
|
21
|
+
var NPM_LOCK_PATH = join(workspaceRoot, NPM_LOCK_FILE);
|
|
22
|
+
var PNPM_LOCK_PATH = join(workspaceRoot, PNPM_LOCK_FILE);
|
|
23
|
+
function getLockFileNodes(packageManager, contents, lockFileHash, context) {
|
|
24
|
+
try {
|
|
25
|
+
if (packageManager === "yarn") {
|
|
26
|
+
const packageJson = readJsonFile(join(context.workspaceRoot, "package.json"));
|
|
27
|
+
return getYarnLockfileNodes(contents, lockFileHash, packageJson);
|
|
28
|
+
}
|
|
29
|
+
if (packageManager === "pnpm") {
|
|
30
|
+
return getPnpmLockfileNodes(contents, lockFileHash);
|
|
31
|
+
}
|
|
32
|
+
if (packageManager === "npm") {
|
|
33
|
+
return getNpmLockfileNodes(contents, lockFileHash);
|
|
34
|
+
}
|
|
35
|
+
} catch (e) {
|
|
36
|
+
if (!isPostInstallProcess()) {
|
|
37
|
+
output.error({
|
|
38
|
+
title: `Failed to parse ${packageManager} lockfile`,
|
|
39
|
+
bodyLines: errorBodyLines(e)
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
throw e;
|
|
43
|
+
}
|
|
44
|
+
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
45
|
+
}
|
|
46
|
+
__name(getLockFileNodes, "getLockFileNodes");
|
|
47
|
+
function getLockFileDependencies(packageManager, contents, lockFileHash, context) {
|
|
48
|
+
try {
|
|
49
|
+
if (packageManager === "yarn") {
|
|
50
|
+
return getYarnLockfileDependencies(contents, lockFileHash, context);
|
|
51
|
+
}
|
|
52
|
+
if (packageManager === "pnpm") {
|
|
53
|
+
return getPnpmLockfileDependencies(contents, lockFileHash, context);
|
|
54
|
+
}
|
|
55
|
+
if (packageManager === "npm") {
|
|
56
|
+
return getNpmLockfileDependencies(contents, lockFileHash, context);
|
|
57
|
+
}
|
|
58
|
+
} catch (e) {
|
|
59
|
+
if (!isPostInstallProcess()) {
|
|
60
|
+
output.error({
|
|
61
|
+
title: `Failed to parse ${packageManager} lockfile`,
|
|
62
|
+
bodyLines: errorBodyLines(e)
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
throw e;
|
|
66
|
+
}
|
|
67
|
+
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
68
|
+
}
|
|
69
|
+
__name(getLockFileDependencies, "getLockFileDependencies");
|
|
70
|
+
function lockFileExists(packageManager) {
|
|
71
|
+
if (packageManager === "yarn") {
|
|
72
|
+
return existsSync(YARN_LOCK_PATH);
|
|
73
|
+
}
|
|
74
|
+
if (packageManager === "pnpm") {
|
|
75
|
+
return existsSync(PNPM_LOCK_PATH);
|
|
76
|
+
}
|
|
77
|
+
if (packageManager === "npm") {
|
|
78
|
+
return existsSync(NPM_LOCK_PATH);
|
|
79
|
+
}
|
|
80
|
+
throw new Error(`Unknown package manager ${packageManager} or lock file missing`);
|
|
81
|
+
}
|
|
82
|
+
__name(lockFileExists, "lockFileExists");
|
|
83
|
+
function getLockFileName(packageManager) {
|
|
84
|
+
if (packageManager === "yarn") {
|
|
85
|
+
return YARN_LOCK_FILE;
|
|
86
|
+
}
|
|
87
|
+
if (packageManager === "pnpm") {
|
|
88
|
+
return PNPM_LOCK_FILE;
|
|
89
|
+
}
|
|
90
|
+
if (packageManager === "npm") {
|
|
91
|
+
return NPM_LOCK_FILE;
|
|
92
|
+
}
|
|
93
|
+
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
94
|
+
}
|
|
95
|
+
__name(getLockFileName, "getLockFileName");
|
|
96
|
+
function errorBodyLines(originalError, additionalInfo = []) {
|
|
97
|
+
const result = [
|
|
98
|
+
"Please open an issue at `https://github.com/storm-software/storm-ops/issues/new?template=1-bug.yml` and provide a reproduction.",
|
|
99
|
+
...additionalInfo
|
|
100
|
+
];
|
|
101
|
+
if (originalError.message) {
|
|
102
|
+
result.push(`
|
|
103
|
+
Original error: ${originalError.message}
|
|
104
|
+
|
|
105
|
+
`);
|
|
106
|
+
}
|
|
107
|
+
if (originalError.stack) {
|
|
108
|
+
result.push(originalError.stack);
|
|
109
|
+
}
|
|
110
|
+
return result;
|
|
111
|
+
}
|
|
112
|
+
__name(errorBodyLines, "errorBodyLines");
|
|
113
|
+
function isPostInstallProcess() {
|
|
114
|
+
return process.env.npm_command === "install" && process.env.npm_lifecycle_event === "postinstall";
|
|
115
|
+
}
|
|
116
|
+
__name(isPostInstallProcess, "isPostInstallProcess");
|
|
117
|
+
|
|
118
|
+
export {
|
|
119
|
+
YARN_LOCK_FILE,
|
|
120
|
+
NPM_LOCK_FILE,
|
|
121
|
+
PNPM_LOCK_FILE,
|
|
122
|
+
LOCK_FILES,
|
|
123
|
+
YARN_LOCK_PATH,
|
|
124
|
+
NPM_LOCK_PATH,
|
|
125
|
+
PNPM_LOCK_PATH,
|
|
126
|
+
getLockFileNodes,
|
|
127
|
+
getLockFileDependencies,
|
|
128
|
+
lockFileExists,
|
|
129
|
+
getLockFileName
|
|
130
|
+
};
|