@storm-software/workspace-tools 1.295.84 → 1.295.86
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 +16 -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-BAYA5SVP.mjs
DELETED
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
writeDebug,
|
|
3
|
-
writeTrace
|
|
4
|
-
} from "./chunk-4AR5RJMF.mjs";
|
|
5
|
-
import {
|
|
6
|
-
findWorkspaceRoot
|
|
7
|
-
} from "./chunk-3J2CP54B.mjs";
|
|
8
|
-
import {
|
|
9
|
-
joinPaths
|
|
10
|
-
} from "./chunk-TBW5MCN6.mjs";
|
|
11
|
-
|
|
12
|
-
// ../build-tools/src/config.ts
|
|
13
|
-
var DEFAULT_JS_BANNER = `
|
|
14
|
-
// ---------------------------------------
|
|
15
|
-
// \u{1F5F2} Built by Storm Software
|
|
16
|
-
// ---------------------------------------
|
|
17
|
-
`;
|
|
18
|
-
var DEFAULT_CSS_BANNER = `
|
|
19
|
-
/* ---------------------------------------
|
|
20
|
-
\u{1F5F2} Built by Storm Software
|
|
21
|
-
--------------------------------------- */
|
|
22
|
-
`;
|
|
23
|
-
var DEFAULT_ENVIRONMENT = "production";
|
|
24
|
-
var DEFAULT_TARGET = "esnext";
|
|
25
|
-
var DEFAULT_ORGANIZATION = "storm-software";
|
|
26
|
-
|
|
27
|
-
// ../build-tools/src/utilities/copy-assets.ts
|
|
28
|
-
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
29
|
-
import { glob } from "glob";
|
|
30
|
-
import { readFile, writeFile } from "node:fs/promises";
|
|
31
|
-
var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
32
|
-
const pendingAssets = Array.from(assets ?? []);
|
|
33
|
-
pendingAssets.push({
|
|
34
|
-
input: projectRoot,
|
|
35
|
-
glob: "*.md",
|
|
36
|
-
output: "."
|
|
37
|
-
});
|
|
38
|
-
pendingAssets.push({
|
|
39
|
-
input: ".",
|
|
40
|
-
glob: "LICENSE",
|
|
41
|
-
output: "."
|
|
42
|
-
});
|
|
43
|
-
if (generatePackageJson === false) {
|
|
44
|
-
pendingAssets.push({
|
|
45
|
-
input: projectRoot,
|
|
46
|
-
glob: "package.json",
|
|
47
|
-
output: "."
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
if (includeSrc === true) {
|
|
51
|
-
pendingAssets.push({
|
|
52
|
-
input: sourceRoot,
|
|
53
|
-
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
54
|
-
output: "src/"
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
writeTrace(
|
|
58
|
-
`\u{1F4DD} Copying the following assets to the output directory:
|
|
59
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
|
-
config
|
|
61
|
-
);
|
|
62
|
-
const assetHandler = new CopyAssetsHandler({
|
|
63
|
-
projectDir: projectRoot,
|
|
64
|
-
rootDir: config.workspaceRoot,
|
|
65
|
-
outputDir: outputPath,
|
|
66
|
-
assets: pendingAssets
|
|
67
|
-
});
|
|
68
|
-
await assetHandler.processAllAssetsOnce();
|
|
69
|
-
writeTrace("Completed copying assets to the output directory", config);
|
|
70
|
-
if (includeSrc === true) {
|
|
71
|
-
writeDebug(
|
|
72
|
-
`\u{1F4DD} Adding banner and writing source files: ${joinPaths(
|
|
73
|
-
outputPath,
|
|
74
|
-
"src"
|
|
75
|
-
)}`,
|
|
76
|
-
config
|
|
77
|
-
);
|
|
78
|
-
const files = await glob([
|
|
79
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
80
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
81
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
82
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
83
|
-
]);
|
|
84
|
-
await Promise.allSettled(
|
|
85
|
-
files.map(
|
|
86
|
-
async (file) => writeFile(
|
|
87
|
-
file,
|
|
88
|
-
`${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
89
|
-
|
|
90
|
-
${await readFile(file, "utf8")}
|
|
91
|
-
|
|
92
|
-
${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `// ${footer}` : ""}`
|
|
93
|
-
)
|
|
94
|
-
)
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
// ../build-tools/src/utilities/generate-package-json.ts
|
|
100
|
-
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
101
|
-
import { Glob } from "glob";
|
|
102
|
-
import { existsSync, readFileSync } from "node:fs";
|
|
103
|
-
import { readFile as readFile2 } from "node:fs/promises";
|
|
104
|
-
import {
|
|
105
|
-
createProjectGraphAsync,
|
|
106
|
-
readCachedProjectGraph,
|
|
107
|
-
readProjectsConfigurationFromProjectGraph
|
|
108
|
-
} from "nx/src/project-graph/project-graph";
|
|
109
|
-
var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, packageJson) => {
|
|
110
|
-
let projectGraph;
|
|
111
|
-
try {
|
|
112
|
-
projectGraph = readCachedProjectGraph();
|
|
113
|
-
} catch {
|
|
114
|
-
await createProjectGraphAsync();
|
|
115
|
-
projectGraph = readCachedProjectGraph();
|
|
116
|
-
}
|
|
117
|
-
if (!projectGraph) {
|
|
118
|
-
throw new Error(
|
|
119
|
-
"The Build process failed because the project graph is not available. Please run the build command again."
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
const projectDependencies = calculateProjectBuildableDependencies(
|
|
123
|
-
void 0,
|
|
124
|
-
projectGraph,
|
|
125
|
-
workspaceRoot,
|
|
126
|
-
projectName,
|
|
127
|
-
process.env.NX_TASK_TARGET_TARGET || "build",
|
|
128
|
-
process.env.NX_TASK_TARGET_CONFIGURATION || "production",
|
|
129
|
-
true
|
|
130
|
-
);
|
|
131
|
-
const localPackages = [];
|
|
132
|
-
for (const project of projectDependencies.dependencies.filter(
|
|
133
|
-
(dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot
|
|
134
|
-
)) {
|
|
135
|
-
const projectNode = project.node;
|
|
136
|
-
if (projectNode.data.root) {
|
|
137
|
-
const projectPackageJsonPath = joinPaths(
|
|
138
|
-
workspaceRoot,
|
|
139
|
-
projectNode.data.root,
|
|
140
|
-
"package.json"
|
|
141
|
-
);
|
|
142
|
-
if (existsSync(projectPackageJsonPath)) {
|
|
143
|
-
const projectPackageJsonContent = await readFile2(
|
|
144
|
-
projectPackageJsonPath,
|
|
145
|
-
"utf8"
|
|
146
|
-
);
|
|
147
|
-
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
148
|
-
if (projectPackageJson.private !== true) {
|
|
149
|
-
localPackages.push(projectPackageJson);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
if (localPackages.length > 0) {
|
|
155
|
-
writeTrace(
|
|
156
|
-
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
157
|
-
);
|
|
158
|
-
const projectJsonFile = await readFile2(
|
|
159
|
-
joinPaths(projectRoot, "project.json"),
|
|
160
|
-
"utf8"
|
|
161
|
-
);
|
|
162
|
-
const projectJson = JSON.parse(projectJsonFile);
|
|
163
|
-
const projectName2 = projectJson.name;
|
|
164
|
-
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
165
|
-
if (!projectConfigurations?.projects?.[projectName2]) {
|
|
166
|
-
throw new Error(
|
|
167
|
-
"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."
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
|
|
171
|
-
if (projectConfigurations.projects?.[dep]) {
|
|
172
|
-
const depPackageJsonPath = joinPaths(
|
|
173
|
-
workspaceRoot,
|
|
174
|
-
projectConfigurations.projects[dep].root,
|
|
175
|
-
"package.json"
|
|
176
|
-
);
|
|
177
|
-
if (existsSync(depPackageJsonPath)) {
|
|
178
|
-
const depPackageJsonContent = readFileSync(
|
|
179
|
-
depPackageJsonPath,
|
|
180
|
-
"utf8"
|
|
181
|
-
);
|
|
182
|
-
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
183
|
-
if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
|
|
184
|
-
ret.push(depPackageJson.name);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
return ret;
|
|
189
|
-
}, []);
|
|
190
|
-
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
191
|
-
if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name) && packageJson.devDependencies?.[localPackage.name] === void 0) {
|
|
192
|
-
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
193
|
-
}
|
|
194
|
-
return ret;
|
|
195
|
-
}, packageJson.dependencies ?? {});
|
|
196
|
-
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
197
|
-
if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name) && packageJson.dependencies?.[localPackage.name] === void 0) {
|
|
198
|
-
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
199
|
-
}
|
|
200
|
-
return ret;
|
|
201
|
-
}, packageJson.devDependencies ?? {});
|
|
202
|
-
} else {
|
|
203
|
-
writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
|
-
}
|
|
205
|
-
return packageJson;
|
|
206
|
-
};
|
|
207
|
-
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
208
|
-
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
209
|
-
const workspacePackageJsonContent = await readFile2(
|
|
210
|
-
joinPaths(workspaceRoot, "package.json"),
|
|
211
|
-
"utf8"
|
|
212
|
-
);
|
|
213
|
-
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
214
|
-
packageJson.type ??= "module";
|
|
215
|
-
packageJson.sideEffects ??= false;
|
|
216
|
-
if (includeSrc === true) {
|
|
217
|
-
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
218
|
-
if (distSrc.startsWith("/")) {
|
|
219
|
-
distSrc = distSrc.substring(1);
|
|
220
|
-
}
|
|
221
|
-
packageJson.source ??= `${joinPaths(distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
222
|
-
}
|
|
223
|
-
packageJson.files ??= ["dist/**/*"];
|
|
224
|
-
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
225
|
-
packageJson.files.push("src/**/*");
|
|
226
|
-
}
|
|
227
|
-
packageJson.publishConfig ??= {
|
|
228
|
-
access: "public"
|
|
229
|
-
};
|
|
230
|
-
packageJson.description ??= workspacePackageJson.description;
|
|
231
|
-
packageJson.homepage ??= workspacePackageJson.homepage;
|
|
232
|
-
packageJson.bugs ??= workspacePackageJson.bugs;
|
|
233
|
-
packageJson.license ??= workspacePackageJson.license;
|
|
234
|
-
packageJson.keywords ??= workspacePackageJson.keywords;
|
|
235
|
-
packageJson.funding ??= workspacePackageJson.funding;
|
|
236
|
-
packageJson.author ??= workspacePackageJson.author;
|
|
237
|
-
packageJson.maintainers ??= workspacePackageJson.maintainers;
|
|
238
|
-
if (!packageJson.maintainers && packageJson.author) {
|
|
239
|
-
packageJson.maintainers = [packageJson.author];
|
|
240
|
-
}
|
|
241
|
-
packageJson.contributors ??= workspacePackageJson.contributors;
|
|
242
|
-
if (!packageJson.contributors && packageJson.author) {
|
|
243
|
-
packageJson.contributors = [packageJson.author];
|
|
244
|
-
}
|
|
245
|
-
packageJson.repository ??= workspacePackageJson.repository;
|
|
246
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot : joinPaths("packages", projectName);
|
|
247
|
-
return packageJson;
|
|
248
|
-
};
|
|
249
|
-
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
250
|
-
let entry = file.replaceAll("\\", "/");
|
|
251
|
-
if (sourceRoot) {
|
|
252
|
-
entry = entry.replace(sourceRoot, "");
|
|
253
|
-
}
|
|
254
|
-
return {
|
|
255
|
-
import: {
|
|
256
|
-
types: `./dist/${entry}.d.${type === "module" ? "ts" : "mts"}`,
|
|
257
|
-
default: `./dist/${entry}.${type === "module" ? "js" : "mjs"}`
|
|
258
|
-
},
|
|
259
|
-
require: {
|
|
260
|
-
types: `./dist/${entry}.d.${type === "commonjs" ? "ts" : "cts"}`,
|
|
261
|
-
default: `./dist/${entry}.${type === "commonjs" ? "js" : "cjs"}`
|
|
262
|
-
},
|
|
263
|
-
default: {
|
|
264
|
-
types: `./dist/${entry}.d.${type !== "fixed" ? "ts" : "mts"}`,
|
|
265
|
-
default: `./dist/${entry}.${type !== "fixed" ? "js" : "mjs"}`
|
|
266
|
-
}
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
// ../build-tools/src/utilities/get-env.ts
|
|
271
|
-
var getEnv = (builder, options) => {
|
|
272
|
-
return {
|
|
273
|
-
STORM_BUILD: builder,
|
|
274
|
-
STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
|
|
275
|
-
STORM_NAME: options.name,
|
|
276
|
-
STORM_MODE: options.mode || DEFAULT_ENVIRONMENT,
|
|
277
|
-
STORM_PLATFORM: options.platform,
|
|
278
|
-
STORM_FORMAT: JSON.stringify(options.format),
|
|
279
|
-
STORM_TARGET: JSON.stringify(options.target),
|
|
280
|
-
...options.env
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
// ../build-tools/src/plugins/swc.ts
|
|
285
|
-
import { transform } from "@swc/core";
|
|
286
|
-
|
|
287
|
-
// ../build-tools/src/plugins/ts-resolve.ts
|
|
288
|
-
import fs from "node:fs";
|
|
289
|
-
import { builtinModules } from "node:module";
|
|
290
|
-
import path from "node:path";
|
|
291
|
-
import _resolve from "resolve";
|
|
292
|
-
|
|
293
|
-
// ../build-tools/src/plugins/type-definitions.ts
|
|
294
|
-
import { stripIndents } from "@nx/devkit";
|
|
295
|
-
import { relative } from "path";
|
|
296
|
-
|
|
297
|
-
// ../build-tools/src/utilities/get-entry-points.ts
|
|
298
|
-
import { glob as glob2 } from "glob";
|
|
299
|
-
|
|
300
|
-
// ../build-tools/src/utilities/read-nx-config.ts
|
|
301
|
-
import { existsSync as existsSync2 } from "node:fs";
|
|
302
|
-
import { readFile as readFile3 } from "node:fs/promises";
|
|
303
|
-
|
|
304
|
-
// ../build-tools/src/utilities/task-graph.ts
|
|
305
|
-
import {
|
|
306
|
-
createTaskGraph,
|
|
307
|
-
mapTargetDefaultsToDependencies
|
|
308
|
-
} from "nx/src/tasks-runner/create-task-graph";
|
|
309
|
-
|
|
310
|
-
export {
|
|
311
|
-
DEFAULT_JS_BANNER,
|
|
312
|
-
DEFAULT_CSS_BANNER,
|
|
313
|
-
DEFAULT_TARGET,
|
|
314
|
-
copyAssets,
|
|
315
|
-
addPackageDependencies,
|
|
316
|
-
addWorkspacePackageJsonFields,
|
|
317
|
-
addPackageJsonExport,
|
|
318
|
-
getEnv
|
|
319
|
-
};
|
package/dist/chunk-BT7OBRJT.mjs
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withRunGenerator
|
|
3
|
-
} from "./chunk-ALL63TSY.mjs";
|
|
4
|
-
import {
|
|
5
|
-
schemaRegistry,
|
|
6
|
-
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-35G4LHK2.mjs";
|
|
8
|
-
import {
|
|
9
|
-
writeInfo,
|
|
10
|
-
writeSuccess,
|
|
11
|
-
writeTrace
|
|
12
|
-
} from "./chunk-4AR5RJMF.mjs";
|
|
13
|
-
import {
|
|
14
|
-
findWorkspaceRoot
|
|
15
|
-
} from "./chunk-3J2CP54B.mjs";
|
|
16
|
-
|
|
17
|
-
// src/generators/config-schema/generator.ts
|
|
18
|
-
import { formatFiles, writeJson } from "@nx/devkit";
|
|
19
|
-
import * as z from "zod";
|
|
20
|
-
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
-
writeInfo(
|
|
22
|
-
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
23
|
-
config
|
|
24
|
-
);
|
|
25
|
-
writeTrace(
|
|
26
|
-
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
27
|
-
config
|
|
28
|
-
);
|
|
29
|
-
const jsonSchema = z.toJSONSchema(workspaceConfigSchema, {
|
|
30
|
-
target: "draft-7",
|
|
31
|
-
metadata: schemaRegistry
|
|
32
|
-
});
|
|
33
|
-
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
34
|
-
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
35
|
-
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
36
|
-
writeTrace(jsonSchema, config);
|
|
37
|
-
if (!options.outputFile) {
|
|
38
|
-
throw new Error(
|
|
39
|
-
"The `outputFile` option is required. Please specify the output file path."
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
43
|
-
config?.workspaceRoot ?? findWorkspaceRoot(),
|
|
44
|
-
options.outputFile.startsWith("./") ? "" : "./"
|
|
45
|
-
);
|
|
46
|
-
writeTrace(
|
|
47
|
-
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
48
|
-
config
|
|
49
|
-
);
|
|
50
|
-
writeJson(tree, outputPath, jsonSchema, { spaces: 2 });
|
|
51
|
-
await formatFiles(tree);
|
|
52
|
-
writeSuccess(
|
|
53
|
-
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
54
|
-
config
|
|
55
|
-
);
|
|
56
|
-
return {
|
|
57
|
-
success: true
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
var generator_default = withRunGenerator(
|
|
61
|
-
"Configuration Schema Creator",
|
|
62
|
-
configSchemaGeneratorFn,
|
|
63
|
-
{
|
|
64
|
-
hooks: {
|
|
65
|
-
applyDefaultOptions: (options) => {
|
|
66
|
-
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
67
|
-
return options;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
);
|
|
72
|
-
|
|
73
|
-
export {
|
|
74
|
-
configSchemaGeneratorFn,
|
|
75
|
-
generator_default
|
|
76
|
-
};
|
package/dist/chunk-C3TC7AUW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/chunk-CBVZ57E6.js
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
22
|
-
|
|
23
|
-
// src/base/base-executor.ts
|
|
24
|
-
var _defu = require('defu');
|
|
25
|
-
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, name);
|
|
27
|
-
let options = _options;
|
|
28
|
-
let config = {};
|
|
29
|
-
try {
|
|
30
|
-
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
31
|
-
throw new Error(
|
|
32
|
-
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
const workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, );
|
|
36
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
|
|
37
|
-
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
38
|
-
const projectName = context.projectName;
|
|
39
|
-
config.workspaceRoot = workspaceRoot;
|
|
40
|
-
_chunkGZA2CV3Cjs.writeInfo.call(void 0,
|
|
41
|
-
`${_chunkGZA2CV3Cjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
|
|
42
|
-
config
|
|
43
|
-
);
|
|
44
|
-
if (!executorOptions.skipReadingConfig) {
|
|
45
|
-
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
46
|
-
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
47
|
-
- workspaceRoot: ${workspaceRoot}
|
|
48
|
-
- projectRoot: ${projectRoot}
|
|
49
|
-
- sourceRoot: ${sourceRoot}
|
|
50
|
-
- projectName: ${projectName}
|
|
51
|
-
`,
|
|
52
|
-
config
|
|
53
|
-
);
|
|
54
|
-
config = await _chunkCQIILJEFjs.getConfig.call(void 0, workspaceRoot);
|
|
55
|
-
}
|
|
56
|
-
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
57
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
58
|
-
options = await Promise.resolve(
|
|
59
|
-
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
60
|
-
);
|
|
61
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
62
|
-
}
|
|
63
|
-
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
64
|
-
`Executor schema options \u2699\uFE0F
|
|
65
|
-
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0, options)}
|
|
66
|
-
`,
|
|
67
|
-
config
|
|
68
|
-
);
|
|
69
|
-
const tokenized = await _chunkHXQRGLIIjs.applyWorkspaceTokens.call(void 0,
|
|
70
|
-
options,
|
|
71
|
-
_defu.defu.call(void 0,
|
|
72
|
-
{ workspaceRoot, projectRoot, sourceRoot, projectName, config },
|
|
73
|
-
config,
|
|
74
|
-
context.projectsConfigurations.projects[context.projectName]
|
|
75
|
-
),
|
|
76
|
-
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
77
|
-
);
|
|
78
|
-
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
79
|
-
`Executor schema tokenized options \u2699\uFE0F
|
|
80
|
-
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0, tokenized)}
|
|
81
|
-
`,
|
|
82
|
-
config
|
|
83
|
-
);
|
|
84
|
-
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
85
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
86
|
-
await Promise.resolve(
|
|
87
|
-
executorOptions.hooks.preProcess(tokenized, config)
|
|
88
|
-
);
|
|
89
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
90
|
-
}
|
|
91
|
-
const ret = executorFn(tokenized, context, config);
|
|
92
|
-
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
93
|
-
const asyncGen = ret;
|
|
94
|
-
for await (const iter of asyncGen) {
|
|
95
|
-
void iter;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
const result = await Promise.resolve(
|
|
99
|
-
ret
|
|
100
|
-
);
|
|
101
|
-
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
102
|
-
throw new Error(
|
|
103
|
-
`Failure determined while running the ${name} executor
|
|
104
|
-
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0,
|
|
105
|
-
result
|
|
106
|
-
)}`,
|
|
107
|
-
{
|
|
108
|
-
cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
113
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
114
|
-
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
115
|
-
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
116
|
-
}
|
|
117
|
-
_chunkGZA2CV3Cjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
118
|
-
`, config);
|
|
119
|
-
return {
|
|
120
|
-
success: true
|
|
121
|
-
};
|
|
122
|
-
} catch (error) {
|
|
123
|
-
_chunkGZA2CV3Cjs.writeFatal.call(void 0,
|
|
124
|
-
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
125
|
-
config
|
|
126
|
-
);
|
|
127
|
-
_chunkGZA2CV3Cjs.writeError.call(void 0,
|
|
128
|
-
`An exception was thrown in the executor's process
|
|
129
|
-
- Details: ${error.message}
|
|
130
|
-
- Stacktrace: ${error.stack}`,
|
|
131
|
-
config
|
|
132
|
-
);
|
|
133
|
-
return {
|
|
134
|
-
success: false
|
|
135
|
-
};
|
|
136
|
-
} finally {
|
|
137
|
-
stopwatch();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
var _isFunction = (value) => {
|
|
141
|
-
try {
|
|
142
|
-
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _19 => _19.constructor]) && _optionalChain([value, 'optionalAccess', _20 => _20.call]) && _optionalChain([value, 'optionalAccess', _21 => _21.apply]));
|
|
143
|
-
} catch (e) {
|
|
144
|
-
return false;
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
exports.withRunExecutor = withRunExecutor;
|