@storm-software/workspace-tools 1.295.86 → 1.295.87
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-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-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-6YZ3OUJB.mjs +0 -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-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-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-FPNWNZUL.mjs +253 -0
- package/dist/chunk-FQX7ZBQS.mjs +32 -0
- package/dist/chunk-GCDDSEDG.mjs +540 -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-GTBTSMUH.mjs +10 -0
- package/dist/chunk-GZA2CV3C.js +402 -0
- package/dist/chunk-HECOVC7R.mjs +82 -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-JDDKEYTF.js +469 -0
- package/dist/chunk-JGP4YWZY.js +1 -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-MNA3AU4B.mjs +49 -0
- package/dist/chunk-NUGNYGBF.js +105 -0
- package/dist/chunk-O7Z2YGFU.js +52 -0
- package/dist/chunk-OBATTMGC.mjs +105 -0
- package/dist/chunk-OKSECMVK.js +32 -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-RCSUK5YZ.mjs +77 -0
- package/dist/chunk-S2KOD2HL.mjs +128 -0
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-SGI4JCLV.js +540 -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-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-0ivVjqma.d.mts +75 -0
- package/dist/executor-0ivVjqma.d.ts +75 -0
- package/dist/executor-BAeunL4c.d.mts +143 -0
- package/dist/executor-BKdjKo-J.d.mts +93 -0
- package/dist/executor-BKdjKo-J.d.ts +93 -0
- package/dist/executor-BbIkDktz.d.mts +103 -0
- package/dist/executor-BbIkDktz.d.ts +103 -0
- package/dist/executor-BxzAij2P.d.ts +57 -0
- package/dist/executor-C4Ddk0eB.d.mts +145 -0
- package/dist/executor-CPBR709C.d.ts +143 -0
- package/dist/executor-CPh7sG83.d.mts +57 -0
- package/dist/executor-CVgzIGPj.d.mts +95 -0
- package/dist/executor-CVgzIGPj.d.ts +95 -0
- package/dist/executor-CWRRdIo2.d.mts +95 -0
- package/dist/executor-CWRRdIo2.d.ts +95 -0
- package/dist/executor-DA8yyqTK.d.mts +33 -0
- package/dist/executor-DJOXX8-N.d.mts +267 -0
- package/dist/executor-DcKEmf82.d.ts +305 -0
- package/dist/executor-DpEbHA1f.d.mts +131 -0
- package/dist/executor-DpEbHA1f.d.ts +131 -0
- package/dist/executor-DvfMQSTP.d.mts +305 -0
- package/dist/executor-HMyCQrhV.d.ts +33 -0
- package/dist/executor-YAjz4bej.d.ts +267 -0
- package/dist/executor-jYQ7uQ13.d.mts +121 -0
- package/dist/executor-jYQ7uQ13.d.ts +121 -0
- package/dist/executor-lCseKo3l.d.ts +145 -0
- package/dist/executors.d.mts +18 -0
- package/dist/executors.d.ts +18 -0
- package/dist/executors.js +66 -0
- package/dist/executors.mjs +67 -0
- package/dist/generator-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 +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +299 -0
- package/dist/index.mjs +300 -0
- package/dist/init-6Nmtv8d5.d.mts +19 -0
- package/dist/init-6Nmtv8d5.d.ts +19 -0
- package/dist/schema.d-B9y7rRms.d.mts +59 -0
- package/dist/schema.d-B9y7rRms.d.ts +59 -0
- package/dist/src/base/base-executor.d.mts +11 -0
- package/dist/src/base/base-executor.d.ts +11 -0
- package/dist/src/base/base-executor.js +11 -0
- package/dist/src/base/base-executor.mjs +12 -0
- package/dist/src/base/base-executor.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 +15 -0
- package/dist/src/executors/npm-publish/executor.mjs +16 -0
- package/dist/src/executors/npm-publish/schema.d.ts +68 -0
- package/dist/src/executors/npm-publish/schema.json +61 -0
- package/dist/src/executors/npm-publish/untyped.d.mts +5 -0
- package/dist/src/executors/npm-publish/untyped.d.ts +5 -0
- package/dist/src/executors/npm-publish/untyped.js +66 -0
- package/dist/src/executors/npm-publish/untyped.mjs +68 -0
- package/dist/src/executors/size-limit/executor.d.mts +5 -0
- package/dist/src/executors/size-limit/executor.d.ts +5 -0
- package/dist/src/executors/size-limit/executor.js +14 -0
- package/dist/src/executors/size-limit/executor.mjs +15 -0
- package/dist/src/executors/size-limit/schema.d.ts +24 -0
- package/dist/src/executors/size-limit/schema.json +26 -0
- package/dist/src/executors/size-limit/untyped.d.mts +5 -0
- package/dist/src/executors/size-limit/untyped.d.ts +5 -0
- package/dist/src/executors/size-limit/untyped.js +28 -0
- package/dist/src/executors/size-limit/untyped.mjs +29 -0
- package/dist/src/executors/tsdown/executor.d.mts +5 -0
- package/dist/src/executors/tsdown/executor.d.ts +5 -0
- package/dist/src/executors/tsdown/executor.js +15 -0
- package/dist/src/executors/tsdown/executor.mjs +16 -0
- package/dist/src/executors/tsdown/schema.d.ts +134 -0
- package/dist/src/executors/tsdown/schema.json +172 -0
- package/dist/src/executors/tsdown/untyped.d.mts +5 -0
- package/dist/src/executors/tsdown/untyped.d.ts +5 -0
- package/dist/src/executors/tsdown/untyped.js +18 -0
- package/dist/src/executors/tsdown/untyped.mjs +19 -0
- package/dist/src/executors/typia/executor.d.mts +5 -0
- package/dist/src/executors/typia/executor.d.ts +5 -0
- package/dist/src/executors/typia/executor.js +14 -0
- package/dist/src/executors/typia/executor.mjs +15 -0
- package/dist/src/executors/typia/schema.d.ts +48 -0
- package/dist/src/executors/typia/schema.json +57 -0
- package/dist/src/executors/typia/untyped.d.mts +5 -0
- package/dist/src/executors/typia/untyped.d.ts +5 -0
- package/dist/src/executors/typia/untyped.js +54 -0
- package/dist/src/executors/typia/untyped.mjs +55 -0
- package/dist/src/executors/unbuild/executor.d.mts +5 -0
- package/dist/src/executors/unbuild/executor.d.ts +5 -0
- package/dist/src/executors/unbuild/executor.js +14 -0
- package/dist/src/executors/unbuild/executor.mjs +15 -0
- package/dist/src/executors/unbuild/schema.d.ts +258 -0
- package/dist/src/executors/unbuild/schema.json +301 -0
- package/dist/src/executors/unbuild/untyped.d.mts +5 -0
- package/dist/src/executors/unbuild/untyped.d.ts +5 -0
- package/dist/src/executors/unbuild/untyped.js +158 -0
- package/dist/src/executors/unbuild/untyped.mjs +159 -0
- package/dist/src/generators/browser-library/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/index.d.mts +19 -0
- package/dist/src/utils/index.d.ts +19 -0
- package/dist/src/utils/index.js +153 -0
- package/dist/src/utils/index.mjs +154 -0
- package/dist/src/utils/lock-file.d.mts +29 -0
- package/dist/src/utils/lock-file.d.ts +29 -0
- package/dist/src/utils/lock-file.js +26 -0
- package/dist/src/utils/lock-file.mjs +27 -0
- package/dist/src/utils/nx-json.d.mts +33 -0
- package/dist/src/utils/nx-json.d.ts +33 -0
- package/dist/src/utils/nx-json.js +10 -0
- package/dist/src/utils/nx-json.mjs +11 -0
- package/dist/src/utils/package-helpers.d.mts +24 -0
- package/dist/src/utils/package-helpers.d.ts +24 -0
- package/dist/src/utils/package-helpers.js +14 -0
- package/dist/src/utils/package-helpers.mjs +15 -0
- package/dist/src/utils/plugin-helpers.d.mts +20 -0
- package/dist/src/utils/plugin-helpers.d.ts +20 -0
- package/dist/src/utils/plugin-helpers.js +15 -0
- package/dist/src/utils/plugin-helpers.mjs +16 -0
- package/dist/src/utils/project-tags.d.mts +65 -0
- package/dist/src/utils/project-tags.d.ts +65 -0
- package/dist/src/utils/project-tags.js +20 -0
- package/dist/src/utils/project-tags.mjs +21 -0
- package/dist/src/utils/registry-helpers.d.mts +11 -0
- package/dist/src/utils/registry-helpers.d.ts +11 -0
- package/dist/src/utils/registry-helpers.js +6 -0
- package/dist/src/utils/registry-helpers.mjs +7 -0
- package/dist/src/utils/typia-transform.d.mts +5 -0
- package/dist/src/utils/typia-transform.d.ts +5 -0
- package/dist/src/utils/typia-transform.js +6 -0
- package/dist/src/utils/typia-transform.mjs +7 -0
- package/dist/src/utils/versions.d.mts +20 -0
- package/dist/src/utils/versions.d.ts +20 -0
- package/dist/src/utils/versions.js +40 -0
- package/dist/src/utils/versions.mjs +41 -0
- package/dist/types-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 +11 -2
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkBAPFD3TOjs = require('../../../chunk-BAPFD3TO.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkTAP26ZJQjs = require('../../../chunk-TAP26ZJQ.js');
|
|
11
|
+
require('../../../chunk-X3HC3R2I.js');
|
|
12
|
+
|
|
13
|
+
// src/plugins/typescript/index.ts
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _devkit = require('@nx/devkit');
|
|
17
|
+
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
18
|
+
var _fs = require('fs');
|
|
19
|
+
var _path = require('path');
|
|
20
|
+
var _nxjsonjs = require('nx/src/config/nx-json.js');
|
|
21
|
+
var _fileutils = require('nx/src/utils/fileutils');
|
|
22
|
+
var _packagejson = require('nx/src/utils/package-json');
|
|
23
|
+
var _pkgtypes = require('pkg-types');
|
|
24
|
+
var name = "storm-software/typescript";
|
|
25
|
+
var createNodesV2 = [
|
|
26
|
+
"{project.json,**/project.json}",
|
|
27
|
+
async (configFiles, options = { includeApps: true }, context) => {
|
|
28
|
+
const nxJson = _nxjsonjs.readNxJson.call(void 0, context.workspaceRoot);
|
|
29
|
+
return _devkit.createNodesFromFiles.call(void 0,
|
|
30
|
+
async (file, options2 = { includeApps: true }, context2) => {
|
|
31
|
+
try {
|
|
32
|
+
const packageJson = createPackageJson(file, context2.workspaceRoot);
|
|
33
|
+
if (!packageJson) {
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
const tsconfig = await createTsconfig(file, context2.workspaceRoot);
|
|
37
|
+
if (!tsconfig) {
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
const project = createProjectFromPackageJsonNextToProjectJson(
|
|
41
|
+
file,
|
|
42
|
+
packageJson
|
|
43
|
+
);
|
|
44
|
+
if (_optionalChain([options2, 'optionalAccess', _ => _.includeApps]) === false && project.projectType === "application") {
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
const root = _chunkBAPFD3TOjs.getRoot.call(void 0, project.root, context2);
|
|
48
|
+
const enableMarkdownlint = _optionalChain([options2, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
|
|
49
|
+
const enableEslint = _optionalChain([options2, 'optionalAccess', _3 => _3.enableEslint]) !== false;
|
|
50
|
+
const enableTypecheck = !!_optionalChain([options2, 'optionalAccess', _4 => _4.enableTypecheck]);
|
|
51
|
+
const targets = _packagejson.readTargetsFromPackageJson.call(void 0,
|
|
52
|
+
packageJson,
|
|
53
|
+
nxJson,
|
|
54
|
+
project.root,
|
|
55
|
+
context2.workspaceRoot
|
|
56
|
+
);
|
|
57
|
+
if (_path.join.call(void 0, context2.workspaceRoot, project.root).startsWith(
|
|
58
|
+
_path.join.call(void 0, context2.workspaceRoot, "tools")
|
|
59
|
+
) && _optionalChain([options2, 'optionalAccess', _5 => _5.lintInternalTools]) !== true) {
|
|
60
|
+
targets.lint ??= {
|
|
61
|
+
dependsOn: ["^lint"],
|
|
62
|
+
executor: "nx:run-commands",
|
|
63
|
+
options: {
|
|
64
|
+
command: "echo 'Skipping linting of internal tools package \"{projectName}\". This can be changed by setting `lintInternalTools` to `true` in the Storm TypeScript plugin options.' "
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
} else {
|
|
68
|
+
targets["lint-ls"] ??= {
|
|
69
|
+
cache: true,
|
|
70
|
+
inputs: ["linting", "typescript", "^production"],
|
|
71
|
+
dependsOn: ["^lint-ls"],
|
|
72
|
+
executor: "nx:run-commands",
|
|
73
|
+
options: {
|
|
74
|
+
command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
if (enableMarkdownlint) {
|
|
78
|
+
targets[_optionalChain([options2, 'optionalAccess', _6 => _6.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _7 => _7.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"] ??= {
|
|
79
|
+
cache: true,
|
|
80
|
+
inputs: [
|
|
81
|
+
"linting",
|
|
82
|
+
"{projectRoot}/**/*.md",
|
|
83
|
+
"{projectRoot}/**/*.mdx"
|
|
84
|
+
],
|
|
85
|
+
outputs: ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
|
|
86
|
+
dependsOn: [
|
|
87
|
+
`^${_optionalChain([options2, 'optionalAccess', _8 => _8.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _9 => _9.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"}`
|
|
88
|
+
],
|
|
89
|
+
executor: "nx:run-commands",
|
|
90
|
+
options: {
|
|
91
|
+
command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/recommended.markdownlint-cli2.jsonc" --fix'
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
if (enableTypecheck) {
|
|
96
|
+
targets[_optionalChain([options2, 'optionalAccess', _10 => _10.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _11 => _11.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"] ??= {
|
|
97
|
+
cache: true,
|
|
98
|
+
inputs: ["typescript", "^production"],
|
|
99
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
100
|
+
executor: "nx:run-commands",
|
|
101
|
+
dependsOn: [
|
|
102
|
+
"build-untyped",
|
|
103
|
+
`^${_optionalChain([options2, 'optionalAccess', _12 => _12.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _13 => _13.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"}`
|
|
104
|
+
],
|
|
105
|
+
options: {
|
|
106
|
+
command: `pnpm exec ${_optionalChain([options2, 'optionalAccess', _14 => _14.useTsGo]) ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${_path.join.call(void 0,
|
|
107
|
+
project.root,
|
|
108
|
+
"tsconfig.json"
|
|
109
|
+
)}`
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
if (enableEslint) {
|
|
114
|
+
let eslintConfig = checkEslintConfigAtPath(project.root);
|
|
115
|
+
if (!eslintConfig) {
|
|
116
|
+
eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
|
|
117
|
+
}
|
|
118
|
+
if (eslintConfig) {
|
|
119
|
+
targets[_optionalChain([options2, 'optionalAccess', _15 => _15.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _16 => _16.enableEslint]) === "string" ? options2.enableEslint : "lint"] ??= {
|
|
120
|
+
cache: true,
|
|
121
|
+
inputs: ["linting", "typescript", "^production"],
|
|
122
|
+
outputs: [
|
|
123
|
+
"{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
|
|
124
|
+
],
|
|
125
|
+
dependsOn: [
|
|
126
|
+
enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _17 => _17.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _18 => _18.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
|
|
127
|
+
enableTypecheck ? _optionalChain([options2, 'optionalAccess', _19 => _19.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _20 => _20.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck" : void 0,
|
|
128
|
+
`^${_optionalChain([options2, 'optionalAccess', _21 => _21.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _22 => _22.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
|
|
129
|
+
].filter(Boolean),
|
|
130
|
+
executor: "@nx/eslint:lint",
|
|
131
|
+
options: {
|
|
132
|
+
format: "stylish",
|
|
133
|
+
fix: true,
|
|
134
|
+
errorOnUnmatchedPattern: false,
|
|
135
|
+
cache: true,
|
|
136
|
+
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
|
|
137
|
+
eslintConfig
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
targets["format-toml"] ??= {
|
|
144
|
+
cache: true,
|
|
145
|
+
inputs: ["linting", "{projectRoot}/**/*.toml"],
|
|
146
|
+
outputs: ["{projectRoot}/**/*.toml"],
|
|
147
|
+
dependsOn: ["^format-toml"],
|
|
148
|
+
executor: "nx:run-commands",
|
|
149
|
+
options: {
|
|
150
|
+
command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
targets["format-readme"] ??= {
|
|
154
|
+
cache: true,
|
|
155
|
+
inputs: [
|
|
156
|
+
"linting",
|
|
157
|
+
"documentation",
|
|
158
|
+
"{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
|
|
159
|
+
],
|
|
160
|
+
outputs: ["{projectRoot}/README.md"],
|
|
161
|
+
dependsOn: ["^format-readme"],
|
|
162
|
+
executor: "nx:run-commands",
|
|
163
|
+
options: {
|
|
164
|
+
command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
targets["format-prettier"] ??= {
|
|
168
|
+
cache: true,
|
|
169
|
+
inputs: ["linting", "typescript", "^production"],
|
|
170
|
+
outputs: ["{projectRoot}/**/*"],
|
|
171
|
+
dependsOn: ["^format-prettier"],
|
|
172
|
+
executor: "nx:run-commands",
|
|
173
|
+
options: {
|
|
174
|
+
command: 'pnpm exec prettier "{projectRoot}/**/*" --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/exclude-packagejson.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore-exclude-packagejson" --cache --cache-location="node_modules/.cache/prettier/{projectRoot}" '
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
targets.format ??= {
|
|
178
|
+
cache: true,
|
|
179
|
+
inputs: ["linting", "typescript", "^production"],
|
|
180
|
+
outputs: ["{projectRoot}/**/*"],
|
|
181
|
+
dependsOn: [
|
|
182
|
+
"format-readme",
|
|
183
|
+
"format-toml",
|
|
184
|
+
"format-prettier",
|
|
185
|
+
"^format"
|
|
186
|
+
],
|
|
187
|
+
executor: "nx:run-commands",
|
|
188
|
+
options: {
|
|
189
|
+
command: `echo 'Formatting the project files in "{projectRoot}"' `
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
targets.clean ??= {
|
|
193
|
+
cache: true,
|
|
194
|
+
executor: "nx:run-commands",
|
|
195
|
+
inputs: ["typescript", "^production"],
|
|
196
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
197
|
+
options: {
|
|
198
|
+
command: "pnpm exec rimraf dist/{projectRoot}",
|
|
199
|
+
color: true,
|
|
200
|
+
cwd: "{workspaceRoot}"
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
targets.rebuild ??= {
|
|
204
|
+
cache: false,
|
|
205
|
+
executor: "nx:run-commands",
|
|
206
|
+
dependsOn: ["clean", "^build"],
|
|
207
|
+
inputs: ["typescript", "^production"],
|
|
208
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
209
|
+
options: {
|
|
210
|
+
command: `pnpm exec nx run ${project.name}:build`
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
if (checkJestConfigAtPath(project.root)) {
|
|
214
|
+
targets.test ??= {
|
|
215
|
+
cache: true,
|
|
216
|
+
executor: "@nx/jest:jest",
|
|
217
|
+
inputs: ["testing", "typescript", "^production"],
|
|
218
|
+
outputs: [`{workspaceRoot}/coverage/${root}`],
|
|
219
|
+
defaultConfiguration: "development",
|
|
220
|
+
options: {
|
|
221
|
+
jestConfig: "{projectRoot}/jest.config.ts",
|
|
222
|
+
passWithNoTests: true
|
|
223
|
+
},
|
|
224
|
+
configurations: {
|
|
225
|
+
development: {
|
|
226
|
+
ci: false,
|
|
227
|
+
codeCoverage: true
|
|
228
|
+
},
|
|
229
|
+
production: {
|
|
230
|
+
ci: true,
|
|
231
|
+
codeCoverage: true
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
targets["docs"] ??= {
|
|
237
|
+
cache: true,
|
|
238
|
+
inputs: ["linting", "documentation", "typescript", "^production"],
|
|
239
|
+
outputs: ["{projectRoot}/docs"],
|
|
240
|
+
dependsOn: ["build", "format-readme", "lint-docs", "^docs"],
|
|
241
|
+
options: {}
|
|
242
|
+
};
|
|
243
|
+
targets["size-limit"] ??= {
|
|
244
|
+
cache: true,
|
|
245
|
+
inputs: ["testing", "typescript", "^production"],
|
|
246
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
247
|
+
dependsOn: ["build", "^size-limit"],
|
|
248
|
+
options: {}
|
|
249
|
+
};
|
|
250
|
+
const isPrivate = _nullishCoalesce(packageJson.private, () => ( false));
|
|
251
|
+
if (!isPrivate) {
|
|
252
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
253
|
+
project,
|
|
254
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Registry.TAG_ID,
|
|
255
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Registry.NPM,
|
|
256
|
+
{ overwrite: true }
|
|
257
|
+
);
|
|
258
|
+
targets["nx-release-publish"] = {
|
|
259
|
+
cache: false,
|
|
260
|
+
dependsOn: ["build", "size-limit", "^nx-release-publish"],
|
|
261
|
+
executor: "@storm-software/workspace-tools:npm-publish",
|
|
262
|
+
options: {}
|
|
263
|
+
};
|
|
264
|
+
if (project.projectType === "application" || _chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
265
|
+
project,
|
|
266
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.ProjectType.TAG_ID,
|
|
267
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.ProjectType.APPLICATION
|
|
268
|
+
) || _chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
269
|
+
project,
|
|
270
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.DistStyle.TAG_ID,
|
|
271
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.DistStyle.CLEAN
|
|
272
|
+
)) {
|
|
273
|
+
targets["clean-package"] ??= {
|
|
274
|
+
cache: true,
|
|
275
|
+
dependsOn: ["build"],
|
|
276
|
+
inputs: [`{workspaceRoot}/dist/${root}`],
|
|
277
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
278
|
+
executor: "@storm-software/workspace-tools:clean-package",
|
|
279
|
+
options: {
|
|
280
|
+
cleanReadMe: true,
|
|
281
|
+
cleanComments: true
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
_optionalChain([targets, 'access', _23 => _23["nx-release-publish"], 'access', _24 => _24.dependsOn, 'optionalAccess', _25 => _25.push, 'call', _26 => _26("clean-package")]);
|
|
285
|
+
_optionalChain([targets, 'access', _27 => _27["size-limit"], 'access', _28 => _28.dependsOn, 'optionalAccess', _29 => _29.push, 'call', _30 => _30("clean-package")]);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
289
|
+
project,
|
|
290
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Language.TAG_ID,
|
|
291
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Language.TYPESCRIPT,
|
|
292
|
+
{ overwrite: true }
|
|
293
|
+
);
|
|
294
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
295
|
+
project,
|
|
296
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.TAG_ID,
|
|
297
|
+
_optionalChain([options2, 'optionalAccess', _31 => _31.projectLinks]) === "alias" /* ALIAS */ ? _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.ALIAS : _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.REFERENCE,
|
|
298
|
+
{ overwrite: true }
|
|
299
|
+
);
|
|
300
|
+
const platform = _chunkBAPFD3TOjs.getProjectPlatform.call(void 0, project);
|
|
301
|
+
switch (platform) {
|
|
302
|
+
case "worker":
|
|
303
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
304
|
+
project,
|
|
305
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.TAG_ID,
|
|
306
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.WORKER,
|
|
307
|
+
{ overwrite: true }
|
|
308
|
+
);
|
|
309
|
+
break;
|
|
310
|
+
case "node":
|
|
311
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
312
|
+
project,
|
|
313
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.TAG_ID,
|
|
314
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.NODE,
|
|
315
|
+
{ overwrite: true }
|
|
316
|
+
);
|
|
317
|
+
break;
|
|
318
|
+
case "browser":
|
|
319
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
320
|
+
project,
|
|
321
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.TAG_ID,
|
|
322
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.BROWSER,
|
|
323
|
+
{ overwrite: true }
|
|
324
|
+
);
|
|
325
|
+
break;
|
|
326
|
+
default:
|
|
327
|
+
_chunkTAP26ZJQjs.addProjectTag.call(void 0,
|
|
328
|
+
project,
|
|
329
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.TAG_ID,
|
|
330
|
+
_chunkTAP26ZJQjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
331
|
+
{ overwrite: true }
|
|
332
|
+
);
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
_chunkTAP26ZJQjs.setDefaultProjectTags.call(void 0, project, name);
|
|
336
|
+
return {
|
|
337
|
+
projects: {
|
|
338
|
+
[root]: _defu2.default.call(void 0,
|
|
339
|
+
{
|
|
340
|
+
root,
|
|
341
|
+
targets,
|
|
342
|
+
release: {
|
|
343
|
+
version: {
|
|
344
|
+
versionActions: "@storm-software/workspace-tools/release/js-version-actions"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
project
|
|
349
|
+
)
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
} catch (e) {
|
|
353
|
+
console.error(e);
|
|
354
|
+
return {};
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
configFiles,
|
|
358
|
+
options,
|
|
359
|
+
context
|
|
360
|
+
);
|
|
361
|
+
}
|
|
362
|
+
];
|
|
363
|
+
function createProjectFromPackageJsonNextToProjectJson(projectJsonPath, packageJson) {
|
|
364
|
+
const { nx, name: name2 } = packageJson;
|
|
365
|
+
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
366
|
+
return {
|
|
367
|
+
...nx,
|
|
368
|
+
name: name2,
|
|
369
|
+
root,
|
|
370
|
+
targets: {}
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
374
|
+
try {
|
|
375
|
+
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
376
|
+
const packageJsonPath = _path.join.call(void 0, workspaceRoot, root, "package.json");
|
|
377
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
378
|
+
return null;
|
|
379
|
+
}
|
|
380
|
+
return _fileutils.readJsonFile.call(void 0, packageJsonPath);
|
|
381
|
+
} catch (e) {
|
|
382
|
+
console.warn(e);
|
|
383
|
+
return null;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
async function createTsconfig(projectJsonPath, workspaceRoot) {
|
|
387
|
+
try {
|
|
388
|
+
const root = _path.dirname.call(void 0, projectJsonPath);
|
|
389
|
+
const tsconfigJsonPath = _path.join.call(void 0, workspaceRoot, root, "tsconfig.json");
|
|
390
|
+
if (!_fs.existsSync.call(void 0, tsconfigJsonPath)) {
|
|
391
|
+
return null;
|
|
392
|
+
}
|
|
393
|
+
return _pkgtypes.readTSConfig.call(void 0, tsconfigJsonPath);
|
|
394
|
+
} catch (e) {
|
|
395
|
+
console.warn(e);
|
|
396
|
+
return null;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
function checkEslintConfigAtPath(directory) {
|
|
400
|
+
const hasEslintConfigFile = (fileName) => {
|
|
401
|
+
return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
|
|
402
|
+
};
|
|
403
|
+
if (hasEslintConfigFile(".eslintrc.js")) {
|
|
404
|
+
return ".eslintrc.js";
|
|
405
|
+
} else if (hasEslintConfigFile(".eslintrc.cjs")) {
|
|
406
|
+
return ".eslintrc.cjs";
|
|
407
|
+
} else if (hasEslintConfigFile(".eslintrc.yaml")) {
|
|
408
|
+
return ".eslintrc.yaml";
|
|
409
|
+
} else if (hasEslintConfigFile(".eslintrc.yml")) {
|
|
410
|
+
return ".eslintrc.yml";
|
|
411
|
+
} else if (hasEslintConfigFile(".eslintrc.json")) {
|
|
412
|
+
return ".eslintrc.json";
|
|
413
|
+
} else if (hasEslintConfigFile(".eslintrc")) {
|
|
414
|
+
return ".eslintrc";
|
|
415
|
+
} else if (hasEslintConfigFile("eslint.config.js")) {
|
|
416
|
+
return "eslint.config.js";
|
|
417
|
+
} else if (hasEslintConfigFile("eslint.config.cjs")) {
|
|
418
|
+
return "eslint.config.cjs";
|
|
419
|
+
} else if (hasEslintConfigFile("eslint.config.mjs")) {
|
|
420
|
+
return "eslint.config.mjs";
|
|
421
|
+
} else if (hasEslintConfigFile("eslint.config.ts")) {
|
|
422
|
+
return "eslint.config.ts";
|
|
423
|
+
} else if (hasEslintConfigFile("eslint.config.cts")) {
|
|
424
|
+
return "eslint.config.cts";
|
|
425
|
+
} else if (hasEslintConfigFile("eslint.config.mts")) {
|
|
426
|
+
return "eslint.config.mts";
|
|
427
|
+
}
|
|
428
|
+
return null;
|
|
429
|
+
}
|
|
430
|
+
function checkJestConfigAtPath(directory) {
|
|
431
|
+
const hasJestConfigFile = (fileName) => {
|
|
432
|
+
return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
|
|
433
|
+
};
|
|
434
|
+
if (hasJestConfigFile("eslint.config.js")) {
|
|
435
|
+
return "jest.config.js";
|
|
436
|
+
} else if (hasJestConfigFile("eslint.config.cjs")) {
|
|
437
|
+
return "jest.config.cjs";
|
|
438
|
+
} else if (hasJestConfigFile("eslint.config.mjs")) {
|
|
439
|
+
return "jest.config.mjs";
|
|
440
|
+
} else if (hasJestConfigFile("eslint.config.ts")) {
|
|
441
|
+
return "jest.config.ts";
|
|
442
|
+
} else if (hasJestConfigFile("jest.config.cts")) {
|
|
443
|
+
return "jest.config.cts";
|
|
444
|
+
} else if (hasJestConfigFile("jest.config.mts")) {
|
|
445
|
+
return "jest.config.mts";
|
|
446
|
+
}
|
|
447
|
+
return null;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
exports.createNodesV2 = createNodesV2; exports.name = name;
|