@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,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Cargo Publish Executor",
|
|
4
|
+
"description": "A type definition for a Cargo/rust Publish executor schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"outputPath": {
|
|
7
|
+
"title": "Output Path",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The output path for the build",
|
|
11
|
+
"id": "#outputPath"
|
|
12
|
+
},
|
|
13
|
+
"package": {
|
|
14
|
+
"title": "Cargo.toml Path",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "path",
|
|
17
|
+
"description": "The path to the Cargo.toml file",
|
|
18
|
+
"id": "#package",
|
|
19
|
+
"default": "{projectRoot}/Cargo.toml"
|
|
20
|
+
},
|
|
21
|
+
"toolchain": {
|
|
22
|
+
"title": "Toolchain",
|
|
23
|
+
"description": "The type of toolchain to use for the build",
|
|
24
|
+
"enum": [
|
|
25
|
+
"stable",
|
|
26
|
+
"beta",
|
|
27
|
+
"nightly"
|
|
28
|
+
],
|
|
29
|
+
"default": "stable",
|
|
30
|
+
"id": "#toolchain",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"target": {
|
|
34
|
+
"title": "Target",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The target to build",
|
|
37
|
+
"id": "#target"
|
|
38
|
+
},
|
|
39
|
+
"allTargets": {
|
|
40
|
+
"title": "All Targets",
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "Build all targets",
|
|
43
|
+
"id": "#allTargets"
|
|
44
|
+
},
|
|
45
|
+
"profile": {
|
|
46
|
+
"title": "Profile",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "The profile to build",
|
|
49
|
+
"id": "#profile"
|
|
50
|
+
},
|
|
51
|
+
"release": {
|
|
52
|
+
"title": "Release",
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "Build in release mode",
|
|
55
|
+
"id": "#release"
|
|
56
|
+
},
|
|
57
|
+
"features": {
|
|
58
|
+
"title": "Features",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "The features to build",
|
|
61
|
+
"oneOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"id": "#features"
|
|
73
|
+
},
|
|
74
|
+
"allFeatures": {
|
|
75
|
+
"title": "All Features",
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"description": "Build all features",
|
|
78
|
+
"id": "#allFeatures"
|
|
79
|
+
},
|
|
80
|
+
"registry": {
|
|
81
|
+
"title": "Registry",
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "The registry to publish to",
|
|
84
|
+
"id": "#registry"
|
|
85
|
+
},
|
|
86
|
+
"packageRoot": {
|
|
87
|
+
"title": "Package Root",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"format": "path",
|
|
90
|
+
"description": "The path to the package root",
|
|
91
|
+
"id": "#packageRoot"
|
|
92
|
+
},
|
|
93
|
+
"dryRun": {
|
|
94
|
+
"title": "Dry Run",
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"description": "Perform a dry run",
|
|
97
|
+
"id": "#dryRun"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"type": "object",
|
|
101
|
+
"default": {
|
|
102
|
+
"package": "{projectRoot}/Cargo.toml",
|
|
103
|
+
"toolchain": "stable"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkLQHVZMFVjs = require('../../../chunk-LQHVZMFV.js');
|
|
4
|
+
require('../../../chunk-7JRL2LE3.js');
|
|
5
|
+
|
|
6
|
+
// src/executors/cargo-publish/untyped.ts
|
|
7
|
+
var _untyped = require('untyped');
|
|
8
|
+
var untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
9
|
+
..._chunkLQHVZMFVjs.cargo_base_executor_untyped_default,
|
|
10
|
+
$schema: {
|
|
11
|
+
id: "CargoPublishExecutorSchema",
|
|
12
|
+
title: "Cargo Publish Executor",
|
|
13
|
+
description: "A type definition for a Cargo/rust Publish executor schema"
|
|
14
|
+
},
|
|
15
|
+
registry: {
|
|
16
|
+
$schema: {
|
|
17
|
+
title: "Registry",
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "The registry to publish to"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
packageRoot: {
|
|
23
|
+
$schema: {
|
|
24
|
+
title: "Package Root",
|
|
25
|
+
type: "string",
|
|
26
|
+
format: "path",
|
|
27
|
+
description: "The path to the package root"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
dryRun: {
|
|
31
|
+
$schema: {
|
|
32
|
+
title: "Dry Run",
|
|
33
|
+
type: "boolean",
|
|
34
|
+
description: "Perform a dry run"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
exports.default = untyped_default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cargo_base_executor_untyped_default
|
|
3
|
+
} from "../../../chunk-QQB6GFYM.mjs";
|
|
4
|
+
import "../../../chunk-ZCTECGQS.mjs";
|
|
5
|
+
import "../../../chunk-C3NYIWL4.mjs";
|
|
6
|
+
|
|
7
|
+
// src/executors/cargo-publish/untyped.ts
|
|
8
|
+
import { defineUntypedSchema } from "untyped";
|
|
9
|
+
var untyped_default = defineUntypedSchema({
|
|
10
|
+
...cargo_base_executor_untyped_default,
|
|
11
|
+
$schema: {
|
|
12
|
+
id: "CargoPublishExecutorSchema",
|
|
13
|
+
title: "Cargo Publish Executor",
|
|
14
|
+
description: "A type definition for a Cargo/rust Publish executor schema"
|
|
15
|
+
},
|
|
16
|
+
registry: {
|
|
17
|
+
$schema: {
|
|
18
|
+
title: "Registry",
|
|
19
|
+
type: "string",
|
|
20
|
+
description: "The registry to publish to"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
packageRoot: {
|
|
24
|
+
$schema: {
|
|
25
|
+
title: "Package Root",
|
|
26
|
+
type: "string",
|
|
27
|
+
format: "path",
|
|
28
|
+
description: "The path to the package root"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
dryRun: {
|
|
32
|
+
$schema: {
|
|
33
|
+
title: "Dry Run",
|
|
34
|
+
type: "boolean",
|
|
35
|
+
description: "Perform a dry run"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
untyped_default as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as _nx_devkit from '@nx/devkit';
|
|
2
|
+
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
+
import { S as StormWorkspaceConfig } from '../../../types-Dug-2iKz.mjs';
|
|
4
|
+
import { C as CleanPackageExecutorSchema } from '../../../schema.d-B9y7rRms.mjs';
|
|
5
|
+
import 'zod';
|
|
6
|
+
import 'zod/v4/mini';
|
|
7
|
+
|
|
8
|
+
declare function cleanPackageExecutorFn(options: CleanPackageExecutorSchema, context: ExecutorContext, config: StormWorkspaceConfig): Promise<{
|
|
9
|
+
success: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
declare const _default: _nx_devkit.PromiseExecutor<CleanPackageExecutorSchema>;
|
|
12
|
+
|
|
13
|
+
export { cleanPackageExecutorFn, _default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as _nx_devkit from '@nx/devkit';
|
|
2
|
+
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
+
import { S as StormWorkspaceConfig } from '../../../types-Dug-2iKz.js';
|
|
4
|
+
import { C as CleanPackageExecutorSchema } from '../../../schema.d-B9y7rRms.js';
|
|
5
|
+
import 'zod';
|
|
6
|
+
import 'zod/v4/mini';
|
|
7
|
+
|
|
8
|
+
declare function cleanPackageExecutorFn(options: CleanPackageExecutorSchema, context: ExecutorContext, config: StormWorkspaceConfig): Promise<{
|
|
9
|
+
success: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
declare const _default: _nx_devkit.PromiseExecutor<CleanPackageExecutorSchema>;
|
|
12
|
+
|
|
13
|
+
export { cleanPackageExecutorFn, _default as default };
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkCBVZ57E6js = require('../../../chunk-CBVZ57E6.js');
|
|
4
|
+
require('../../../chunk-HXQRGLII.js');
|
|
5
|
+
require('../../../chunk-CQIILJEF.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkGZA2CV3Cjs = require('../../../chunk-GZA2CV3C.js');
|
|
9
|
+
require('../../../chunk-LMYTVXGX.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkCQDBLKPFjs = require('../../../chunk-CQDBLKPF.js');
|
|
13
|
+
|
|
14
|
+
// src/executors/clean-package/executor.ts
|
|
15
|
+
var _devkit = require('@nx/devkit');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _fsextra = require('fs-extra');
|
|
26
|
+
var _glob = require('glob');
|
|
27
|
+
|
|
28
|
+
// src/executors/clean-package/constants.ts
|
|
29
|
+
var IGNORE_FILES = [
|
|
30
|
+
".circleci",
|
|
31
|
+
".DS_Store",
|
|
32
|
+
".editorconfig",
|
|
33
|
+
".eslintignore",
|
|
34
|
+
".flowconfig",
|
|
35
|
+
".git",
|
|
36
|
+
".github",
|
|
37
|
+
".travis.yml",
|
|
38
|
+
".vscode",
|
|
39
|
+
".watchmanconfig",
|
|
40
|
+
".yarnrc",
|
|
41
|
+
"appveyor.yml",
|
|
42
|
+
"karma.conf.js",
|
|
43
|
+
"node_modules",
|
|
44
|
+
"package-lock.json",
|
|
45
|
+
"pnpm-debug.log",
|
|
46
|
+
"pnpm-lock.yaml",
|
|
47
|
+
".devcontainer.json",
|
|
48
|
+
"test",
|
|
49
|
+
"yarn-error.log",
|
|
50
|
+
"yarn.lock",
|
|
51
|
+
/^(babel|commitlint|jest|vitest)\.config\.[cm]?(j|t)s$/,
|
|
52
|
+
/^\.?nano-staged\.(c|m)?js(on)?$/,
|
|
53
|
+
/^\.?simple-git-hooks.js(on)?$/,
|
|
54
|
+
/^\.?simple-pre-commit.js(on)?$/,
|
|
55
|
+
/^\.babelrc/,
|
|
56
|
+
/^\.clean-publish/,
|
|
57
|
+
/^\.commitlintrc/,
|
|
58
|
+
/^\.eslintrc/,
|
|
59
|
+
/^\.jsconfig/,
|
|
60
|
+
/^\.jsdocrc/,
|
|
61
|
+
/^\.lintstagedrc/,
|
|
62
|
+
/^\.nanostagedrc/,
|
|
63
|
+
/^\.prettierrc/,
|
|
64
|
+
/^\.remarkrc/,
|
|
65
|
+
/^\.renovaterc/,
|
|
66
|
+
/^\.size-limit/,
|
|
67
|
+
/^\.yaspellerrc/,
|
|
68
|
+
/^changelog/i,
|
|
69
|
+
/eslint.config.(c|m)?js/,
|
|
70
|
+
/README\.[\w-]+\.md/
|
|
71
|
+
];
|
|
72
|
+
var IGNORE_FIELDS = [
|
|
73
|
+
"babel",
|
|
74
|
+
"browserslist",
|
|
75
|
+
"c8",
|
|
76
|
+
"clean-publish",
|
|
77
|
+
"commitlint",
|
|
78
|
+
"devDependencies",
|
|
79
|
+
"eslintConfig",
|
|
80
|
+
"eslintIgnore",
|
|
81
|
+
"husky",
|
|
82
|
+
"jest",
|
|
83
|
+
"lint-staged",
|
|
84
|
+
"nano-staged",
|
|
85
|
+
"pre-commit",
|
|
86
|
+
"prettier",
|
|
87
|
+
"pwmetrics",
|
|
88
|
+
"remarkConfig",
|
|
89
|
+
"renovate",
|
|
90
|
+
"resolutions",
|
|
91
|
+
"sharec",
|
|
92
|
+
"simple-git-hooks",
|
|
93
|
+
"simple-pre-commit",
|
|
94
|
+
"size-limit",
|
|
95
|
+
"storm",
|
|
96
|
+
"typeCoverage",
|
|
97
|
+
"yaspeller"
|
|
98
|
+
];
|
|
99
|
+
var NPM_SCRIPTS = [
|
|
100
|
+
"postinstall",
|
|
101
|
+
"postpack",
|
|
102
|
+
"postpublish",
|
|
103
|
+
"postversion",
|
|
104
|
+
"prepublish",
|
|
105
|
+
"publish",
|
|
106
|
+
"uninstall",
|
|
107
|
+
"version"
|
|
108
|
+
];
|
|
109
|
+
var PUBLISH_CONFIG_FIELDS = [
|
|
110
|
+
"bin",
|
|
111
|
+
"main",
|
|
112
|
+
"exports",
|
|
113
|
+
"types",
|
|
114
|
+
"typings",
|
|
115
|
+
"module",
|
|
116
|
+
"browser",
|
|
117
|
+
"esnext",
|
|
118
|
+
"es2015",
|
|
119
|
+
"unpkg",
|
|
120
|
+
"umd:main",
|
|
121
|
+
"typesVersions",
|
|
122
|
+
"cpu",
|
|
123
|
+
"os"
|
|
124
|
+
];
|
|
125
|
+
|
|
126
|
+
// src/executors/clean-package/utils.ts
|
|
127
|
+
|
|
128
|
+
var _micromatch = require('micromatch'); var _micromatch2 = _interopRequireDefault(_micromatch);
|
|
129
|
+
var _path = require('path');
|
|
130
|
+
function isObject(object) {
|
|
131
|
+
return Boolean(object) && typeof object === "object";
|
|
132
|
+
}
|
|
133
|
+
function filterObjectByKey(object, filterByKey = (key) => true, deep = false) {
|
|
134
|
+
const result = {};
|
|
135
|
+
let changed = false;
|
|
136
|
+
for (const key in object) {
|
|
137
|
+
if (filterByKey(key)) {
|
|
138
|
+
if (deep && isObject(object[key])) {
|
|
139
|
+
result[key] = filterObjectByKey(object[key], filterByKey, deep);
|
|
140
|
+
if (result[key] !== object[key]) {
|
|
141
|
+
changed = true;
|
|
142
|
+
}
|
|
143
|
+
} else {
|
|
144
|
+
result[key] = object[key];
|
|
145
|
+
}
|
|
146
|
+
} else {
|
|
147
|
+
changed = true;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return changed ? result : object;
|
|
151
|
+
}
|
|
152
|
+
function createIgnoreMatcher(ignorePattern = "**/*") {
|
|
153
|
+
if (ignorePattern instanceof RegExp) {
|
|
154
|
+
return (filename) => !ignorePattern.test(filename);
|
|
155
|
+
}
|
|
156
|
+
if (_glob.hasMagic.call(void 0, ignorePattern, { magicalBraces: true })) {
|
|
157
|
+
const isMatch = _micromatch2.default.matcher(ignorePattern);
|
|
158
|
+
return (_filename, path) => !isMatch(path);
|
|
159
|
+
}
|
|
160
|
+
return (filename) => filename !== ignorePattern;
|
|
161
|
+
}
|
|
162
|
+
async function createFilesFilter(ignoreFiles = "", cwd) {
|
|
163
|
+
let ignoreFilesList = [];
|
|
164
|
+
if (ignoreFiles) {
|
|
165
|
+
const glob = new (0, _glob.Glob)(ignoreFiles, { cwd });
|
|
166
|
+
ignoreFilesList = await glob.walk();
|
|
167
|
+
}
|
|
168
|
+
const ignorePatterns = ignoreFilesList.length > 0 ? IGNORE_FILES.concat(...ignoreFilesList).filter(Boolean) : IGNORE_FILES;
|
|
169
|
+
const filter = ignorePatterns.reduce(
|
|
170
|
+
(next, ignorePattern) => {
|
|
171
|
+
const ignoreMatcher = createIgnoreMatcher(ignorePattern);
|
|
172
|
+
if (!next) {
|
|
173
|
+
return ignoreMatcher;
|
|
174
|
+
}
|
|
175
|
+
return (filename, path) => ignoreMatcher(filename, path) && next && next(filename, path);
|
|
176
|
+
},
|
|
177
|
+
null
|
|
178
|
+
);
|
|
179
|
+
return (path) => {
|
|
180
|
+
const filename = _path.basename.call(void 0, path);
|
|
181
|
+
return _optionalChain([filter, 'optionalCall', _2 => _2(filename, path)]);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// src/executors/clean-package/executor.ts
|
|
186
|
+
async function cleanPackageExecutorFn(options, context, config) {
|
|
187
|
+
const tempDirectoryName = _devkit.joinPathFragments.call(void 0,
|
|
188
|
+
config.workspaceRoot,
|
|
189
|
+
"tmp",
|
|
190
|
+
context.root
|
|
191
|
+
);
|
|
192
|
+
const exists = await _fsextra.pathExists.call(void 0, tempDirectoryName);
|
|
193
|
+
if (exists) {
|
|
194
|
+
_chunkGZA2CV3Cjs.writeInfo.call(void 0,
|
|
195
|
+
`\u{1F9F9} Cleaning temporary directory path: ${tempDirectoryName}`,
|
|
196
|
+
config
|
|
197
|
+
);
|
|
198
|
+
await _fsextra.remove.call(void 0, tempDirectoryName);
|
|
199
|
+
}
|
|
200
|
+
await _fsextra.mkdir.call(void 0, tempDirectoryName);
|
|
201
|
+
_chunkGZA2CV3Cjs.writeInfo.call(void 0, `Created temporary directory: ${tempDirectoryName}`, config);
|
|
202
|
+
const packageJson = await _fsextra.readJson.call(void 0, options.packageJsonPath);
|
|
203
|
+
await _fsextra.copy.call(void 0, options.outputPath, tempDirectoryName, {
|
|
204
|
+
filter: createFilesFilter(options.ignoredFiles, options.outputPath)
|
|
205
|
+
});
|
|
206
|
+
if (options.cleanReadMe) {
|
|
207
|
+
await cleanReadMe(
|
|
208
|
+
tempDirectoryName,
|
|
209
|
+
packageJson.repository,
|
|
210
|
+
packageJson.homepage
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
if (options.cleanComments) {
|
|
214
|
+
await cleanComments(tempDirectoryName);
|
|
215
|
+
}
|
|
216
|
+
const tempPackageJson = clearPackageJSON(packageJson, options.fields);
|
|
217
|
+
_fsextra.writeJson.call(void 0,
|
|
218
|
+
_devkit.joinPathFragments.call(void 0, tempDirectoryName, "package.json"),
|
|
219
|
+
tempPackageJson
|
|
220
|
+
);
|
|
221
|
+
await _fsextra.copy.call(void 0, tempDirectoryName, options.outputPath, {
|
|
222
|
+
override: true,
|
|
223
|
+
preserveTimestamps: true
|
|
224
|
+
});
|
|
225
|
+
await _fsextra.remove.call(void 0, tempDirectoryName);
|
|
226
|
+
return {
|
|
227
|
+
success: true
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
function getReadmeUrlFromRepository(repository) {
|
|
231
|
+
const repoUrl = typeof repository === "object" ? repository.url : repository;
|
|
232
|
+
if (repoUrl) {
|
|
233
|
+
const name = _optionalChain([repoUrl, 'access', _3 => _3.match, 'call', _4 => _4(/[^/:]+\/[^/:]+$/), 'optionalAccess', _5 => _5[0], 'optionalAccess', _6 => _6.replace, 'call', _7 => _7(/\.git$/, "")]);
|
|
234
|
+
return `https://github.com/${name}#README.md`;
|
|
235
|
+
}
|
|
236
|
+
return null;
|
|
237
|
+
}
|
|
238
|
+
async function cleanReadMe(directoryName, repository, homepage) {
|
|
239
|
+
const readmePath = _devkit.joinPathFragments.call(void 0, directoryName, "README.md");
|
|
240
|
+
const readme = await _fsextra.readFile.call(void 0, readmePath);
|
|
241
|
+
const readmeUrl = getReadmeUrlFromRepository(repository);
|
|
242
|
+
if (homepage || readmeUrl) {
|
|
243
|
+
const cleaned = readme.toString().split(/\n##\s*\w/m)[0] + `
|
|
244
|
+
## Documentation
|
|
245
|
+
Read full docs **[here](${homepage || readmeUrl})**.
|
|
246
|
+
`;
|
|
247
|
+
await _fsextra.writeFile.call(void 0, readmePath, cleaned);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
async function cleanComments(directoryName) {
|
|
251
|
+
const glob = new (0, _glob.Glob)(["**/*.js"], { cwd: directoryName });
|
|
252
|
+
const files = await glob.walk();
|
|
253
|
+
await Promise.all(
|
|
254
|
+
files.map(async (i) => {
|
|
255
|
+
const file = _devkit.joinPathFragments.call(void 0, directoryName, i);
|
|
256
|
+
const content = await _fsextra.readFile.call(void 0, file);
|
|
257
|
+
const cleaned = content.toString().replace(/\s*\/\/.*\n/gm, "\n").replace(/\s*\/\*[^/]+\*\/\n?/gm, "\n").replace(/\n+/gm, "\n").replace(/^\n+/gm, "");
|
|
258
|
+
await _fsextra.writeFile.call(void 0, file, cleaned);
|
|
259
|
+
})
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
function clearPackageJSON(packageJson, inputIgnoreFields) {
|
|
263
|
+
const ignoreFields = inputIgnoreFields ? IGNORE_FIELDS.concat(inputIgnoreFields) : IGNORE_FIELDS;
|
|
264
|
+
if (!packageJson.publishConfig) {
|
|
265
|
+
return packageJson;
|
|
266
|
+
}
|
|
267
|
+
const publishConfig = {
|
|
268
|
+
...packageJson.publishConfig
|
|
269
|
+
};
|
|
270
|
+
PUBLISH_CONFIG_FIELDS.forEach((field) => {
|
|
271
|
+
if (publishConfig[field]) {
|
|
272
|
+
packageJson[field] = publishConfig[field];
|
|
273
|
+
delete publishConfig[field];
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
if (!Object.keys(publishConfig).length) {
|
|
277
|
+
const { publishConfig: _, ...pkg } = packageJson;
|
|
278
|
+
return pkg;
|
|
279
|
+
}
|
|
280
|
+
const cleanPackageJSON = filterObjectByKey(
|
|
281
|
+
{
|
|
282
|
+
...packageJson,
|
|
283
|
+
publishConfig
|
|
284
|
+
},
|
|
285
|
+
(key) => !!(key && !ignoreFields.includes(key) && key !== "scripts")
|
|
286
|
+
);
|
|
287
|
+
if (packageJson.scripts && !ignoreFields.includes("scripts")) {
|
|
288
|
+
cleanPackageJSON.scripts = filterObjectByKey(
|
|
289
|
+
packageJson.scripts,
|
|
290
|
+
(script) => !!(script && NPM_SCRIPTS.includes(script))
|
|
291
|
+
);
|
|
292
|
+
if (cleanPackageJSON.scripts.publish && /^clean-publish( |$)/.test(cleanPackageJSON.scripts.publish)) {
|
|
293
|
+
delete cleanPackageJSON.scripts.publish;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
for (const i in cleanPackageJSON) {
|
|
297
|
+
if (isObject(cleanPackageJSON[i]) && Object.keys(cleanPackageJSON[i]).length === 0) {
|
|
298
|
+
delete cleanPackageJSON[i];
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return cleanPackageJSON;
|
|
302
|
+
}
|
|
303
|
+
var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
|
|
304
|
+
"Storm Clean-Package executor",
|
|
305
|
+
cleanPackageExecutorFn,
|
|
306
|
+
{
|
|
307
|
+
skipReadingConfig: false,
|
|
308
|
+
hooks: {
|
|
309
|
+
applyDefaultOptions: (options) => {
|
|
310
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
311
|
+
options.packageJsonPath ??= _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
312
|
+
options.outputPath,
|
|
313
|
+
"package.json"
|
|
314
|
+
);
|
|
315
|
+
options.cleanReadMe ??= true;
|
|
316
|
+
options.cleanComments ??= true;
|
|
317
|
+
return options;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
);
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
exports.cleanPackageExecutorFn = cleanPackageExecutorFn; exports.default = executor_default;
|