@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-TXTNKYJN.js
DELETED
|
@@ -1,388 +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 _chunkXZ6L6OXJjs = require('./chunk-XZ6L6OXJ.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
|
|
13
|
-
|
|
14
|
-
// src/plugins/rust/cargo-toml.ts
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var _devkit = require('@nx/devkit');
|
|
21
|
-
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
22
|
-
var _fs = require('fs');
|
|
23
|
-
var _path = require('path');
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var _projectgraph = require('nx/src/config/project-graph');
|
|
27
|
-
var name = "storm-software/rust";
|
|
28
|
-
var description = "Plugin for parsing Cargo.toml files";
|
|
29
|
-
var DefaultCargoPluginProfileMap = {
|
|
30
|
-
development: "dev",
|
|
31
|
-
production: "prod"
|
|
32
|
-
};
|
|
33
|
-
var createNodesV2 = [
|
|
34
|
-
"*/**/Cargo.toml",
|
|
35
|
-
async (configFiles, options, context) => {
|
|
36
|
-
return await _devkit.createNodesFromFiles.call(void 0,
|
|
37
|
-
(configFile, options2, context2) => {
|
|
38
|
-
try {
|
|
39
|
-
const profiles = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _ => _.profiles]), () => ( {}));
|
|
40
|
-
const includeApps = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _2 => _2.includeApps]), () => ( true));
|
|
41
|
-
const toolchain = _optionalChain([options2, 'optionalAccess', _3 => _3.toolchain]);
|
|
42
|
-
const skipDocs = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _4 => _4.skipDocs]), () => ( false));
|
|
43
|
-
const metadata = _chunk32KQVUCFjs.cargoMetadata.call(void 0, );
|
|
44
|
-
if (!metadata) {
|
|
45
|
-
return {};
|
|
46
|
-
}
|
|
47
|
-
const { packages: cargoPackages } = metadata;
|
|
48
|
-
const externalNodes = {};
|
|
49
|
-
const projects = {};
|
|
50
|
-
const profs = {
|
|
51
|
-
...DefaultCargoPluginProfileMap,
|
|
52
|
-
...profiles
|
|
53
|
-
};
|
|
54
|
-
const configurations = Object.keys(profs).reduce((ret, key) => {
|
|
55
|
-
ret[key] = {
|
|
56
|
-
profile: profs[key]
|
|
57
|
-
};
|
|
58
|
-
return ret;
|
|
59
|
-
}, {});
|
|
60
|
-
const cargoPackageMap = cargoPackages.reduce((acc, p) => {
|
|
61
|
-
if (!acc.has(p.name)) {
|
|
62
|
-
acc.set(p.name, p);
|
|
63
|
-
}
|
|
64
|
-
return acc;
|
|
65
|
-
}, /* @__PURE__ */ new Map());
|
|
66
|
-
for (const cargoPackage of cargoPackages) {
|
|
67
|
-
if (!_chunk32KQVUCFjs.isExternal.call(void 0, cargoPackage, context2.workspaceRoot)) {
|
|
68
|
-
const root = _chunkXZ6L6OXJjs.getRoot.call(void 0, _path.dirname.call(void 0, configFile), context2);
|
|
69
|
-
const project = {
|
|
70
|
-
root,
|
|
71
|
-
name: cargoPackage.name
|
|
72
|
-
};
|
|
73
|
-
if (_fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, root, "project.json"))) {
|
|
74
|
-
const projectJson = _devkit.readJsonFile.call(void 0,
|
|
75
|
-
_devkit.joinPathFragments.call(void 0, root, "project.json")
|
|
76
|
-
);
|
|
77
|
-
if (projectJson) {
|
|
78
|
-
Object.keys(projectJson).forEach((key) => {
|
|
79
|
-
if (!project[key]) {
|
|
80
|
-
project[key] = projectJson[key];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
if (includeApps === false && project.projectType === "application") {
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
const targets = {
|
|
89
|
-
"lint-markdown": {
|
|
90
|
-
cache: true,
|
|
91
|
-
outputs: ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
|
|
92
|
-
inputs: [
|
|
93
|
-
"linting",
|
|
94
|
-
"{projectRoot}/**/*.md",
|
|
95
|
-
"{projectRoot}/**/*.mdx"
|
|
96
|
-
],
|
|
97
|
-
dependsOn: ["^lint-markdown"],
|
|
98
|
-
executor: "nx:run-commands",
|
|
99
|
-
options: {
|
|
100
|
-
command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/recommended.markdownlint-cli2.jsonc" --fix'
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"lint-ls": {
|
|
104
|
-
cache: true,
|
|
105
|
-
inputs: ["linting", "rust", "^production"],
|
|
106
|
-
dependsOn: ["^lint-ls"],
|
|
107
|
-
options: {
|
|
108
|
-
command: 'pnpm exec ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" ',
|
|
109
|
-
color: true
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
lint: {
|
|
113
|
-
cache: true,
|
|
114
|
-
inputs: ["linting", "rust", "^production"],
|
|
115
|
-
dependsOn: ["lint-ls", "lint-markdown", "^lint"],
|
|
116
|
-
executor: "@storm-software/workspace-tools:cargo-clippy",
|
|
117
|
-
options: {
|
|
118
|
-
toolchain,
|
|
119
|
-
fix: false
|
|
120
|
-
},
|
|
121
|
-
defaultConfiguration: "development",
|
|
122
|
-
configurations
|
|
123
|
-
},
|
|
124
|
-
check: {
|
|
125
|
-
cache: true,
|
|
126
|
-
inputs: ["linting", "rust", "^production"],
|
|
127
|
-
dependsOn: ["lint", "^check"],
|
|
128
|
-
executor: "@storm-software/workspace-tools:cargo-check",
|
|
129
|
-
options: {
|
|
130
|
-
toolchain
|
|
131
|
-
},
|
|
132
|
-
defaultConfiguration: "development",
|
|
133
|
-
configurations
|
|
134
|
-
},
|
|
135
|
-
"format-readme": {
|
|
136
|
-
cache: true,
|
|
137
|
-
inputs: [
|
|
138
|
-
"linting",
|
|
139
|
-
"documentation",
|
|
140
|
-
"{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
|
|
141
|
-
],
|
|
142
|
-
outputs: ["{projectRoot}/README.md"],
|
|
143
|
-
dependsOn: ["^format-readme"],
|
|
144
|
-
executor: "nx:run-commands",
|
|
145
|
-
options: {
|
|
146
|
-
command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"format-toml": {
|
|
150
|
-
cache: true,
|
|
151
|
-
inputs: ["linting", "{projectRoot}/**/*.toml"],
|
|
152
|
-
outputs: ["{projectRoot}/**/*.toml"],
|
|
153
|
-
dependsOn: ["^format-toml"],
|
|
154
|
-
executor: "nx:run-commands",
|
|
155
|
-
options: {
|
|
156
|
-
command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"format-clippy": {
|
|
160
|
-
cache: true,
|
|
161
|
-
inputs: ["linting", "rust", "^production"],
|
|
162
|
-
dependsOn: ["^format-clippy"],
|
|
163
|
-
executor: "@storm-software/workspace-tools:cargo-clippy",
|
|
164
|
-
options: {
|
|
165
|
-
toolchain,
|
|
166
|
-
fix: true
|
|
167
|
-
},
|
|
168
|
-
defaultConfiguration: "development",
|
|
169
|
-
configurations
|
|
170
|
-
},
|
|
171
|
-
format: {
|
|
172
|
-
cache: true,
|
|
173
|
-
inputs: ["linting", "documentation", "rust", "^production"],
|
|
174
|
-
dependsOn: [
|
|
175
|
-
"format-readme",
|
|
176
|
-
"format-clippy",
|
|
177
|
-
"format-toml",
|
|
178
|
-
"^format"
|
|
179
|
-
],
|
|
180
|
-
executor: "@storm-software/workspace-tools:cargo-format",
|
|
181
|
-
options: {
|
|
182
|
-
toolchain,
|
|
183
|
-
fix: true
|
|
184
|
-
},
|
|
185
|
-
defaultConfiguration: "development",
|
|
186
|
-
configurations
|
|
187
|
-
},
|
|
188
|
-
clean: {
|
|
189
|
-
cache: true,
|
|
190
|
-
inputs: ["rust", "^production"],
|
|
191
|
-
outputs: [`{workspaceRoot}/dist/{projectRoot}/target`],
|
|
192
|
-
executor: "nx:run-commands",
|
|
193
|
-
options: {
|
|
194
|
-
command: `pnpm exec rimraf dist/{projectRoot}/target`,
|
|
195
|
-
color: true,
|
|
196
|
-
cwd: "{workspaceRoot}"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
build: {
|
|
200
|
-
cache: true,
|
|
201
|
-
inputs: ["rust", "^production"],
|
|
202
|
-
dependsOn: ["build-base", "^build"],
|
|
203
|
-
executor: "@storm-software/workspace-tools:cargo-build",
|
|
204
|
-
outputs: [`{workspaceRoot}/dist/{projectRoot}/target`],
|
|
205
|
-
options: {
|
|
206
|
-
toolchain
|
|
207
|
-
},
|
|
208
|
-
defaultConfiguration: "development",
|
|
209
|
-
configurations
|
|
210
|
-
},
|
|
211
|
-
rebuild: {
|
|
212
|
-
cache: false,
|
|
213
|
-
inputs: ["rust", "^production"],
|
|
214
|
-
dependsOn: ["clean", "build-base", "^build"],
|
|
215
|
-
executor: "@storm-software/workspace-tools:cargo-build",
|
|
216
|
-
outputs: [`{workspaceRoot}/dist/{projectRoot}/target`],
|
|
217
|
-
options: {
|
|
218
|
-
toolchain
|
|
219
|
-
},
|
|
220
|
-
defaultConfiguration: "development",
|
|
221
|
-
configurations
|
|
222
|
-
},
|
|
223
|
-
test: {
|
|
224
|
-
cache: true,
|
|
225
|
-
inputs: ["testing", "rust", "^production"],
|
|
226
|
-
dependsOn: ["build", "^test"],
|
|
227
|
-
executor: "@monodon/rust:test",
|
|
228
|
-
outputs: ["{options.target-dir}"],
|
|
229
|
-
options: {
|
|
230
|
-
"target-dir": `{workspaceRoot}/dist/{projectRoot}/target`
|
|
231
|
-
},
|
|
232
|
-
defaultConfiguration: "development",
|
|
233
|
-
configurations
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
if (skipDocs != true) {
|
|
237
|
-
targets.docs = {
|
|
238
|
-
cache: true,
|
|
239
|
-
inputs: ["linting", "documentation", "^production"],
|
|
240
|
-
dependsOn: ["format-readme", "lint-docs", "^docs"],
|
|
241
|
-
outputs: [`{workspaceRoot}/dist/{projectRoot}/docs`],
|
|
242
|
-
executor: "@storm-software/workspace-tools:cargo-doc",
|
|
243
|
-
options: {
|
|
244
|
-
toolchain
|
|
245
|
-
},
|
|
246
|
-
defaultConfiguration: "production",
|
|
247
|
-
configurations
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
if (cargoPackage.publish === null || cargoPackage.publish === void 0 || cargoPackage.publish === true || Array.isArray(cargoPackage.publish) && cargoPackage.publish.length > 0) {
|
|
251
|
-
_chunkUHTWNVEZjs.addProjectTag.call(void 0,
|
|
252
|
-
project,
|
|
253
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Registry.TAG_ID,
|
|
254
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Registry.CARGO,
|
|
255
|
-
{ overwrite: true }
|
|
256
|
-
);
|
|
257
|
-
targets["nx-release-publish"] = {
|
|
258
|
-
cache: true,
|
|
259
|
-
inputs: [
|
|
260
|
-
"linting",
|
|
261
|
-
"testing",
|
|
262
|
-
"documentation",
|
|
263
|
-
"rust",
|
|
264
|
-
"^production"
|
|
265
|
-
],
|
|
266
|
-
dependsOn: ["build", "^nx-release-publish"],
|
|
267
|
-
executor: "@storm-software/workspace-tools:cargo-publish",
|
|
268
|
-
options: {
|
|
269
|
-
packageRoot: root
|
|
270
|
-
},
|
|
271
|
-
defaultConfiguration: "production",
|
|
272
|
-
configurations
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
_chunkUHTWNVEZjs.addProjectTag.call(void 0,
|
|
276
|
-
project,
|
|
277
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
278
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST,
|
|
279
|
-
{ overwrite: true }
|
|
280
|
-
);
|
|
281
|
-
_chunkUHTWNVEZjs.setDefaultProjectTags.call(void 0, project, name);
|
|
282
|
-
projects[root] = _defu2.default.call(void 0,
|
|
283
|
-
{
|
|
284
|
-
targets,
|
|
285
|
-
release: {
|
|
286
|
-
version: {
|
|
287
|
-
versionActions: "@storm-software/workspace-tools/release/rust-version-actions"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
project
|
|
292
|
-
);
|
|
293
|
-
}
|
|
294
|
-
for (const dep of cargoPackage.dependencies) {
|
|
295
|
-
if (_chunk32KQVUCFjs.isExternal.call(void 0, dep, context2.workspaceRoot)) {
|
|
296
|
-
const externalDepName = `cargo:${dep.name}`;
|
|
297
|
-
if (!_optionalChain([externalNodes, 'optionalAccess', _5 => _5[externalDepName]])) {
|
|
298
|
-
externalNodes[externalDepName] = {
|
|
299
|
-
type: "cargo",
|
|
300
|
-
name: externalDepName,
|
|
301
|
-
data: {
|
|
302
|
-
packageName: dep.name,
|
|
303
|
-
version: _nullishCoalesce(_optionalChain([cargoPackageMap, 'access', _6 => _6.get, 'call', _7 => _7(dep.name), 'optionalAccess', _8 => _8.version]), () => ( "0.0.0"))
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
return {
|
|
311
|
-
projects,
|
|
312
|
-
externalNodes
|
|
313
|
-
};
|
|
314
|
-
} catch (e) {
|
|
315
|
-
console.error("An error occurred in the Storm Rust Nx plugin.");
|
|
316
|
-
console.error(e);
|
|
317
|
-
throw new Error("An error occurred in the Storm Rust Nx plugin.", {
|
|
318
|
-
cause: e
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
configFiles,
|
|
323
|
-
options,
|
|
324
|
-
context
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
];
|
|
328
|
-
var createDependencies = (options, context) => {
|
|
329
|
-
console.debug(
|
|
330
|
-
`[storm-software/rust]: Creating dependencies using cargo metadata.`
|
|
331
|
-
);
|
|
332
|
-
const metadata = _chunk32KQVUCFjs.cargoMetadata.call(void 0, );
|
|
333
|
-
if (!_optionalChain([metadata, 'optionalAccess', _9 => _9.packages])) {
|
|
334
|
-
console.debug(
|
|
335
|
-
`[storm-software/rust]: Unable to find cargo metadata. Skipping dependency creation.`
|
|
336
|
-
);
|
|
337
|
-
return [];
|
|
338
|
-
}
|
|
339
|
-
const dependencies = [];
|
|
340
|
-
for (const pkg of metadata.packages) {
|
|
341
|
-
if (context.projects[pkg.name]) {
|
|
342
|
-
for (const deps of pkg.dependencies) {
|
|
343
|
-
if (!metadata.packages.find((p) => p.name === deps.name)) {
|
|
344
|
-
console.debug(
|
|
345
|
-
`[storm-software/rust]: Dependency ${deps.name} not found in the cargo metadata.`
|
|
346
|
-
);
|
|
347
|
-
continue;
|
|
348
|
-
}
|
|
349
|
-
if (context.projects[deps.name]) {
|
|
350
|
-
dependencies.push(
|
|
351
|
-
createDependency(context, pkg, deps.name, _projectgraph.DependencyType.static)
|
|
352
|
-
);
|
|
353
|
-
} else {
|
|
354
|
-
const externalDepName = `cargo:${deps.name}`;
|
|
355
|
-
if (externalDepName in (_nullishCoalesce(context.externalNodes, () => ( {})))) {
|
|
356
|
-
dependencies.push(
|
|
357
|
-
createDependency(
|
|
358
|
-
context,
|
|
359
|
-
pkg,
|
|
360
|
-
externalDepName,
|
|
361
|
-
_projectgraph.DependencyType.static
|
|
362
|
-
)
|
|
363
|
-
);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
return dependencies;
|
|
370
|
-
};
|
|
371
|
-
function createDependency(context, pkg, depName, type) {
|
|
372
|
-
const dependency = {
|
|
373
|
-
type,
|
|
374
|
-
source: pkg.name,
|
|
375
|
-
target: depName,
|
|
376
|
-
sourceFile: pkg.manifest_path.replace(/\\/g, "/").replace(context.workspaceRoot.replace(/\\/g, "/"), "").replace(/^\//, "")
|
|
377
|
-
};
|
|
378
|
-
_devkit.validateDependency.call(void 0, dependency, context);
|
|
379
|
-
return dependency;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
exports.name = name; exports.description = description; exports.DefaultCargoPluginProfileMap = DefaultCargoPluginProfileMap; exports.createNodesV2 = createNodesV2; exports.createDependencies = createDependencies;
|
package/dist/chunk-U35L6YML.mjs
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withRunExecutor
|
|
3
|
-
} from "./chunk-SEZ726NO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
writeInfo
|
|
6
|
-
} from "./chunk-T55IDP24.mjs";
|
|
7
|
-
import {
|
|
8
|
-
joinPaths
|
|
9
|
-
} from "./chunk-TBW5MCN6.mjs";
|
|
10
|
-
|
|
11
|
-
// src/executors/unbuild/executor.ts
|
|
12
|
-
import { defu } from "defu";
|
|
13
|
-
import { createJiti } from "jiti";
|
|
14
|
-
async function unbuildExecutorFn(options, context, config) {
|
|
15
|
-
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
16
|
-
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
17
|
-
throw new Error(
|
|
18
|
-
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
if (!context.projectsConfigurations.projects[context.projectName].root) {
|
|
22
|
-
throw new Error(
|
|
23
|
-
"The Build process failed because the project root is not valid. Please run this command from a workspace root directory."
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
if (!context.projectsConfigurations.projects[context.projectName].sourceRoot) {
|
|
27
|
-
throw new Error(
|
|
28
|
-
"The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory."
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
const jiti = createJiti(config.workspaceRoot, {
|
|
32
|
-
fsCache: config.skipCache ? false : joinPaths(
|
|
33
|
-
config.workspaceRoot,
|
|
34
|
-
config.directories.cache || "node_modules/.cache/storm",
|
|
35
|
-
"jiti"
|
|
36
|
-
),
|
|
37
|
-
interopDefault: true
|
|
38
|
-
});
|
|
39
|
-
const stormUnbuild = await jiti.import(
|
|
40
|
-
jiti.esmResolve("@storm-software/unbuild/build")
|
|
41
|
-
);
|
|
42
|
-
await stormUnbuild.build(
|
|
43
|
-
defu(
|
|
44
|
-
{
|
|
45
|
-
...options,
|
|
46
|
-
projectRoot: context.projectsConfigurations.projects[context.projectName].root,
|
|
47
|
-
projectName: context.projectName,
|
|
48
|
-
sourceRoot: context.projectsConfigurations.projects[context.projectName].sourceRoot,
|
|
49
|
-
platform: options.platform
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
stubOptions: {
|
|
53
|
-
jiti: {
|
|
54
|
-
fsCache: config.skipCache ? false : joinPaths(
|
|
55
|
-
config.workspaceRoot,
|
|
56
|
-
config.directories.cache || "node_modules/.cache/storm",
|
|
57
|
-
"jiti"
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
rollup: {
|
|
62
|
-
emitCJS: true,
|
|
63
|
-
watch: false,
|
|
64
|
-
dts: {
|
|
65
|
-
respectExternal: true
|
|
66
|
-
},
|
|
67
|
-
esbuild: {
|
|
68
|
-
target: options.target,
|
|
69
|
-
format: "esm",
|
|
70
|
-
platform: options.platform,
|
|
71
|
-
minify: options.minify ?? !options.debug,
|
|
72
|
-
sourcemap: options.sourcemap ?? options.debug,
|
|
73
|
-
treeShaking: options.treeShaking
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
);
|
|
79
|
-
return {
|
|
80
|
-
success: true
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
var executor_default = withRunExecutor(
|
|
84
|
-
"TypeScript Unbuild build",
|
|
85
|
-
unbuildExecutorFn,
|
|
86
|
-
{
|
|
87
|
-
skipReadingConfig: false,
|
|
88
|
-
hooks: {
|
|
89
|
-
applyDefaultOptions: async (options, config) => {
|
|
90
|
-
options.debug ??= false;
|
|
91
|
-
options.treeShaking ??= true;
|
|
92
|
-
options.buildOnly ??= false;
|
|
93
|
-
options.platform ??= "neutral";
|
|
94
|
-
options.entry ??= ["{sourceRoot}"];
|
|
95
|
-
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
96
|
-
return options;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
export {
|
|
103
|
-
unbuildExecutorFn,
|
|
104
|
-
executor_default
|
|
105
|
-
};
|
package/dist/chunk-UBVTASOE.mjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
findWorkspaceRoot
|
|
3
|
-
} from "./chunk-3J2CP54B.mjs";
|
|
4
|
-
|
|
5
|
-
// src/utils/apply-workspace-tokens.ts
|
|
6
|
-
var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
|
|
7
|
-
let result = option;
|
|
8
|
-
if (!result) {
|
|
9
|
-
return result;
|
|
10
|
-
}
|
|
11
|
-
let projectName;
|
|
12
|
-
let projectRoot;
|
|
13
|
-
let sourceRoot;
|
|
14
|
-
if (tokenizerOptions?.projectName) {
|
|
15
|
-
const context = tokenizerOptions;
|
|
16
|
-
projectName = context.projectName;
|
|
17
|
-
projectRoot = context.root;
|
|
18
|
-
sourceRoot = context.sourceRoot;
|
|
19
|
-
} else {
|
|
20
|
-
const projectConfig = tokenizerOptions;
|
|
21
|
-
projectRoot = projectConfig.root;
|
|
22
|
-
if (projectConfig.name) {
|
|
23
|
-
projectName = projectConfig.name;
|
|
24
|
-
}
|
|
25
|
-
if (projectConfig.sourceRoot) {
|
|
26
|
-
sourceRoot = projectConfig.sourceRoot;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
if (tokenizerOptions.config) {
|
|
30
|
-
const configKeys = Object.keys(tokenizerOptions.config);
|
|
31
|
-
if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
|
|
32
|
-
for (const configKey of configKeys) {
|
|
33
|
-
if (result.includes(`{${configKey}}`)) {
|
|
34
|
-
result = result.replaceAll(
|
|
35
|
-
`{${configKey}}`,
|
|
36
|
-
tokenizerOptions.config[configKey]
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (result.includes("{projectName}")) {
|
|
43
|
-
result = result.replaceAll("{projectName}", projectName);
|
|
44
|
-
}
|
|
45
|
-
if (result.includes("{projectRoot}")) {
|
|
46
|
-
result = result.replaceAll("{projectRoot}", projectRoot);
|
|
47
|
-
}
|
|
48
|
-
if (result.includes("{sourceRoot}")) {
|
|
49
|
-
result = result.replaceAll("{sourceRoot}", sourceRoot);
|
|
50
|
-
}
|
|
51
|
-
if (result.includes("{workspaceRoot}")) {
|
|
52
|
-
result = result.replaceAll(
|
|
53
|
-
"{workspaceRoot}",
|
|
54
|
-
tokenizerOptions.workspaceRoot ?? findWorkspaceRoot()
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export {
|
|
61
|
-
applyWorkspaceExecutorTokens
|
|
62
|
-
};
|
package/dist/chunk-UE6LE5R2.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildCargoCommand,
|
|
3
|
-
cargoCommand
|
|
4
|
-
} from "./chunk-GKLFEOKK.mjs";
|
|
5
|
-
import {
|
|
6
|
-
withRunExecutor
|
|
7
|
-
} from "./chunk-SEZ726NO.mjs";
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-build/executor.ts
|
|
10
|
-
async function cargoBuildExecutor(options, context) {
|
|
11
|
-
const command = buildCargoCommand("build", options, context);
|
|
12
|
-
return await cargoCommand(context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = withRunExecutor(
|
|
15
|
-
"Cargo - Build",
|
|
16
|
-
cargoBuildExecutor,
|
|
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
|
-
export {
|
|
30
|
-
cargoBuildExecutor,
|
|
31
|
-
executor_default
|
|
32
|
-
};
|