@storm-software/workspace-tools 1.295.84 → 1.295.85
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 +25 -16
- package/CHANGELOG.md +0 -13094
- 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 -324
- package/config/recommended.json +0 -328
- package/dist/chunk-2AVWFUXP.js +0 -112
- package/dist/chunk-2CXXVFU4.js +0 -213
- package/dist/chunk-2GQSCZ3J.mjs +0 -128
- package/dist/chunk-2L7ICILU.js +0 -364
- package/dist/chunk-2QMGYIOO.mjs +0 -81
- package/dist/chunk-32KQVUCF.js +0 -163
- package/dist/chunk-34LSWMWV.mjs +0 -20
- package/dist/chunk-35ERFW7I.mjs +0 -150
- package/dist/chunk-35G4LHK2.mjs +0 -1510
- package/dist/chunk-3J2CP54B.mjs +0 -100
- package/dist/chunk-437WGH2M.mjs +0 -32
- package/dist/chunk-4AKDRRML.js +0 -339
- package/dist/chunk-4AR5RJMF.mjs +0 -402
- package/dist/chunk-4VWDSVQJ.mjs +0 -321
- package/dist/chunk-57OGFZNB.js +0 -321
- package/dist/chunk-5GZC2PF6.mjs +0 -0
- package/dist/chunk-5JYAH2VL.mjs +0 -388
- package/dist/chunk-5OS7GV5T.mjs +0 -51
- package/dist/chunk-6EMYX25V.js +0 -7
- package/dist/chunk-6HJ4EEBB.js +0 -102
- package/dist/chunk-6IXJEWJR.js +0 -93
- 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-7MM5MBEP.mjs +0 -32
- package/dist/chunk-AH7KAAQJ.mjs +0 -17
- package/dist/chunk-ALL63TSY.mjs +0 -110
- package/dist/chunk-ANHKV7HZ.js +0 -22
- package/dist/chunk-AY3HOPOX.js +0 -41
- package/dist/chunk-BAPFD3TO.js +0 -79
- package/dist/chunk-BAYA5SVP.mjs +0 -319
- package/dist/chunk-BT7OBRJT.mjs +0 -76
- package/dist/chunk-C3TC7AUW.js +0 -1
- package/dist/chunk-CBVZ57E6.js +0 -150
- package/dist/chunk-CQDBLKPF.js +0 -172
- package/dist/chunk-CQIILJEF.js +0 -1510
- package/dist/chunk-DEP6TIXL.js +0 -50
- package/dist/chunk-DIUWF7BW.js +0 -17
- package/dist/chunk-DJZX3XBE.mjs +0 -105
- package/dist/chunk-EGI64HQ2.mjs +0 -22
- package/dist/chunk-EMX7LTEI.mjs +0 -50
- package/dist/chunk-EQMVQ3I7.mjs +0 -213
- package/dist/chunk-ETSIRKO5.js +0 -79
- package/dist/chunk-EYO6EPEG.mjs +0 -93
- package/dist/chunk-FFEJNAFP.js +0 -250
- package/dist/chunk-FPNWNZUL.mjs +0 -253
- package/dist/chunk-FQX7ZBQS.mjs +0 -32
- package/dist/chunk-GCDDSEDG.mjs +0 -540
- package/dist/chunk-GED6QYLK.mjs +0 -117
- package/dist/chunk-GHQJKIMQ.mjs +0 -0
- package/dist/chunk-GKLFEOKK.mjs +0 -163
- package/dist/chunk-GTBTSMUH.mjs +0 -10
- package/dist/chunk-GZA2CV3C.js +0 -402
- package/dist/chunk-HECOVC7R.mjs +0 -82
- package/dist/chunk-HXQRGLII.js +0 -81
- package/dist/chunk-IETUQQJT.mjs +0 -52
- package/dist/chunk-IIFXLZEH.js +0 -319
- package/dist/chunk-JDDKEYTF.js +0 -469
- package/dist/chunk-JGP4YWZY.js +0 -1
- package/dist/chunk-JPOHRWVM.mjs +0 -31
- package/dist/chunk-K4QMCCQB.mjs +0 -79
- package/dist/chunk-KBJ7IEXI.js +0 -1
- package/dist/chunk-KR72GKIT.mjs +0 -7
- package/dist/chunk-LMYTVXGX.js +0 -100
- package/dist/chunk-LQHVZMFV.js +0 -79
- package/dist/chunk-LULOWPU2.js +0 -110
- package/dist/chunk-LZ3H2OH5.mjs +0 -158
- package/dist/chunk-MNA3AU4B.mjs +0 -49
- package/dist/chunk-NUGNYGBF.js +0 -105
- package/dist/chunk-O7Z2YGFU.js +0 -52
- package/dist/chunk-OBATTMGC.mjs +0 -105
- package/dist/chunk-OKSECMVK.js +0 -32
- package/dist/chunk-P56QF3XG.js +0 -74
- package/dist/chunk-P5P43FOZ.mjs +0 -0
- package/dist/chunk-P6HSE7LH.js +0 -1
- package/dist/chunk-PB5565L7.js +0 -37
- package/dist/chunk-PICVMVJQ.mjs +0 -364
- package/dist/chunk-PMPKOMMD.js +0 -158
- package/dist/chunk-PRW5IUAC.js +0 -31
- package/dist/chunk-QC5ON3X4.mjs +0 -40
- package/dist/chunk-QQB6GFYM.mjs +0 -79
- package/dist/chunk-QSNWB7A5.mjs +0 -41
- package/dist/chunk-QVYCDING.js +0 -23
- package/dist/chunk-RCSUK5YZ.mjs +0 -77
- package/dist/chunk-S2KOD2HL.mjs +0 -128
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-SGI4JCLV.js +0 -540
- package/dist/chunk-SW2E5MQJ.mjs +0 -112
- package/dist/chunk-SZWM7COV.js +0 -40
- package/dist/chunk-TAP26ZJQ.js +0 -128
- package/dist/chunk-TBW5MCN6.mjs +0 -172
- package/dist/chunk-THA4SGMV.js +0 -32
- package/dist/chunk-TM2CRDJW.js +0 -148
- package/dist/chunk-U5JPGO47.js +0 -117
- package/dist/chunk-UBVTASOE.mjs +0 -62
- package/dist/chunk-UV6QIFS3.js +0 -388
- package/dist/chunk-V5K2PDVY.mjs +0 -339
- package/dist/chunk-VC4FGY7P.js +0 -49
- package/dist/chunk-VXHOSAQ7.js +0 -62
- package/dist/chunk-W2C5IGWW.mjs +0 -23
- package/dist/chunk-WJ5AG2IU.js +0 -76
- package/dist/chunk-WQUWUZZ4.mjs +0 -32
- package/dist/chunk-WTWQAZUM.js +0 -128
- package/dist/chunk-X2UWPTFU.mjs +0 -37
- package/dist/chunk-X3HC3R2I.js +0 -51
- package/dist/chunk-XNHWWPSK.js +0 -32
- package/dist/chunk-YRGMZRC3.mjs +0 -469
- package/dist/chunk-YYLV7UA6.js +0 -1
- package/dist/chunk-ZCTECGQS.mjs +0 -21
- package/dist/chunk-ZYI527ZS.js +0 -32
- 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-B9nl4zZh.d.mts +0 -38
- package/dist/generator-BKKfRfw5.d.mts +0 -108
- package/dist/generator-CKzlyVl8.d.ts +0 -38
- package/dist/generator-CPAEsIX9.d.ts +0 -108
- package/dist/generator-Ce5Jjv19.d.mts +0 -130
- package/dist/generator-DMnwA7AM.d.ts +0 -130
- package/dist/generator-DN9Th4ZG.d.ts +0 -130
- package/dist/generator-DVJjzR9Q.d.mts +0 -130
- package/dist/generator-DX2foast.d.ts +0 -130
- package/dist/generator-rIlu4Sq2.d.mts +0 -130
- package/dist/generators.d.mts +0 -13
- package/dist/generators.d.ts +0 -13
- package/dist/generators.js +0 -36
- package/dist/generators.mjs +0 -37
- package/dist/index.d.mts +0 -61
- package/dist/index.d.ts +0 -61
- 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 -11
- package/dist/src/base/base-executor.d.ts +0 -11
- 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 -11
- package/dist/src/base/base-generator.d.ts +0 -11
- 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 -155
- package/dist/src/base/index.d.ts +0 -155
- 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.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.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.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.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.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.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/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/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/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/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/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/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/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/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 -8
- package/dist/src/generators/browser-library/generator.d.ts +0 -8
- 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/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 -8
- package/dist/src/generators/config-schema/generator.d.ts +0 -8
- 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/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/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 -8
- package/dist/src/generators/neutral-library/generator.d.ts +0 -8
- 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/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 -8
- package/dist/src/generators/node-library/generator.d.ts +0 -8
- 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/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 -8
- package/dist/src/generators/preset/generator.d.ts +0 -8
- package/dist/src/generators/preset/generator.js +0 -15
- package/dist/src/generators/preset/generator.mjs +0 -16
- 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 -65
- package/dist/src/plugins/typescript/index.d.ts +0 -65
- 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 -13
- package/dist/src/plugins/typescript/tsdown.d.ts +0 -13
- 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 -13
- package/dist/src/plugins/typescript/tsup.d.ts +0 -13
- 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 -6
- package/dist/src/types.d.ts +0 -6
- 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 -19
- package/dist/src/utils/index.d.ts +0 -19
- 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 -65
- package/dist/src/utils/project-tags.d.ts +0 -65
- 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-Bvfw-xMk.d.ts +0 -77
- package/dist/types-D2zxYEAh.d.mts +0 -41
- package/dist/types-D2zxYEAh.d.ts +0 -41
- package/dist/types-DLXcfy35.d.mts +0 -77
- 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-YRGMZRC3.mjs
DELETED
|
@@ -1,469 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_CSS_BANNER,
|
|
3
|
-
DEFAULT_JS_BANNER,
|
|
4
|
-
addPackageDependencies,
|
|
5
|
-
addWorkspacePackageJsonFields,
|
|
6
|
-
copyAssets,
|
|
7
|
-
getEnv
|
|
8
|
-
} from "./chunk-BAYA5SVP.mjs";
|
|
9
|
-
import {
|
|
10
|
-
withRunExecutor
|
|
11
|
-
} from "./chunk-35ERFW7I.mjs";
|
|
12
|
-
import {
|
|
13
|
-
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-35G4LHK2.mjs";
|
|
15
|
-
import {
|
|
16
|
-
brandIcon,
|
|
17
|
-
formatLogMessage,
|
|
18
|
-
getStopwatch,
|
|
19
|
-
writeDebug,
|
|
20
|
-
writeError,
|
|
21
|
-
writeFatal,
|
|
22
|
-
writeInfo,
|
|
23
|
-
writeSuccess,
|
|
24
|
-
writeWarning
|
|
25
|
-
} from "./chunk-4AR5RJMF.mjs";
|
|
26
|
-
import {
|
|
27
|
-
joinPaths
|
|
28
|
-
} from "./chunk-TBW5MCN6.mjs";
|
|
29
|
-
|
|
30
|
-
// ../esbuild/src/assets.ts
|
|
31
|
-
async function copyBuildAssets(context) {
|
|
32
|
-
if (!context.result?.errors.length && context.options.assets?.length) {
|
|
33
|
-
writeDebug(
|
|
34
|
-
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
35
|
-
context.workspaceConfig
|
|
36
|
-
);
|
|
37
|
-
const stopwatch = getStopwatch(`${context.options.name} asset copy`);
|
|
38
|
-
await copyAssets(
|
|
39
|
-
context.workspaceConfig,
|
|
40
|
-
context.options.assets ?? [],
|
|
41
|
-
context.outputPath,
|
|
42
|
-
context.options.projectRoot,
|
|
43
|
-
context.sourceRoot,
|
|
44
|
-
true,
|
|
45
|
-
false
|
|
46
|
-
);
|
|
47
|
-
stopwatch();
|
|
48
|
-
}
|
|
49
|
-
return context;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// ../esbuild/src/clean.ts
|
|
53
|
-
import { rm } from "node:fs/promises";
|
|
54
|
-
async function cleanDirectories(directory) {
|
|
55
|
-
await rm(directory, { recursive: true, force: true });
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// ../esbuild/src/context.ts
|
|
59
|
-
import {
|
|
60
|
-
createProjectGraphAsync,
|
|
61
|
-
readProjectsConfigurationFromProjectGraph
|
|
62
|
-
} from "@nx/devkit";
|
|
63
|
-
import defu from "defu";
|
|
64
|
-
import { existsSync } from "node:fs";
|
|
65
|
-
import hf from "node:fs/promises";
|
|
66
|
-
import { findWorkspaceRoot } from "nx/src/utils/find-workspace-root";
|
|
67
|
-
|
|
68
|
-
// ../esbuild/src/config.ts
|
|
69
|
-
var DEFAULT_BUILD_OPTIONS = {
|
|
70
|
-
platform: "node",
|
|
71
|
-
target: "node22",
|
|
72
|
-
format: "esm",
|
|
73
|
-
mode: "production",
|
|
74
|
-
generatePackageJson: true,
|
|
75
|
-
includeSrc: false,
|
|
76
|
-
keepNames: true,
|
|
77
|
-
metafile: false,
|
|
78
|
-
treeshake: true,
|
|
79
|
-
splitting: true,
|
|
80
|
-
shims: false,
|
|
81
|
-
watch: false,
|
|
82
|
-
bundle: true,
|
|
83
|
-
distDir: "dist",
|
|
84
|
-
loader: {
|
|
85
|
-
".aac": "file",
|
|
86
|
-
".css": "file",
|
|
87
|
-
".eot": "file",
|
|
88
|
-
".flac": "file",
|
|
89
|
-
".gif": "file",
|
|
90
|
-
".jpeg": "file",
|
|
91
|
-
".jpg": "file",
|
|
92
|
-
".mp3": "file",
|
|
93
|
-
".mp4": "file",
|
|
94
|
-
".ogg": "file",
|
|
95
|
-
".otf": "file",
|
|
96
|
-
".png": "file",
|
|
97
|
-
".svg": "file",
|
|
98
|
-
".ttf": "file",
|
|
99
|
-
".wav": "file",
|
|
100
|
-
".webm": "file",
|
|
101
|
-
".webp": "file",
|
|
102
|
-
".woff": "file",
|
|
103
|
-
".woff2": "file"
|
|
104
|
-
},
|
|
105
|
-
banner: {
|
|
106
|
-
js: DEFAULT_JS_BANNER,
|
|
107
|
-
css: DEFAULT_CSS_BANNER
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
// ../esbuild/src/context.ts
|
|
112
|
-
async function resolveContext(userOptions) {
|
|
113
|
-
const projectRoot = userOptions.projectRoot;
|
|
114
|
-
const workspaceRoot = findWorkspaceRoot(projectRoot);
|
|
115
|
-
if (!workspaceRoot) {
|
|
116
|
-
throw new Error("Cannot find Nx workspace root");
|
|
117
|
-
}
|
|
118
|
-
const workspaceConfig = await getWorkspaceConfig(true, {
|
|
119
|
-
workspaceRoot: workspaceRoot.dir
|
|
120
|
-
});
|
|
121
|
-
writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
122
|
-
const stopwatch = getStopwatch("Build options resolution");
|
|
123
|
-
const projectGraph = await createProjectGraphAsync({
|
|
124
|
-
exitOnError: true
|
|
125
|
-
});
|
|
126
|
-
const projectJsonPath = joinPaths(
|
|
127
|
-
workspaceRoot.dir,
|
|
128
|
-
projectRoot,
|
|
129
|
-
"project.json"
|
|
130
|
-
);
|
|
131
|
-
if (!existsSync(projectJsonPath)) {
|
|
132
|
-
throw new Error("Cannot find project.json configuration");
|
|
133
|
-
}
|
|
134
|
-
const projectJsonFile = await hf.readFile(projectJsonPath, "utf8");
|
|
135
|
-
const projectJson = JSON.parse(projectJsonFile);
|
|
136
|
-
const projectName = projectJson.name || userOptions.name;
|
|
137
|
-
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
138
|
-
if (!projectConfigurations?.projects?.[projectName]) {
|
|
139
|
-
throw new Error(
|
|
140
|
-
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
const options = defu(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
144
|
-
options.name ??= projectName;
|
|
145
|
-
const packageJsonPath = joinPaths(
|
|
146
|
-
workspaceRoot.dir,
|
|
147
|
-
options.projectRoot,
|
|
148
|
-
"package.json"
|
|
149
|
-
);
|
|
150
|
-
if (!existsSync(packageJsonPath)) {
|
|
151
|
-
throw new Error("Cannot find package.json configuration");
|
|
152
|
-
}
|
|
153
|
-
const env = getEnv("esbuild", options);
|
|
154
|
-
const define = defu(options.define ?? {}, env ?? {});
|
|
155
|
-
const resolvedOptions = {
|
|
156
|
-
...options,
|
|
157
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(workspaceRoot.dir, projectRoot, "tsconfig.json"),
|
|
158
|
-
metafile: userOptions.mode === "development",
|
|
159
|
-
clean: false,
|
|
160
|
-
env,
|
|
161
|
-
define: {
|
|
162
|
-
STORM_FORMAT: JSON.stringify(options.format),
|
|
163
|
-
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
164
|
-
const value = JSON.stringify(define[key]);
|
|
165
|
-
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
166
|
-
return {
|
|
167
|
-
...res,
|
|
168
|
-
[`process.env.${safeKey}`]: value,
|
|
169
|
-
[`import.meta.env.${safeKey}`]: value
|
|
170
|
-
};
|
|
171
|
-
}, {})
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
stopwatch();
|
|
175
|
-
const context = {
|
|
176
|
-
options: resolvedOptions,
|
|
177
|
-
clean: userOptions.clean !== false,
|
|
178
|
-
workspaceConfig,
|
|
179
|
-
projectConfigurations,
|
|
180
|
-
projectName,
|
|
181
|
-
projectGraph,
|
|
182
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || joinPaths(resolvedOptions.projectRoot, "src"),
|
|
183
|
-
outputPath: resolvedOptions.outputPath || joinPaths(
|
|
184
|
-
workspaceConfig.workspaceRoot,
|
|
185
|
-
"dist",
|
|
186
|
-
resolvedOptions.projectRoot
|
|
187
|
-
),
|
|
188
|
-
minify: resolvedOptions.minify || resolvedOptions.mode === "production"
|
|
189
|
-
};
|
|
190
|
-
context.options.esbuildPlugins = [...context.options.esbuildPlugins ?? []];
|
|
191
|
-
if (context.options.verbose) {
|
|
192
|
-
writeDebug(
|
|
193
|
-
` \u2699\uFE0F Build options resolved:
|
|
194
|
-
|
|
195
|
-
${formatLogMessage(context.options)}`,
|
|
196
|
-
workspaceConfig
|
|
197
|
-
);
|
|
198
|
-
}
|
|
199
|
-
return context;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// ../esbuild/src/package-json.ts
|
|
203
|
-
import { writeJsonFile } from "@nx/devkit";
|
|
204
|
-
import { existsSync as existsSync2 } from "node:fs";
|
|
205
|
-
import hf2 from "node:fs/promises";
|
|
206
|
-
async function generatePackageJson(context) {
|
|
207
|
-
if (context.options.generatePackageJson !== false && existsSync2(joinPaths(context.options.projectRoot, "package.json"))) {
|
|
208
|
-
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
209
|
-
const stopwatch = getStopwatch("Write package.json file");
|
|
210
|
-
const packageJsonPath = joinPaths(
|
|
211
|
-
context.options.projectRoot,
|
|
212
|
-
"project.json"
|
|
213
|
-
);
|
|
214
|
-
if (!existsSync2(packageJsonPath)) {
|
|
215
|
-
throw new Error("Cannot find package.json configuration");
|
|
216
|
-
}
|
|
217
|
-
const packageJsonFile = await hf2.readFile(
|
|
218
|
-
joinPaths(
|
|
219
|
-
context.workspaceConfig.workspaceRoot,
|
|
220
|
-
context.options.projectRoot,
|
|
221
|
-
"package.json"
|
|
222
|
-
),
|
|
223
|
-
"utf8"
|
|
224
|
-
);
|
|
225
|
-
let packageJson = JSON.parse(packageJsonFile);
|
|
226
|
-
if (!packageJson) {
|
|
227
|
-
throw new Error("Cannot find package.json configuration file");
|
|
228
|
-
}
|
|
229
|
-
packageJson = await addPackageDependencies(
|
|
230
|
-
context.workspaceConfig.workspaceRoot,
|
|
231
|
-
context.options.projectRoot,
|
|
232
|
-
context.projectName,
|
|
233
|
-
packageJson
|
|
234
|
-
);
|
|
235
|
-
packageJson = await addWorkspacePackageJsonFields(
|
|
236
|
-
context.workspaceConfig,
|
|
237
|
-
context.options.projectRoot,
|
|
238
|
-
context.sourceRoot,
|
|
239
|
-
context.projectName,
|
|
240
|
-
false,
|
|
241
|
-
packageJson
|
|
242
|
-
);
|
|
243
|
-
if (context.options.entry) {
|
|
244
|
-
packageJson.exports ??= {};
|
|
245
|
-
packageJson.exports["./package.json"] ??= "./package.json";
|
|
246
|
-
const entryPoints = Array.isArray(context.options.entry) ? context.options.entry : Object.keys(context.options.entry);
|
|
247
|
-
if (entryPoints.length > 0) {
|
|
248
|
-
const defaultEntry = entryPoints.includes("index") ? `.${context.options.distDir ? `/${context.options.distDir}` : ""}/index` : `.${context.options.distDir ? `/${context.options.distDir}` : ""}/${entryPoints[0]}`;
|
|
249
|
-
const isEsm = Array.isArray(context.options.format) ? context.options.format.includes("esm") : context.options.format === "esm";
|
|
250
|
-
const isCjs = Array.isArray(context.options.format) ? context.options.format.includes("cjs") : context.options.format === "cjs";
|
|
251
|
-
const isDts = context.options.dts || context.options.experimentalDts;
|
|
252
|
-
packageJson.exports["."] ??= `${defaultEntry}.${isEsm ? "mjs" : isCjs ? "cjs" : "js"}`;
|
|
253
|
-
for (const entryPoint of entryPoints) {
|
|
254
|
-
packageJson.exports[`./${entryPoint}`] ??= {};
|
|
255
|
-
if (isEsm) {
|
|
256
|
-
if (isDts) {
|
|
257
|
-
packageJson.exports[`./${entryPoint}`].import = {
|
|
258
|
-
types: `./dist/${entryPoint}.d.mts`,
|
|
259
|
-
default: `./dist/${entryPoint}.mjs`
|
|
260
|
-
};
|
|
261
|
-
} else {
|
|
262
|
-
packageJson.exports[`./${entryPoint}`].import = `./dist/${entryPoint}.mjs`;
|
|
263
|
-
}
|
|
264
|
-
if (isDts) {
|
|
265
|
-
packageJson.exports[`./${entryPoint}`].default = {
|
|
266
|
-
types: `./dist/${entryPoint}.d.mts`,
|
|
267
|
-
default: `./dist/${entryPoint}.mjs`
|
|
268
|
-
};
|
|
269
|
-
} else {
|
|
270
|
-
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.mjs`;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
if (isCjs) {
|
|
274
|
-
if (isDts) {
|
|
275
|
-
packageJson.exports[`./${entryPoint}`].require = {
|
|
276
|
-
types: `./dist/${entryPoint}.d.cts`,
|
|
277
|
-
default: `./dist/${entryPoint}.cjs`
|
|
278
|
-
};
|
|
279
|
-
} else {
|
|
280
|
-
packageJson.exports[`./${entryPoint}`].require = `./dist/${entryPoint}.cjs`;
|
|
281
|
-
}
|
|
282
|
-
if (!isEsm) {
|
|
283
|
-
if (isDts) {
|
|
284
|
-
packageJson.exports[`./${entryPoint}`].default = {
|
|
285
|
-
types: `./dist/${entryPoint}.d.cts`,
|
|
286
|
-
default: `./dist/${entryPoint}.cjs`
|
|
287
|
-
};
|
|
288
|
-
} else {
|
|
289
|
-
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.cjs`;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
if (!isEsm && !isCjs) {
|
|
294
|
-
if (isDts) {
|
|
295
|
-
packageJson.exports[`./${entryPoint}`].default = {
|
|
296
|
-
types: `./dist/${entryPoint}.d.ts`,
|
|
297
|
-
default: `./dist/${entryPoint}.js`
|
|
298
|
-
};
|
|
299
|
-
} else {
|
|
300
|
-
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.js`;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
if (isEsm) {
|
|
305
|
-
packageJson.module = `${defaultEntry}.mjs`;
|
|
306
|
-
} else {
|
|
307
|
-
packageJson.main = `${defaultEntry}.cjs`;
|
|
308
|
-
}
|
|
309
|
-
if (isDts) {
|
|
310
|
-
packageJson.types = `${defaultEntry}.d.${isEsm ? "mts" : isCjs ? "cts" : "ts"}`;
|
|
311
|
-
}
|
|
312
|
-
packageJson.exports = Object.keys(packageJson.exports).reduce(
|
|
313
|
-
(ret, key) => {
|
|
314
|
-
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
315
|
-
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
316
|
-
}
|
|
317
|
-
return ret;
|
|
318
|
-
},
|
|
319
|
-
packageJson.exports
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
await writeJsonFile(
|
|
324
|
-
joinPaths(context.outputPath, "package.json"),
|
|
325
|
-
packageJson
|
|
326
|
-
);
|
|
327
|
-
stopwatch();
|
|
328
|
-
}
|
|
329
|
-
return context;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
// ../tsup/src/index.ts
|
|
333
|
-
import { build as tsup } from "tsup";
|
|
334
|
-
async function build(options) {
|
|
335
|
-
if (!options.silent) {
|
|
336
|
-
writeDebug(
|
|
337
|
-
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
338
|
-
options.workspaceConfig
|
|
339
|
-
);
|
|
340
|
-
}
|
|
341
|
-
const stopwatch = getStopwatch(`${options.name || "tsup"} build`);
|
|
342
|
-
await tsup(options);
|
|
343
|
-
if (!options.silent) {
|
|
344
|
-
stopwatch();
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
// ../esbuild/src/tsup.ts
|
|
349
|
-
async function executeTsup(context) {
|
|
350
|
-
writeDebug(
|
|
351
|
-
` \u{1F680} Running ${context.options.name} build`,
|
|
352
|
-
context.workspaceConfig
|
|
353
|
-
);
|
|
354
|
-
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
355
|
-
await build({
|
|
356
|
-
...context.options,
|
|
357
|
-
outDir: context.options.distDir ? joinPaths(context.outputPath, context.options.distDir) : context.outputPath,
|
|
358
|
-
workspaceConfig: context.workspaceConfig
|
|
359
|
-
});
|
|
360
|
-
stopwatch();
|
|
361
|
-
return context;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
// ../esbuild/src/build.ts
|
|
365
|
-
async function reportResults(context) {
|
|
366
|
-
if (context.result?.errors.length === 0) {
|
|
367
|
-
if (context.result.warnings.length > 0) {
|
|
368
|
-
writeWarning(
|
|
369
|
-
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
370
|
-
context.workspaceConfig
|
|
371
|
-
);
|
|
372
|
-
}
|
|
373
|
-
writeSuccess(
|
|
374
|
-
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
375
|
-
context.workspaceConfig
|
|
376
|
-
);
|
|
377
|
-
} else if (context.result?.errors && context.result?.errors.length > 0) {
|
|
378
|
-
writeError(
|
|
379
|
-
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
380
|
-
context.workspaceConfig
|
|
381
|
-
);
|
|
382
|
-
throw new Error(
|
|
383
|
-
`The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`
|
|
384
|
-
);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
async function cleanOutputPath(context) {
|
|
388
|
-
if (context.clean !== false && context.outputPath) {
|
|
389
|
-
writeDebug(
|
|
390
|
-
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
391
|
-
context.workspaceConfig
|
|
392
|
-
);
|
|
393
|
-
const stopwatch = getStopwatch(`${context.options.name} output clean`);
|
|
394
|
-
await cleanDirectories(context.outputPath);
|
|
395
|
-
stopwatch();
|
|
396
|
-
}
|
|
397
|
-
return context;
|
|
398
|
-
}
|
|
399
|
-
async function build2(options) {
|
|
400
|
-
writeDebug(` ${brandIcon()} Executing Storm ESBuild pipeline`);
|
|
401
|
-
const stopwatch = getStopwatch("ESBuild pipeline");
|
|
402
|
-
try {
|
|
403
|
-
const opts = Array.isArray(options) ? options : [options];
|
|
404
|
-
if (opts.length === 0) {
|
|
405
|
-
throw new Error("No build options were provided");
|
|
406
|
-
}
|
|
407
|
-
const context = await resolveContext(options);
|
|
408
|
-
await cleanOutputPath(context);
|
|
409
|
-
await Promise.all([
|
|
410
|
-
// dependencyCheck(context.options),
|
|
411
|
-
generatePackageJson(context),
|
|
412
|
-
copyBuildAssets(context),
|
|
413
|
-
executeTsup(context)
|
|
414
|
-
]);
|
|
415
|
-
await reportResults(context);
|
|
416
|
-
writeSuccess(" \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
417
|
-
} catch (error) {
|
|
418
|
-
writeFatal(
|
|
419
|
-
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
420
|
-
);
|
|
421
|
-
throw error;
|
|
422
|
-
} finally {
|
|
423
|
-
stopwatch();
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
// src/executors/esbuild/executor.ts
|
|
428
|
-
async function esbuildExecutorFn(options, context, config) {
|
|
429
|
-
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
430
|
-
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
|
|
431
|
-
throw new Error(
|
|
432
|
-
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
433
|
-
);
|
|
434
|
-
}
|
|
435
|
-
await build2({
|
|
436
|
-
...options,
|
|
437
|
-
projectRoot: (
|
|
438
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
439
|
-
context.projectsConfigurations.projects?.[context.projectName].root
|
|
440
|
-
),
|
|
441
|
-
name: context.projectName,
|
|
442
|
-
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
443
|
-
format: options.format,
|
|
444
|
-
platform: options.platform
|
|
445
|
-
});
|
|
446
|
-
return {
|
|
447
|
-
success: true
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
var executor_default = withRunExecutor(
|
|
451
|
-
"Storm ESBuild build",
|
|
452
|
-
esbuildExecutorFn,
|
|
453
|
-
{
|
|
454
|
-
skipReadingConfig: false,
|
|
455
|
-
hooks: {
|
|
456
|
-
applyDefaultOptions: async (options) => {
|
|
457
|
-
options.entry ??= ["src/index.ts"];
|
|
458
|
-
options.outputPath ??= "dist/{projectRoot}";
|
|
459
|
-
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
460
|
-
return options;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
);
|
|
465
|
-
|
|
466
|
-
export {
|
|
467
|
-
esbuildExecutorFn,
|
|
468
|
-
executor_default
|
|
469
|
-
};
|
package/dist/chunk-YYLV7UA6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/chunk-ZCTECGQS.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// src/base/base-executor.untyped.ts
|
|
2
|
-
import { defineUntypedSchema } from "untyped";
|
|
3
|
-
var base_executor_untyped_default = defineUntypedSchema({
|
|
4
|
-
$schema: {
|
|
5
|
-
id: "baseExecutor",
|
|
6
|
-
title: "Base Executor",
|
|
7
|
-
description: "A base type definition for an executor schema"
|
|
8
|
-
},
|
|
9
|
-
outputPath: {
|
|
10
|
-
$schema: {
|
|
11
|
-
title: "Output Path",
|
|
12
|
-
type: "string",
|
|
13
|
-
format: "path",
|
|
14
|
-
description: "The output path for the build"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
base_executor_untyped_default
|
|
21
|
-
};
|
package/dist/chunk-ZYI527ZS.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 _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.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 = _chunkCBVZ57E6js.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;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
-
|
|
3
|
-
// Generated by @storm-software/untyped
|
|
4
|
-
// Do not edit this file directly
|
|
5
|
-
|
|
6
|
-
interface NpmPublishExecutorSchema {
|
|
7
|
-
/**
|
|
8
|
-
* Package Root
|
|
9
|
-
*
|
|
10
|
-
* The path to the package root
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
packageRoot?: string,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Registry
|
|
19
|
-
*
|
|
20
|
-
* The registry to publish to
|
|
21
|
-
*
|
|
22
|
-
* @default "https://registry.npmjs.org/"
|
|
23
|
-
*/
|
|
24
|
-
registry?: string,
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Tag
|
|
28
|
-
*
|
|
29
|
-
* The tag to publish with
|
|
30
|
-
*
|
|
31
|
-
* @default "latest"
|
|
32
|
-
*/
|
|
33
|
-
tag?: string,
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Version
|
|
37
|
-
*
|
|
38
|
-
* The version to publish. If not provided, the version from package.json will be used
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
version?: string,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* One Time Password
|
|
45
|
-
*
|
|
46
|
-
* The one time password
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
otp?: number,
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Dry Run
|
|
53
|
-
*
|
|
54
|
-
* Perform a dry run
|
|
55
|
-
*
|
|
56
|
-
* @default false
|
|
57
|
-
*/
|
|
58
|
-
dryRun?: boolean,
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* First Release
|
|
62
|
-
*
|
|
63
|
-
* Publish the first release
|
|
64
|
-
*
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
firstRelease?: boolean,
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare const LARGE_BUFFER: number;
|
|
71
|
-
declare function npmPublishExecutorFn(options: NpmPublishExecutorSchema, context: ExecutorContext): Promise<{
|
|
72
|
-
success: boolean;
|
|
73
|
-
}>;
|
|
74
|
-
|
|
75
|
-
export { LARGE_BUFFER as L, type NpmPublishExecutorSchema as N, npmPublishExecutorFn as n };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
-
|
|
3
|
-
// Generated by @storm-software/untyped
|
|
4
|
-
// Do not edit this file directly
|
|
5
|
-
|
|
6
|
-
interface NpmPublishExecutorSchema {
|
|
7
|
-
/**
|
|
8
|
-
* Package Root
|
|
9
|
-
*
|
|
10
|
-
* The path to the package root
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
packageRoot?: string,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Registry
|
|
19
|
-
*
|
|
20
|
-
* The registry to publish to
|
|
21
|
-
*
|
|
22
|
-
* @default "https://registry.npmjs.org/"
|
|
23
|
-
*/
|
|
24
|
-
registry?: string,
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Tag
|
|
28
|
-
*
|
|
29
|
-
* The tag to publish with
|
|
30
|
-
*
|
|
31
|
-
* @default "latest"
|
|
32
|
-
*/
|
|
33
|
-
tag?: string,
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Version
|
|
37
|
-
*
|
|
38
|
-
* The version to publish. If not provided, the version from package.json will be used
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
version?: string,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* One Time Password
|
|
45
|
-
*
|
|
46
|
-
* The one time password
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
otp?: number,
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Dry Run
|
|
53
|
-
*
|
|
54
|
-
* Perform a dry run
|
|
55
|
-
*
|
|
56
|
-
* @default false
|
|
57
|
-
*/
|
|
58
|
-
dryRun?: boolean,
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* First Release
|
|
62
|
-
*
|
|
63
|
-
* Publish the first release
|
|
64
|
-
*
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
firstRelease?: boolean,
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare const LARGE_BUFFER: number;
|
|
71
|
-
declare function npmPublishExecutorFn(options: NpmPublishExecutorSchema, context: ExecutorContext): Promise<{
|
|
72
|
-
success: boolean;
|
|
73
|
-
}>;
|
|
74
|
-
|
|
75
|
-
export { LARGE_BUFFER as L, type NpmPublishExecutorSchema as N, npmPublishExecutorFn as n };
|