@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,288 @@
|
|
|
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: [
|
|
14
|
+
"directory",
|
|
15
|
+
"name"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
name: {
|
|
19
|
+
$schema: {
|
|
20
|
+
title: "Name",
|
|
21
|
+
type: "string",
|
|
22
|
+
description: "The name of the library"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
description: {
|
|
26
|
+
$schema: {
|
|
27
|
+
title: "Description",
|
|
28
|
+
type: "string",
|
|
29
|
+
description: "The description of the library"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
buildExecutor: {
|
|
33
|
+
$schema: {
|
|
34
|
+
title: "Build Executor",
|
|
35
|
+
type: "string",
|
|
36
|
+
description: "The executor to use for building the library"
|
|
37
|
+
},
|
|
38
|
+
$default: "@storm-software/workspace-tools:unbuild"
|
|
39
|
+
},
|
|
40
|
+
platform: {
|
|
41
|
+
$schema: {
|
|
42
|
+
title: "Platform",
|
|
43
|
+
type: "string",
|
|
44
|
+
description: "The platform to target with the library",
|
|
45
|
+
enum: [
|
|
46
|
+
"neutral",
|
|
47
|
+
"node",
|
|
48
|
+
"browser"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
$default: "neutral"
|
|
52
|
+
},
|
|
53
|
+
devDependencies: {
|
|
54
|
+
$schema: {
|
|
55
|
+
title: "Dev Dependencies",
|
|
56
|
+
type: "object",
|
|
57
|
+
description: "The dev dependencies to install"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
dependencies: {
|
|
61
|
+
$schema: {
|
|
62
|
+
title: "Dependencies",
|
|
63
|
+
type: "object",
|
|
64
|
+
description: "The dependencies to install"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
peerDependencies: {
|
|
68
|
+
$schema: {
|
|
69
|
+
title: "Peer Dependencies",
|
|
70
|
+
type: "object",
|
|
71
|
+
description: "The peer dependencies to install"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
peerDependenciesMeta: {
|
|
75
|
+
$schema: {
|
|
76
|
+
title: "Peer Dependencies Meta",
|
|
77
|
+
type: "object",
|
|
78
|
+
description: "The peer dependencies meta"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
tags: {
|
|
82
|
+
$schema: {
|
|
83
|
+
title: "Tags",
|
|
84
|
+
type: "string",
|
|
85
|
+
description: "The tags for the library"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
tsconfigOptions: {
|
|
89
|
+
$schema: {
|
|
90
|
+
title: "TypeScript Config (tsconfig.json) Options",
|
|
91
|
+
type: "object",
|
|
92
|
+
description: "The TypeScript configuration options"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
skipFormat: {
|
|
96
|
+
$schema: {
|
|
97
|
+
title: "Skip Format",
|
|
98
|
+
type: "boolean",
|
|
99
|
+
description: "Skip formatting"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
skipTsConfig: {
|
|
103
|
+
$schema: {
|
|
104
|
+
title: "Skip TsConfig",
|
|
105
|
+
type: "boolean",
|
|
106
|
+
description: "Skip TypeScript configuration"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
skipPackageJson: {
|
|
110
|
+
$schema: {
|
|
111
|
+
title: "Skip Package Json",
|
|
112
|
+
type: "boolean",
|
|
113
|
+
description: "Skip package.json"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
includeBabelRc: {
|
|
117
|
+
$schema: {
|
|
118
|
+
title: "Include Babel Rc",
|
|
119
|
+
type: "boolean",
|
|
120
|
+
description: "Include Babel configuration"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
unitTestRunner: {
|
|
124
|
+
$schema: {
|
|
125
|
+
title: "Unit Test Runner",
|
|
126
|
+
type: "string",
|
|
127
|
+
enum: [
|
|
128
|
+
"jest",
|
|
129
|
+
"vitest",
|
|
130
|
+
"none"
|
|
131
|
+
],
|
|
132
|
+
description: "The unit test runner to use"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
linter: {
|
|
136
|
+
$schema: {
|
|
137
|
+
title: "Linter",
|
|
138
|
+
type: "string",
|
|
139
|
+
description: "The linter to use"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
testEnvironment: {
|
|
143
|
+
$schema: {
|
|
144
|
+
title: "Test Environment",
|
|
145
|
+
type: "string",
|
|
146
|
+
enum: [
|
|
147
|
+
"jsdom",
|
|
148
|
+
"node"
|
|
149
|
+
],
|
|
150
|
+
description: "The test environment to use"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
importPath: {
|
|
154
|
+
$schema: {
|
|
155
|
+
title: "Import Path",
|
|
156
|
+
type: "string",
|
|
157
|
+
description: "The import path for the library"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
js: {
|
|
161
|
+
$schema: {
|
|
162
|
+
title: "JavaScript",
|
|
163
|
+
type: "boolean",
|
|
164
|
+
description: "Use JavaScript instead of TypeScript"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
pascalCaseFiles: {
|
|
168
|
+
$schema: {
|
|
169
|
+
title: "Pascal Case Files",
|
|
170
|
+
type: "boolean",
|
|
171
|
+
description: "Use PascalCase for file names"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
strict: {
|
|
175
|
+
$schema: {
|
|
176
|
+
title: "Strict",
|
|
177
|
+
type: "boolean",
|
|
178
|
+
description: "Enable strict mode"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
publishable: {
|
|
182
|
+
$schema: {
|
|
183
|
+
title: "Publishable",
|
|
184
|
+
type: "boolean",
|
|
185
|
+
description: "Make the library publishable"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
buildable: {
|
|
189
|
+
$schema: {
|
|
190
|
+
title: "Buildable",
|
|
191
|
+
type: "boolean",
|
|
192
|
+
description: "Make the library buildable"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
setParserOptionsProject: {
|
|
196
|
+
$schema: {
|
|
197
|
+
title: "Set Parser Options Project",
|
|
198
|
+
type: "boolean",
|
|
199
|
+
description: "Set parser options project"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
config: {
|
|
203
|
+
$schema: {
|
|
204
|
+
title: "Config",
|
|
205
|
+
type: "string",
|
|
206
|
+
enum: [
|
|
207
|
+
"workspace",
|
|
208
|
+
"project",
|
|
209
|
+
"npm-scripts"
|
|
210
|
+
],
|
|
211
|
+
description: "The configuration type"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
compiler: {
|
|
215
|
+
$schema: {
|
|
216
|
+
title: "Compiler",
|
|
217
|
+
type: "string",
|
|
218
|
+
description: "The compiler to use"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
bundler: {
|
|
222
|
+
$schema: {
|
|
223
|
+
title: "Bundler",
|
|
224
|
+
type: "string",
|
|
225
|
+
description: "The bundler to use"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
skipTypeCheck: {
|
|
229
|
+
$schema: {
|
|
230
|
+
title: "Skip Type Check",
|
|
231
|
+
type: "boolean",
|
|
232
|
+
description: "Skip type checking"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
minimal: {
|
|
236
|
+
$schema: {
|
|
237
|
+
title: "Minimal",
|
|
238
|
+
type: "boolean",
|
|
239
|
+
description: "Create a minimal library"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
rootProject: {
|
|
243
|
+
$schema: {
|
|
244
|
+
title: "Root Project",
|
|
245
|
+
type: "boolean",
|
|
246
|
+
description: "Create a root project"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
simpleName: {
|
|
250
|
+
$schema: {
|
|
251
|
+
title: "Simple Name",
|
|
252
|
+
type: "boolean",
|
|
253
|
+
description: "Use a simple name for the library"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
addPlugin: {
|
|
257
|
+
$schema: {
|
|
258
|
+
title: "Add Plugin",
|
|
259
|
+
type: "boolean",
|
|
260
|
+
description: "Add a plugin to the library"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
useProjectJson: {
|
|
264
|
+
$schema: {
|
|
265
|
+
title: "Use Project Json",
|
|
266
|
+
type: "boolean",
|
|
267
|
+
description: "Use project.json"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
skipWorkspacesWarning: {
|
|
271
|
+
$schema: {
|
|
272
|
+
title: "Skip Workspaces Warning",
|
|
273
|
+
type: "boolean",
|
|
274
|
+
description: "Skip workspaces warning"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
useTscExecutor: {
|
|
278
|
+
$schema: {
|
|
279
|
+
title: "Use Tsc Executor",
|
|
280
|
+
type: "boolean",
|
|
281
|
+
description: "Use TSC executor"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
export {
|
|
287
|
+
typescript_library_generator_untyped_default
|
|
288
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildCargoCommand,
|
|
3
|
+
cargoCommand
|
|
4
|
+
} from "./chunk-QZHIWK5Z.mjs";
|
|
5
|
+
import {
|
|
6
|
+
withRunExecutor
|
|
7
|
+
} from "./chunk-6267MSX4.mjs";
|
|
8
|
+
import {
|
|
9
|
+
__name
|
|
10
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
11
|
+
|
|
12
|
+
// src/executors/cargo-build/executor.ts
|
|
13
|
+
async function cargoBuildExecutor(options, context) {
|
|
14
|
+
const command = buildCargoCommand("build", options, context);
|
|
15
|
+
return await cargoCommand(...command);
|
|
16
|
+
}
|
|
17
|
+
__name(cargoBuildExecutor, "cargoBuildExecutor");
|
|
18
|
+
var executor_default = withRunExecutor("Cargo Build", cargoBuildExecutor, {
|
|
19
|
+
skipReadingConfig: false,
|
|
20
|
+
hooks: {
|
|
21
|
+
applyDefaultOptions: /* @__PURE__ */ __name((options) => {
|
|
22
|
+
options.outputPath ??= "dist/target/{projectRoot}";
|
|
23
|
+
options.toolchain ??= "stable";
|
|
24
|
+
return options;
|
|
25
|
+
}, "applyDefaultOptions")
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
cargoBuildExecutor,
|
|
31
|
+
executor_default
|
|
32
|
+
};
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_TARGET,
|
|
3
|
+
addPackageDependencies,
|
|
4
|
+
addPackageJsonExport,
|
|
5
|
+
addWorkspacePackageJsonFields,
|
|
6
|
+
copyAssets,
|
|
7
|
+
getEntryPoints,
|
|
8
|
+
getEnv
|
|
9
|
+
} from "./chunk-UDAQKEJS.mjs";
|
|
10
|
+
import {
|
|
11
|
+
withRunExecutor
|
|
12
|
+
} from "./chunk-6267MSX4.mjs";
|
|
13
|
+
import {
|
|
14
|
+
getStopwatch,
|
|
15
|
+
isVerbose,
|
|
16
|
+
loadStormConfig,
|
|
17
|
+
writeDebug,
|
|
18
|
+
writeFatal,
|
|
19
|
+
writeInfo,
|
|
20
|
+
writeSuccess,
|
|
21
|
+
writeWarning
|
|
22
|
+
} from "./chunk-WJ5TU6JU.mjs";
|
|
23
|
+
import {
|
|
24
|
+
joinPaths
|
|
25
|
+
} from "./chunk-PVTEDLBL.mjs";
|
|
26
|
+
import {
|
|
27
|
+
__name
|
|
28
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
29
|
+
|
|
30
|
+
// ../tsdown/src/build.ts
|
|
31
|
+
import { hfs as hfs2 } from "@humanfs/node";
|
|
32
|
+
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
|
|
33
|
+
import defu from "defu";
|
|
34
|
+
import { findWorkspaceRoot } from "nx/src/utils/find-workspace-root";
|
|
35
|
+
import { build as tsdown } from "tsdown";
|
|
36
|
+
|
|
37
|
+
// ../tsdown/src/clean.ts
|
|
38
|
+
import { hfs } from "@humanfs/node";
|
|
39
|
+
async function clean(name = "ESBuild", directory, config) {
|
|
40
|
+
writeDebug(` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
41
|
+
const stopwatch = getStopwatch(`${name} output clean`);
|
|
42
|
+
await hfs.deleteAll(directory);
|
|
43
|
+
stopwatch();
|
|
44
|
+
}
|
|
45
|
+
__name(clean, "clean");
|
|
46
|
+
|
|
47
|
+
// ../tsdown/src/config.ts
|
|
48
|
+
var DEFAULT_BUILD_OPTIONS = {
|
|
49
|
+
platform: "node",
|
|
50
|
+
target: "node22",
|
|
51
|
+
format: [
|
|
52
|
+
"esm",
|
|
53
|
+
"cjs"
|
|
54
|
+
],
|
|
55
|
+
tsconfig: "tsconfig.json",
|
|
56
|
+
envName: "production",
|
|
57
|
+
globalName: "globalThis",
|
|
58
|
+
unused: {
|
|
59
|
+
level: "error"
|
|
60
|
+
},
|
|
61
|
+
injectShims: true,
|
|
62
|
+
watch: false,
|
|
63
|
+
bundle: true,
|
|
64
|
+
treeshake: true,
|
|
65
|
+
clean: true,
|
|
66
|
+
debug: false
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
// ../tsdown/src/build.ts
|
|
70
|
+
var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
71
|
+
const projectRoot = userOptions.projectRoot;
|
|
72
|
+
const workspaceRoot = findWorkspaceRoot(projectRoot);
|
|
73
|
+
if (!workspaceRoot) {
|
|
74
|
+
throw new Error("Cannot find Nx workspace root");
|
|
75
|
+
}
|
|
76
|
+
const config = await loadStormConfig(workspaceRoot.dir);
|
|
77
|
+
writeDebug(" \u2699\uFE0F Resolving build options", config);
|
|
78
|
+
const stopwatch = getStopwatch("Build options resolution");
|
|
79
|
+
const projectGraph = await createProjectGraphAsync({
|
|
80
|
+
exitOnError: true
|
|
81
|
+
});
|
|
82
|
+
const projectJsonPath = joinPaths(workspaceRoot.dir, projectRoot, "project.json");
|
|
83
|
+
if (!await hfs2.isFile(projectJsonPath)) {
|
|
84
|
+
throw new Error("Cannot find project.json configuration");
|
|
85
|
+
}
|
|
86
|
+
const projectJson = await hfs2.json(projectJsonPath);
|
|
87
|
+
const projectName = projectJson.name;
|
|
88
|
+
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
89
|
+
if (!projectConfigurations?.projects?.[projectName]) {
|
|
90
|
+
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
91
|
+
}
|
|
92
|
+
const options = defu(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
93
|
+
options.name ??= `${projectName}-${options.format}`;
|
|
94
|
+
options.target ??= DEFAULT_TARGET;
|
|
95
|
+
const packageJsonPath = joinPaths(workspaceRoot.dir, options.projectRoot, "package.json");
|
|
96
|
+
if (!await hfs2.isFile(packageJsonPath)) {
|
|
97
|
+
throw new Error("Cannot find package.json configuration");
|
|
98
|
+
}
|
|
99
|
+
const env = getEnv("tsdown", options);
|
|
100
|
+
const result = {
|
|
101
|
+
...options,
|
|
102
|
+
config,
|
|
103
|
+
...userOptions,
|
|
104
|
+
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
105
|
+
format: options.format || "cjs",
|
|
106
|
+
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
107
|
+
"./src/index.ts"
|
|
108
|
+
], userOptions.emitOnAll),
|
|
109
|
+
outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
|
|
110
|
+
plugins: [],
|
|
111
|
+
name: userOptions.name || projectName,
|
|
112
|
+
projectConfigurations,
|
|
113
|
+
projectName,
|
|
114
|
+
projectGraph,
|
|
115
|
+
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || joinPaths(projectRoot, "src"),
|
|
116
|
+
minify: userOptions.minify || !userOptions.debug,
|
|
117
|
+
verbose: userOptions.verbose || isVerbose() || userOptions.debug === true,
|
|
118
|
+
includeSrc: userOptions.includeSrc === true,
|
|
119
|
+
metafile: userOptions.metafile !== false,
|
|
120
|
+
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
121
|
+
clean: userOptions.clean !== false,
|
|
122
|
+
emitOnAll: userOptions.emitOnAll === true,
|
|
123
|
+
dts: userOptions.emitTypes === true ? {
|
|
124
|
+
transformer: "oxc"
|
|
125
|
+
} : userOptions.emitTypes,
|
|
126
|
+
bundleDts: userOptions.emitTypes,
|
|
127
|
+
assets: userOptions.assets ?? [],
|
|
128
|
+
shims: userOptions.injectShims !== true,
|
|
129
|
+
bundle: userOptions.bundle !== false,
|
|
130
|
+
watch: userOptions.watch === true,
|
|
131
|
+
define: {
|
|
132
|
+
STORM_FORMAT: JSON.stringify(options.format || "cjs"),
|
|
133
|
+
...options.format === "cjs" && options.injectShims ? {
|
|
134
|
+
"import.meta.url": "importMetaUrl"
|
|
135
|
+
} : {},
|
|
136
|
+
...Object.keys(env || {}).reduce((res, key) => {
|
|
137
|
+
const value = JSON.stringify(env[key]);
|
|
138
|
+
return {
|
|
139
|
+
...res,
|
|
140
|
+
[`process.env.${key}`]: value,
|
|
141
|
+
[`import.meta.env.${key}`]: value
|
|
142
|
+
};
|
|
143
|
+
}, {}),
|
|
144
|
+
...options.define
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
stopwatch();
|
|
148
|
+
return result;
|
|
149
|
+
}, "resolveOptions");
|
|
150
|
+
async function generatePackageJson(options) {
|
|
151
|
+
if (options.generatePackageJson !== false && await hfs2.isFile(joinPaths(options.projectRoot, "package.json"))) {
|
|
152
|
+
writeDebug(" \u270D\uFE0F Writing package.json file", options.config);
|
|
153
|
+
const stopwatch = getStopwatch("Write package.json file");
|
|
154
|
+
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
155
|
+
if (!await hfs2.isFile(packageJsonPath)) {
|
|
156
|
+
throw new Error("Cannot find package.json configuration");
|
|
157
|
+
}
|
|
158
|
+
let packageJson = await hfs2.json(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"));
|
|
159
|
+
if (!packageJson) {
|
|
160
|
+
throw new Error("Cannot find package.json configuration file");
|
|
161
|
+
}
|
|
162
|
+
packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
163
|
+
packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
164
|
+
packageJson.exports ??= {};
|
|
165
|
+
packageJson.exports["./package.json"] ??= "./package.json";
|
|
166
|
+
packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, options.sourceRoot);
|
|
167
|
+
let entryPoints = [
|
|
168
|
+
{
|
|
169
|
+
in: "./src/index.ts",
|
|
170
|
+
out: "./src/index.ts"
|
|
171
|
+
}
|
|
172
|
+
];
|
|
173
|
+
if (options.entryPoints) {
|
|
174
|
+
if (Array.isArray(options.entryPoints)) {
|
|
175
|
+
entryPoints = options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
176
|
+
in: entryPoint,
|
|
177
|
+
out: entryPoint
|
|
178
|
+
} : entryPoint);
|
|
179
|
+
}
|
|
180
|
+
for (const entryPoint of entryPoints) {
|
|
181
|
+
const split = entryPoint.out.split(".");
|
|
182
|
+
split.pop();
|
|
183
|
+
const entry = split.join(".").replaceAll("\\", "/");
|
|
184
|
+
packageJson.exports[`./${entry}`] ??= addPackageJsonExport(entry, packageJson.type, options.sourceRoot);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
188
|
+
packageJson.module = packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
|
|
189
|
+
packageJson.types = "./dist/index.d.ts";
|
|
190
|
+
packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
|
|
191
|
+
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
192
|
+
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
193
|
+
}
|
|
194
|
+
return ret;
|
|
195
|
+
}, packageJson.exports);
|
|
196
|
+
await writeJsonFile(joinPaths(options.outdir, "package.json"), packageJson);
|
|
197
|
+
stopwatch();
|
|
198
|
+
}
|
|
199
|
+
return options;
|
|
200
|
+
}
|
|
201
|
+
__name(generatePackageJson, "generatePackageJson");
|
|
202
|
+
async function executeTSDown(options) {
|
|
203
|
+
writeDebug(` \u{1F680} Running ${options.name} build`, options.config);
|
|
204
|
+
const stopwatch = getStopwatch(`${options.name} build`);
|
|
205
|
+
await tsdown({
|
|
206
|
+
...options,
|
|
207
|
+
entry: options.entryPoints,
|
|
208
|
+
outDir: options.outdir,
|
|
209
|
+
config: false
|
|
210
|
+
});
|
|
211
|
+
stopwatch();
|
|
212
|
+
return options;
|
|
213
|
+
}
|
|
214
|
+
__name(executeTSDown, "executeTSDown");
|
|
215
|
+
async function copyBuildAssets(options) {
|
|
216
|
+
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
217
|
+
const stopwatch = getStopwatch(`${options.name} asset copy`);
|
|
218
|
+
await copyAssets(options.config, options.assets ?? [], options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
|
|
219
|
+
stopwatch();
|
|
220
|
+
return options;
|
|
221
|
+
}
|
|
222
|
+
__name(copyBuildAssets, "copyBuildAssets");
|
|
223
|
+
async function reportResults(options) {
|
|
224
|
+
writeSuccess(` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
|
|
225
|
+
}
|
|
226
|
+
__name(reportResults, "reportResults");
|
|
227
|
+
async function cleanOutputPath(options) {
|
|
228
|
+
if (options.clean !== false && options.outdir) {
|
|
229
|
+
await clean(options.name, options.outdir, options.config);
|
|
230
|
+
}
|
|
231
|
+
return options;
|
|
232
|
+
}
|
|
233
|
+
__name(cleanOutputPath, "cleanOutputPath");
|
|
234
|
+
async function build(options) {
|
|
235
|
+
writeDebug(` \u26A1 Executing Storm TSDown pipeline`);
|
|
236
|
+
const stopwatch = getStopwatch("TSDown pipeline");
|
|
237
|
+
try {
|
|
238
|
+
const opts = Array.isArray(options) ? options : [
|
|
239
|
+
options
|
|
240
|
+
];
|
|
241
|
+
if (opts.length === 0) {
|
|
242
|
+
throw new Error("No build options were provided");
|
|
243
|
+
}
|
|
244
|
+
const resolved = await Promise.all(opts.map(async (opt) => await resolveOptions(opt)));
|
|
245
|
+
if (resolved.length > 0) {
|
|
246
|
+
await cleanOutputPath(resolved[0]);
|
|
247
|
+
await generatePackageJson(resolved[0]);
|
|
248
|
+
await Promise.all(resolved.map(async (opt) => {
|
|
249
|
+
await executeTSDown(opt);
|
|
250
|
+
await copyBuildAssets(opt);
|
|
251
|
+
await reportResults(opt);
|
|
252
|
+
}));
|
|
253
|
+
} else {
|
|
254
|
+
writeWarning(" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
|
|
255
|
+
}
|
|
256
|
+
writeSuccess(" \u{1F3C1} TSDown pipeline build completed successfully");
|
|
257
|
+
} catch (error) {
|
|
258
|
+
writeFatal(" \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
|
|
259
|
+
throw error;
|
|
260
|
+
} finally {
|
|
261
|
+
stopwatch();
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
__name(build, "build");
|
|
265
|
+
|
|
266
|
+
// src/executors/tsdown/executor.ts
|
|
267
|
+
async function tsdownExecutorFn(options, context, config) {
|
|
268
|
+
writeInfo("\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
|
|
269
|
+
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
|
|
270
|
+
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
271
|
+
}
|
|
272
|
+
await build({
|
|
273
|
+
...options,
|
|
274
|
+
projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
|
|
275
|
+
projectName: context.projectName,
|
|
276
|
+
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
277
|
+
format: options.format,
|
|
278
|
+
platform: options.platform
|
|
279
|
+
});
|
|
280
|
+
return {
|
|
281
|
+
success: true
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
__name(tsdownExecutorFn, "tsdownExecutorFn");
|
|
285
|
+
var executor_default = withRunExecutor("Storm TSDown build executor", tsdownExecutorFn, {
|
|
286
|
+
skipReadingConfig: false,
|
|
287
|
+
hooks: {
|
|
288
|
+
applyDefaultOptions: /* @__PURE__ */ __name(async (options, config) => {
|
|
289
|
+
options.entry ??= [
|
|
290
|
+
"src/index.ts"
|
|
291
|
+
];
|
|
292
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
293
|
+
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
294
|
+
return options;
|
|
295
|
+
}, "applyDefaultOptions")
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
|
|
299
|
+
export {
|
|
300
|
+
tsdownExecutorFn,
|
|
301
|
+
executor_default
|
|
302
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
10
|
+
|
|
11
|
+
// src/executors/size-limit/executor.ts
|
|
12
|
+
var _devkit = require('@nx/devkit');
|
|
13
|
+
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
14
|
+
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
15
|
+
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
16
|
+
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
17
|
+
async function sizeLimitExecutorFn(options, context, config) {
|
|
18
|
+
if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
19
|
+
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
20
|
+
}
|
|
21
|
+
_chunk36FMHXUDjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
22
|
+
_sizelimit2.default.call(void 0, [
|
|
23
|
+
_file2.default,
|
|
24
|
+
_esbuild2.default,
|
|
25
|
+
_esbuildwhy2.default
|
|
26
|
+
], {
|
|
27
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
|
|
28
|
+
}).then((result) => {
|
|
29
|
+
_chunk36FMHXUDjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
30
|
+
});
|
|
31
|
+
return {
|
|
32
|
+
success: true
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
_chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
|
|
36
|
+
var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
|
|
37
|
+
skipReadingConfig: false,
|
|
38
|
+
hooks: {
|
|
39
|
+
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
40
|
+
return options;
|
|
41
|
+
}, "applyDefaultOptions")
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.sizeLimitExecutorFn = sizeLimitExecutorFn; exports.executor_default = executor_default;
|