@storm-software/workspace-tools 1.295.86 → 1.296.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/LICENSE +201 -0
- package/README.md +603 -0
- package/assets/cjs_shims.js +11 -0
- package/assets/esm_shims.js +9 -0
- package/config/base.json +324 -0
- package/config/recommended.json +328 -0
- package/dist/chunk-2AVWFUXP.js +112 -0
- package/dist/chunk-2CXXVFU4.js +213 -0
- package/dist/chunk-2GQSCZ3J.mjs +128 -0
- package/dist/chunk-2L7ICILU.js +364 -0
- package/dist/chunk-2QMGYIOO.mjs +81 -0
- package/dist/chunk-32KQVUCF.js +163 -0
- package/dist/chunk-34LSWMWV.mjs +20 -0
- package/dist/chunk-35ERFW7I.mjs +150 -0
- package/dist/chunk-35G4LHK2.mjs +1510 -0
- package/dist/chunk-3J2CP54B.mjs +100 -0
- package/dist/chunk-3WCWA5OH.mjs +105 -0
- package/dist/chunk-437WGH2M.mjs +32 -0
- package/dist/chunk-4AKDRRML.js +339 -0
- package/dist/chunk-4AR5RJMF.mjs +402 -0
- package/dist/chunk-4VWDSVQJ.mjs +321 -0
- package/dist/chunk-54BBSJHK.mjs +40 -0
- package/dist/chunk-57OGFZNB.js +321 -0
- package/dist/chunk-5GZC2PF6.mjs +0 -0
- package/dist/chunk-5JYAH2VL.mjs +388 -0
- package/dist/chunk-5OS7GV5T.mjs +51 -0
- package/dist/chunk-6EMYX25V.js +7 -0
- package/dist/chunk-6HJ4EEBB.js +102 -0
- package/dist/chunk-6IXJEWJR.js +93 -0
- package/dist/chunk-77B77QNY.mjs +148 -0
- package/dist/chunk-7CJRMBX3.js +20 -0
- package/dist/chunk-7JRL2LE3.js +21 -0
- package/dist/chunk-7MM5MBEP.mjs +32 -0
- package/dist/chunk-AH7KAAQJ.mjs +17 -0
- package/dist/chunk-ALL63TSY.mjs +110 -0
- package/dist/chunk-ANHKV7HZ.js +22 -0
- package/dist/chunk-AY3HOPOX.js +41 -0
- package/dist/chunk-BAPFD3TO.js +79 -0
- package/dist/chunk-BAYA5SVP.mjs +319 -0
- package/dist/chunk-BT7OBRJT.mjs +76 -0
- package/dist/chunk-C3NYIWL4.mjs +10 -0
- package/dist/chunk-C3TC7AUW.js +1 -0
- package/dist/chunk-CBVZ57E6.js +150 -0
- package/dist/chunk-CQDBLKPF.js +172 -0
- package/dist/chunk-CQIILJEF.js +1510 -0
- package/dist/chunk-DEP6TIXL.js +50 -0
- package/dist/chunk-DIUWF7BW.js +17 -0
- package/dist/chunk-DJZX3XBE.mjs +105 -0
- package/dist/chunk-DO2X7OZO.js +1 -0
- package/dist/chunk-EGI64HQ2.mjs +22 -0
- package/dist/chunk-EMX7LTEI.mjs +50 -0
- package/dist/chunk-EQMVQ3I7.mjs +213 -0
- package/dist/chunk-ETSIRKO5.js +79 -0
- package/dist/chunk-EYO6EPEG.mjs +93 -0
- package/dist/chunk-FFEJNAFP.js +250 -0
- package/dist/chunk-FQX7ZBQS.mjs +32 -0
- package/dist/chunk-GED6QYLK.mjs +117 -0
- package/dist/chunk-GHQJKIMQ.mjs +0 -0
- package/dist/chunk-GKLFEOKK.mjs +163 -0
- package/dist/chunk-GZA2CV3C.js +402 -0
- package/dist/chunk-HXQRGLII.js +81 -0
- package/dist/chunk-IETUQQJT.mjs +52 -0
- package/dist/chunk-IIFXLZEH.js +319 -0
- package/dist/chunk-J4MHHL63.mjs +253 -0
- package/dist/chunk-JDDKEYTF.js +469 -0
- package/dist/chunk-JIWQM3MH.mjs +77 -0
- package/dist/chunk-JPOHRWVM.mjs +31 -0
- package/dist/chunk-K4QMCCQB.mjs +79 -0
- package/dist/chunk-KBJ7IEXI.js +1 -0
- package/dist/chunk-KR72GKIT.mjs +7 -0
- package/dist/chunk-LMYTVXGX.js +100 -0
- package/dist/chunk-LQHVZMFV.js +79 -0
- package/dist/chunk-LULOWPU2.js +110 -0
- package/dist/chunk-LZ3H2OH5.mjs +158 -0
- package/dist/chunk-MKJITWLN.js +40 -0
- package/dist/chunk-MNA3AU4B.mjs +49 -0
- package/dist/chunk-NIETCJS4.mjs +82 -0
- package/dist/chunk-NUGNYGBF.js +105 -0
- package/dist/chunk-O7Z2YGFU.js +52 -0
- package/dist/chunk-OKSECMVK.js +32 -0
- package/dist/chunk-OL6ZWI4R.mjs +514 -0
- package/dist/chunk-P56QF3XG.js +74 -0
- package/dist/chunk-P5P43FOZ.mjs +0 -0
- package/dist/chunk-P6HSE7LH.js +1 -0
- package/dist/chunk-PB5565L7.js +37 -0
- package/dist/chunk-PICVMVJQ.mjs +364 -0
- package/dist/chunk-PMPKOMMD.js +158 -0
- package/dist/chunk-PRW5IUAC.js +31 -0
- package/dist/chunk-QC5ON3X4.mjs +40 -0
- package/dist/chunk-QQB6GFYM.mjs +79 -0
- package/dist/chunk-QSNWB7A5.mjs +41 -0
- package/dist/chunk-QVYCDING.js +23 -0
- package/dist/chunk-RLJFRJ2F.js +514 -0
- package/dist/chunk-S2KOD2HL.mjs +128 -0
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-SW2E5MQJ.mjs +112 -0
- package/dist/chunk-SZWM7COV.js +40 -0
- package/dist/chunk-TAP26ZJQ.js +128 -0
- package/dist/chunk-TBW5MCN6.mjs +172 -0
- package/dist/chunk-THA4SGMV.js +32 -0
- package/dist/chunk-TM2CRDJW.js +148 -0
- package/dist/chunk-U5JPGO47.js +117 -0
- package/dist/chunk-UBVTASOE.mjs +62 -0
- package/dist/chunk-UV6QIFS3.js +388 -0
- package/dist/chunk-V5K2PDVY.mjs +339 -0
- package/dist/chunk-VC4FGY7P.js +49 -0
- package/dist/chunk-VXHOSAQ7.js +62 -0
- package/dist/chunk-W2C5IGWW.mjs +23 -0
- package/dist/chunk-WJ5AG2IU.js +76 -0
- package/dist/chunk-WQUWUZZ4.mjs +32 -0
- package/dist/chunk-WTWQAZUM.js +128 -0
- package/dist/chunk-X2UWPTFU.mjs +37 -0
- package/dist/chunk-X3HC3R2I.js +51 -0
- package/dist/chunk-XCVH63OO.mjs +0 -0
- package/dist/chunk-XNHWWPSK.js +32 -0
- package/dist/chunk-YRGMZRC3.mjs +469 -0
- package/dist/chunk-YYLV7UA6.js +1 -0
- package/dist/chunk-ZCTECGQS.mjs +21 -0
- package/dist/chunk-ZYI527ZS.js +32 -0
- package/dist/executor-BAeunL4c.d.mts +143 -0
- package/dist/executor-BF7_LjrR.d.mts +75 -0
- package/dist/executor-BF7_LjrR.d.ts +75 -0
- package/dist/executor-BKdjKo-J.d.mts +93 -0
- package/dist/executor-BKdjKo-J.d.ts +93 -0
- package/dist/executor-BbIkDktz.d.mts +103 -0
- package/dist/executor-BbIkDktz.d.ts +103 -0
- package/dist/executor-BxzAij2P.d.ts +57 -0
- package/dist/executor-C4Ddk0eB.d.mts +145 -0
- package/dist/executor-CPBR709C.d.ts +143 -0
- package/dist/executor-CPh7sG83.d.mts +57 -0
- package/dist/executor-CVgzIGPj.d.mts +95 -0
- package/dist/executor-CVgzIGPj.d.ts +95 -0
- package/dist/executor-CWRRdIo2.d.mts +95 -0
- package/dist/executor-CWRRdIo2.d.ts +95 -0
- package/dist/executor-DA8yyqTK.d.mts +33 -0
- package/dist/executor-DJOXX8-N.d.mts +267 -0
- package/dist/executor-DcKEmf82.d.ts +305 -0
- package/dist/executor-DpEbHA1f.d.mts +131 -0
- package/dist/executor-DpEbHA1f.d.ts +131 -0
- package/dist/executor-DvfMQSTP.d.mts +305 -0
- package/dist/executor-HMyCQrhV.d.ts +33 -0
- package/dist/executor-YAjz4bej.d.ts +267 -0
- package/dist/executor-jYQ7uQ13.d.mts +121 -0
- package/dist/executor-jYQ7uQ13.d.ts +121 -0
- package/dist/executor-lCseKo3l.d.ts +145 -0
- package/dist/executors.d.mts +18 -0
- package/dist/executors.d.ts +18 -0
- package/dist/executors.js +67 -0
- package/dist/executors.mjs +68 -0
- package/dist/generator-B9nl4zZh.d.mts +38 -0
- package/dist/generator-BKKfRfw5.d.mts +108 -0
- package/dist/generator-CKzlyVl8.d.ts +38 -0
- package/dist/generator-CPAEsIX9.d.ts +108 -0
- package/dist/generator-Ce5Jjv19.d.mts +130 -0
- package/dist/generator-DMnwA7AM.d.ts +130 -0
- package/dist/generator-DN9Th4ZG.d.ts +130 -0
- package/dist/generator-DVJjzR9Q.d.mts +130 -0
- package/dist/generator-DX2foast.d.ts +130 -0
- package/dist/generator-rIlu4Sq2.d.mts +130 -0
- package/dist/generators.d.mts +13 -0
- package/dist/generators.d.ts +13 -0
- package/dist/generators.js +36 -0
- package/dist/generators.mjs +37 -0
- package/dist/index.d.mts +62 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.js +303 -0
- package/dist/index.mjs +304 -0
- package/dist/init-6Nmtv8d5.d.mts +19 -0
- package/dist/init-6Nmtv8d5.d.ts +19 -0
- package/dist/schema.d-B9y7rRms.d.mts +59 -0
- package/dist/schema.d-B9y7rRms.d.ts +59 -0
- package/dist/src/base/base-executor.d.mts +11 -0
- package/dist/src/base/base-executor.d.ts +11 -0
- package/dist/src/base/base-executor.js +11 -0
- package/dist/src/base/base-executor.mjs +12 -0
- package/dist/src/base/base-executor.schema.d.ts +16 -0
- package/dist/src/base/base-executor.schema.json +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 +6 -0
- package/dist/src/base/base-executor.untyped.mjs +7 -0
- package/dist/src/base/base-generator.d.mts +11 -0
- package/dist/src/base/base-generator.d.ts +11 -0
- package/dist/src/base/base-generator.js +11 -0
- package/dist/src/base/base-generator.mjs +12 -0
- package/dist/src/base/base-generator.schema.d.ts +14 -0
- package/dist/src/base/base-generator.schema.json +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 +6 -0
- package/dist/src/base/base-generator.untyped.mjs +7 -0
- package/dist/src/base/cargo-base-executor.schema.d.ts +88 -0
- package/dist/src/base/cargo-base-executor.schema.json +86 -0
- package/dist/src/base/cargo-base-executor.untyped.d.mts +5 -0
- package/dist/src/base/cargo-base-executor.untyped.d.ts +5 -0
- package/dist/src/base/cargo-base-executor.untyped.js +7 -0
- package/dist/src/base/cargo-base-executor.untyped.mjs +8 -0
- package/dist/src/base/index.d.mts +155 -0
- package/dist/src/base/index.d.ts +155 -0
- package/dist/src/base/index.js +48 -0
- package/dist/src/base/index.mjs +49 -0
- package/dist/src/base/typescript-build-executor.schema.d.ts +134 -0
- package/dist/src/base/typescript-build-executor.schema.json +176 -0
- package/dist/src/base/typescript-build-executor.untyped.d.mts +5 -0
- package/dist/src/base/typescript-build-executor.untyped.d.ts +5 -0
- package/dist/src/base/typescript-build-executor.untyped.js +7 -0
- package/dist/src/base/typescript-build-executor.untyped.mjs +8 -0
- package/dist/src/base/typescript-library-generator.schema.d.ts +122 -0
- package/dist/src/base/typescript-library-generator.schema.json +119 -0
- package/dist/src/base/typescript-library-generator.untyped.d.mts +5 -0
- package/dist/src/base/typescript-library-generator.untyped.d.ts +5 -0
- package/dist/src/base/typescript-library-generator.untyped.js +7 -0
- package/dist/src/base/typescript-library-generator.untyped.mjs +8 -0
- package/dist/src/executors/cargo-build/executor.d.mts +2 -0
- package/dist/src/executors/cargo-build/executor.d.ts +2 -0
- package/dist/src/executors/cargo-build/executor.js +15 -0
- package/dist/src/executors/cargo-build/executor.mjs +16 -0
- package/dist/src/executors/cargo-build/schema.d.ts +86 -0
- package/dist/src/executors/cargo-build/schema.json +85 -0
- package/dist/src/executors/cargo-build/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-build/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-build/untyped.js +25 -0
- package/dist/src/executors/cargo-build/untyped.mjs +26 -0
- package/dist/src/executors/cargo-check/executor.d.mts +2 -0
- package/dist/src/executors/cargo-check/executor.d.ts +2 -0
- package/dist/src/executors/cargo-check/executor.js +15 -0
- package/dist/src/executors/cargo-check/executor.mjs +16 -0
- package/dist/src/executors/cargo-check/schema.d.ts +88 -0
- package/dist/src/executors/cargo-check/schema.json +86 -0
- package/dist/src/executors/cargo-check/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-check/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-check/untyped.js +18 -0
- package/dist/src/executors/cargo-check/untyped.mjs +19 -0
- package/dist/src/executors/cargo-clippy/executor.d.mts +2 -0
- package/dist/src/executors/cargo-clippy/executor.d.ts +2 -0
- package/dist/src/executors/cargo-clippy/executor.js +15 -0
- package/dist/src/executors/cargo-clippy/executor.mjs +16 -0
- package/dist/src/executors/cargo-clippy/schema.d.ts +96 -0
- package/dist/src/executors/cargo-clippy/schema.json +92 -0
- package/dist/src/executors/cargo-clippy/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-clippy/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-clippy/untyped.js +25 -0
- package/dist/src/executors/cargo-clippy/untyped.mjs +26 -0
- package/dist/src/executors/cargo-doc/executor.d.mts +2 -0
- package/dist/src/executors/cargo-doc/executor.d.ts +2 -0
- package/dist/src/executors/cargo-doc/executor.js +15 -0
- package/dist/src/executors/cargo-doc/executor.mjs +16 -0
- package/dist/src/executors/cargo-doc/schema.d.ts +124 -0
- package/dist/src/executors/cargo-doc/schema.json +162 -0
- package/dist/src/executors/cargo-doc/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-doc/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-doc/untyped.js +50 -0
- package/dist/src/executors/cargo-doc/untyped.mjs +51 -0
- package/dist/src/executors/cargo-format/executor.d.mts +2 -0
- package/dist/src/executors/cargo-format/executor.d.ts +2 -0
- package/dist/src/executors/cargo-format/executor.js +15 -0
- package/dist/src/executors/cargo-format/executor.mjs +16 -0
- package/dist/src/executors/cargo-format/schema.d.ts +88 -0
- package/dist/src/executors/cargo-format/schema.json +86 -0
- package/dist/src/executors/cargo-format/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-format/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-format/untyped.js +18 -0
- package/dist/src/executors/cargo-format/untyped.mjs +19 -0
- package/dist/src/executors/cargo-publish/executor.d.mts +2 -0
- package/dist/src/executors/cargo-publish/executor.d.ts +2 -0
- package/dist/src/executors/cargo-publish/executor.js +10 -0
- package/dist/src/executors/cargo-publish/executor.mjs +11 -0
- package/dist/src/executors/cargo-publish/schema.d.ts +114 -0
- package/dist/src/executors/cargo-publish/schema.json +105 -0
- package/dist/src/executors/cargo-publish/untyped.d.mts +5 -0
- package/dist/src/executors/cargo-publish/untyped.d.ts +5 -0
- package/dist/src/executors/cargo-publish/untyped.js +40 -0
- package/dist/src/executors/cargo-publish/untyped.mjs +41 -0
- package/dist/src/executors/clean-package/executor.d.mts +13 -0
- package/dist/src/executors/clean-package/executor.d.ts +13 -0
- package/dist/src/executors/clean-package/executor.js +325 -0
- package/dist/src/executors/clean-package/executor.mjs +326 -0
- package/dist/src/executors/clean-package/schema.d.ts +59 -0
- package/dist/src/executors/clean-package/schema.json +55 -0
- package/dist/src/executors/clean-package/untyped.d.mts +5 -0
- package/dist/src/executors/clean-package/untyped.d.ts +5 -0
- package/dist/src/executors/clean-package/untyped.js +64 -0
- package/dist/src/executors/clean-package/untyped.mjs +65 -0
- package/dist/src/executors/esbuild/executor.d.mts +5 -0
- package/dist/src/executors/esbuild/executor.d.ts +5 -0
- package/dist/src/executors/esbuild/executor.js +15 -0
- package/dist/src/executors/esbuild/executor.mjs +16 -0
- package/dist/src/executors/esbuild/schema.d.ts +136 -0
- package/dist/src/executors/esbuild/schema.json +163 -0
- package/dist/src/executors/esbuild/untyped.d.mts +5 -0
- package/dist/src/executors/esbuild/untyped.d.ts +5 -0
- package/dist/src/executors/esbuild/untyped.js +27 -0
- package/dist/src/executors/esbuild/untyped.mjs +28 -0
- package/dist/src/executors/napi/executor.d.mts +5 -0
- package/dist/src/executors/napi/executor.d.ts +5 -0
- package/dist/src/executors/napi/executor.js +15 -0
- package/dist/src/executors/napi/executor.mjs +16 -0
- package/dist/src/executors/napi/schema.d.ts +282 -0
- package/dist/src/executors/napi/schema.json +235 -0
- package/dist/src/executors/napi/untyped.d.mts +5 -0
- package/dist/src/executors/napi/untyped.d.ts +5 -0
- package/dist/src/executors/napi/untyped.js +241 -0
- package/dist/src/executors/napi/untyped.mjs +242 -0
- package/dist/src/executors/npm-publish/executor.d.mts +2 -0
- package/dist/src/executors/npm-publish/executor.d.ts +2 -0
- package/dist/src/executors/npm-publish/executor.js +16 -0
- package/dist/src/executors/npm-publish/executor.mjs +17 -0
- package/dist/src/executors/npm-publish/schema.d.ts +68 -0
- package/dist/src/executors/npm-publish/schema.json +61 -0
- package/dist/src/executors/npm-publish/untyped.d.mts +5 -0
- package/dist/src/executors/npm-publish/untyped.d.ts +5 -0
- package/dist/src/executors/npm-publish/untyped.js +66 -0
- package/dist/src/executors/npm-publish/untyped.mjs +68 -0
- package/dist/src/executors/size-limit/executor.d.mts +5 -0
- package/dist/src/executors/size-limit/executor.d.ts +5 -0
- package/dist/src/executors/size-limit/executor.js +14 -0
- package/dist/src/executors/size-limit/executor.mjs +15 -0
- package/dist/src/executors/size-limit/schema.d.ts +24 -0
- package/dist/src/executors/size-limit/schema.json +26 -0
- package/dist/src/executors/size-limit/untyped.d.mts +5 -0
- package/dist/src/executors/size-limit/untyped.d.ts +5 -0
- package/dist/src/executors/size-limit/untyped.js +28 -0
- package/dist/src/executors/size-limit/untyped.mjs +29 -0
- package/dist/src/executors/tsdown/executor.d.mts +5 -0
- package/dist/src/executors/tsdown/executor.d.ts +5 -0
- package/dist/src/executors/tsdown/executor.js +15 -0
- package/dist/src/executors/tsdown/executor.mjs +16 -0
- package/dist/src/executors/tsdown/schema.d.ts +134 -0
- package/dist/src/executors/tsdown/schema.json +172 -0
- package/dist/src/executors/tsdown/untyped.d.mts +5 -0
- package/dist/src/executors/tsdown/untyped.d.ts +5 -0
- package/dist/src/executors/tsdown/untyped.js +18 -0
- package/dist/src/executors/tsdown/untyped.mjs +19 -0
- package/dist/src/executors/typia/executor.d.mts +5 -0
- package/dist/src/executors/typia/executor.d.ts +5 -0
- package/dist/src/executors/typia/executor.js +14 -0
- package/dist/src/executors/typia/executor.mjs +15 -0
- package/dist/src/executors/typia/schema.d.ts +48 -0
- package/dist/src/executors/typia/schema.json +57 -0
- package/dist/src/executors/typia/untyped.d.mts +5 -0
- package/dist/src/executors/typia/untyped.d.ts +5 -0
- package/dist/src/executors/typia/untyped.js +54 -0
- package/dist/src/executors/typia/untyped.mjs +55 -0
- package/dist/src/executors/unbuild/executor.d.mts +5 -0
- package/dist/src/executors/unbuild/executor.d.ts +5 -0
- package/dist/src/executors/unbuild/executor.js +14 -0
- package/dist/src/executors/unbuild/executor.mjs +15 -0
- package/dist/src/executors/unbuild/schema.d.ts +258 -0
- package/dist/src/executors/unbuild/schema.json +301 -0
- package/dist/src/executors/unbuild/untyped.d.mts +5 -0
- package/dist/src/executors/unbuild/untyped.d.ts +5 -0
- package/dist/src/executors/unbuild/untyped.js +158 -0
- package/dist/src/executors/unbuild/untyped.mjs +159 -0
- package/dist/src/generators/browser-library/generator.d.mts +8 -0
- package/dist/src/generators/browser-library/generator.d.ts +8 -0
- package/dist/src/generators/browser-library/generator.js +17 -0
- package/dist/src/generators/browser-library/generator.mjs +18 -0
- package/dist/src/generators/browser-library/schema.d.ts +122 -0
- package/dist/src/generators/browser-library/schema.json +117 -0
- package/dist/src/generators/browser-library/untyped.d.mts +5 -0
- package/dist/src/generators/browser-library/untyped.d.ts +5 -0
- package/dist/src/generators/browser-library/untyped.js +36 -0
- package/dist/src/generators/browser-library/untyped.mjs +37 -0
- package/dist/src/generators/config-schema/generator.d.mts +8 -0
- package/dist/src/generators/config-schema/generator.d.ts +8 -0
- package/dist/src/generators/config-schema/generator.js +14 -0
- package/dist/src/generators/config-schema/generator.mjs +15 -0
- package/dist/src/generators/config-schema/schema.d.ts +23 -0
- package/dist/src/generators/config-schema/schema.json +24 -0
- package/dist/src/generators/config-schema/untyped.d.mts +5 -0
- package/dist/src/generators/config-schema/untyped.d.ts +5 -0
- package/dist/src/generators/config-schema/untyped.js +25 -0
- package/dist/src/generators/config-schema/untyped.mjs +26 -0
- package/dist/src/generators/init/init.d.mts +2 -0
- package/dist/src/generators/init/init.d.ts +2 -0
- package/dist/src/generators/init/init.js +8 -0
- package/dist/src/generators/init/init.mjs +9 -0
- package/dist/src/generators/init/schema.d.ts +14 -0
- package/dist/src/generators/init/schema.json +15 -0
- package/dist/src/generators/init/untyped.d.mts +5 -0
- package/dist/src/generators/init/untyped.d.ts +5 -0
- package/dist/src/generators/init/untyped.js +19 -0
- package/dist/src/generators/init/untyped.mjs +21 -0
- package/dist/src/generators/neutral-library/generator.d.mts +8 -0
- package/dist/src/generators/neutral-library/generator.d.ts +8 -0
- package/dist/src/generators/neutral-library/generator.js +17 -0
- package/dist/src/generators/neutral-library/generator.mjs +18 -0
- package/dist/src/generators/neutral-library/schema.d.ts +122 -0
- package/dist/src/generators/neutral-library/schema.json +116 -0
- package/dist/src/generators/neutral-library/untyped.d.mts +5 -0
- package/dist/src/generators/neutral-library/untyped.d.ts +5 -0
- package/dist/src/generators/neutral-library/untyped.js +36 -0
- package/dist/src/generators/neutral-library/untyped.mjs +37 -0
- package/dist/src/generators/node-library/generator.d.mts +8 -0
- package/dist/src/generators/node-library/generator.d.ts +8 -0
- package/dist/src/generators/node-library/generator.js +17 -0
- package/dist/src/generators/node-library/generator.mjs +18 -0
- package/dist/src/generators/node-library/schema.d.ts +122 -0
- package/dist/src/generators/node-library/schema.json +117 -0
- package/dist/src/generators/node-library/untyped.d.mts +5 -0
- package/dist/src/generators/node-library/untyped.d.ts +5 -0
- package/dist/src/generators/node-library/untyped.js +36 -0
- package/dist/src/generators/node-library/untyped.mjs +37 -0
- package/dist/src/generators/preset/generator.d.mts +8 -0
- package/dist/src/generators/preset/generator.d.ts +8 -0
- package/dist/src/generators/preset/generator.js +15 -0
- package/dist/src/generators/preset/generator.mjs +16 -0
- package/dist/src/generators/preset/schema.d.ts +101 -0
- package/dist/src/generators/preset/schema.json +96 -0
- package/dist/src/generators/preset/untyped.d.mts +5 -0
- package/dist/src/generators/preset/untyped.d.ts +5 -0
- package/dist/src/generators/preset/untyped.js +94 -0
- package/dist/src/generators/preset/untyped.mjs +95 -0
- package/dist/src/plugins/rust/cargo-toml.d.mts +47 -0
- package/dist/src/plugins/rust/cargo-toml.d.ts +47 -0
- package/dist/src/plugins/rust/cargo-toml.js +17 -0
- package/dist/src/plugins/rust/cargo-toml.mjs +18 -0
- package/dist/src/plugins/rust/index.d.mts +2 -0
- package/dist/src/plugins/rust/index.d.ts +2 -0
- package/dist/src/plugins/rust/index.js +17 -0
- package/dist/src/plugins/rust/index.mjs +18 -0
- package/dist/src/plugins/typescript/index.d.mts +65 -0
- package/dist/src/plugins/typescript/index.d.ts +65 -0
- package/dist/src/plugins/typescript/index.js +452 -0
- package/dist/src/plugins/typescript/index.mjs +453 -0
- package/dist/src/plugins/typescript/tsdown.d.mts +13 -0
- package/dist/src/plugins/typescript/tsdown.d.ts +13 -0
- package/dist/src/plugins/typescript/tsdown.js +178 -0
- package/dist/src/plugins/typescript/tsdown.mjs +179 -0
- package/dist/src/plugins/typescript/tsup.d.mts +13 -0
- package/dist/src/plugins/typescript/tsup.d.ts +13 -0
- package/dist/src/plugins/typescript/tsup.js +178 -0
- package/dist/src/plugins/typescript/tsup.mjs +179 -0
- package/dist/src/plugins/typescript/untyped-schema.d.mts +7 -0
- package/dist/src/plugins/typescript/untyped-schema.d.ts +7 -0
- package/dist/src/plugins/typescript/untyped-schema.js +151 -0
- package/dist/src/plugins/typescript/untyped-schema.mjs +152 -0
- package/dist/src/release/index.d.mts +11 -0
- package/dist/src/release/index.d.ts +11 -0
- package/dist/src/release/index.js +17 -0
- package/dist/src/release/index.mjs +18 -0
- package/dist/src/release/js-version-actions.d.mts +44 -0
- package/dist/src/release/js-version-actions.d.ts +44 -0
- package/dist/src/release/js-version-actions.js +10 -0
- package/dist/src/release/js-version-actions.mjs +11 -0
- package/dist/src/release/rust-version-actions.d.mts +56 -0
- package/dist/src/release/rust-version-actions.d.ts +56 -0
- package/dist/src/release/rust-version-actions.js +12 -0
- package/dist/src/release/rust-version-actions.mjs +13 -0
- package/dist/src/types.d.mts +6 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/src/types.js +18 -0
- package/dist/src/types.mjs +19 -0
- package/dist/src/utils/apply-workspace-tokens.d.mts +11 -0
- package/dist/src/utils/apply-workspace-tokens.d.ts +11 -0
- package/dist/src/utils/apply-workspace-tokens.js +8 -0
- package/dist/src/utils/apply-workspace-tokens.mjs +9 -0
- package/dist/src/utils/cargo.d.mts +118 -0
- package/dist/src/utils/cargo.d.ts +118 -0
- package/dist/src/utils/cargo.js +22 -0
- package/dist/src/utils/cargo.mjs +23 -0
- package/dist/src/utils/create-cli-options.d.mts +3 -0
- package/dist/src/utils/create-cli-options.d.ts +3 -0
- package/dist/src/utils/create-cli-options.js +6 -0
- package/dist/src/utils/create-cli-options.mjs +7 -0
- package/dist/src/utils/get-project-configurations.d.mts +16 -0
- package/dist/src/utils/get-project-configurations.d.ts +16 -0
- package/dist/src/utils/get-project-configurations.js +10 -0
- package/dist/src/utils/get-project-configurations.mjs +11 -0
- package/dist/src/utils/github.d.mts +19 -0
- package/dist/src/utils/github.d.ts +19 -0
- package/dist/src/utils/github.js +7 -0
- package/dist/src/utils/github.mjs +8 -0
- package/dist/src/utils/index.d.mts +23 -0
- package/dist/src/utils/index.d.ts +23 -0
- package/dist/src/utils/index.js +157 -0
- package/dist/src/utils/index.mjs +158 -0
- package/dist/src/utils/lock-file.d.mts +29 -0
- package/dist/src/utils/lock-file.d.ts +29 -0
- package/dist/src/utils/lock-file.js +26 -0
- package/dist/src/utils/lock-file.mjs +27 -0
- package/dist/src/utils/nx-json.d.mts +33 -0
- package/dist/src/utils/nx-json.d.ts +33 -0
- package/dist/src/utils/nx-json.js +10 -0
- package/dist/src/utils/nx-json.mjs +11 -0
- package/dist/src/utils/package-helpers.d.mts +24 -0
- package/dist/src/utils/package-helpers.d.ts +24 -0
- package/dist/src/utils/package-helpers.js +14 -0
- package/dist/src/utils/package-helpers.mjs +15 -0
- package/dist/src/utils/plugin-helpers.d.mts +20 -0
- package/dist/src/utils/plugin-helpers.d.ts +20 -0
- package/dist/src/utils/plugin-helpers.js +15 -0
- package/dist/src/utils/plugin-helpers.mjs +16 -0
- package/dist/src/utils/project-tags.d.mts +65 -0
- package/dist/src/utils/project-tags.d.ts +65 -0
- package/dist/src/utils/project-tags.js +20 -0
- package/dist/src/utils/project-tags.mjs +21 -0
- package/dist/src/utils/registry-helpers.d.mts +11 -0
- package/dist/src/utils/registry-helpers.d.ts +11 -0
- package/dist/src/utils/registry-helpers.js +6 -0
- package/dist/src/utils/registry-helpers.mjs +7 -0
- package/dist/src/utils/typia-transform.d.mts +5 -0
- package/dist/src/utils/typia-transform.d.ts +5 -0
- package/dist/src/utils/typia-transform.js +6 -0
- package/dist/src/utils/typia-transform.mjs +7 -0
- package/dist/src/utils/versions.d.mts +20 -0
- package/dist/src/utils/versions.d.ts +20 -0
- package/dist/src/utils/versions.js +40 -0
- package/dist/src/utils/versions.mjs +41 -0
- package/dist/types-Bvfw-xMk.d.ts +77 -0
- package/dist/types-D2zxYEAh.d.mts +41 -0
- package/dist/types-D2zxYEAh.d.ts +41 -0
- package/dist/types-DLXcfy35.d.mts +77 -0
- package/dist/types-Dug-2iKz.d.mts +243 -0
- package/dist/types-Dug-2iKz.d.ts +243 -0
- package/docs/api/base/base-executor.schema.md +15 -0
- package/docs/api/base/base-generator.schema.md +15 -0
- package/docs/api/base/cargo-base-executor.schema.md +89 -0
- package/docs/api/base/typescript-build-executor.schema.md +125 -0
- package/docs/api/base/typescript-library-generator.schema.md +129 -0
- package/docs/api/executors/cargo-build/schema.md +89 -0
- package/docs/api/executors/cargo-check/schema.md +89 -0
- package/docs/api/executors/cargo-clippy/schema.md +98 -0
- package/docs/api/executors/cargo-doc/schema.md +129 -0
- package/docs/api/executors/cargo-format/schema.md +89 -0
- package/docs/api/executors/cargo-publish/schema.md +116 -0
- package/docs/api/executors/clean-package/schema.md +64 -0
- package/docs/api/executors/esbuild/schema.md +125 -0
- package/docs/api/executors/napi/schema.md +300 -0
- package/docs/api/executors/npm-publish/schema.md +73 -0
- package/docs/api/executors/size-limit/schema.md +24 -0
- package/docs/api/executors/tsdown/schema.md +125 -0
- package/docs/api/executors/typia/schema.md +46 -0
- package/docs/api/executors/unbuild/schema.md +222 -0
- package/docs/api/generators/browser-library/files/README.md +58 -0
- package/docs/api/generators/browser-library/schema.md +129 -0
- package/docs/api/generators/config-schema/schema.md +25 -0
- package/docs/api/generators/init/schema.md +15 -0
- package/docs/api/generators/neutral-library/files/README.md +58 -0
- package/docs/api/generators/neutral-library/schema.md +129 -0
- package/docs/api/generators/node-library/files/README.md +63 -0
- package/docs/api/generators/node-library/schema.md +129 -0
- package/docs/api/generators/preset/schema.md +110 -0
- package/executors.json +69 -0
- package/generators.json +51 -0
- package/package.json +25 -15
|
@@ -0,0 +1,402 @@
|
|
|
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; }// ../config-tools/src/logger/console.ts
|
|
2
|
+
var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
|
|
3
|
+
|
|
4
|
+
// ../config-tools/src/types.ts
|
|
5
|
+
var LogLevel = {
|
|
6
|
+
SILENT: 0,
|
|
7
|
+
FATAL: 10,
|
|
8
|
+
ERROR: 20,
|
|
9
|
+
WARN: 30,
|
|
10
|
+
SUCCESS: 35,
|
|
11
|
+
INFO: 40,
|
|
12
|
+
PERFORMANCE: 50,
|
|
13
|
+
DEBUG: 60,
|
|
14
|
+
TRACE: 70,
|
|
15
|
+
ALL: 100
|
|
16
|
+
};
|
|
17
|
+
var LogLevelLabel = {
|
|
18
|
+
SILENT: "silent",
|
|
19
|
+
FATAL: "fatal",
|
|
20
|
+
ERROR: "error",
|
|
21
|
+
WARN: "warn",
|
|
22
|
+
SUCCESS: "success",
|
|
23
|
+
INFO: "info",
|
|
24
|
+
PERFORMANCE: "performance",
|
|
25
|
+
DEBUG: "debug",
|
|
26
|
+
TRACE: "trace",
|
|
27
|
+
ALL: "all"
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// ../config-tools/src/utilities/colors.ts
|
|
31
|
+
var DEFAULT_COLOR_CONFIG = {
|
|
32
|
+
light: {
|
|
33
|
+
background: "#fafafa",
|
|
34
|
+
foreground: "#1d1e22",
|
|
35
|
+
brand: "#1fb2a6",
|
|
36
|
+
alternate: "#db2777",
|
|
37
|
+
help: "#5C4EE5",
|
|
38
|
+
success: "#087f5b",
|
|
39
|
+
info: "#0550ae",
|
|
40
|
+
debug: "#8afafc",
|
|
41
|
+
warning: "#e3b341",
|
|
42
|
+
danger: "#D8314A",
|
|
43
|
+
fatal: "#51070f",
|
|
44
|
+
performance: "#13c302",
|
|
45
|
+
link: "#3fa6ff",
|
|
46
|
+
positive: "#22c55e",
|
|
47
|
+
negative: "#dc2626",
|
|
48
|
+
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
49
|
+
},
|
|
50
|
+
dark: {
|
|
51
|
+
background: "#1d1e22",
|
|
52
|
+
foreground: "#cbd5e1",
|
|
53
|
+
brand: "#2dd4bf",
|
|
54
|
+
alternate: "#db2777",
|
|
55
|
+
help: "#818cf8",
|
|
56
|
+
success: "#10b981",
|
|
57
|
+
info: "#58a6ff",
|
|
58
|
+
debug: "#8afafc",
|
|
59
|
+
warning: "#f3d371",
|
|
60
|
+
danger: "#D8314A",
|
|
61
|
+
fatal: "#a40e26",
|
|
62
|
+
performance: "#80fd74",
|
|
63
|
+
link: "#3fa6ff",
|
|
64
|
+
positive: "#22c55e",
|
|
65
|
+
negative: "#dc2626",
|
|
66
|
+
gradient: ["#1fb2a6", "#db2777", "#818cf8"]
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
function getColors(config) {
|
|
70
|
+
if (!_optionalChain([config, 'optionalAccess', _2 => _2.colors]) || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !_optionalChain([config, 'access', _3 => _3.colors, 'access', _4 => _4["base"], 'optionalAccess', _5 => _5["dark"]]))) {
|
|
71
|
+
return DEFAULT_COLOR_CONFIG;
|
|
72
|
+
}
|
|
73
|
+
if (config.colors["base"]) {
|
|
74
|
+
if (typeof config.colors["base"]["dark"] === "object") {
|
|
75
|
+
return config.colors["base"]["dark"];
|
|
76
|
+
} else if (config.colors["base"]["dark"] === "string") {
|
|
77
|
+
return config.colors["base"];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (typeof config.colors["dark"] === "object") {
|
|
81
|
+
return config.colors["dark"];
|
|
82
|
+
}
|
|
83
|
+
return _nullishCoalesce(config.colors, () => ( DEFAULT_COLOR_CONFIG));
|
|
84
|
+
}
|
|
85
|
+
function getColor(key, config) {
|
|
86
|
+
const colors = getColors(config);
|
|
87
|
+
const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
|
|
88
|
+
if (result) {
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
if (key === "link" || key === "debug") {
|
|
92
|
+
return getColor("info", config);
|
|
93
|
+
} else if (key === "fatal") {
|
|
94
|
+
return getColor("danger", config);
|
|
95
|
+
}
|
|
96
|
+
return getColor("brand", config);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// ../config-tools/src/logger/chalk.ts
|
|
100
|
+
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
101
|
+
var chalkDefault = {
|
|
102
|
+
hex: (_) => (message) => message,
|
|
103
|
+
bgHex: (_) => ({
|
|
104
|
+
whiteBright: (message) => message,
|
|
105
|
+
white: (message) => message
|
|
106
|
+
}),
|
|
107
|
+
white: (message) => message,
|
|
108
|
+
whiteBright: (message) => message,
|
|
109
|
+
gray: (message) => message,
|
|
110
|
+
bold: {
|
|
111
|
+
hex: (_) => (message) => message,
|
|
112
|
+
bgHex: (_) => ({
|
|
113
|
+
whiteBright: (message) => message,
|
|
114
|
+
white: (message) => message
|
|
115
|
+
}),
|
|
116
|
+
whiteBright: (message) => message,
|
|
117
|
+
white: (message) => message
|
|
118
|
+
},
|
|
119
|
+
dim: {
|
|
120
|
+
hex: (_) => (message) => message,
|
|
121
|
+
gray: (message) => message
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
var getChalk = () => {
|
|
125
|
+
let _chalk = _chalk3.default;
|
|
126
|
+
if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _11 => _11.white])) {
|
|
127
|
+
_chalk = chalkDefault;
|
|
128
|
+
}
|
|
129
|
+
return _chalk;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
133
|
+
function isUnicodeSupported() {
|
|
134
|
+
if (process.platform !== "win32") {
|
|
135
|
+
return process.env.TERM !== "linux";
|
|
136
|
+
}
|
|
137
|
+
return Boolean(process.env.WT_SESSION) || // Windows Terminal
|
|
138
|
+
Boolean(process.env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
|
|
139
|
+
process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
|
|
140
|
+
process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// ../config-tools/src/logger/console-icons.ts
|
|
144
|
+
var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
|
|
145
|
+
var CONSOLE_ICONS = {
|
|
146
|
+
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
147
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
148
|
+
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
149
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
150
|
+
[LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
|
|
151
|
+
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
152
|
+
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
153
|
+
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
154
|
+
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
// ../config-tools/src/logger/format-timestamp.ts
|
|
158
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
159
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
// ../config-tools/src/logger/get-log-level.ts
|
|
163
|
+
var getLogLevel = (label) => {
|
|
164
|
+
switch (label) {
|
|
165
|
+
case "all":
|
|
166
|
+
return LogLevel.ALL;
|
|
167
|
+
case "trace":
|
|
168
|
+
return LogLevel.TRACE;
|
|
169
|
+
case "debug":
|
|
170
|
+
return LogLevel.DEBUG;
|
|
171
|
+
case "performance":
|
|
172
|
+
return LogLevel.PERFORMANCE;
|
|
173
|
+
case "info":
|
|
174
|
+
return LogLevel.INFO;
|
|
175
|
+
case "warn":
|
|
176
|
+
return LogLevel.WARN;
|
|
177
|
+
case "error":
|
|
178
|
+
return LogLevel.ERROR;
|
|
179
|
+
case "fatal":
|
|
180
|
+
return LogLevel.FATAL;
|
|
181
|
+
case "silent":
|
|
182
|
+
return LogLevel.SILENT;
|
|
183
|
+
default:
|
|
184
|
+
return LogLevel.INFO;
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
188
|
+
if (logLevel >= LogLevel.ALL) {
|
|
189
|
+
return LogLevelLabel.ALL;
|
|
190
|
+
}
|
|
191
|
+
if (logLevel >= LogLevel.TRACE) {
|
|
192
|
+
return LogLevelLabel.TRACE;
|
|
193
|
+
}
|
|
194
|
+
if (logLevel >= LogLevel.DEBUG) {
|
|
195
|
+
return LogLevelLabel.DEBUG;
|
|
196
|
+
}
|
|
197
|
+
if (logLevel >= LogLevel.PERFORMANCE) {
|
|
198
|
+
return LogLevelLabel.PERFORMANCE;
|
|
199
|
+
}
|
|
200
|
+
if (logLevel >= LogLevel.INFO) {
|
|
201
|
+
return LogLevelLabel.INFO;
|
|
202
|
+
}
|
|
203
|
+
if (logLevel >= LogLevel.WARN) {
|
|
204
|
+
return LogLevelLabel.WARN;
|
|
205
|
+
}
|
|
206
|
+
if (logLevel >= LogLevel.ERROR) {
|
|
207
|
+
return LogLevelLabel.ERROR;
|
|
208
|
+
}
|
|
209
|
+
if (logLevel >= LogLevel.FATAL) {
|
|
210
|
+
return LogLevelLabel.FATAL;
|
|
211
|
+
}
|
|
212
|
+
if (logLevel <= LogLevel.SILENT) {
|
|
213
|
+
return LogLevelLabel.SILENT;
|
|
214
|
+
}
|
|
215
|
+
return LogLevelLabel.INFO;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// ../config-tools/src/logger/console.ts
|
|
219
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
220
|
+
const {
|
|
221
|
+
chalk: _chalk = getChalk(),
|
|
222
|
+
fullDateTime = false,
|
|
223
|
+
hideDateTime = false
|
|
224
|
+
} = options;
|
|
225
|
+
const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
226
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
227
|
+
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
228
|
+
return (_) => {
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
232
|
+
return (message) => {
|
|
233
|
+
console.error(
|
|
234
|
+
`
|
|
235
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal)))(
|
|
236
|
+
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
237
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
238
|
+
`
|
|
239
|
+
);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
243
|
+
return (message) => {
|
|
244
|
+
console.error(
|
|
245
|
+
`
|
|
246
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger)))(
|
|
247
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
248
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
249
|
+
`
|
|
250
|
+
);
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
254
|
+
return (message) => {
|
|
255
|
+
console.warn(
|
|
256
|
+
`
|
|
257
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning)))(
|
|
258
|
+
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
259
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
260
|
+
`
|
|
261
|
+
);
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
265
|
+
return (message) => {
|
|
266
|
+
console.info(
|
|
267
|
+
`
|
|
268
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success)))(
|
|
269
|
+
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
270
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
271
|
+
`
|
|
272
|
+
);
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
276
|
+
return (message) => {
|
|
277
|
+
console.info(
|
|
278
|
+
`
|
|
279
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(
|
|
280
|
+
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
281
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
282
|
+
`
|
|
283
|
+
);
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
|
|
287
|
+
return (message) => {
|
|
288
|
+
console.debug(
|
|
289
|
+
`
|
|
290
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance)))(
|
|
291
|
+
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
292
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
293
|
+
`
|
|
294
|
+
);
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
298
|
+
return (message) => {
|
|
299
|
+
console.debug(
|
|
300
|
+
`
|
|
301
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(
|
|
302
|
+
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
303
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
304
|
+
`
|
|
305
|
+
);
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
309
|
+
return (message) => {
|
|
310
|
+
console.debug(
|
|
311
|
+
`
|
|
312
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
313
|
+
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
314
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
315
|
+
`
|
|
316
|
+
);
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
return (message) => {
|
|
320
|
+
console.log(
|
|
321
|
+
`
|
|
322
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand)))(
|
|
323
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
324
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
325
|
+
`
|
|
326
|
+
);
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
var writeFatal = (message, config) => getLogFn(LogLevel.FATAL, config)(message);
|
|
330
|
+
var writeError = (message, config) => getLogFn(LogLevel.ERROR, config)(message);
|
|
331
|
+
var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message);
|
|
332
|
+
var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
|
|
333
|
+
var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
|
|
334
|
+
var writePerformance = (message, config) => getLogFn(LogLevel.PERFORMANCE, config)(message);
|
|
335
|
+
var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
|
|
336
|
+
var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
|
|
337
|
+
var getStopwatch = (name) => {
|
|
338
|
+
const start = /* @__PURE__ */ new Date();
|
|
339
|
+
return () => {
|
|
340
|
+
writePerformance(
|
|
341
|
+
`The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
|
|
342
|
+
includeSeconds: true
|
|
343
|
+
})} to complete`
|
|
344
|
+
);
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
var MAX_DEPTH = 10;
|
|
348
|
+
var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
349
|
+
if (depth > MAX_DEPTH) {
|
|
350
|
+
return "<max depth>";
|
|
351
|
+
}
|
|
352
|
+
const prefix = _nullishCoalesce(options.prefix, () => ( ""));
|
|
353
|
+
const skip = _nullishCoalesce(options.skip, () => ( []));
|
|
354
|
+
const sort = _nullishCoalesce(options.sort, () => ( true));
|
|
355
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
+
${message.sort(
|
|
357
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
358
|
+
).map(
|
|
359
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
360
|
+
item,
|
|
361
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
362
|
+
depth + 1
|
|
363
|
+
)}`
|
|
364
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
365
|
+
${Object.keys(message).filter(
|
|
366
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
367
|
+
).sort(
|
|
368
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
369
|
+
).map(
|
|
370
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
371
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
372
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
373
|
+
message[key],
|
|
374
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
375
|
+
depth + 1
|
|
376
|
+
) : message[key]}`
|
|
377
|
+
).join("\n")}` : String(message);
|
|
378
|
+
};
|
|
379
|
+
var _isFunction = (value) => {
|
|
380
|
+
try {
|
|
381
|
+
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _28 => _28.constructor]) && _optionalChain([value, 'optionalAccess', _29 => _29.call]) && _optionalChain([value, 'optionalAccess', _30 => _30.apply]));
|
|
382
|
+
} catch (e) {
|
|
383
|
+
return false;
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
exports.LogLevel = LogLevel; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.brandIcon = brandIcon;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
4
|
+
|
|
5
|
+
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
6
|
+
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
7
|
+
let result = option;
|
|
8
|
+
if (!result) {
|
|
9
|
+
return result;
|
|
10
|
+
}
|
|
11
|
+
if (tokenParams) {
|
|
12
|
+
const optionKeys = Object.keys(tokenParams);
|
|
13
|
+
if (optionKeys.some((optionKey) => result.includes(`{${optionKey}}`))) {
|
|
14
|
+
for (const optionKey of optionKeys) {
|
|
15
|
+
if (result.includes(`{${optionKey}}`)) {
|
|
16
|
+
result = result.replaceAll(
|
|
17
|
+
`{${optionKey}}`,
|
|
18
|
+
_optionalChain([tokenParams, 'optionalAccess', _ => _[optionKey]]) || ""
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (tokenParams.config) {
|
|
25
|
+
const configKeys = Object.keys(tokenParams.config);
|
|
26
|
+
if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
|
|
27
|
+
for (const configKey of configKeys) {
|
|
28
|
+
if (result.includes(`{${configKey}}`)) {
|
|
29
|
+
result = result.replaceAll(
|
|
30
|
+
`{${configKey}}`,
|
|
31
|
+
tokenParams.config[configKey] || ""
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (result.includes("{workspaceRoot}")) {
|
|
38
|
+
result = result.replaceAll(
|
|
39
|
+
"{workspaceRoot}",
|
|
40
|
+
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, )))
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
var applyWorkspaceProjectTokens = (option, tokenParams) => {
|
|
46
|
+
return applyWorkspaceBaseTokens(option, tokenParams);
|
|
47
|
+
};
|
|
48
|
+
var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
49
|
+
if (!options) {
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
const result = {};
|
|
53
|
+
for (const option of Object.keys(options)) {
|
|
54
|
+
if (typeof options[option] === "string") {
|
|
55
|
+
result[option] = await Promise.resolve(
|
|
56
|
+
tokenizerFn(options[option], tokenParams)
|
|
57
|
+
);
|
|
58
|
+
} else if (Array.isArray(options[option])) {
|
|
59
|
+
result[option] = await Promise.all(
|
|
60
|
+
options[option].map(
|
|
61
|
+
async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, tokenParams)) : item
|
|
62
|
+
)
|
|
63
|
+
);
|
|
64
|
+
} else if (typeof options[option] === "object") {
|
|
65
|
+
result[option] = await applyWorkspaceTokens(
|
|
66
|
+
options[option],
|
|
67
|
+
tokenParams,
|
|
68
|
+
tokenizerFn
|
|
69
|
+
);
|
|
70
|
+
} else {
|
|
71
|
+
result[option] = options[option];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return result;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
exports.applyWorkspaceBaseTokens = applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = applyWorkspaceTokens;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "./chunk-35ERFW7I.mjs";
|
|
4
|
+
import {
|
|
5
|
+
writeInfo
|
|
6
|
+
} from "./chunk-4AR5RJMF.mjs";
|
|
7
|
+
|
|
8
|
+
// src/executors/size-limit/executor.ts
|
|
9
|
+
import { joinPathFragments } from "@nx/devkit";
|
|
10
|
+
import esBuildPlugin from "@size-limit/esbuild";
|
|
11
|
+
import esBuildWhyPlugin from "@size-limit/esbuild-why";
|
|
12
|
+
import filePlugin from "@size-limit/file";
|
|
13
|
+
import sizeLimit from "size-limit";
|
|
14
|
+
async function sizeLimitExecutorFn(options, context, config) {
|
|
15
|
+
if (!context?.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName]) {
|
|
16
|
+
throw new Error(
|
|
17
|
+
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
21
|
+
sizeLimit([filePlugin, esBuildPlugin, esBuildWhyPlugin], {
|
|
22
|
+
checks: options.entry ?? context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? joinPathFragments(
|
|
23
|
+
context.projectsConfigurations.projects[context.projectName]?.root ?? "./",
|
|
24
|
+
"src"
|
|
25
|
+
)
|
|
26
|
+
}).then((result) => {
|
|
27
|
+
writeInfo(
|
|
28
|
+
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
29
|
+
config
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
|
+
return {
|
|
33
|
+
success: true
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
var executor_default = withRunExecutor(
|
|
37
|
+
"Size-Limit Performance Test Executor",
|
|
38
|
+
sizeLimitExecutorFn,
|
|
39
|
+
{
|
|
40
|
+
skipReadingConfig: false,
|
|
41
|
+
hooks: {
|
|
42
|
+
applyDefaultOptions: (options) => {
|
|
43
|
+
return options;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
sizeLimitExecutorFn,
|
|
51
|
+
executor_default
|
|
52
|
+
};
|