@storm-software/workspace-tools 1.228.1 → 1.229.1
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-KBJ7IEXI.js +1 -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-P5P43FOZ.mjs +0 -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-BLYdn00o.d.mts +108 -0
- package/dist/generator-BqzpDHpv.d.mts +322 -0
- package/dist/generator-BufhnJev.d.ts +322 -0
- package/dist/generator-CC8n6BWL.d.mts +38 -0
- package/dist/generator-CtpgcwxE.d.ts +38 -0
- package/dist/generator-DeKyhxAj.d.mts +322 -0
- package/dist/generator-DeNfAL1R.d.ts +184 -0
- package/dist/generator-Dyq3mgZU.d.mts +322 -0
- package/dist/generator-OLytwpdD.d.ts +322 -0
- package/dist/generator-T2p5gT0C.d.ts +322 -0
- package/dist/generator-noL-xIjx.d.ts +108 -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 +51 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +280 -0
- package/dist/index.mjs +280 -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 +9 -0
- 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.md +16 -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 +9 -0
- 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.md +15 -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.schema.md +90 -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/index.d.mts +337 -0
- package/dist/src/base/index.d.ts +337 -0
- package/dist/src/base/index.js +49 -0
- package/dist/src/base/index.mjs +49 -0
- package/dist/src/base/typescript-build-executor.schema.md +130 -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.schema.md +297 -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 +1 -1
- package/dist/src/types.d.ts +1 -1
- 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-BmsLBqaq.d.ts +101 -0
- package/dist/types-CQzaS20Q.d.mts +101 -0
- package/dist/types-D9vU63tt.d.mts +1185 -0
- package/dist/types-D9vU63tt.d.ts +1185 -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
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "../../../chunk-6267MSX4.mjs";
|
|
4
|
+
import "../../../chunk-FFBZYD6R.mjs";
|
|
5
|
+
import "../../../chunk-NDDXQD7R.mjs";
|
|
6
|
+
import {
|
|
7
|
+
writeInfo
|
|
8
|
+
} from "../../../chunk-WJ5TU6JU.mjs";
|
|
9
|
+
import "../../../chunk-DMUTOQCB.mjs";
|
|
10
|
+
import {
|
|
11
|
+
joinPaths
|
|
12
|
+
} from "../../../chunk-PVTEDLBL.mjs";
|
|
13
|
+
import {
|
|
14
|
+
__name
|
|
15
|
+
} from "../../../chunk-XUV4U54K.mjs";
|
|
16
|
+
|
|
17
|
+
// src/executors/clean-package/executor.ts
|
|
18
|
+
import { joinPathFragments } from "@nx/devkit";
|
|
19
|
+
import { copy, mkdir, pathExists, readFile, readJson, remove, writeFile, writeJson } from "fs-extra";
|
|
20
|
+
import { Glob as Glob2 } from "glob";
|
|
21
|
+
|
|
22
|
+
// src/executors/clean-package/constants.ts
|
|
23
|
+
var IGNORE_FILES = [
|
|
24
|
+
".circleci",
|
|
25
|
+
".DS_Store",
|
|
26
|
+
".editorconfig",
|
|
27
|
+
".eslintignore",
|
|
28
|
+
".flowconfig",
|
|
29
|
+
".git",
|
|
30
|
+
".github",
|
|
31
|
+
".travis.yml",
|
|
32
|
+
".vscode",
|
|
33
|
+
".watchmanconfig",
|
|
34
|
+
".yarnrc",
|
|
35
|
+
"appveyor.yml",
|
|
36
|
+
"karma.conf.js",
|
|
37
|
+
"node_modules",
|
|
38
|
+
"package-lock.json",
|
|
39
|
+
"pnpm-debug.log",
|
|
40
|
+
"pnpm-lock.yaml",
|
|
41
|
+
".devcontainer.json",
|
|
42
|
+
"test",
|
|
43
|
+
"yarn-error.log",
|
|
44
|
+
"yarn.lock",
|
|
45
|
+
/^(babel|commitlint|jest|vitest)\.config\.[cm]?(j|t)s$/,
|
|
46
|
+
/^\.?nano-staged\.(c|m)?js(on)?$/,
|
|
47
|
+
/^\.?simple-git-hooks.js(on)?$/,
|
|
48
|
+
/^\.?simple-pre-commit.js(on)?$/,
|
|
49
|
+
/^\.babelrc/,
|
|
50
|
+
/^\.clean-publish/,
|
|
51
|
+
/^\.commitlintrc/,
|
|
52
|
+
/^\.eslintrc/,
|
|
53
|
+
/^\.jsconfig/,
|
|
54
|
+
/^\.jsdocrc/,
|
|
55
|
+
/^\.lintstagedrc/,
|
|
56
|
+
/^\.nanostagedrc/,
|
|
57
|
+
/^\.prettierrc/,
|
|
58
|
+
/^\.remarkrc/,
|
|
59
|
+
/^\.renovaterc/,
|
|
60
|
+
/^\.size-limit/,
|
|
61
|
+
/^\.yaspellerrc/,
|
|
62
|
+
/^changelog/i,
|
|
63
|
+
/eslint.config.(c|m)?js/,
|
|
64
|
+
/README\.[\w-]+\.md/
|
|
65
|
+
];
|
|
66
|
+
var IGNORE_FIELDS = [
|
|
67
|
+
"babel",
|
|
68
|
+
"browserslist",
|
|
69
|
+
"c8",
|
|
70
|
+
"clean-publish",
|
|
71
|
+
"commitlint",
|
|
72
|
+
"devDependencies",
|
|
73
|
+
"eslintConfig",
|
|
74
|
+
"eslintIgnore",
|
|
75
|
+
"husky",
|
|
76
|
+
"jest",
|
|
77
|
+
"lint-staged",
|
|
78
|
+
"nano-staged",
|
|
79
|
+
"pre-commit",
|
|
80
|
+
"prettier",
|
|
81
|
+
"pwmetrics",
|
|
82
|
+
"remarkConfig",
|
|
83
|
+
"renovate",
|
|
84
|
+
"resolutions",
|
|
85
|
+
"sharec",
|
|
86
|
+
"simple-git-hooks",
|
|
87
|
+
"simple-pre-commit",
|
|
88
|
+
"size-limit",
|
|
89
|
+
"typeCoverage",
|
|
90
|
+
"yaspeller"
|
|
91
|
+
];
|
|
92
|
+
var NPM_SCRIPTS = [
|
|
93
|
+
"postinstall",
|
|
94
|
+
"postpack",
|
|
95
|
+
"postpublish",
|
|
96
|
+
"postversion",
|
|
97
|
+
"prepublish",
|
|
98
|
+
"publish",
|
|
99
|
+
"uninstall",
|
|
100
|
+
"version"
|
|
101
|
+
];
|
|
102
|
+
var PUBLISH_CONFIG_FIELDS = [
|
|
103
|
+
"bin",
|
|
104
|
+
"main",
|
|
105
|
+
"exports",
|
|
106
|
+
"types",
|
|
107
|
+
"typings",
|
|
108
|
+
"module",
|
|
109
|
+
"browser",
|
|
110
|
+
"esnext",
|
|
111
|
+
"es2015",
|
|
112
|
+
"unpkg",
|
|
113
|
+
"umd:main",
|
|
114
|
+
"typesVersions",
|
|
115
|
+
"cpu",
|
|
116
|
+
"os"
|
|
117
|
+
];
|
|
118
|
+
|
|
119
|
+
// src/executors/clean-package/utils.ts
|
|
120
|
+
import { Glob, hasMagic } from "glob";
|
|
121
|
+
import micromatch from "micromatch";
|
|
122
|
+
import { basename } from "node:path";
|
|
123
|
+
function isObject(object) {
|
|
124
|
+
return Boolean(object) && typeof object === "object";
|
|
125
|
+
}
|
|
126
|
+
__name(isObject, "isObject");
|
|
127
|
+
function filterObjectByKey(object, filterByKey = (key) => true, deep = false) {
|
|
128
|
+
const result = {};
|
|
129
|
+
let changed = false;
|
|
130
|
+
for (const key in object) {
|
|
131
|
+
if (filterByKey(key)) {
|
|
132
|
+
if (deep && isObject(object[key])) {
|
|
133
|
+
result[key] = filterObjectByKey(object[key], filterByKey, deep);
|
|
134
|
+
if (result[key] !== object[key]) {
|
|
135
|
+
changed = true;
|
|
136
|
+
}
|
|
137
|
+
} else {
|
|
138
|
+
result[key] = object[key];
|
|
139
|
+
}
|
|
140
|
+
} else {
|
|
141
|
+
changed = true;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return changed ? result : object;
|
|
145
|
+
}
|
|
146
|
+
__name(filterObjectByKey, "filterObjectByKey");
|
|
147
|
+
function createIgnoreMatcher(ignorePattern = "**/*") {
|
|
148
|
+
if (ignorePattern instanceof RegExp) {
|
|
149
|
+
return (filename) => !ignorePattern.test(filename);
|
|
150
|
+
}
|
|
151
|
+
if (hasMagic(ignorePattern, {
|
|
152
|
+
magicalBraces: true
|
|
153
|
+
})) {
|
|
154
|
+
const isMatch = micromatch.matcher(ignorePattern);
|
|
155
|
+
return (_filename, path) => !isMatch(path);
|
|
156
|
+
}
|
|
157
|
+
return (filename) => filename !== ignorePattern;
|
|
158
|
+
}
|
|
159
|
+
__name(createIgnoreMatcher, "createIgnoreMatcher");
|
|
160
|
+
async function createFilesFilter(ignoreFiles = "", cwd) {
|
|
161
|
+
let ignoreFilesList = [];
|
|
162
|
+
if (ignoreFiles) {
|
|
163
|
+
const glob = new Glob(ignoreFiles, {
|
|
164
|
+
cwd
|
|
165
|
+
});
|
|
166
|
+
ignoreFilesList = await glob.walk();
|
|
167
|
+
}
|
|
168
|
+
const ignorePatterns = ignoreFilesList.length > 0 ? IGNORE_FILES.concat(...ignoreFilesList).filter(Boolean) : IGNORE_FILES;
|
|
169
|
+
const filter = ignorePatterns.reduce((next, ignorePattern) => {
|
|
170
|
+
const ignoreMatcher = createIgnoreMatcher(ignorePattern);
|
|
171
|
+
if (!next) {
|
|
172
|
+
return ignoreMatcher;
|
|
173
|
+
}
|
|
174
|
+
return (filename, path) => ignoreMatcher(filename, path) && next && next(filename, path);
|
|
175
|
+
}, null);
|
|
176
|
+
return (path) => {
|
|
177
|
+
const filename = basename(path);
|
|
178
|
+
return filter?.(filename, path);
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
__name(createFilesFilter, "createFilesFilter");
|
|
182
|
+
|
|
183
|
+
// src/executors/clean-package/executor.ts
|
|
184
|
+
async function cleanPackageExecutorFn(options, context, config) {
|
|
185
|
+
const tempDirectoryName = joinPathFragments(config.workspaceRoot, "tmp", context.root);
|
|
186
|
+
const exists = await pathExists(tempDirectoryName);
|
|
187
|
+
if (exists) {
|
|
188
|
+
writeInfo(`\u{1F9F9} Cleaning temporary directory path: ${tempDirectoryName}`, config);
|
|
189
|
+
await remove(tempDirectoryName);
|
|
190
|
+
}
|
|
191
|
+
await mkdir(tempDirectoryName);
|
|
192
|
+
writeInfo(`Created temporary directory: ${tempDirectoryName}`, config);
|
|
193
|
+
const packageJson = await readJson(options.packageJsonPath);
|
|
194
|
+
await copy(options.outputPath, tempDirectoryName, {
|
|
195
|
+
filter: createFilesFilter(options.ignoredFiles, options.outputPath)
|
|
196
|
+
});
|
|
197
|
+
if (options.cleanReadMe) {
|
|
198
|
+
await cleanReadMe(tempDirectoryName, packageJson.repository, packageJson.homepage);
|
|
199
|
+
}
|
|
200
|
+
if (options.cleanComments) {
|
|
201
|
+
await cleanComments(tempDirectoryName);
|
|
202
|
+
}
|
|
203
|
+
const tempPackageJson = clearPackageJSON(packageJson, options.fields);
|
|
204
|
+
writeJson(joinPathFragments(tempDirectoryName, "package.json"), tempPackageJson);
|
|
205
|
+
await copy(tempDirectoryName, options.outputPath, {
|
|
206
|
+
override: true,
|
|
207
|
+
preserveTimestamps: true
|
|
208
|
+
});
|
|
209
|
+
await remove(tempDirectoryName);
|
|
210
|
+
return {
|
|
211
|
+
success: true
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
__name(cleanPackageExecutorFn, "cleanPackageExecutorFn");
|
|
215
|
+
function getReadmeUrlFromRepository(repository) {
|
|
216
|
+
const repoUrl = typeof repository === "object" ? repository.url : repository;
|
|
217
|
+
if (repoUrl) {
|
|
218
|
+
const name = repoUrl.match(/[^/:]+\/[^/:]+$/)?.[0]?.replace(/\.git$/, "");
|
|
219
|
+
return `https://github.com/${name}#README.md`;
|
|
220
|
+
}
|
|
221
|
+
return null;
|
|
222
|
+
}
|
|
223
|
+
__name(getReadmeUrlFromRepository, "getReadmeUrlFromRepository");
|
|
224
|
+
async function cleanReadMe(directoryName, repository, homepage) {
|
|
225
|
+
const readmePath = joinPathFragments(directoryName, "README.md");
|
|
226
|
+
const readme = await readFile(readmePath);
|
|
227
|
+
const readmeUrl = getReadmeUrlFromRepository(repository);
|
|
228
|
+
if (homepage || readmeUrl) {
|
|
229
|
+
const cleaned = readme.toString().split(/\n##\s*\w/m)[0] + `
|
|
230
|
+
## Documentation
|
|
231
|
+
Read full docs **[here](${homepage || readmeUrl})**.
|
|
232
|
+
`;
|
|
233
|
+
await writeFile(readmePath, cleaned);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
__name(cleanReadMe, "cleanReadMe");
|
|
237
|
+
async function cleanComments(directoryName) {
|
|
238
|
+
const glob = new Glob2([
|
|
239
|
+
"**/*.js"
|
|
240
|
+
], {
|
|
241
|
+
cwd: directoryName
|
|
242
|
+
});
|
|
243
|
+
const files = await glob.walk();
|
|
244
|
+
await Promise.all(files.map(async (i) => {
|
|
245
|
+
const file = joinPathFragments(directoryName, i);
|
|
246
|
+
const content = await readFile(file);
|
|
247
|
+
const cleaned = content.toString().replace(/\s*\/\/.*\n/gm, "\n").replace(/\s*\/\*[^/]+\*\/\n?/gm, "\n").replace(/\n+/gm, "\n").replace(/^\n+/gm, "");
|
|
248
|
+
await writeFile(file, cleaned);
|
|
249
|
+
}));
|
|
250
|
+
}
|
|
251
|
+
__name(cleanComments, "cleanComments");
|
|
252
|
+
function clearPackageJSON(packageJson, inputIgnoreFields) {
|
|
253
|
+
const ignoreFields = inputIgnoreFields ? IGNORE_FIELDS.concat(inputIgnoreFields) : IGNORE_FIELDS;
|
|
254
|
+
if (!packageJson.publishConfig) {
|
|
255
|
+
return packageJson;
|
|
256
|
+
}
|
|
257
|
+
const publishConfig = {
|
|
258
|
+
...packageJson.publishConfig
|
|
259
|
+
};
|
|
260
|
+
PUBLISH_CONFIG_FIELDS.forEach((field) => {
|
|
261
|
+
if (publishConfig[field]) {
|
|
262
|
+
packageJson[field] = publishConfig[field];
|
|
263
|
+
delete publishConfig[field];
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
if (!Object.keys(publishConfig).length) {
|
|
267
|
+
const { publishConfig: _, ...pkg } = packageJson;
|
|
268
|
+
return pkg;
|
|
269
|
+
}
|
|
270
|
+
const cleanPackageJSON = filterObjectByKey({
|
|
271
|
+
...packageJson,
|
|
272
|
+
publishConfig
|
|
273
|
+
}, (key) => !!(key && !ignoreFields.includes(key) && key !== "scripts"));
|
|
274
|
+
if (packageJson.scripts && !ignoreFields.includes("scripts")) {
|
|
275
|
+
cleanPackageJSON.scripts = filterObjectByKey(packageJson.scripts, (script) => !!(script && NPM_SCRIPTS.includes(script)));
|
|
276
|
+
if (cleanPackageJSON.scripts.publish && /^clean-publish( |$)/.test(cleanPackageJSON.scripts.publish)) {
|
|
277
|
+
delete cleanPackageJSON.scripts.publish;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
for (const i in cleanPackageJSON) {
|
|
281
|
+
if (isObject(cleanPackageJSON[i]) && Object.keys(cleanPackageJSON[i]).length === 0) {
|
|
282
|
+
delete cleanPackageJSON[i];
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
return cleanPackageJSON;
|
|
286
|
+
}
|
|
287
|
+
__name(clearPackageJSON, "clearPackageJSON");
|
|
288
|
+
var executor_default = withRunExecutor("Storm Clean-Package executor", cleanPackageExecutorFn, {
|
|
289
|
+
skipReadingConfig: false,
|
|
290
|
+
hooks: {
|
|
291
|
+
applyDefaultOptions: /* @__PURE__ */ __name((options) => {
|
|
292
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
293
|
+
options.packageJsonPath ??= joinPaths(options.outputPath, "package.json");
|
|
294
|
+
options.cleanReadMe ??= true;
|
|
295
|
+
options.cleanComments ??= true;
|
|
296
|
+
return options;
|
|
297
|
+
}, "applyDefaultOptions")
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
export {
|
|
301
|
+
cleanPackageExecutorFn,
|
|
302
|
+
executor_default as default
|
|
303
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by @storm-software/untyped
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface CleanPackageExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The path to the output
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*/
|
|
13
|
+
outputPath?: string,
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Package JSON Path
|
|
17
|
+
*
|
|
18
|
+
* The path to the package.json that will be modified
|
|
19
|
+
*
|
|
20
|
+
* @default "{outputPath}/package.json"
|
|
21
|
+
*
|
|
22
|
+
* @format path
|
|
23
|
+
*/
|
|
24
|
+
packageJsonPath?: string,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Ignored Files
|
|
28
|
+
*
|
|
29
|
+
* The files to ignore
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
ignoredFiles?: string,
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Fields
|
|
36
|
+
*
|
|
37
|
+
* The fields to include
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
fields?: string,
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Clean Read Me
|
|
44
|
+
*
|
|
45
|
+
* Clean the read me
|
|
46
|
+
*
|
|
47
|
+
* @default true
|
|
48
|
+
*/
|
|
49
|
+
cleanReadMe?: boolean,
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Clean Comments
|
|
53
|
+
*
|
|
54
|
+
* Clean the comments
|
|
55
|
+
*
|
|
56
|
+
* @default true
|
|
57
|
+
*/
|
|
58
|
+
cleanComments?: boolean,
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Clean Package Executor",
|
|
4
|
+
"description": "The clean package executor is responsible for removing unnecessary files and fields from a distributable package to make it as light as possible (for scenarios like edge computing, limited memory environments, etc.)",
|
|
5
|
+
"properties": {
|
|
6
|
+
"outputPath": {
|
|
7
|
+
"title": "Output Path",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The path to the output",
|
|
10
|
+
"id": "#outputPath",
|
|
11
|
+
"default": "dist/{projectRoot}"
|
|
12
|
+
},
|
|
13
|
+
"packageJsonPath": {
|
|
14
|
+
"title": "Package JSON Path",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "path",
|
|
17
|
+
"description": "The path to the package.json that will be modified",
|
|
18
|
+
"id": "#packageJsonPath",
|
|
19
|
+
"default": "{outputPath}/package.json"
|
|
20
|
+
},
|
|
21
|
+
"ignoredFiles": {
|
|
22
|
+
"title": "Ignored Files",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The files to ignore",
|
|
25
|
+
"id": "#ignoredFiles"
|
|
26
|
+
},
|
|
27
|
+
"fields": {
|
|
28
|
+
"title": "Fields",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "The fields to include",
|
|
31
|
+
"id": "#fields",
|
|
32
|
+
"default": []
|
|
33
|
+
},
|
|
34
|
+
"cleanReadMe": {
|
|
35
|
+
"title": "Clean Read Me",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"description": "Clean the read me",
|
|
38
|
+
"id": "#cleanReadMe",
|
|
39
|
+
"default": true
|
|
40
|
+
},
|
|
41
|
+
"cleanComments": {
|
|
42
|
+
"title": "Clean Comments",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Clean the comments",
|
|
45
|
+
"id": "#cleanComments",
|
|
46
|
+
"default": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"type": "object",
|
|
50
|
+
"default": {
|
|
51
|
+
"outputPath": "dist/{projectRoot}",
|
|
52
|
+
"packageJsonPath": "{outputPath}/package.json",
|
|
53
|
+
"fields": [],
|
|
54
|
+
"cleanReadMe": true,
|
|
55
|
+
"cleanComments": true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Clean Package Executor
|
|
6
|
+
|
|
7
|
+
## `outputPath`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"dist/{projectRoot}"`
|
|
10
|
+
|
|
11
|
+
> Output Path
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the output
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## `packageJsonPath`
|
|
18
|
+
- **Type**: `string`
|
|
19
|
+
- **Default**: `"{outputPath}/package.json"`
|
|
20
|
+
|
|
21
|
+
> Package JSON Path
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
The path to the package.json that will be modified
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## `ignoredFiles`
|
|
28
|
+
- **Type**: `string`
|
|
29
|
+
|
|
30
|
+
> Ignored Files
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
The files to ignore
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## `fields`
|
|
37
|
+
- **Type**: `string`
|
|
38
|
+
- **Default**: `[]`
|
|
39
|
+
|
|
40
|
+
> Fields
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
The fields to include
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## `cleanReadMe`
|
|
47
|
+
- **Type**: `boolean`
|
|
48
|
+
- **Default**: `true`
|
|
49
|
+
|
|
50
|
+
> Clean Read Me
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
Clean the read me
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## `cleanComments`
|
|
57
|
+
- **Type**: `boolean`
|
|
58
|
+
- **Default**: `true`
|
|
59
|
+
|
|
60
|
+
> Clean Comments
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Clean the comments
|
|
64
|
+
|
|
65
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkI734UVDTjs = require('../../../chunk-I734UVDT.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk3GQAWCBQjs = require('../../../chunk-3GQAWCBQ.js');
|
|
7
|
+
|
|
8
|
+
// src/executors/clean-package/untyped.ts
|
|
9
|
+
var _untyped = require('untyped');
|
|
10
|
+
var untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
11
|
+
..._chunkI734UVDTjs.base_executor_untyped_default,
|
|
12
|
+
$schema: {
|
|
13
|
+
id: "CleanPackageExecutorSchema",
|
|
14
|
+
title: "Clean Package Executor",
|
|
15
|
+
description: "The clean package executor is responsible for removing unnecessary files and fields from a distributable package to make it as light as possible (for scenarios like edge computing, limited memory environments, etc.)"
|
|
16
|
+
},
|
|
17
|
+
outputPath: {
|
|
18
|
+
$schema: {
|
|
19
|
+
title: "Output Path",
|
|
20
|
+
type: "string",
|
|
21
|
+
description: "The path to the output"
|
|
22
|
+
},
|
|
23
|
+
$default: "dist/{projectRoot}"
|
|
24
|
+
},
|
|
25
|
+
packageJsonPath: {
|
|
26
|
+
$schema: {
|
|
27
|
+
title: "Package JSON Path",
|
|
28
|
+
type: "string",
|
|
29
|
+
format: "path",
|
|
30
|
+
description: "The path to the package.json that will be modified"
|
|
31
|
+
},
|
|
32
|
+
$default: "{outputPath}/package.json"
|
|
33
|
+
},
|
|
34
|
+
ignoredFiles: {
|
|
35
|
+
$schema: {
|
|
36
|
+
title: "Ignored Files",
|
|
37
|
+
type: "string",
|
|
38
|
+
description: "The files to ignore"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fields: {
|
|
42
|
+
$schema: {
|
|
43
|
+
title: "Fields",
|
|
44
|
+
type: "string",
|
|
45
|
+
description: "The fields to include"
|
|
46
|
+
},
|
|
47
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
|
|
48
|
+
},
|
|
49
|
+
cleanReadMe: {
|
|
50
|
+
$schema: {
|
|
51
|
+
title: "Clean Read Me",
|
|
52
|
+
type: "boolean",
|
|
53
|
+
description: "Clean the read me"
|
|
54
|
+
},
|
|
55
|
+
$default: true
|
|
56
|
+
},
|
|
57
|
+
cleanComments: {
|
|
58
|
+
$schema: {
|
|
59
|
+
title: "Clean Comments",
|
|
60
|
+
type: "boolean",
|
|
61
|
+
description: "Clean the comments"
|
|
62
|
+
},
|
|
63
|
+
$default: true
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
exports.default = untyped_default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
base_executor_untyped_default
|
|
3
|
+
} from "../../../chunk-DGC5L3Z7.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__name
|
|
6
|
+
} from "../../../chunk-XUV4U54K.mjs";
|
|
7
|
+
|
|
8
|
+
// src/executors/clean-package/untyped.ts
|
|
9
|
+
import { defineUntypedSchema } from "untyped";
|
|
10
|
+
var untyped_default = defineUntypedSchema({
|
|
11
|
+
...base_executor_untyped_default,
|
|
12
|
+
$schema: {
|
|
13
|
+
id: "CleanPackageExecutorSchema",
|
|
14
|
+
title: "Clean Package Executor",
|
|
15
|
+
description: "The clean package executor is responsible for removing unnecessary files and fields from a distributable package to make it as light as possible (for scenarios like edge computing, limited memory environments, etc.)"
|
|
16
|
+
},
|
|
17
|
+
outputPath: {
|
|
18
|
+
$schema: {
|
|
19
|
+
title: "Output Path",
|
|
20
|
+
type: "string",
|
|
21
|
+
description: "The path to the output"
|
|
22
|
+
},
|
|
23
|
+
$default: "dist/{projectRoot}"
|
|
24
|
+
},
|
|
25
|
+
packageJsonPath: {
|
|
26
|
+
$schema: {
|
|
27
|
+
title: "Package JSON Path",
|
|
28
|
+
type: "string",
|
|
29
|
+
format: "path",
|
|
30
|
+
description: "The path to the package.json that will be modified"
|
|
31
|
+
},
|
|
32
|
+
$default: "{outputPath}/package.json"
|
|
33
|
+
},
|
|
34
|
+
ignoredFiles: {
|
|
35
|
+
$schema: {
|
|
36
|
+
title: "Ignored Files",
|
|
37
|
+
type: "string",
|
|
38
|
+
description: "The files to ignore"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fields: {
|
|
42
|
+
$schema: {
|
|
43
|
+
title: "Fields",
|
|
44
|
+
type: "string",
|
|
45
|
+
description: "The fields to include"
|
|
46
|
+
},
|
|
47
|
+
$resolve: /* @__PURE__ */ __name((val = []) => [].concat(val), "$resolve")
|
|
48
|
+
},
|
|
49
|
+
cleanReadMe: {
|
|
50
|
+
$schema: {
|
|
51
|
+
title: "Clean Read Me",
|
|
52
|
+
type: "boolean",
|
|
53
|
+
description: "Clean the read me"
|
|
54
|
+
},
|
|
55
|
+
$default: true
|
|
56
|
+
},
|
|
57
|
+
cleanComments: {
|
|
58
|
+
$schema: {
|
|
59
|
+
title: "Clean Comments",
|
|
60
|
+
type: "boolean",
|
|
61
|
+
description: "Clean the comments"
|
|
62
|
+
},
|
|
63
|
+
$default: true
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
untyped_default as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkDIODSFGHjs = require('../../../chunk-DIODSFGH.js');
|
|
5
|
+
require('../../../chunk-CT7IVPJY.js');
|
|
6
|
+
require('../../../chunk-MSENNRAY.js');
|
|
7
|
+
require('../../../chunk-BWFTYFWM.js');
|
|
8
|
+
require('../../../chunk-5CPYNJT2.js');
|
|
9
|
+
require('../../../chunk-36FMHXUD.js');
|
|
10
|
+
require('../../../chunk-5MKQX2FE.js');
|
|
11
|
+
require('../../../chunk-XCSSYTCU.js');
|
|
12
|
+
require('../../../chunk-3GQAWCBQ.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.default = _chunkDIODSFGHjs.executor_default; exports.esbuildExecutorFn = _chunkDIODSFGHjs.esbuildExecutorFn;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
esbuildExecutorFn,
|
|
3
|
+
executor_default
|
|
4
|
+
} from "../../../chunk-DLO5NZQI.mjs";
|
|
5
|
+
import "../../../chunk-UDAQKEJS.mjs";
|
|
6
|
+
import "../../../chunk-6267MSX4.mjs";
|
|
7
|
+
import "../../../chunk-FFBZYD6R.mjs";
|
|
8
|
+
import "../../../chunk-NDDXQD7R.mjs";
|
|
9
|
+
import "../../../chunk-WJ5TU6JU.mjs";
|
|
10
|
+
import "../../../chunk-DMUTOQCB.mjs";
|
|
11
|
+
import "../../../chunk-PVTEDLBL.mjs";
|
|
12
|
+
import "../../../chunk-XUV4U54K.mjs";
|
|
13
|
+
export {
|
|
14
|
+
executor_default as default,
|
|
15
|
+
esbuildExecutorFn
|
|
16
|
+
};
|