@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-PMPKOMMD.js
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk7JRL2LE3js = require('./chunk-7JRL2LE3.js');
|
|
4
|
-
|
|
5
|
-
// src/base/typescript-build-executor.untyped.ts
|
|
6
|
-
var _untyped = require('untyped');
|
|
7
|
-
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
8
|
-
..._chunk7JRL2LE3js.base_executor_untyped_default,
|
|
9
|
-
$schema: {
|
|
10
|
-
id: "TypeScriptBuildExecutorSchema",
|
|
11
|
-
title: "TypeScript Build Executor",
|
|
12
|
-
description: "A type definition for the base TypeScript build executor schema",
|
|
13
|
-
required: ["entry", "tsconfig"]
|
|
14
|
-
},
|
|
15
|
-
entry: {
|
|
16
|
-
$schema: {
|
|
17
|
-
title: "Entry File(s)",
|
|
18
|
-
format: "path",
|
|
19
|
-
type: "array",
|
|
20
|
-
description: "The entry file or files to build",
|
|
21
|
-
items: { type: "string" }
|
|
22
|
-
},
|
|
23
|
-
$default: ["{sourceRoot}/index.ts"]
|
|
24
|
-
},
|
|
25
|
-
tsconfig: {
|
|
26
|
-
$schema: {
|
|
27
|
-
title: "TSConfig Path",
|
|
28
|
-
type: "string",
|
|
29
|
-
format: "path",
|
|
30
|
-
description: "The path to the tsconfig file"
|
|
31
|
-
},
|
|
32
|
-
$default: "{projectRoot}/tsconfig.json"
|
|
33
|
-
},
|
|
34
|
-
bundle: {
|
|
35
|
-
$schema: {
|
|
36
|
-
title: "Bundle",
|
|
37
|
-
type: "boolean",
|
|
38
|
-
description: "Bundle the output"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
minify: {
|
|
42
|
-
$schema: {
|
|
43
|
-
title: "Minify",
|
|
44
|
-
type: "boolean",
|
|
45
|
-
description: "Minify the output"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
debug: {
|
|
49
|
-
$schema: {
|
|
50
|
-
title: "Debug",
|
|
51
|
-
type: "boolean",
|
|
52
|
-
description: "Debug the output"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
sourcemap: {
|
|
56
|
-
$schema: {
|
|
57
|
-
title: "Sourcemap",
|
|
58
|
-
type: "boolean",
|
|
59
|
-
description: "Generate a sourcemap"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
silent: {
|
|
63
|
-
$schema: {
|
|
64
|
-
title: "Silent",
|
|
65
|
-
type: "boolean",
|
|
66
|
-
description: "Should the build run silently - only report errors back to the user"
|
|
67
|
-
},
|
|
68
|
-
$default: false
|
|
69
|
-
},
|
|
70
|
-
target: {
|
|
71
|
-
$schema: {
|
|
72
|
-
title: "Target",
|
|
73
|
-
type: "string",
|
|
74
|
-
description: "The target to build",
|
|
75
|
-
enum: [
|
|
76
|
-
"es3",
|
|
77
|
-
"es5",
|
|
78
|
-
"es6",
|
|
79
|
-
"es2015",
|
|
80
|
-
"es2016",
|
|
81
|
-
"es2017",
|
|
82
|
-
"es2018",
|
|
83
|
-
"es2019",
|
|
84
|
-
"es2020",
|
|
85
|
-
"es2021",
|
|
86
|
-
"es2022",
|
|
87
|
-
"es2023",
|
|
88
|
-
"es2024",
|
|
89
|
-
"esnext",
|
|
90
|
-
"node12",
|
|
91
|
-
"node14",
|
|
92
|
-
"node16",
|
|
93
|
-
"node18",
|
|
94
|
-
"node20",
|
|
95
|
-
"node22",
|
|
96
|
-
"browser",
|
|
97
|
-
"chrome58",
|
|
98
|
-
"chrome59",
|
|
99
|
-
"chrome60"
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
$default: "esnext",
|
|
103
|
-
$resolve: (val = "esnext") => typeof val === "string" ? val.toLowerCase() : val
|
|
104
|
-
},
|
|
105
|
-
format: {
|
|
106
|
-
$schema: {
|
|
107
|
-
title: "Format",
|
|
108
|
-
type: "array",
|
|
109
|
-
description: "The format to build",
|
|
110
|
-
items: {
|
|
111
|
-
type: "string",
|
|
112
|
-
enum: ["cjs", "esm", "iife"]
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
$resolve: (val = ["cjs", "esm"]) => [].concat(val)
|
|
116
|
-
},
|
|
117
|
-
platform: {
|
|
118
|
-
$schema: {
|
|
119
|
-
title: "Platform",
|
|
120
|
-
type: "string",
|
|
121
|
-
description: "The platform to build",
|
|
122
|
-
enum: ["neutral", "node", "browser"]
|
|
123
|
-
},
|
|
124
|
-
$default: "neutral"
|
|
125
|
-
},
|
|
126
|
-
external: {
|
|
127
|
-
$schema: {
|
|
128
|
-
title: "External",
|
|
129
|
-
type: "array",
|
|
130
|
-
description: "The external dependencies"
|
|
131
|
-
},
|
|
132
|
-
$resolve: (val = []) => [].concat(val)
|
|
133
|
-
},
|
|
134
|
-
define: {
|
|
135
|
-
$schema: {
|
|
136
|
-
title: "Define",
|
|
137
|
-
type: "object",
|
|
138
|
-
tsType: "Record<string, string>",
|
|
139
|
-
description: "The define values"
|
|
140
|
-
},
|
|
141
|
-
$resolve: (val = {}) => val,
|
|
142
|
-
$default: {}
|
|
143
|
-
},
|
|
144
|
-
env: {
|
|
145
|
-
$schema: {
|
|
146
|
-
title: "Environment Variables",
|
|
147
|
-
type: "object",
|
|
148
|
-
tsType: "Record<string, string>",
|
|
149
|
-
description: "The environment variable values"
|
|
150
|
-
},
|
|
151
|
-
$resolve: (val = {}) => val,
|
|
152
|
-
$default: {}
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
exports.typescript_build_executor_untyped_default = typescript_build_executor_untyped_default;
|
package/dist/chunk-QC5ON3X4.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// src/utils/versions.ts
|
|
2
|
-
var tsupVersion = "8.4.0";
|
|
3
|
-
var prettierPackageJsonVersion = "2.4.6";
|
|
4
|
-
var prettierPrismaVersion = "5.0.0";
|
|
5
|
-
var prettierVersion = "^3.0.3";
|
|
6
|
-
var swcCliVersion = "~0.1.62";
|
|
7
|
-
var swcCoreVersion = "~1.3.95";
|
|
8
|
-
var swcHelpersVersion = "~0.5.3";
|
|
9
|
-
var swcNodeVersion = "1.6.8";
|
|
10
|
-
var tsLibVersion = "2.6.2";
|
|
11
|
-
var typesNodeVersion = "20.9.0";
|
|
12
|
-
var verdaccioVersion = "5.27.0";
|
|
13
|
-
var typescriptVersion = "~5.2.2";
|
|
14
|
-
var eslintVersion = "~8.53.0";
|
|
15
|
-
var lintStagedVersion = "15.0.2";
|
|
16
|
-
var semanticReleaseVersion = "22.0.7";
|
|
17
|
-
var nxVersion = "^18.0.4";
|
|
18
|
-
var nodeVersion = "20.11.0";
|
|
19
|
-
var pnpmVersion = "8.10.2";
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
tsupVersion,
|
|
23
|
-
prettierPackageJsonVersion,
|
|
24
|
-
prettierPrismaVersion,
|
|
25
|
-
prettierVersion,
|
|
26
|
-
swcCliVersion,
|
|
27
|
-
swcCoreVersion,
|
|
28
|
-
swcHelpersVersion,
|
|
29
|
-
swcNodeVersion,
|
|
30
|
-
tsLibVersion,
|
|
31
|
-
typesNodeVersion,
|
|
32
|
-
verdaccioVersion,
|
|
33
|
-
typescriptVersion,
|
|
34
|
-
eslintVersion,
|
|
35
|
-
lintStagedVersion,
|
|
36
|
-
semanticReleaseVersion,
|
|
37
|
-
nxVersion,
|
|
38
|
-
nodeVersion,
|
|
39
|
-
pnpmVersion
|
|
40
|
-
};
|
package/dist/chunk-QKYQP5DB.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk4ZQUYG5Tjs = require('./chunk-4ZQUYG5T.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
11
|
-
|
|
12
|
-
// src/utils/package-helpers.ts
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _devkit = require('@nx/devkit');
|
|
17
|
-
var _child_process = require('child_process');
|
|
18
|
-
var _fs = require('fs');
|
|
19
|
-
var _promises = require('fs/promises');
|
|
20
|
-
var _path = require('path');
|
|
21
|
-
var _prettier = require('prettier');
|
|
22
|
-
var PackageManagerTypes = {
|
|
23
|
-
PackageJson: "package.json",
|
|
24
|
-
CargoToml: "Cargo.toml"
|
|
25
|
-
};
|
|
26
|
-
var getPackageInfo = (project) => {
|
|
27
|
-
if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
28
|
-
project,
|
|
29
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
30
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST
|
|
31
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
|
-
return {
|
|
33
|
-
type: "Cargo.toml",
|
|
34
|
-
content: _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
|
-
};
|
|
36
|
-
} else if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
37
|
-
project,
|
|
38
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
39
|
-
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TYPESCRIPT
|
|
40
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
|
|
41
|
-
return {
|
|
42
|
-
type: "package.json",
|
|
43
|
-
content: _devkit.readJsonFile.call(void 0,
|
|
44
|
-
_devkit.joinPathFragments.call(void 0, project.root, "package.json")
|
|
45
|
-
)
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
return null;
|
|
49
|
-
};
|
|
50
|
-
async function addPackageJsonGitHead(packageRoot) {
|
|
51
|
-
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
52
|
-
if (!packageJsonPath) {
|
|
53
|
-
throw new Error(
|
|
54
|
-
"No file path provided. Please provide a valid path to the package.json file."
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
const packageJsonValue = JSON.parse(await _promises.readFile.call(void 0, packageJsonPath, "utf8"));
|
|
58
|
-
if (!packageJsonValue || typeof packageJsonValue !== "object") {
|
|
59
|
-
throw new Error(
|
|
60
|
-
`Invalid package.json file at ${packageJsonPath}. Please ensure it is a valid JSON file.`
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
const gitHead = _child_process.execFileSync.call(void 0, "git", ["rev-parse", "HEAD"], {
|
|
64
|
-
cwd: _path.dirname.call(void 0, _path.resolve.call(void 0, packageJsonPath)),
|
|
65
|
-
encoding: "utf8"
|
|
66
|
-
}).trim();
|
|
67
|
-
packageJsonValue.gitHead = gitHead;
|
|
68
|
-
return _promises.writeFile.call(void 0,
|
|
69
|
-
packageJsonPath,
|
|
70
|
-
await _prettier.format.call(void 0, JSON.stringify(packageJsonValue), {
|
|
71
|
-
parser: "json",
|
|
72
|
-
proseWrap: "preserve",
|
|
73
|
-
trailingComma: "none",
|
|
74
|
-
tabWidth: 2,
|
|
75
|
-
semi: true,
|
|
76
|
-
singleQuote: false,
|
|
77
|
-
quoteProps: "as-needed",
|
|
78
|
-
insertPragma: false,
|
|
79
|
-
bracketSameLine: true,
|
|
80
|
-
printWidth: 80,
|
|
81
|
-
bracketSpacing: true,
|
|
82
|
-
arrowParens: "avoid",
|
|
83
|
-
endOfLine: "lf",
|
|
84
|
-
plugins: ["prettier-plugin-packagejson"]
|
|
85
|
-
})
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
exports.PackageManagerTypes = PackageManagerTypes; exports.getPackageInfo = getPackageInfo; exports.addPackageJsonGitHead = addPackageJsonGitHead;
|
package/dist/chunk-QLV3LANL.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-clippy/executor.ts
|
|
10
|
-
async function cargoClippyExecutor(options, context) {
|
|
11
|
-
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "clippy", 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 - Clippy",
|
|
16
|
-
cargoClippyExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.toolchain ??= "stable";
|
|
22
|
-
options.fix ??= false;
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.cargoClippyExecutor = cargoClippyExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-QQB6GFYM.mjs
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
base_executor_untyped_default
|
|
3
|
-
} from "./chunk-ZCTECGQS.mjs";
|
|
4
|
-
|
|
5
|
-
// src/base/cargo-base-executor.untyped.ts
|
|
6
|
-
import { defineUntypedSchema } from "untyped";
|
|
7
|
-
var cargo_base_executor_untyped_default = defineUntypedSchema({
|
|
8
|
-
...base_executor_untyped_default,
|
|
9
|
-
$schema: {
|
|
10
|
-
id: "cargoBaseExecutor",
|
|
11
|
-
title: "Cargo Base Executor",
|
|
12
|
-
description: "A base type definition for a Cargo/rust related executor schema"
|
|
13
|
-
},
|
|
14
|
-
package: {
|
|
15
|
-
$schema: {
|
|
16
|
-
title: "Cargo.toml Path",
|
|
17
|
-
type: "string",
|
|
18
|
-
format: "path",
|
|
19
|
-
description: "The path to the Cargo.toml file"
|
|
20
|
-
},
|
|
21
|
-
$default: "{projectRoot}/Cargo.toml"
|
|
22
|
-
},
|
|
23
|
-
toolchain: {
|
|
24
|
-
$schema: {
|
|
25
|
-
title: "Toolchain",
|
|
26
|
-
description: "The type of toolchain to use for the build",
|
|
27
|
-
enum: ["stable", "beta", "nightly"],
|
|
28
|
-
default: "stable"
|
|
29
|
-
},
|
|
30
|
-
$default: "stable"
|
|
31
|
-
},
|
|
32
|
-
target: {
|
|
33
|
-
$schema: {
|
|
34
|
-
title: "Target",
|
|
35
|
-
type: "string",
|
|
36
|
-
description: "The target to build"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
allTargets: {
|
|
40
|
-
$schema: {
|
|
41
|
-
title: "All Targets",
|
|
42
|
-
type: "boolean",
|
|
43
|
-
description: "Build all targets"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
profile: {
|
|
47
|
-
$schema: {
|
|
48
|
-
title: "Profile",
|
|
49
|
-
type: "string",
|
|
50
|
-
description: "The profile to build"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
release: {
|
|
54
|
-
$schema: {
|
|
55
|
-
title: "Release",
|
|
56
|
-
type: "boolean",
|
|
57
|
-
description: "Build in release mode"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
features: {
|
|
61
|
-
$schema: {
|
|
62
|
-
title: "Features",
|
|
63
|
-
type: "string",
|
|
64
|
-
description: "The features to build",
|
|
65
|
-
oneOf: [{ type: "string" }, { type: "array", items: { type: "string" } }]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
allFeatures: {
|
|
69
|
-
$schema: {
|
|
70
|
-
title: "All Features",
|
|
71
|
-
type: "boolean",
|
|
72
|
-
description: "Build all features"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
export {
|
|
78
|
-
cargo_base_executor_untyped_default
|
|
79
|
-
};
|
package/dist/chunk-QVYCDING.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/create-cli-options.ts
|
|
2
|
-
var _devkit = require('@nx/devkit');
|
|
3
|
-
function createCliOptions(obj) {
|
|
4
|
-
const args = [];
|
|
5
|
-
for (const key in obj) {
|
|
6
|
-
const value = obj[key];
|
|
7
|
-
if (value) {
|
|
8
|
-
const arg = _devkit.names.call(void 0, key).fileName;
|
|
9
|
-
if (Array.isArray(value)) {
|
|
10
|
-
args.push(
|
|
11
|
-
`--${arg.toLowerCase()}=${value.map((v) => v.trim()).join(",")}`
|
|
12
|
-
);
|
|
13
|
-
} else {
|
|
14
|
-
args.push(`--${arg.toLowerCase()}=${value}`);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return args;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.createCliOptions = createCliOptions;
|
package/dist/chunk-R4NPC2W7.mjs
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getCrateRegistryVersion
|
|
3
|
-
} from "./chunk-EGI64HQ2.mjs";
|
|
4
|
-
import {
|
|
5
|
-
parseCargoToml,
|
|
6
|
-
parseCargoTomlWithTree,
|
|
7
|
-
stringifyCargoToml
|
|
8
|
-
} from "./chunk-JCPIXJ3N.mjs";
|
|
9
|
-
import {
|
|
10
|
-
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-K7B3YICS.mjs";
|
|
12
|
-
|
|
13
|
-
// src/release/rust-version-actions.ts
|
|
14
|
-
import {
|
|
15
|
-
joinPathFragments
|
|
16
|
-
} from "@nx/devkit";
|
|
17
|
-
import { VersionActions } from "nx/release";
|
|
18
|
-
var StormRustVersionActions = class extends VersionActions {
|
|
19
|
-
validManifestFilenames = ["Cargo.toml"];
|
|
20
|
-
/**
|
|
21
|
-
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* This member variable is populated during the {@link init} method.
|
|
25
|
-
*/
|
|
26
|
-
workspaceConfig = null;
|
|
27
|
-
constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
|
|
28
|
-
super(releaseGroup, projectGraphNode, finalConfigForProject);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Asynchronous initialization of the version actions and resolution of manifest paths.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This does NOT validate that manifest files exist - that happens later in validate().
|
|
35
|
-
*
|
|
36
|
-
* @params tree - The file system tree to read from.
|
|
37
|
-
*/
|
|
38
|
-
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await getWorkspaceConfig();
|
|
40
|
-
return super.init(tree);
|
|
41
|
-
}
|
|
42
|
-
async readCurrentVersionFromSourceManifest(tree) {
|
|
43
|
-
const sourceCargoTomlPath = joinPathFragments(
|
|
44
|
-
this.projectGraphNode.data.root,
|
|
45
|
-
"Cargo.toml"
|
|
46
|
-
);
|
|
47
|
-
try {
|
|
48
|
-
const cargoToml = parseCargoTomlWithTree(
|
|
49
|
-
tree,
|
|
50
|
-
this.projectGraphNode.data.root,
|
|
51
|
-
this.projectGraphNode.name
|
|
52
|
-
);
|
|
53
|
-
return {
|
|
54
|
-
manifestPath: sourceCargoTomlPath,
|
|
55
|
-
currentVersion: cargoToml.package.version
|
|
56
|
-
};
|
|
57
|
-
} catch {
|
|
58
|
-
throw new Error(
|
|
59
|
-
`Unable to determine the current version for project "${this.projectGraphNode.name}" from ${sourceCargoTomlPath}, please ensure that the "version" field is set within the Cargo.toml file`
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml = parseCargoTomlWithTree(
|
|
65
|
-
tree,
|
|
66
|
-
this.projectGraphNode.data.root,
|
|
67
|
-
this.projectGraphNode.name
|
|
68
|
-
);
|
|
69
|
-
const crateName = cargoToml.package.name;
|
|
70
|
-
const metadata = currentVersionResolverMetadata;
|
|
71
|
-
const registryArg = typeof metadata?.registry === "string" ? metadata.registry : this.workspaceConfig?.registry?.cargo || "https://crates.io";
|
|
72
|
-
const tagArg = typeof metadata?.tag === "string" ? metadata.tag : "latest";
|
|
73
|
-
let currentVersion = null;
|
|
74
|
-
try {
|
|
75
|
-
currentVersion = await getCrateRegistryVersion(
|
|
76
|
-
crateName,
|
|
77
|
-
tagArg,
|
|
78
|
-
registryArg
|
|
79
|
-
);
|
|
80
|
-
} catch {
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
currentVersion: currentVersion || "0.0.0",
|
|
84
|
-
// Make troubleshooting easier by including the registry and tag data in the log text
|
|
85
|
-
logText: `"cargoRegistry=${registryArg}" tag=${tagArg}`
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml = parseCargoTomlWithTree(
|
|
90
|
-
tree,
|
|
91
|
-
this.projectGraphNode.data.root,
|
|
92
|
-
this.projectGraphNode.name
|
|
93
|
-
);
|
|
94
|
-
if (!projectGraph.nodes[dependencyProjectName]?.data?.root) {
|
|
95
|
-
return {
|
|
96
|
-
currentVersion: null,
|
|
97
|
-
dependencyCollection: null
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
const dependencyCargoToml = parseCargoTomlWithTree(
|
|
101
|
-
tree,
|
|
102
|
-
projectGraph.nodes[dependencyProjectName]?.data.root,
|
|
103
|
-
dependencyProjectName
|
|
104
|
-
);
|
|
105
|
-
if (!dependencyCargoToml?.package?.name) {
|
|
106
|
-
return {
|
|
107
|
-
currentVersion: null,
|
|
108
|
-
dependencyCollection: null
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
let currentVersion = null;
|
|
112
|
-
let dependencyCollection = null;
|
|
113
|
-
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
114
|
-
if (cargoToml[depType] && cargoToml[depType][dependencyCargoToml.package.name]) {
|
|
115
|
-
currentVersion = typeof cargoToml[depType][dependencyCargoToml.package.name] === "string" ? cargoToml[depType][dependencyCargoToml.package.name] : cargoToml[depType][dependencyCargoToml.package.name].version;
|
|
116
|
-
dependencyCollection = depType;
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
return {
|
|
121
|
-
currentVersion,
|
|
122
|
-
dependencyCollection
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
async updateProjectVersion(tree, newVersion) {
|
|
126
|
-
const logMessages = [];
|
|
127
|
-
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
128
|
-
const cargoTomlString = tree.read(manifestToUpdate.manifestPath)?.toString();
|
|
129
|
-
if (!cargoTomlString) {
|
|
130
|
-
throw new Error(
|
|
131
|
-
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
const cargoToml = parseCargoToml(cargoTomlString);
|
|
135
|
-
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath, stringifyCargoToml(cargoToml));
|
|
137
|
-
logMessages.push(
|
|
138
|
-
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
return logMessages;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Updates the dependencies of the project in the specified Cargo.toml files.
|
|
145
|
-
*
|
|
146
|
-
* @param tree - The file system tree to read from and write to.
|
|
147
|
-
* @param projectGraph - The project graph to use for resolving dependencies.
|
|
148
|
-
* @param dependenciesToUpdate - A mapping of dependency names to their new versions.
|
|
149
|
-
* @returns An array of log messages indicating the results of the updates.
|
|
150
|
-
*/
|
|
151
|
-
async updateProjectDependencies(tree, projectGraph, dependenciesToUpdate = {}) {
|
|
152
|
-
const numDependenciesToUpdate = Object.keys(dependenciesToUpdate).length;
|
|
153
|
-
if (numDependenciesToUpdate === 0) {
|
|
154
|
-
return [];
|
|
155
|
-
}
|
|
156
|
-
const logMessages = [];
|
|
157
|
-
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
158
|
-
const cargoTomlString = tree.read(manifestToUpdate.manifestPath)?.toString();
|
|
159
|
-
if (!cargoTomlString) {
|
|
160
|
-
throw new Error(
|
|
161
|
-
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
const cargoToml = parseCargoToml(cargoTomlString);
|
|
165
|
-
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
|
-
if (cargoToml[depType]) {
|
|
167
|
-
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
168
|
-
try {
|
|
169
|
-
const projectRoot = projectGraph.nodes[dep]?.data.root;
|
|
170
|
-
if (!projectRoot) {
|
|
171
|
-
throw new Error(
|
|
172
|
-
`Unable to determine the project root for "${dep}" from the project graph metadata, please ensure that the "@storm-software/workspace-tools" plugin is installed and the project graph has been built. If the issue persists, please report this issue on https://github.com/storm-software/storm-ops/issues`
|
|
173
|
-
);
|
|
174
|
-
}
|
|
175
|
-
const dependencyCargoTomlString = tree.read(manifestToUpdate.manifestPath)?.toString();
|
|
176
|
-
if (!dependencyCargoTomlString) {
|
|
177
|
-
throw new Error(
|
|
178
|
-
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
|
-
const dependencyCargoToml = parseCargoToml(
|
|
182
|
-
dependencyCargoTomlString
|
|
183
|
-
);
|
|
184
|
-
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
185
|
-
if (typeof cargoToml[depType][dependencyCrateName] === "string") {
|
|
186
|
-
cargoToml[depType][dependencyCrateName] = version;
|
|
187
|
-
} else {
|
|
188
|
-
cargoToml[depType][dependencyCrateName].version = version;
|
|
189
|
-
}
|
|
190
|
-
tree.write(
|
|
191
|
-
manifestToUpdate.manifestPath,
|
|
192
|
-
stringifyCargoToml(cargoToml)
|
|
193
|
-
);
|
|
194
|
-
} catch (error) {
|
|
195
|
-
throw new Error(
|
|
196
|
-
`Unable to update ${depType === "dev-dependencies" ? "dev-dependency" : "dependency"} "${dep}" in manifest at path: ${manifestToUpdate.manifestPath}.`,
|
|
197
|
-
{ cause: error }
|
|
198
|
-
);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
logMessages.push(
|
|
204
|
-
`\u270D\uFE0F Updated ${numDependenciesToUpdate} ${numDependenciesToUpdate === 1 ? "dependency" : "dependencies"} in manifest: ${manifestToUpdate.manifestPath}`
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
|
-
return logMessages;
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
export {
|
|
212
|
-
StormRustVersionActions
|
|
213
|
-
};
|