@storm-software/workspace-tools 1.295.65 → 1.295.66
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/package.json +10 -9
- package/CHANGELOG.md +0 -12793
- package/LICENSE +0 -201
- package/README.md +0 -996
- package/assets/cjs_shims.js +0 -11
- package/assets/esm_shims.js +0 -9
- package/config/base.json +0 -325
- package/config/recommended.json +0 -329
- package/dist/chunk-237PJK2V.js +0 -128
- package/dist/chunk-2AVWFUXP.js +0 -112
- package/dist/chunk-2JANPL5K.js +0 -49
- package/dist/chunk-2NAUEEZT.js +0 -31
- package/dist/chunk-2QMGYIOO.mjs +0 -81
- package/dist/chunk-32KQVUCF.js +0 -163
- package/dist/chunk-34LSWMWV.mjs +0 -20
- package/dist/chunk-3J2CP54B.mjs +0 -100
- package/dist/chunk-3QM6CFXC.mjs +0 -49
- package/dist/chunk-437WGH2M.mjs +0 -32
- package/dist/chunk-46GNS53C.mjs +0 -110
- package/dist/chunk-4AKDRRML.js +0 -339
- package/dist/chunk-4U7A2VWZ.mjs +0 -105
- package/dist/chunk-4ZQUYG5T.js +0 -37
- package/dist/chunk-52CEFR2O.js +0 -52
- package/dist/chunk-5GZC2PF6.mjs +0 -0
- package/dist/chunk-5JNL56OH.mjs +0 -364
- package/dist/chunk-6EMYX25V.js +0 -7
- package/dist/chunk-6YZ3OUJB.mjs +0 -0
- package/dist/chunk-77B77QNY.mjs +0 -148
- package/dist/chunk-7CJRMBX3.js +0 -20
- package/dist/chunk-7JRL2LE3.js +0 -21
- package/dist/chunk-7RI43PE4.js +0 -32
- package/dist/chunk-A7XSX2OE.js +0 -41
- package/dist/chunk-AGR3NCGA.js +0 -387
- package/dist/chunk-AH7KAAQJ.mjs +0 -17
- package/dist/chunk-AKIVYTFU.mjs +0 -10
- package/dist/chunk-AMGMD43G.mjs +0 -93
- package/dist/chunk-ANHKV7HZ.js +0 -22
- package/dist/chunk-AQ7B26V3.mjs +0 -126
- package/dist/chunk-AQTWWTF2.mjs +0 -388
- package/dist/chunk-AZMDS7CR.mjs +0 -82
- package/dist/chunk-BRMFLUTQ.js +0 -117
- package/dist/chunk-BZMYB75M.js +0 -321
- package/dist/chunk-C3TC7AUW.js +0 -1
- package/dist/chunk-CJVTWYOM.mjs +0 -50
- package/dist/chunk-CNL74KSJ.mjs +0 -52
- package/dist/chunk-CQDBLKPF.js +0 -172
- package/dist/chunk-CZPRVK6P.mjs +0 -31
- package/dist/chunk-DIUWF7BW.js +0 -17
- package/dist/chunk-DTBAID2E.mjs +0 -469
- package/dist/chunk-DZ3VLKI7.js +0 -102
- package/dist/chunk-EGI64HQ2.mjs +0 -22
- package/dist/chunk-FHHWAN4N.js +0 -50
- package/dist/chunk-FKPWMB63.mjs +0 -79
- package/dist/chunk-FVCRMDQ4.mjs +0 -319
- package/dist/chunk-GBT7YI3X.js +0 -548
- package/dist/chunk-GHQJKIMQ.mjs +0 -0
- package/dist/chunk-GKLFEOKK.mjs +0 -163
- package/dist/chunk-GSGT2T27.js +0 -150
- package/dist/chunk-HXQRGLII.js +0 -81
- package/dist/chunk-IIDZJGC3.js +0 -469
- package/dist/chunk-IK2SIG4W.mjs +0 -32
- package/dist/chunk-IVAYCDYI.js +0 -250
- package/dist/chunk-JCPIXJ3N.mjs +0 -37
- package/dist/chunk-JGP4YWZY.js +0 -1
- package/dist/chunk-K7B3YICS.mjs +0 -1510
- package/dist/chunk-KBIJQTKM.js +0 -105
- package/dist/chunk-KBJ7IEXI.js +0 -1
- package/dist/chunk-KR72GKIT.mjs +0 -7
- package/dist/chunk-LMYTVXGX.js +0 -100
- package/dist/chunk-LOIAWLLD.mjs +0 -128
- package/dist/chunk-LQHVZMFV.js +0 -79
- package/dist/chunk-LZ3H2OH5.mjs +0 -158
- package/dist/chunk-M3YWCYUX.mjs +0 -321
- package/dist/chunk-NFQJD3ZU.mjs +0 -253
- package/dist/chunk-OKSECMVK.js +0 -32
- package/dist/chunk-OV6RS5V7.mjs +0 -49
- package/dist/chunk-P5P43FOZ.mjs +0 -0
- package/dist/chunk-P6HSE7LH.js +0 -1
- package/dist/chunk-PHIKLLXQ.js +0 -32
- package/dist/chunk-PMPKOMMD.js +0 -158
- package/dist/chunk-QC5ON3X4.mjs +0 -40
- package/dist/chunk-QKYQP5DB.js +0 -93
- package/dist/chunk-QLV3LANL.js +0 -32
- package/dist/chunk-QQB6GFYM.mjs +0 -79
- package/dist/chunk-QVYCDING.js +0 -23
- package/dist/chunk-R4NPC2W7.mjs +0 -213
- package/dist/chunk-RGPA6TMT.js +0 -364
- package/dist/chunk-RN4I4XGR.mjs +0 -117
- package/dist/chunk-RSYBXBX2.js +0 -110
- package/dist/chunk-RU37AI75.mjs +0 -548
- package/dist/chunk-RW4Q2PQR.js +0 -213
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-SEZ726NO.mjs +0 -150
- package/dist/chunk-SW2E5MQJ.mjs +0 -112
- package/dist/chunk-SZWM7COV.js +0 -40
- package/dist/chunk-T55IDP24.mjs +0 -387
- package/dist/chunk-TBW5MCN6.mjs +0 -172
- package/dist/chunk-TM2CRDJW.js +0 -148
- package/dist/chunk-TX5O64JJ.js +0 -319
- package/dist/chunk-TXTNKYJN.js +0 -388
- package/dist/chunk-U35L6YML.mjs +0 -105
- package/dist/chunk-UBVTASOE.mjs +0 -62
- package/dist/chunk-UE6LE5R2.mjs +0 -32
- package/dist/chunk-UHTWNVEZ.js +0 -126
- package/dist/chunk-UKTILFKM.mjs +0 -32
- package/dist/chunk-UNUH7N7Y.mjs +0 -76
- package/dist/chunk-UTP3KI2H.js +0 -76
- package/dist/chunk-V5K2PDVY.mjs +0 -339
- package/dist/chunk-VBIWSFWM.js +0 -79
- package/dist/chunk-VHB2R4EV.mjs +0 -77
- package/dist/chunk-VTEU7W42.mjs +0 -41
- package/dist/chunk-VXHOSAQ7.js +0 -62
- package/dist/chunk-W2C5IGWW.mjs +0 -23
- package/dist/chunk-WPR4KZUZ.js +0 -74
- package/dist/chunk-WUKU43IZ.js +0 -49
- package/dist/chunk-XZ6L6OXJ.js +0 -79
- package/dist/chunk-YYLV7UA6.js +0 -1
- package/dist/chunk-ZCTECGQS.mjs +0 -21
- package/dist/chunk-ZJ75AYXE.js +0 -1510
- package/dist/executor-0ivVjqma.d.mts +0 -75
- package/dist/executor-0ivVjqma.d.ts +0 -75
- package/dist/executor-BAeunL4c.d.mts +0 -143
- package/dist/executor-BKdjKo-J.d.mts +0 -93
- package/dist/executor-BKdjKo-J.d.ts +0 -93
- package/dist/executor-BbIkDktz.d.mts +0 -103
- package/dist/executor-BbIkDktz.d.ts +0 -103
- package/dist/executor-BxzAij2P.d.ts +0 -57
- package/dist/executor-C4Ddk0eB.d.mts +0 -145
- package/dist/executor-CPBR709C.d.ts +0 -143
- package/dist/executor-CPh7sG83.d.mts +0 -57
- package/dist/executor-CVgzIGPj.d.mts +0 -95
- package/dist/executor-CVgzIGPj.d.ts +0 -95
- package/dist/executor-CWRRdIo2.d.mts +0 -95
- package/dist/executor-CWRRdIo2.d.ts +0 -95
- package/dist/executor-DA8yyqTK.d.mts +0 -33
- package/dist/executor-DJOXX8-N.d.mts +0 -267
- package/dist/executor-DcKEmf82.d.ts +0 -305
- package/dist/executor-DpEbHA1f.d.mts +0 -131
- package/dist/executor-DpEbHA1f.d.ts +0 -131
- package/dist/executor-DvfMQSTP.d.mts +0 -305
- package/dist/executor-HMyCQrhV.d.ts +0 -33
- package/dist/executor-YAjz4bej.d.ts +0 -267
- package/dist/executor-jYQ7uQ13.d.mts +0 -121
- package/dist/executor-jYQ7uQ13.d.ts +0 -121
- package/dist/executor-lCseKo3l.d.ts +0 -145
- package/dist/executors.d.mts +0 -18
- package/dist/executors.d.ts +0 -18
- package/dist/executors.js +0 -66
- package/dist/executors.mjs +0 -67
- package/dist/generator-0E5nSU3V.d.mts +0 -130
- package/dist/generator-B3NZ6Ud2.d.ts +0 -130
- package/dist/generator-BSMRuLJg.d.ts +0 -38
- package/dist/generator-C5Cl-DE-.d.ts +0 -108
- package/dist/generator-CNhbKDrd.d.mts +0 -38
- package/dist/generator-CRj1yNiR.d.ts +0 -130
- package/dist/generator-CV5_wiZn.d.mts +0 -108
- package/dist/generator-DMoo8xwP.d.mts +0 -130
- package/dist/generator-DPnGd9Bq.d.ts +0 -130
- package/dist/generator-PrphSHj3.d.mts +0 -130
- package/dist/generators.d.mts +0 -12
- package/dist/generators.d.ts +0 -12
- package/dist/generators.js +0 -36
- package/dist/generators.mjs +0 -37
- package/dist/index.d.mts +0 -60
- package/dist/index.d.ts +0 -60
- package/dist/index.js +0 -299
- package/dist/index.mjs +0 -300
- package/dist/init-6Nmtv8d5.d.mts +0 -19
- package/dist/init-6Nmtv8d5.d.ts +0 -19
- package/dist/schema.d-B9y7rRms.d.mts +0 -59
- package/dist/schema.d-B9y7rRms.d.ts +0 -59
- package/dist/src/base/base-executor.d.mts +0 -10
- package/dist/src/base/base-executor.d.ts +0 -10
- package/dist/src/base/base-executor.js +0 -11
- package/dist/src/base/base-executor.mjs +0 -12
- package/dist/src/base/base-executor.untyped.d.mts +0 -5
- package/dist/src/base/base-executor.untyped.d.ts +0 -5
- package/dist/src/base/base-executor.untyped.js +0 -6
- package/dist/src/base/base-executor.untyped.mjs +0 -7
- package/dist/src/base/base-generator.d.mts +0 -10
- package/dist/src/base/base-generator.d.ts +0 -10
- package/dist/src/base/base-generator.js +0 -11
- package/dist/src/base/base-generator.mjs +0 -12
- package/dist/src/base/base-generator.untyped.d.mts +0 -5
- package/dist/src/base/base-generator.untyped.d.ts +0 -5
- package/dist/src/base/base-generator.untyped.js +0 -6
- package/dist/src/base/base-generator.untyped.mjs +0 -7
- package/dist/src/base/cargo-base-executor.untyped.d.mts +0 -5
- package/dist/src/base/cargo-base-executor.untyped.d.ts +0 -5
- package/dist/src/base/cargo-base-executor.untyped.js +0 -7
- package/dist/src/base/cargo-base-executor.untyped.mjs +0 -8
- package/dist/src/base/index.d.mts +0 -154
- package/dist/src/base/index.d.ts +0 -154
- package/dist/src/base/index.js +0 -48
- package/dist/src/base/index.mjs +0 -49
- package/dist/src/base/typescript-build-executor.untyped.d.mts +0 -5
- package/dist/src/base/typescript-build-executor.untyped.d.ts +0 -5
- package/dist/src/base/typescript-build-executor.untyped.js +0 -7
- package/dist/src/base/typescript-build-executor.untyped.mjs +0 -8
- package/dist/src/base/typescript-library-generator.untyped.d.mts +0 -5
- package/dist/src/base/typescript-library-generator.untyped.d.ts +0 -5
- package/dist/src/base/typescript-library-generator.untyped.js +0 -7
- package/dist/src/base/typescript-library-generator.untyped.mjs +0 -8
- package/dist/src/executors/cargo-build/executor.d.mts +0 -2
- package/dist/src/executors/cargo-build/executor.d.ts +0 -2
- package/dist/src/executors/cargo-build/executor.js +0 -15
- package/dist/src/executors/cargo-build/executor.mjs +0 -16
- package/dist/src/executors/cargo-build/schema.d.ts +0 -86
- package/dist/src/executors/cargo-build/schema.json +0 -85
- package/dist/src/executors/cargo-build/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-build/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-build/untyped.js +0 -25
- package/dist/src/executors/cargo-build/untyped.mjs +0 -26
- package/dist/src/executors/cargo-check/executor.d.mts +0 -2
- package/dist/src/executors/cargo-check/executor.d.ts +0 -2
- package/dist/src/executors/cargo-check/executor.js +0 -15
- package/dist/src/executors/cargo-check/executor.mjs +0 -16
- package/dist/src/executors/cargo-check/schema.d.ts +0 -88
- package/dist/src/executors/cargo-check/schema.json +0 -86
- package/dist/src/executors/cargo-check/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-check/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-check/untyped.js +0 -18
- package/dist/src/executors/cargo-check/untyped.mjs +0 -19
- package/dist/src/executors/cargo-clippy/executor.d.mts +0 -2
- package/dist/src/executors/cargo-clippy/executor.d.ts +0 -2
- package/dist/src/executors/cargo-clippy/executor.js +0 -15
- package/dist/src/executors/cargo-clippy/executor.mjs +0 -16
- package/dist/src/executors/cargo-clippy/schema.d.ts +0 -96
- package/dist/src/executors/cargo-clippy/schema.json +0 -92
- package/dist/src/executors/cargo-clippy/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-clippy/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-clippy/untyped.js +0 -25
- package/dist/src/executors/cargo-clippy/untyped.mjs +0 -26
- package/dist/src/executors/cargo-doc/executor.d.mts +0 -2
- package/dist/src/executors/cargo-doc/executor.d.ts +0 -2
- package/dist/src/executors/cargo-doc/executor.js +0 -15
- package/dist/src/executors/cargo-doc/executor.mjs +0 -16
- package/dist/src/executors/cargo-doc/schema.d.ts +0 -124
- package/dist/src/executors/cargo-doc/schema.json +0 -162
- package/dist/src/executors/cargo-doc/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-doc/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-doc/untyped.js +0 -50
- package/dist/src/executors/cargo-doc/untyped.mjs +0 -51
- package/dist/src/executors/cargo-format/executor.d.mts +0 -2
- package/dist/src/executors/cargo-format/executor.d.ts +0 -2
- package/dist/src/executors/cargo-format/executor.js +0 -15
- package/dist/src/executors/cargo-format/executor.mjs +0 -16
- package/dist/src/executors/cargo-format/schema.d.ts +0 -88
- package/dist/src/executors/cargo-format/schema.json +0 -86
- package/dist/src/executors/cargo-format/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-format/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-format/untyped.js +0 -18
- package/dist/src/executors/cargo-format/untyped.mjs +0 -19
- package/dist/src/executors/cargo-publish/executor.d.mts +0 -2
- package/dist/src/executors/cargo-publish/executor.d.ts +0 -2
- package/dist/src/executors/cargo-publish/executor.js +0 -10
- package/dist/src/executors/cargo-publish/executor.mjs +0 -11
- package/dist/src/executors/cargo-publish/schema.d.ts +0 -114
- package/dist/src/executors/cargo-publish/schema.json +0 -105
- package/dist/src/executors/cargo-publish/untyped.d.mts +0 -5
- package/dist/src/executors/cargo-publish/untyped.d.ts +0 -5
- package/dist/src/executors/cargo-publish/untyped.js +0 -40
- package/dist/src/executors/cargo-publish/untyped.mjs +0 -41
- package/dist/src/executors/clean-package/executor.d.mts +0 -13
- package/dist/src/executors/clean-package/executor.d.ts +0 -13
- package/dist/src/executors/clean-package/executor.js +0 -325
- package/dist/src/executors/clean-package/executor.mjs +0 -326
- package/dist/src/executors/clean-package/schema.d.ts +0 -59
- package/dist/src/executors/clean-package/schema.json +0 -55
- package/dist/src/executors/clean-package/untyped.d.mts +0 -5
- package/dist/src/executors/clean-package/untyped.d.ts +0 -5
- package/dist/src/executors/clean-package/untyped.js +0 -64
- package/dist/src/executors/clean-package/untyped.mjs +0 -65
- package/dist/src/executors/esbuild/executor.d.mts +0 -5
- package/dist/src/executors/esbuild/executor.d.ts +0 -5
- package/dist/src/executors/esbuild/executor.js +0 -15
- package/dist/src/executors/esbuild/executor.mjs +0 -16
- package/dist/src/executors/esbuild/schema.d.ts +0 -136
- package/dist/src/executors/esbuild/schema.json +0 -163
- package/dist/src/executors/esbuild/untyped.d.mts +0 -5
- package/dist/src/executors/esbuild/untyped.d.ts +0 -5
- package/dist/src/executors/esbuild/untyped.js +0 -27
- package/dist/src/executors/esbuild/untyped.mjs +0 -28
- package/dist/src/executors/napi/executor.d.mts +0 -5
- package/dist/src/executors/napi/executor.d.ts +0 -5
- package/dist/src/executors/napi/executor.js +0 -15
- package/dist/src/executors/napi/executor.mjs +0 -16
- package/dist/src/executors/napi/schema.d.ts +0 -282
- package/dist/src/executors/napi/schema.json +0 -235
- package/dist/src/executors/napi/untyped.d.mts +0 -5
- package/dist/src/executors/napi/untyped.d.ts +0 -5
- package/dist/src/executors/napi/untyped.js +0 -241
- package/dist/src/executors/napi/untyped.mjs +0 -242
- package/dist/src/executors/npm-publish/executor.d.mts +0 -2
- package/dist/src/executors/npm-publish/executor.d.ts +0 -2
- package/dist/src/executors/npm-publish/executor.js +0 -15
- package/dist/src/executors/npm-publish/executor.mjs +0 -16
- package/dist/src/executors/npm-publish/schema.d.ts +0 -68
- package/dist/src/executors/npm-publish/schema.json +0 -61
- package/dist/src/executors/npm-publish/untyped.d.mts +0 -5
- package/dist/src/executors/npm-publish/untyped.d.ts +0 -5
- package/dist/src/executors/npm-publish/untyped.js +0 -66
- package/dist/src/executors/npm-publish/untyped.mjs +0 -68
- package/dist/src/executors/size-limit/executor.d.mts +0 -5
- package/dist/src/executors/size-limit/executor.d.ts +0 -5
- package/dist/src/executors/size-limit/executor.js +0 -14
- package/dist/src/executors/size-limit/executor.mjs +0 -15
- package/dist/src/executors/size-limit/schema.d.ts +0 -24
- package/dist/src/executors/size-limit/schema.json +0 -26
- package/dist/src/executors/size-limit/untyped.d.mts +0 -5
- package/dist/src/executors/size-limit/untyped.d.ts +0 -5
- package/dist/src/executors/size-limit/untyped.js +0 -28
- package/dist/src/executors/size-limit/untyped.mjs +0 -29
- package/dist/src/executors/tsdown/executor.d.mts +0 -5
- package/dist/src/executors/tsdown/executor.d.ts +0 -5
- package/dist/src/executors/tsdown/executor.js +0 -15
- package/dist/src/executors/tsdown/executor.mjs +0 -16
- package/dist/src/executors/tsdown/schema.d.ts +0 -134
- package/dist/src/executors/tsdown/schema.json +0 -172
- package/dist/src/executors/tsdown/untyped.d.mts +0 -5
- package/dist/src/executors/tsdown/untyped.d.ts +0 -5
- package/dist/src/executors/tsdown/untyped.js +0 -18
- package/dist/src/executors/tsdown/untyped.mjs +0 -19
- package/dist/src/executors/typia/executor.d.mts +0 -5
- package/dist/src/executors/typia/executor.d.ts +0 -5
- package/dist/src/executors/typia/executor.js +0 -14
- package/dist/src/executors/typia/executor.mjs +0 -15
- package/dist/src/executors/typia/schema.d.ts +0 -48
- package/dist/src/executors/typia/schema.json +0 -57
- package/dist/src/executors/typia/untyped.d.mts +0 -5
- package/dist/src/executors/typia/untyped.d.ts +0 -5
- package/dist/src/executors/typia/untyped.js +0 -54
- package/dist/src/executors/typia/untyped.mjs +0 -55
- package/dist/src/executors/unbuild/executor.d.mts +0 -5
- package/dist/src/executors/unbuild/executor.d.ts +0 -5
- package/dist/src/executors/unbuild/executor.js +0 -14
- package/dist/src/executors/unbuild/executor.mjs +0 -15
- package/dist/src/executors/unbuild/schema.d.ts +0 -258
- package/dist/src/executors/unbuild/schema.json +0 -301
- package/dist/src/executors/unbuild/untyped.d.mts +0 -5
- package/dist/src/executors/unbuild/untyped.d.ts +0 -5
- package/dist/src/executors/unbuild/untyped.js +0 -158
- package/dist/src/executors/unbuild/untyped.mjs +0 -159
- package/dist/src/generators/browser-library/files/README.md +0 -58
- package/dist/src/generators/browser-library/files/jest.config.ts +0 -3
- package/dist/src/generators/browser-library/files/src/index.ts.template +0 -10
- package/dist/src/generators/browser-library/files/tsconfig.spec.json +0 -13
- package/dist/src/generators/browser-library/generator.d.mts +0 -7
- package/dist/src/generators/browser-library/generator.d.ts +0 -7
- package/dist/src/generators/browser-library/generator.js +0 -17
- package/dist/src/generators/browser-library/generator.mjs +0 -18
- package/dist/src/generators/browser-library/schema.d.ts +0 -122
- package/dist/src/generators/browser-library/schema.json +0 -117
- package/dist/src/generators/browser-library/untyped.d.mts +0 -5
- package/dist/src/generators/browser-library/untyped.d.ts +0 -5
- package/dist/src/generators/browser-library/untyped.js +0 -36
- package/dist/src/generators/browser-library/untyped.mjs +0 -37
- package/dist/src/generators/config-schema/generator.d.mts +0 -7
- package/dist/src/generators/config-schema/generator.d.ts +0 -7
- package/dist/src/generators/config-schema/generator.js +0 -14
- package/dist/src/generators/config-schema/generator.mjs +0 -15
- package/dist/src/generators/config-schema/schema.d.ts +0 -23
- package/dist/src/generators/config-schema/schema.json +0 -24
- package/dist/src/generators/config-schema/untyped.d.mts +0 -5
- package/dist/src/generators/config-schema/untyped.d.ts +0 -5
- package/dist/src/generators/config-schema/untyped.js +0 -25
- package/dist/src/generators/config-schema/untyped.mjs +0 -26
- package/dist/src/generators/init/init.d.mts +0 -2
- package/dist/src/generators/init/init.d.ts +0 -2
- package/dist/src/generators/init/init.js +0 -8
- package/dist/src/generators/init/init.mjs +0 -9
- package/dist/src/generators/init/schema.d.ts +0 -14
- package/dist/src/generators/init/schema.json +0 -15
- package/dist/src/generators/init/untyped.d.mts +0 -5
- package/dist/src/generators/init/untyped.d.ts +0 -5
- package/dist/src/generators/init/untyped.js +0 -19
- package/dist/src/generators/init/untyped.mjs +0 -21
- package/dist/src/generators/neutral-library/files/README.md +0 -58
- package/dist/src/generators/neutral-library/files/jest.config.ts +0 -3
- package/dist/src/generators/neutral-library/files/src/index.ts.template +0 -10
- package/dist/src/generators/neutral-library/files/tsconfig.spec.json +0 -13
- package/dist/src/generators/neutral-library/generator.d.mts +0 -7
- package/dist/src/generators/neutral-library/generator.d.ts +0 -7
- package/dist/src/generators/neutral-library/generator.js +0 -17
- package/dist/src/generators/neutral-library/generator.mjs +0 -18
- package/dist/src/generators/neutral-library/schema.d.ts +0 -122
- package/dist/src/generators/neutral-library/schema.json +0 -116
- package/dist/src/generators/neutral-library/untyped.d.mts +0 -5
- package/dist/src/generators/neutral-library/untyped.d.ts +0 -5
- package/dist/src/generators/neutral-library/untyped.js +0 -36
- package/dist/src/generators/neutral-library/untyped.mjs +0 -37
- package/dist/src/generators/node-library/files/README.md +0 -63
- package/dist/src/generators/node-library/files/jest.config.ts +0 -3
- package/dist/src/generators/node-library/files/src/index.ts.template +0 -10
- package/dist/src/generators/node-library/files/tsconfig.spec.json +0 -13
- package/dist/src/generators/node-library/generator.d.mts +0 -7
- package/dist/src/generators/node-library/generator.d.ts +0 -7
- package/dist/src/generators/node-library/generator.js +0 -17
- package/dist/src/generators/node-library/generator.mjs +0 -18
- package/dist/src/generators/node-library/schema.d.ts +0 -122
- package/dist/src/generators/node-library/schema.json +0 -117
- package/dist/src/generators/node-library/untyped.d.mts +0 -5
- package/dist/src/generators/node-library/untyped.d.ts +0 -5
- package/dist/src/generators/node-library/untyped.js +0 -36
- package/dist/src/generators/node-library/untyped.mjs +0 -37
- package/dist/src/generators/preset/files/LICENSE +0 -201
- package/dist/src/generators/preset/files/README.md.template +0 -282
- package/dist/src/generators/preset/files/docs/readme-templates/README.footer.md.template +0 -123
- package/dist/src/generators/preset/files/docs/readme-templates/README.header.md.template +0 -22
- package/dist/src/generators/preset/files/eslint.config.js.template +0 -7
- package/dist/src/generators/preset/files/knip.json +0 -20
- package/dist/src/generators/preset/files/lefthook.json +0 -106
- package/dist/src/generators/preset/files/nx.json +0 -7
- package/dist/src/generators/preset/files/pnpm-workspace.yaml +0 -6
- package/dist/src/generators/preset/files/socket.yaml +0 -20
- package/dist/src/generators/preset/files/storm.json.template +0 -12
- package/dist/src/generators/preset/files/tsconfig.base.json.template +0 -11
- package/dist/src/generators/preset/generator.d.mts +0 -7
- package/dist/src/generators/preset/generator.d.ts +0 -7
- package/dist/src/generators/preset/generator.js +0 -15
- package/dist/src/generators/preset/generator.mjs +0 -16
- package/dist/src/generators/preset/schema.d.ts +0 -101
- package/dist/src/generators/preset/schema.json +0 -96
- package/dist/src/generators/preset/untyped.d.mts +0 -5
- package/dist/src/generators/preset/untyped.d.ts +0 -5
- package/dist/src/generators/preset/untyped.js +0 -94
- package/dist/src/generators/preset/untyped.mjs +0 -95
- package/dist/src/plugins/rust/cargo-toml.d.mts +0 -47
- package/dist/src/plugins/rust/cargo-toml.d.ts +0 -47
- package/dist/src/plugins/rust/cargo-toml.js +0 -17
- package/dist/src/plugins/rust/cargo-toml.mjs +0 -18
- package/dist/src/plugins/rust/index.d.mts +0 -2
- package/dist/src/plugins/rust/index.d.ts +0 -2
- package/dist/src/plugins/rust/index.js +0 -17
- package/dist/src/plugins/rust/index.mjs +0 -18
- package/dist/src/plugins/typescript/index.d.mts +0 -64
- package/dist/src/plugins/typescript/index.d.ts +0 -64
- package/dist/src/plugins/typescript/index.js +0 -452
- package/dist/src/plugins/typescript/index.mjs +0 -453
- package/dist/src/plugins/typescript/tsdown.d.mts +0 -12
- package/dist/src/plugins/typescript/tsdown.d.ts +0 -12
- package/dist/src/plugins/typescript/tsdown.js +0 -178
- package/dist/src/plugins/typescript/tsdown.mjs +0 -179
- package/dist/src/plugins/typescript/tsup.d.mts +0 -12
- package/dist/src/plugins/typescript/tsup.d.ts +0 -12
- package/dist/src/plugins/typescript/tsup.js +0 -178
- package/dist/src/plugins/typescript/tsup.mjs +0 -179
- package/dist/src/plugins/typescript/untyped-schema.d.mts +0 -7
- package/dist/src/plugins/typescript/untyped-schema.d.ts +0 -7
- package/dist/src/plugins/typescript/untyped-schema.js +0 -151
- package/dist/src/plugins/typescript/untyped-schema.mjs +0 -152
- package/dist/src/release/index.d.mts +0 -11
- package/dist/src/release/index.d.ts +0 -11
- package/dist/src/release/index.js +0 -17
- package/dist/src/release/index.mjs +0 -18
- package/dist/src/release/js-version-actions.d.mts +0 -44
- package/dist/src/release/js-version-actions.d.ts +0 -44
- package/dist/src/release/js-version-actions.js +0 -10
- package/dist/src/release/js-version-actions.mjs +0 -11
- package/dist/src/release/rust-version-actions.d.mts +0 -56
- package/dist/src/release/rust-version-actions.d.ts +0 -56
- package/dist/src/release/rust-version-actions.js +0 -12
- package/dist/src/release/rust-version-actions.mjs +0 -13
- package/dist/src/types.d.mts +0 -5
- package/dist/src/types.d.ts +0 -5
- package/dist/src/types.js +0 -18
- package/dist/src/types.mjs +0 -19
- package/dist/src/utils/apply-workspace-tokens.d.mts +0 -11
- package/dist/src/utils/apply-workspace-tokens.d.ts +0 -11
- package/dist/src/utils/apply-workspace-tokens.js +0 -8
- package/dist/src/utils/apply-workspace-tokens.mjs +0 -9
- package/dist/src/utils/cargo.d.mts +0 -118
- package/dist/src/utils/cargo.d.ts +0 -118
- package/dist/src/utils/cargo.js +0 -22
- package/dist/src/utils/cargo.mjs +0 -23
- package/dist/src/utils/create-cli-options.d.mts +0 -3
- package/dist/src/utils/create-cli-options.d.ts +0 -3
- package/dist/src/utils/create-cli-options.js +0 -6
- package/dist/src/utils/create-cli-options.mjs +0 -7
- package/dist/src/utils/get-project-configurations.d.mts +0 -16
- package/dist/src/utils/get-project-configurations.d.ts +0 -16
- package/dist/src/utils/get-project-configurations.js +0 -10
- package/dist/src/utils/get-project-configurations.mjs +0 -11
- package/dist/src/utils/index.d.mts +0 -23
- package/dist/src/utils/index.d.ts +0 -23
- package/dist/src/utils/index.js +0 -153
- package/dist/src/utils/index.mjs +0 -154
- package/dist/src/utils/lock-file.d.mts +0 -29
- package/dist/src/utils/lock-file.d.ts +0 -29
- package/dist/src/utils/lock-file.js +0 -26
- package/dist/src/utils/lock-file.mjs +0 -27
- package/dist/src/utils/nx-json.d.mts +0 -33
- package/dist/src/utils/nx-json.d.ts +0 -33
- package/dist/src/utils/nx-json.js +0 -10
- package/dist/src/utils/nx-json.mjs +0 -11
- package/dist/src/utils/package-helpers.d.mts +0 -24
- package/dist/src/utils/package-helpers.d.ts +0 -24
- package/dist/src/utils/package-helpers.js +0 -14
- package/dist/src/utils/package-helpers.mjs +0 -15
- package/dist/src/utils/plugin-helpers.d.mts +0 -20
- package/dist/src/utils/plugin-helpers.d.ts +0 -20
- package/dist/src/utils/plugin-helpers.js +0 -15
- package/dist/src/utils/plugin-helpers.mjs +0 -16
- package/dist/src/utils/project-tags.d.mts +0 -68
- package/dist/src/utils/project-tags.d.ts +0 -68
- package/dist/src/utils/project-tags.js +0 -20
- package/dist/src/utils/project-tags.mjs +0 -21
- package/dist/src/utils/registry-helpers.d.mts +0 -11
- package/dist/src/utils/registry-helpers.d.ts +0 -11
- package/dist/src/utils/registry-helpers.js +0 -6
- package/dist/src/utils/registry-helpers.mjs +0 -7
- package/dist/src/utils/typia-transform.d.mts +0 -5
- package/dist/src/utils/typia-transform.d.ts +0 -5
- package/dist/src/utils/typia-transform.js +0 -6
- package/dist/src/utils/typia-transform.mjs +0 -7
- package/dist/src/utils/versions.d.mts +0 -20
- package/dist/src/utils/versions.d.ts +0 -20
- package/dist/src/utils/versions.js +0 -40
- package/dist/src/utils/versions.mjs +0 -41
- package/dist/types-CV8HM8Xo.d.mts +0 -115
- package/dist/types-D_RlE9_c.d.ts +0 -115
- package/dist/types-Dug-2iKz.d.mts +0 -243
- package/dist/types-Dug-2iKz.d.ts +0 -243
- package/docs/api/base/base-executor.schema.md +0 -15
- package/docs/api/base/base-generator.schema.md +0 -15
- package/docs/api/base/cargo-base-executor.schema.md +0 -89
- package/docs/api/base/typescript-build-executor.schema.md +0 -125
- package/docs/api/base/typescript-library-generator.schema.md +0 -129
- package/docs/api/executors/cargo-build/schema.md +0 -89
- package/docs/api/executors/cargo-check/schema.md +0 -89
- package/docs/api/executors/cargo-clippy/schema.md +0 -98
- package/docs/api/executors/cargo-doc/schema.md +0 -129
- package/docs/api/executors/cargo-format/schema.md +0 -89
- package/docs/api/executors/cargo-publish/schema.md +0 -116
- package/docs/api/executors/clean-package/schema.md +0 -64
- package/docs/api/executors/esbuild/schema.md +0 -125
- package/docs/api/executors/napi/schema.md +0 -300
- package/docs/api/executors/npm-publish/schema.md +0 -73
- package/docs/api/executors/size-limit/schema.md +0 -24
- package/docs/api/executors/tsdown/schema.md +0 -125
- package/docs/api/executors/typia/schema.md +0 -46
- package/docs/api/executors/unbuild/schema.md +0 -222
- package/docs/api/generators/browser-library/files/README.md +0 -58
- package/docs/api/generators/browser-library/schema.md +0 -129
- package/docs/api/generators/config-schema/schema.md +0 -25
- package/docs/api/generators/init/schema.md +0 -15
- package/docs/api/generators/neutral-library/files/README.md +0 -58
- package/docs/api/generators/neutral-library/schema.md +0 -129
- package/docs/api/generators/node-library/files/README.md +0 -63
- package/docs/api/generators/node-library/schema.md +0 -129
- package/docs/api/generators/preset/schema.md +0 -110
- package/executors.json +0 -69
- package/generators.json +0 -51
package/dist/chunk-52CEFR2O.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
var _chunkGSGT2T27js = require('./chunk-GSGT2T27.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkAGR3NCGAjs = require('./chunk-AGR3NCGA.js');
|
|
7
|
-
|
|
8
|
-
// src/executors/size-limit/executor.ts
|
|
9
|
-
var _devkit = require('@nx/devkit');
|
|
10
|
-
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
11
|
-
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
12
|
-
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
13
|
-
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
14
|
-
async function sizeLimitExecutorFn(options, context, config) {
|
|
15
|
-
if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
16
|
-
throw new Error(
|
|
17
|
-
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
_chunkAGR3NCGAjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
21
|
-
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
22
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
23
|
-
_nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
|
|
24
|
-
"src"
|
|
25
|
-
)))
|
|
26
|
-
}).then((result) => {
|
|
27
|
-
_chunkAGR3NCGAjs.writeInfo.call(void 0,
|
|
28
|
-
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
29
|
-
config
|
|
30
|
-
);
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
success: true
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
var executor_default = _chunkGSGT2T27js.withRunExecutor.call(void 0,
|
|
37
|
-
"Size-Limit Performance Test Executor",
|
|
38
|
-
sizeLimitExecutorFn,
|
|
39
|
-
{
|
|
40
|
-
skipReadingConfig: false,
|
|
41
|
-
hooks: {
|
|
42
|
-
applyDefaultOptions: (options) => {
|
|
43
|
-
return options;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
exports.sizeLimitExecutorFn = sizeLimitExecutorFn; exports.executor_default = executor_default;
|
package/dist/chunk-5GZC2PF6.mjs
DELETED
|
File without changes
|
package/dist/chunk-5JNL56OH.mjs
DELETED
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_TARGET,
|
|
3
|
-
addPackageDependencies,
|
|
4
|
-
addPackageJsonExport,
|
|
5
|
-
addWorkspacePackageJsonFields,
|
|
6
|
-
copyAssets,
|
|
7
|
-
getEnv
|
|
8
|
-
} from "./chunk-FVCRMDQ4.mjs";
|
|
9
|
-
import {
|
|
10
|
-
withRunExecutor
|
|
11
|
-
} from "./chunk-SEZ726NO.mjs";
|
|
12
|
-
import {
|
|
13
|
-
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-K7B3YICS.mjs";
|
|
15
|
-
import {
|
|
16
|
-
brandIcon,
|
|
17
|
-
getStopwatch,
|
|
18
|
-
writeDebug,
|
|
19
|
-
writeFatal,
|
|
20
|
-
writeInfo,
|
|
21
|
-
writeSuccess,
|
|
22
|
-
writeWarning
|
|
23
|
-
} from "./chunk-T55IDP24.mjs";
|
|
24
|
-
import {
|
|
25
|
-
findWorkspaceRoot
|
|
26
|
-
} from "./chunk-3J2CP54B.mjs";
|
|
27
|
-
import {
|
|
28
|
-
joinPaths
|
|
29
|
-
} from "./chunk-TBW5MCN6.mjs";
|
|
30
|
-
|
|
31
|
-
// ../tsdown/src/build.ts
|
|
32
|
-
import {
|
|
33
|
-
createProjectGraphAsync,
|
|
34
|
-
readProjectsConfigurationFromProjectGraph,
|
|
35
|
-
writeJsonFile
|
|
36
|
-
} from "@nx/devkit";
|
|
37
|
-
import defu from "defu";
|
|
38
|
-
import { existsSync } from "node:fs";
|
|
39
|
-
import hf from "node:fs/promises";
|
|
40
|
-
import { build as tsdown } from "tsdown";
|
|
41
|
-
|
|
42
|
-
// ../tsdown/src/clean.ts
|
|
43
|
-
import { rm } from "node:fs/promises";
|
|
44
|
-
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
45
|
-
await rm(directory, { recursive: true, force: true });
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// ../tsdown/src/config.ts
|
|
49
|
-
function getDefaultOptions(config) {
|
|
50
|
-
return {
|
|
51
|
-
entry: ["./src/*.ts"],
|
|
52
|
-
platform: "node",
|
|
53
|
-
target: "esnext",
|
|
54
|
-
mode: "production",
|
|
55
|
-
dts: true,
|
|
56
|
-
unused: {
|
|
57
|
-
level: "error",
|
|
58
|
-
ignore: ["typescript"]
|
|
59
|
-
},
|
|
60
|
-
publint: true,
|
|
61
|
-
fixedExtension: true,
|
|
62
|
-
...config
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function toTSDownFormat(format) {
|
|
66
|
-
if (!format || Array.isArray(format) && format.length === 0) {
|
|
67
|
-
return ["cjs", "es"];
|
|
68
|
-
} else if (format === "esm") {
|
|
69
|
-
return "es";
|
|
70
|
-
} else if (Array.isArray(format)) {
|
|
71
|
-
return format.map((f) => f === "esm" ? "es" : f);
|
|
72
|
-
}
|
|
73
|
-
return format;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ../tsdown/src/build.ts
|
|
77
|
-
var resolveOptions = async (userOptions) => {
|
|
78
|
-
const options = getDefaultOptions(userOptions);
|
|
79
|
-
const workspaceRoot = findWorkspaceRoot(options.projectRoot);
|
|
80
|
-
if (!workspaceRoot) {
|
|
81
|
-
throw new Error("Cannot find Nx workspace root");
|
|
82
|
-
}
|
|
83
|
-
const workspaceConfig = await getWorkspaceConfig(options.debug === true, {
|
|
84
|
-
workspaceRoot
|
|
85
|
-
});
|
|
86
|
-
writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
87
|
-
const stopwatch = getStopwatch("Build options resolution");
|
|
88
|
-
const projectGraph = await createProjectGraphAsync({
|
|
89
|
-
exitOnError: true
|
|
90
|
-
});
|
|
91
|
-
const projectJsonPath = joinPaths(
|
|
92
|
-
workspaceRoot,
|
|
93
|
-
options.projectRoot,
|
|
94
|
-
"project.json"
|
|
95
|
-
);
|
|
96
|
-
if (!existsSync(projectJsonPath)) {
|
|
97
|
-
throw new Error("Cannot find project.json configuration");
|
|
98
|
-
}
|
|
99
|
-
const projectJsonFile = await hf.readFile(projectJsonPath, "utf8");
|
|
100
|
-
const projectJson = JSON.parse(projectJsonFile);
|
|
101
|
-
const projectName = projectJson.name;
|
|
102
|
-
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
103
|
-
if (!projectConfigurations?.projects?.[projectName]) {
|
|
104
|
-
throw new Error(
|
|
105
|
-
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
const packageJsonPath = joinPaths(
|
|
109
|
-
workspaceRoot,
|
|
110
|
-
options.projectRoot,
|
|
111
|
-
"package.json"
|
|
112
|
-
);
|
|
113
|
-
if (!existsSync(packageJsonPath)) {
|
|
114
|
-
throw new Error("Cannot find package.json configuration");
|
|
115
|
-
}
|
|
116
|
-
const debug = options.debug ?? (options.mode || workspaceConfig.mode) === "development";
|
|
117
|
-
const sourceRoot = projectJson.sourceRoot || joinPaths(options.projectRoot, "src");
|
|
118
|
-
const result = {
|
|
119
|
-
name: projectName,
|
|
120
|
-
mode: "production",
|
|
121
|
-
target: DEFAULT_TARGET,
|
|
122
|
-
generatePackageJson: true,
|
|
123
|
-
outDir: joinPaths("dist", options.projectRoot),
|
|
124
|
-
minify: !debug,
|
|
125
|
-
plugins: [],
|
|
126
|
-
assets: [],
|
|
127
|
-
dts: true,
|
|
128
|
-
shims: true,
|
|
129
|
-
silent: !debug,
|
|
130
|
-
logLevel: workspaceConfig.logLevel === "success" || workspaceConfig.logLevel === "performance" || workspaceConfig.logLevel === "debug" || workspaceConfig.logLevel === "trace" || workspaceConfig.logLevel === "all" ? "info" : workspaceConfig.logLevel === "fatal" ? "error" : workspaceConfig.logLevel,
|
|
131
|
-
sourcemap: debug ? "inline" : false,
|
|
132
|
-
clean: false,
|
|
133
|
-
fixedExtension: true,
|
|
134
|
-
nodeProtocol: true,
|
|
135
|
-
tsconfig: joinPaths(options.projectRoot, "tsconfig.json"),
|
|
136
|
-
debug,
|
|
137
|
-
sourceRoot,
|
|
138
|
-
cwd: workspaceConfig.workspaceRoot,
|
|
139
|
-
entry: {
|
|
140
|
-
["index"]: joinPaths(sourceRoot, "index.ts")
|
|
141
|
-
},
|
|
142
|
-
workspace: true,
|
|
143
|
-
...options,
|
|
144
|
-
treeshake: options.treeShaking !== false,
|
|
145
|
-
format: toTSDownFormat(options.format),
|
|
146
|
-
workspaceConfig,
|
|
147
|
-
projectName,
|
|
148
|
-
projectGraph,
|
|
149
|
-
projectConfigurations
|
|
150
|
-
};
|
|
151
|
-
result.env = defu(
|
|
152
|
-
options.env,
|
|
153
|
-
getEnv("tsdown", result)
|
|
154
|
-
);
|
|
155
|
-
stopwatch();
|
|
156
|
-
return result;
|
|
157
|
-
};
|
|
158
|
-
async function generatePackageJson(options) {
|
|
159
|
-
if (options.generatePackageJson !== false && existsSync(joinPaths(options.projectRoot, "package.json"))) {
|
|
160
|
-
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
161
|
-
const stopwatch = getStopwatch("Write package.json file");
|
|
162
|
-
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
163
|
-
if (!existsSync(packageJsonPath)) {
|
|
164
|
-
throw new Error("Cannot find package.json configuration");
|
|
165
|
-
}
|
|
166
|
-
const packageJsonFile = await hf.readFile(
|
|
167
|
-
joinPaths(
|
|
168
|
-
options.workspaceConfig.workspaceRoot,
|
|
169
|
-
options.projectRoot,
|
|
170
|
-
"package.json"
|
|
171
|
-
),
|
|
172
|
-
"utf8"
|
|
173
|
-
);
|
|
174
|
-
if (!packageJsonFile) {
|
|
175
|
-
throw new Error("Cannot find package.json configuration file");
|
|
176
|
-
}
|
|
177
|
-
let packageJson = JSON.parse(packageJsonFile);
|
|
178
|
-
packageJson = await addPackageDependencies(
|
|
179
|
-
options.workspaceConfig.workspaceRoot,
|
|
180
|
-
options.projectRoot,
|
|
181
|
-
options.projectName,
|
|
182
|
-
packageJson
|
|
183
|
-
);
|
|
184
|
-
packageJson = await addWorkspacePackageJsonFields(
|
|
185
|
-
options.workspaceConfig,
|
|
186
|
-
options.projectRoot,
|
|
187
|
-
options.sourceRoot,
|
|
188
|
-
options.projectName,
|
|
189
|
-
false,
|
|
190
|
-
packageJson
|
|
191
|
-
);
|
|
192
|
-
packageJson.exports ??= {};
|
|
193
|
-
packageJson.exports["./package.json"] ??= "./package.json";
|
|
194
|
-
packageJson.exports["."] ??= addPackageJsonExport(
|
|
195
|
-
"index",
|
|
196
|
-
packageJson.type,
|
|
197
|
-
options.sourceRoot
|
|
198
|
-
);
|
|
199
|
-
let entry = [{ in: "./src/index.ts", out: "./src/index.ts" }];
|
|
200
|
-
if (options.entry) {
|
|
201
|
-
if (Array.isArray(options.entry)) {
|
|
202
|
-
entry = options.entry.map(
|
|
203
|
-
(entryPoint) => typeof entryPoint === "string" ? { in: entryPoint, out: entryPoint } : entryPoint
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
for (const entryPoint of entry) {
|
|
207
|
-
const split = entryPoint.out.split(".");
|
|
208
|
-
split.pop();
|
|
209
|
-
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
210
|
-
packageJson.exports[`./${entry2}`] ??= addPackageJsonExport(
|
|
211
|
-
entry2,
|
|
212
|
-
options.fixedExtension ? "fixed" : packageJson.type,
|
|
213
|
-
options.sourceRoot
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
packageJson.main = !options.fixedExtension && packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
218
|
-
packageJson.module = !options.fixedExtension && packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
|
|
219
|
-
packageJson.types = `./dist/index.d.${!options.fixedExtension ? "ts" : "mts"}`;
|
|
220
|
-
packageJson.exports = Object.keys(packageJson.exports).reduce(
|
|
221
|
-
(ret, key) => {
|
|
222
|
-
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
223
|
-
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
224
|
-
}
|
|
225
|
-
return ret;
|
|
226
|
-
},
|
|
227
|
-
packageJson.exports
|
|
228
|
-
);
|
|
229
|
-
await writeJsonFile(joinPaths(options.outDir, "package.json"), packageJson);
|
|
230
|
-
stopwatch();
|
|
231
|
-
}
|
|
232
|
-
return options;
|
|
233
|
-
}
|
|
234
|
-
async function executeTSDown(options) {
|
|
235
|
-
writeDebug(` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
236
|
-
const stopwatch = getStopwatch(`${options.name} build`);
|
|
237
|
-
await tsdown({
|
|
238
|
-
...options,
|
|
239
|
-
entry: options.entry,
|
|
240
|
-
config: false
|
|
241
|
-
});
|
|
242
|
-
stopwatch();
|
|
243
|
-
return options;
|
|
244
|
-
}
|
|
245
|
-
async function copyBuildAssets(options) {
|
|
246
|
-
writeDebug(
|
|
247
|
-
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
248
|
-
options.workspaceConfig
|
|
249
|
-
);
|
|
250
|
-
const stopwatch = getStopwatch(`${options.name} asset copy`);
|
|
251
|
-
await copyAssets(
|
|
252
|
-
options.workspaceConfig,
|
|
253
|
-
options.assets ?? [],
|
|
254
|
-
options.outDir,
|
|
255
|
-
options.projectRoot,
|
|
256
|
-
options.sourceRoot,
|
|
257
|
-
true,
|
|
258
|
-
false
|
|
259
|
-
);
|
|
260
|
-
stopwatch();
|
|
261
|
-
return options;
|
|
262
|
-
}
|
|
263
|
-
async function reportResults(options) {
|
|
264
|
-
writeSuccess(
|
|
265
|
-
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
266
|
-
options.workspaceConfig
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
async function cleanOutputPath(options) {
|
|
270
|
-
if (options.clean !== false && options.workspaceConfig) {
|
|
271
|
-
writeDebug(
|
|
272
|
-
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
273
|
-
options.workspaceConfig
|
|
274
|
-
);
|
|
275
|
-
const stopwatch = getStopwatch(`${options.name} output clean`);
|
|
276
|
-
await cleanDirectories(
|
|
277
|
-
options.name,
|
|
278
|
-
options.outDir,
|
|
279
|
-
options.workspaceConfig
|
|
280
|
-
);
|
|
281
|
-
stopwatch();
|
|
282
|
-
}
|
|
283
|
-
return options;
|
|
284
|
-
}
|
|
285
|
-
async function build(options) {
|
|
286
|
-
writeDebug(` ${brandIcon()} Executing Storm TSDown pipeline`);
|
|
287
|
-
const stopwatch = getStopwatch("TSDown pipeline");
|
|
288
|
-
try {
|
|
289
|
-
const opts = Array.isArray(options) ? options : [options];
|
|
290
|
-
if (opts.length === 0) {
|
|
291
|
-
throw new Error("No build options were provided");
|
|
292
|
-
}
|
|
293
|
-
const resolved = await Promise.all(
|
|
294
|
-
opts.map(async (opt) => await resolveOptions(opt))
|
|
295
|
-
);
|
|
296
|
-
if (resolved.length > 0) {
|
|
297
|
-
await cleanOutputPath(resolved[0]);
|
|
298
|
-
await generatePackageJson(resolved[0]);
|
|
299
|
-
await Promise.all(
|
|
300
|
-
resolved.map(async (opt) => {
|
|
301
|
-
await executeTSDown(opt);
|
|
302
|
-
await copyBuildAssets(opt);
|
|
303
|
-
await reportResults(opt);
|
|
304
|
-
})
|
|
305
|
-
);
|
|
306
|
-
} else {
|
|
307
|
-
writeWarning(
|
|
308
|
-
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
309
|
-
);
|
|
310
|
-
}
|
|
311
|
-
writeSuccess(" \u{1F3C1} TSDown pipeline build completed successfully");
|
|
312
|
-
} catch (error) {
|
|
313
|
-
writeFatal(
|
|
314
|
-
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
315
|
-
);
|
|
316
|
-
throw error;
|
|
317
|
-
} finally {
|
|
318
|
-
stopwatch();
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// src/executors/tsdown/executor.ts
|
|
323
|
-
async function tsdownExecutorFn(options, context, config) {
|
|
324
|
-
writeInfo("\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
325
|
-
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
|
|
326
|
-
throw new Error(
|
|
327
|
-
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
328
|
-
);
|
|
329
|
-
}
|
|
330
|
-
await build({
|
|
331
|
-
...options,
|
|
332
|
-
projectRoot: (
|
|
333
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
334
|
-
context.projectsConfigurations.projects?.[context.projectName].root
|
|
335
|
-
),
|
|
336
|
-
name: context.projectName,
|
|
337
|
-
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
338
|
-
format: options.format,
|
|
339
|
-
platform: options.platform
|
|
340
|
-
});
|
|
341
|
-
return {
|
|
342
|
-
success: true
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
var executor_default = withRunExecutor(
|
|
346
|
-
"Storm TSDown build",
|
|
347
|
-
tsdownExecutorFn,
|
|
348
|
-
{
|
|
349
|
-
skipReadingConfig: false,
|
|
350
|
-
hooks: {
|
|
351
|
-
applyDefaultOptions: async (options) => {
|
|
352
|
-
options.entry ??= ["src/index.ts"];
|
|
353
|
-
options.outputPath ??= "dist/{projectRoot}";
|
|
354
|
-
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
355
|
-
return options;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
);
|
|
360
|
-
|
|
361
|
-
export {
|
|
362
|
-
tsdownExecutorFn,
|
|
363
|
-
executor_default
|
|
364
|
-
};
|
package/dist/chunk-6EMYX25V.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/utils/typia-transform.ts
|
|
2
|
-
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
3
|
-
var getTypiaTransform = (program, diagnostics) => _transform2.default.call(void 0, program, {}, { addDiagnostic: (input) => diagnostics.push(input) });
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.getTypiaTransform = getTypiaTransform;
|
package/dist/chunk-6YZ3OUJB.mjs
DELETED
|
File without changes
|
package/dist/chunk-77B77QNY.mjs
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
// src/utils/lock-file.ts
|
|
2
|
-
import {
|
|
3
|
-
output,
|
|
4
|
-
readJsonFile,
|
|
5
|
-
workspaceRoot
|
|
6
|
-
} from "@nx/devkit";
|
|
7
|
-
import { existsSync } from "node:fs";
|
|
8
|
-
import { join } from "node:path";
|
|
9
|
-
import {
|
|
10
|
-
getNpmLockfileDependencies,
|
|
11
|
-
getNpmLockfileNodes
|
|
12
|
-
} from "nx/src/plugins/js/lock-file/npm-parser";
|
|
13
|
-
import {
|
|
14
|
-
getPnpmLockfileDependencies,
|
|
15
|
-
getPnpmLockfileNodes
|
|
16
|
-
} from "nx/src/plugins/js/lock-file/pnpm-parser";
|
|
17
|
-
import {
|
|
18
|
-
getYarnLockfileDependencies,
|
|
19
|
-
getYarnLockfileNodes
|
|
20
|
-
} from "nx/src/plugins/js/lock-file/yarn-parser";
|
|
21
|
-
var YARN_LOCK_FILE = "yarn.lock";
|
|
22
|
-
var NPM_LOCK_FILE = "package-lock.json";
|
|
23
|
-
var PNPM_LOCK_FILE = "pnpm-lock.yaml";
|
|
24
|
-
var LOCK_FILES = [YARN_LOCK_FILE, NPM_LOCK_FILE, PNPM_LOCK_FILE];
|
|
25
|
-
var YARN_LOCK_PATH = join(workspaceRoot, YARN_LOCK_FILE);
|
|
26
|
-
var NPM_LOCK_PATH = join(workspaceRoot, NPM_LOCK_FILE);
|
|
27
|
-
var PNPM_LOCK_PATH = join(workspaceRoot, PNPM_LOCK_FILE);
|
|
28
|
-
function getLockFileNodes(packageManager, contents, lockFileHash, context) {
|
|
29
|
-
try {
|
|
30
|
-
if (packageManager === "yarn") {
|
|
31
|
-
const packageJson = readJsonFile(
|
|
32
|
-
join(context.workspaceRoot, "package.json")
|
|
33
|
-
);
|
|
34
|
-
return getYarnLockfileNodes(contents, lockFileHash, packageJson);
|
|
35
|
-
}
|
|
36
|
-
if (packageManager === "pnpm") {
|
|
37
|
-
return getPnpmLockfileNodes(contents, lockFileHash);
|
|
38
|
-
}
|
|
39
|
-
if (packageManager === "npm") {
|
|
40
|
-
return getNpmLockfileNodes(contents, lockFileHash);
|
|
41
|
-
}
|
|
42
|
-
} catch (e) {
|
|
43
|
-
if (!isPostInstallProcess()) {
|
|
44
|
-
output.error({
|
|
45
|
-
title: `Failed to parse ${packageManager} lockfile`,
|
|
46
|
-
bodyLines: errorBodyLines(e)
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
throw e;
|
|
50
|
-
}
|
|
51
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
52
|
-
}
|
|
53
|
-
function getLockFileDependencies(packageManager, contents, lockFileHash, context, keyMap) {
|
|
54
|
-
try {
|
|
55
|
-
if (packageManager === "yarn") {
|
|
56
|
-
return getYarnLockfileDependencies(
|
|
57
|
-
contents,
|
|
58
|
-
lockFileHash,
|
|
59
|
-
context,
|
|
60
|
-
keyMap
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
if (packageManager === "pnpm") {
|
|
64
|
-
return getPnpmLockfileDependencies(
|
|
65
|
-
contents,
|
|
66
|
-
lockFileHash,
|
|
67
|
-
context,
|
|
68
|
-
keyMap
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
if (packageManager === "npm") {
|
|
72
|
-
return getNpmLockfileDependencies(
|
|
73
|
-
contents,
|
|
74
|
-
lockFileHash,
|
|
75
|
-
context,
|
|
76
|
-
keyMap
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
} catch (e) {
|
|
80
|
-
if (!isPostInstallProcess()) {
|
|
81
|
-
output.error({
|
|
82
|
-
title: `Failed to parse ${packageManager} lockfile`,
|
|
83
|
-
bodyLines: errorBodyLines(e)
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
throw e;
|
|
87
|
-
}
|
|
88
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
89
|
-
}
|
|
90
|
-
function lockFileExists(packageManager) {
|
|
91
|
-
if (packageManager === "yarn") {
|
|
92
|
-
return existsSync(YARN_LOCK_PATH);
|
|
93
|
-
}
|
|
94
|
-
if (packageManager === "pnpm") {
|
|
95
|
-
return existsSync(PNPM_LOCK_PATH);
|
|
96
|
-
}
|
|
97
|
-
if (packageManager === "npm") {
|
|
98
|
-
return existsSync(NPM_LOCK_PATH);
|
|
99
|
-
}
|
|
100
|
-
throw new Error(
|
|
101
|
-
`Unknown package manager ${packageManager} or lock file missing`
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
function getLockFileName(packageManager) {
|
|
105
|
-
if (packageManager === "yarn") {
|
|
106
|
-
return YARN_LOCK_FILE;
|
|
107
|
-
}
|
|
108
|
-
if (packageManager === "pnpm") {
|
|
109
|
-
return PNPM_LOCK_FILE;
|
|
110
|
-
}
|
|
111
|
-
if (packageManager === "npm") {
|
|
112
|
-
return NPM_LOCK_FILE;
|
|
113
|
-
}
|
|
114
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
115
|
-
}
|
|
116
|
-
function errorBodyLines(originalError, additionalInfo = []) {
|
|
117
|
-
const result = [
|
|
118
|
-
"Please open an issue at `https://github.com/storm-software/storm-ops/issues/new?template=1-bug.yml` and provide a reproduction.",
|
|
119
|
-
...additionalInfo
|
|
120
|
-
];
|
|
121
|
-
if (originalError.message) {
|
|
122
|
-
result.push(`
|
|
123
|
-
Original error: ${originalError.message}
|
|
124
|
-
|
|
125
|
-
`);
|
|
126
|
-
}
|
|
127
|
-
if (originalError.stack) {
|
|
128
|
-
result.push(originalError.stack);
|
|
129
|
-
}
|
|
130
|
-
return result;
|
|
131
|
-
}
|
|
132
|
-
function isPostInstallProcess() {
|
|
133
|
-
return process.env.npm_command === "install" && process.env.npm_lifecycle_event === "postinstall";
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export {
|
|
137
|
-
YARN_LOCK_FILE,
|
|
138
|
-
NPM_LOCK_FILE,
|
|
139
|
-
PNPM_LOCK_FILE,
|
|
140
|
-
LOCK_FILES,
|
|
141
|
-
YARN_LOCK_PATH,
|
|
142
|
-
NPM_LOCK_PATH,
|
|
143
|
-
PNPM_LOCK_PATH,
|
|
144
|
-
getLockFileNodes,
|
|
145
|
-
getLockFileDependencies,
|
|
146
|
-
lockFileExists,
|
|
147
|
-
getLockFileName
|
|
148
|
-
};
|
package/dist/chunk-7CJRMBX3.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/base/base-generator.untyped.ts
|
|
2
|
-
var _untyped = require('untyped');
|
|
3
|
-
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4
|
-
$schema: {
|
|
5
|
-
id: "BaseGeneratorSchema",
|
|
6
|
-
title: "Base Generator",
|
|
7
|
-
description: "A type definition for the base Generator schema"
|
|
8
|
-
},
|
|
9
|
-
directory: {
|
|
10
|
-
$schema: {
|
|
11
|
-
title: "Directory",
|
|
12
|
-
type: "string",
|
|
13
|
-
description: "The directory to create the library in"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.base_generator_untyped_default = base_generator_untyped_default;
|
package/dist/chunk-7JRL2LE3.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/base/base-executor.untyped.ts
|
|
2
|
-
var _untyped = require('untyped');
|
|
3
|
-
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4
|
-
$schema: {
|
|
5
|
-
id: "baseExecutor",
|
|
6
|
-
title: "Base Executor",
|
|
7
|
-
description: "A base type definition for an executor schema"
|
|
8
|
-
},
|
|
9
|
-
outputPath: {
|
|
10
|
-
$schema: {
|
|
11
|
-
title: "Output Path",
|
|
12
|
-
type: "string",
|
|
13
|
-
format: "path",
|
|
14
|
-
description: "The output path for the build"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports.base_executor_untyped_default = base_executor_untyped_default;
|
package/dist/chunk-7RI43PE4.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkGSGT2T27js = require('./chunk-GSGT2T27.js');
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-format/executor.ts
|
|
10
|
-
async function cargoFormatExecutor(options, context) {
|
|
11
|
-
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
|
-
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = _chunkGSGT2T27js.withRunExecutor.call(void 0,
|
|
15
|
-
"Cargo - Format",
|
|
16
|
-
cargoFormatExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.outputPath ??= "dist/{projectRoot}/target";
|
|
22
|
-
options.toolchain ??= "stable";
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.cargoFormatExecutor = cargoFormatExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-A7XSX2OE.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkGSGT2T27js = require('./chunk-GSGT2T27.js');
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-doc/executor.ts
|
|
10
|
-
async function cargoDocExecutor(options, context) {
|
|
11
|
-
const opts = { ...options };
|
|
12
|
-
opts["no-deps"] = opts.noDeps;
|
|
13
|
-
delete opts.noDeps;
|
|
14
|
-
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
|
-
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
16
|
-
}
|
|
17
|
-
var executor_default = _chunkGSGT2T27js.withRunExecutor.call(void 0,
|
|
18
|
-
"Cargo - Doc",
|
|
19
|
-
cargoDocExecutor,
|
|
20
|
-
{
|
|
21
|
-
skipReadingConfig: false,
|
|
22
|
-
hooks: {
|
|
23
|
-
applyDefaultOptions: (options) => {
|
|
24
|
-
options.outputPath ??= "dist/{projectRoot}/docs";
|
|
25
|
-
options.toolchain ??= "stable";
|
|
26
|
-
options.release ??= options.profile ? false : true;
|
|
27
|
-
options.allFeatures ??= true;
|
|
28
|
-
options.lib ??= true;
|
|
29
|
-
options.bins ??= true;
|
|
30
|
-
options.examples ??= true;
|
|
31
|
-
options.noDeps ??= false;
|
|
32
|
-
return options;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
exports.cargoDocExecutor = cargoDocExecutor; exports.executor_default = executor_default;
|