@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-TAP26ZJQ.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../package-constants/src/tags.ts
|
|
2
|
-
var ProjectTagConstants = {
|
|
3
|
-
Language: {
|
|
4
|
-
TAG_ID: "language",
|
|
5
|
-
TYPESCRIPT: "typescript",
|
|
6
|
-
RUST: "rust"
|
|
7
|
-
},
|
|
8
|
-
ProjectType: {
|
|
9
|
-
TAG_ID: "type",
|
|
10
|
-
LIBRARY: "library",
|
|
11
|
-
APPLICATION: "application"
|
|
12
|
-
},
|
|
13
|
-
ProjectLinking: {
|
|
14
|
-
TAG_ID: "project-linking",
|
|
15
|
-
REFERENCE: "reference",
|
|
16
|
-
ALIAS: "alias"
|
|
17
|
-
},
|
|
18
|
-
DistStyle: {
|
|
19
|
-
TAG_ID: "dist-style",
|
|
20
|
-
NORMAL: "normal",
|
|
21
|
-
CLEAN: "clean"
|
|
22
|
-
},
|
|
23
|
-
Provider: {
|
|
24
|
-
TAG_ID: "provider"
|
|
25
|
-
},
|
|
26
|
-
Platform: {
|
|
27
|
-
TAG_ID: "platform",
|
|
28
|
-
NODE: "node",
|
|
29
|
-
BROWSER: "browser",
|
|
30
|
-
NEUTRAL: "neutral",
|
|
31
|
-
WORKER: "worker"
|
|
32
|
-
},
|
|
33
|
-
Registry: {
|
|
34
|
-
TAG_ID: "registry",
|
|
35
|
-
CARGO: "cargo",
|
|
36
|
-
NPM: "npm",
|
|
37
|
-
CONTAINER: "container",
|
|
38
|
-
CYCLONE: "cyclone"
|
|
39
|
-
},
|
|
40
|
-
Plugin: {
|
|
41
|
-
TAG_ID: "plugin"
|
|
42
|
-
},
|
|
43
|
-
Builder: {
|
|
44
|
-
TAG_ID: "builder",
|
|
45
|
-
TSC: "tsc",
|
|
46
|
-
TSUP: "tsup",
|
|
47
|
-
TSDOWN: "tsdown",
|
|
48
|
-
VITE: "vite",
|
|
49
|
-
ROLLDOWN: "rolldown"
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
var formatProjectTag = (variant, value) => {
|
|
53
|
-
return `${variant}:${value}`;
|
|
54
|
-
};
|
|
55
|
-
var hasProjectTag = (project, variant) => {
|
|
56
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
57
|
-
const prefix = formatProjectTag(variant, "");
|
|
58
|
-
return project.tags.some(
|
|
59
|
-
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
var getProjectTag = (project, variant) => {
|
|
63
|
-
if (!hasProjectTag(project, variant)) {
|
|
64
|
-
return void 0;
|
|
65
|
-
}
|
|
66
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
67
|
-
const prefix = formatProjectTag(variant, "");
|
|
68
|
-
const tag = project.tags.find((tag2) => tag2.startsWith(prefix));
|
|
69
|
-
return _optionalChain([tag, 'optionalAccess', _ => _.replace, 'call', _2 => _2(prefix, "")]);
|
|
70
|
-
};
|
|
71
|
-
var isEqualProjectTag = (project, variant, value) => {
|
|
72
|
-
const tag = getProjectTag(project, variant);
|
|
73
|
-
return !!(tag && _optionalChain([tag, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]) === value.toUpperCase());
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
// src/utils/project-tags.ts
|
|
77
|
-
var addProjectTag = (project, variant, value, options = {
|
|
78
|
-
overwrite: false
|
|
79
|
-
}) => {
|
|
80
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
81
|
-
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
82
|
-
project.tags = project.tags.filter(
|
|
83
|
-
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
84
|
-
);
|
|
85
|
-
project.tags.push(formatProjectTag(variant, value));
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
var addPluginProjectTag = (project, plugin) => {
|
|
89
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
90
|
-
project.tags.push(
|
|
91
|
-
formatProjectTag(ProjectTagConstants.Plugin.TAG_ID, plugin)
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
var setDefaultProjectTags = (project, plugin) => {
|
|
95
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
96
|
-
addProjectTag(
|
|
97
|
-
project,
|
|
98
|
-
ProjectTagConstants.ProjectType.TAG_ID,
|
|
99
|
-
project.projectType === "application" ? ProjectTagConstants.ProjectType.APPLICATION : ProjectTagConstants.ProjectType.LIBRARY,
|
|
100
|
-
{ overwrite: true }
|
|
101
|
-
);
|
|
102
|
-
addProjectTag(
|
|
103
|
-
project,
|
|
104
|
-
ProjectTagConstants.DistStyle.TAG_ID,
|
|
105
|
-
project.targets && Object.keys(project.targets).includes("clean-package") ? ProjectTagConstants.DistStyle.CLEAN : ProjectTagConstants.DistStyle.NORMAL,
|
|
106
|
-
{ overwrite: true }
|
|
107
|
-
);
|
|
108
|
-
addProjectTag(
|
|
109
|
-
project,
|
|
110
|
-
ProjectTagConstants.Platform.TAG_ID,
|
|
111
|
-
_optionalChain([project, 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build, 'optionalAccess', _7 => _7.options, 'optionalAccess', _8 => _8.platform]) === "node" ? ProjectTagConstants.Platform.NODE : _optionalChain([project, 'access', _9 => _9.targets, 'optionalAccess', _10 => _10.build, 'optionalAccess', _11 => _11.options, 'optionalAccess', _12 => _12.platform]) === "worker" ? ProjectTagConstants.Platform.WORKER : _optionalChain([project, 'access', _13 => _13.targets, 'optionalAccess', _14 => _14.build, 'optionalAccess', _15 => _15.options, 'optionalAccess', _16 => _16.platform]) === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
112
|
-
{ overwrite: false }
|
|
113
|
-
);
|
|
114
|
-
if (plugin) {
|
|
115
|
-
addPluginProjectTag(project, plugin);
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
exports.ProjectTagConstants = ProjectTagConstants; exports.formatProjectTag = formatProjectTag; exports.hasProjectTag = hasProjectTag; exports.getProjectTag = getProjectTag; exports.isEqualProjectTag = isEqualProjectTag; exports.addProjectTag = addProjectTag; exports.addPluginProjectTag = addPluginProjectTag; exports.setDefaultProjectTags = setDefaultProjectTags;
|
package/dist/chunk-TBW5MCN6.mjs
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
// ../config-tools/src/utilities/correct-paths.ts
|
|
2
|
-
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
3
|
-
function normalizeWindowsPath(input = "") {
|
|
4
|
-
if (!input) {
|
|
5
|
-
return input;
|
|
6
|
-
}
|
|
7
|
-
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
8
|
-
}
|
|
9
|
-
var _UNC_REGEX = /^[/\\]{2}/;
|
|
10
|
-
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
11
|
-
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
12
|
-
var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
13
|
-
var correctPaths = function(path) {
|
|
14
|
-
if (!path || path.length === 0) {
|
|
15
|
-
return ".";
|
|
16
|
-
}
|
|
17
|
-
path = normalizeWindowsPath(path);
|
|
18
|
-
const isUNCPath = path?.match(_UNC_REGEX);
|
|
19
|
-
const isPathAbsolute = isAbsolute(path);
|
|
20
|
-
const trailingSeparator = path[path.length - 1] === "/";
|
|
21
|
-
path = normalizeString(path, !isPathAbsolute);
|
|
22
|
-
if (path.length === 0) {
|
|
23
|
-
if (isPathAbsolute) {
|
|
24
|
-
return "/";
|
|
25
|
-
}
|
|
26
|
-
return trailingSeparator ? "./" : ".";
|
|
27
|
-
}
|
|
28
|
-
if (trailingSeparator) {
|
|
29
|
-
path += "/";
|
|
30
|
-
}
|
|
31
|
-
if (_DRIVE_LETTER_RE.test(path)) {
|
|
32
|
-
path += "/";
|
|
33
|
-
}
|
|
34
|
-
if (isUNCPath) {
|
|
35
|
-
if (!isPathAbsolute) {
|
|
36
|
-
return `//./${path}`;
|
|
37
|
-
}
|
|
38
|
-
return `//${path}`;
|
|
39
|
-
}
|
|
40
|
-
return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
|
|
41
|
-
};
|
|
42
|
-
var joinPaths = function(...segments) {
|
|
43
|
-
let path = "";
|
|
44
|
-
for (const seg of segments) {
|
|
45
|
-
if (!seg) {
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
if (path.length > 0) {
|
|
49
|
-
const pathTrailing = path[path.length - 1] === "/";
|
|
50
|
-
const segLeading = seg[0] === "/";
|
|
51
|
-
const both = pathTrailing && segLeading;
|
|
52
|
-
if (both) {
|
|
53
|
-
path += seg.slice(1);
|
|
54
|
-
} else {
|
|
55
|
-
path += pathTrailing || segLeading ? seg : `/${seg}`;
|
|
56
|
-
}
|
|
57
|
-
} else {
|
|
58
|
-
path += seg;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return correctPaths(path);
|
|
62
|
-
};
|
|
63
|
-
function cwd() {
|
|
64
|
-
if (typeof process !== "undefined" && typeof process.cwd === "function") {
|
|
65
|
-
return process.cwd().replace(/\\/g, "/");
|
|
66
|
-
}
|
|
67
|
-
return "/";
|
|
68
|
-
}
|
|
69
|
-
var resolve = function(...arguments_) {
|
|
70
|
-
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
71
|
-
let resolvedPath = "";
|
|
72
|
-
let resolvedAbsolute = false;
|
|
73
|
-
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
74
|
-
const path = index >= 0 ? arguments_[index] : cwd();
|
|
75
|
-
if (!path || path.length === 0) {
|
|
76
|
-
continue;
|
|
77
|
-
}
|
|
78
|
-
resolvedPath = `${path}/${resolvedPath}`;
|
|
79
|
-
resolvedAbsolute = isAbsolute(path);
|
|
80
|
-
}
|
|
81
|
-
resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
|
|
82
|
-
if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
|
|
83
|
-
return `/${resolvedPath}`;
|
|
84
|
-
}
|
|
85
|
-
return resolvedPath.length > 0 ? resolvedPath : ".";
|
|
86
|
-
};
|
|
87
|
-
function normalizeString(path, allowAboveRoot) {
|
|
88
|
-
let res = "";
|
|
89
|
-
let lastSegmentLength = 0;
|
|
90
|
-
let lastSlash = -1;
|
|
91
|
-
let dots = 0;
|
|
92
|
-
let char = null;
|
|
93
|
-
for (let index = 0; index <= path.length; ++index) {
|
|
94
|
-
if (index < path.length) {
|
|
95
|
-
char = path[index];
|
|
96
|
-
} else if (char === "/") {
|
|
97
|
-
break;
|
|
98
|
-
} else {
|
|
99
|
-
char = "/";
|
|
100
|
-
}
|
|
101
|
-
if (char === "/") {
|
|
102
|
-
if (lastSlash === index - 1 || dots === 1) {
|
|
103
|
-
} else if (dots === 2) {
|
|
104
|
-
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
105
|
-
if (res.length > 2) {
|
|
106
|
-
const lastSlashIndex = res.lastIndexOf("/");
|
|
107
|
-
if (lastSlashIndex === -1) {
|
|
108
|
-
res = "";
|
|
109
|
-
lastSegmentLength = 0;
|
|
110
|
-
} else {
|
|
111
|
-
res = res.slice(0, lastSlashIndex);
|
|
112
|
-
lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
|
|
113
|
-
}
|
|
114
|
-
lastSlash = index;
|
|
115
|
-
dots = 0;
|
|
116
|
-
continue;
|
|
117
|
-
} else if (res.length > 0) {
|
|
118
|
-
res = "";
|
|
119
|
-
lastSegmentLength = 0;
|
|
120
|
-
lastSlash = index;
|
|
121
|
-
dots = 0;
|
|
122
|
-
continue;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
if (allowAboveRoot) {
|
|
126
|
-
res += res.length > 0 ? "/.." : "..";
|
|
127
|
-
lastSegmentLength = 2;
|
|
128
|
-
}
|
|
129
|
-
} else {
|
|
130
|
-
if (res.length > 0) {
|
|
131
|
-
res += `/${path.slice(lastSlash + 1, index)}`;
|
|
132
|
-
} else {
|
|
133
|
-
res = path.slice(lastSlash + 1, index);
|
|
134
|
-
}
|
|
135
|
-
lastSegmentLength = index - lastSlash - 1;
|
|
136
|
-
}
|
|
137
|
-
lastSlash = index;
|
|
138
|
-
dots = 0;
|
|
139
|
-
} else if (char === "." && dots !== -1) {
|
|
140
|
-
++dots;
|
|
141
|
-
} else {
|
|
142
|
-
dots = -1;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return res;
|
|
146
|
-
}
|
|
147
|
-
var isAbsolute = function(p) {
|
|
148
|
-
return _IS_ABSOLUTE_RE.test(p);
|
|
149
|
-
};
|
|
150
|
-
var relative = function(from, to) {
|
|
151
|
-
const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
152
|
-
const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
153
|
-
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
|
|
154
|
-
return _to.join("/");
|
|
155
|
-
}
|
|
156
|
-
const _fromCopy = [..._from];
|
|
157
|
-
for (const segment of _fromCopy) {
|
|
158
|
-
if (_to[0] !== segment) {
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
_from.shift();
|
|
162
|
-
_to.shift();
|
|
163
|
-
}
|
|
164
|
-
return [..._from.map(() => ".."), ..._to].join("/");
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
export {
|
|
168
|
-
correctPaths,
|
|
169
|
-
joinPaths,
|
|
170
|
-
isAbsolute,
|
|
171
|
-
relative
|
|
172
|
-
};
|
package/dist/chunk-THA4SGMV.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-format/executor.ts
|
|
10
|
-
async function cargoFormatExecutor(options, context) {
|
|
11
|
-
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
|
-
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
|
|
15
|
-
"Cargo - Format",
|
|
16
|
-
cargoFormatExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.outputPath ??= "dist/{projectRoot}/target";
|
|
22
|
-
options.toolchain ??= "stable";
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.cargoFormatExecutor = cargoFormatExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-TM2CRDJW.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/lock-file.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _devkit = require('@nx/devkit');
|
|
7
|
-
var _fs = require('fs');
|
|
8
|
-
var _path = require('path');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _npmparser = require('nx/src/plugins/js/lock-file/npm-parser');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _pnpmparser = require('nx/src/plugins/js/lock-file/pnpm-parser');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var _yarnparser = require('nx/src/plugins/js/lock-file/yarn-parser');
|
|
21
|
-
var YARN_LOCK_FILE = "yarn.lock";
|
|
22
|
-
var NPM_LOCK_FILE = "package-lock.json";
|
|
23
|
-
var PNPM_LOCK_FILE = "pnpm-lock.yaml";
|
|
24
|
-
var LOCK_FILES = [YARN_LOCK_FILE, NPM_LOCK_FILE, PNPM_LOCK_FILE];
|
|
25
|
-
var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FILE);
|
|
26
|
-
var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
|
|
27
|
-
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
28
|
-
function getLockFileNodes(packageManager, contents, lockFileHash, context) {
|
|
29
|
-
try {
|
|
30
|
-
if (packageManager === "yarn") {
|
|
31
|
-
const packageJson = _devkit.readJsonFile.call(void 0,
|
|
32
|
-
_path.join.call(void 0, context.workspaceRoot, "package.json")
|
|
33
|
-
);
|
|
34
|
-
return _yarnparser.getYarnLockfileNodes.call(void 0, contents, lockFileHash, packageJson);
|
|
35
|
-
}
|
|
36
|
-
if (packageManager === "pnpm") {
|
|
37
|
-
return _pnpmparser.getPnpmLockfileNodes.call(void 0, contents, lockFileHash);
|
|
38
|
-
}
|
|
39
|
-
if (packageManager === "npm") {
|
|
40
|
-
return _npmparser.getNpmLockfileNodes.call(void 0, contents, lockFileHash);
|
|
41
|
-
}
|
|
42
|
-
} catch (e) {
|
|
43
|
-
if (!isPostInstallProcess()) {
|
|
44
|
-
_devkit.output.error({
|
|
45
|
-
title: `Failed to parse ${packageManager} lockfile`,
|
|
46
|
-
bodyLines: errorBodyLines(e)
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
throw e;
|
|
50
|
-
}
|
|
51
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
52
|
-
}
|
|
53
|
-
function getLockFileDependencies(packageManager, contents, lockFileHash, context, keyMap) {
|
|
54
|
-
try {
|
|
55
|
-
if (packageManager === "yarn") {
|
|
56
|
-
return _yarnparser.getYarnLockfileDependencies.call(void 0,
|
|
57
|
-
contents,
|
|
58
|
-
lockFileHash,
|
|
59
|
-
context,
|
|
60
|
-
keyMap
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
if (packageManager === "pnpm") {
|
|
64
|
-
return _pnpmparser.getPnpmLockfileDependencies.call(void 0,
|
|
65
|
-
contents,
|
|
66
|
-
lockFileHash,
|
|
67
|
-
context,
|
|
68
|
-
keyMap
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
if (packageManager === "npm") {
|
|
72
|
-
return _npmparser.getNpmLockfileDependencies.call(void 0,
|
|
73
|
-
contents,
|
|
74
|
-
lockFileHash,
|
|
75
|
-
context,
|
|
76
|
-
keyMap
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
} catch (e) {
|
|
80
|
-
if (!isPostInstallProcess()) {
|
|
81
|
-
_devkit.output.error({
|
|
82
|
-
title: `Failed to parse ${packageManager} lockfile`,
|
|
83
|
-
bodyLines: errorBodyLines(e)
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
throw e;
|
|
87
|
-
}
|
|
88
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
89
|
-
}
|
|
90
|
-
function lockFileExists(packageManager) {
|
|
91
|
-
if (packageManager === "yarn") {
|
|
92
|
-
return _fs.existsSync.call(void 0, YARN_LOCK_PATH);
|
|
93
|
-
}
|
|
94
|
-
if (packageManager === "pnpm") {
|
|
95
|
-
return _fs.existsSync.call(void 0, PNPM_LOCK_PATH);
|
|
96
|
-
}
|
|
97
|
-
if (packageManager === "npm") {
|
|
98
|
-
return _fs.existsSync.call(void 0, NPM_LOCK_PATH);
|
|
99
|
-
}
|
|
100
|
-
throw new Error(
|
|
101
|
-
`Unknown package manager ${packageManager} or lock file missing`
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
function getLockFileName(packageManager) {
|
|
105
|
-
if (packageManager === "yarn") {
|
|
106
|
-
return YARN_LOCK_FILE;
|
|
107
|
-
}
|
|
108
|
-
if (packageManager === "pnpm") {
|
|
109
|
-
return PNPM_LOCK_FILE;
|
|
110
|
-
}
|
|
111
|
-
if (packageManager === "npm") {
|
|
112
|
-
return NPM_LOCK_FILE;
|
|
113
|
-
}
|
|
114
|
-
throw new Error(`Unknown package manager: ${packageManager}`);
|
|
115
|
-
}
|
|
116
|
-
function errorBodyLines(originalError, additionalInfo = []) {
|
|
117
|
-
const result = [
|
|
118
|
-
"Please open an issue at `https://github.com/storm-software/storm-ops/issues/new?template=1-bug.yml` and provide a reproduction.",
|
|
119
|
-
...additionalInfo
|
|
120
|
-
];
|
|
121
|
-
if (originalError.message) {
|
|
122
|
-
result.push(`
|
|
123
|
-
Original error: ${originalError.message}
|
|
124
|
-
|
|
125
|
-
`);
|
|
126
|
-
}
|
|
127
|
-
if (originalError.stack) {
|
|
128
|
-
result.push(originalError.stack);
|
|
129
|
-
}
|
|
130
|
-
return result;
|
|
131
|
-
}
|
|
132
|
-
function isPostInstallProcess() {
|
|
133
|
-
return process.env.npm_command === "install" && process.env.npm_lifecycle_event === "postinstall";
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
exports.YARN_LOCK_FILE = YARN_LOCK_FILE; exports.NPM_LOCK_FILE = NPM_LOCK_FILE; exports.PNPM_LOCK_FILE = PNPM_LOCK_FILE; exports.LOCK_FILES = LOCK_FILES; exports.YARN_LOCK_PATH = YARN_LOCK_PATH; exports.NPM_LOCK_PATH = NPM_LOCK_PATH; exports.PNPM_LOCK_PATH = PNPM_LOCK_PATH; exports.getLockFileNodes = getLockFileNodes; exports.getLockFileDependencies = getLockFileDependencies; exports.lockFileExists = lockFileExists; exports.getLockFileName = getLockFileName;
|
package/dist/chunk-U5JPGO47.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
var _chunkPB5565L7js = require('./chunk-PB5565L7.js');
|
|
4
|
-
|
|
5
|
-
// src/executors/cargo-publish/executor.ts
|
|
6
|
-
var _devkit = require('@nx/devkit');
|
|
7
|
-
var _child_process = require('child_process');
|
|
8
|
-
var _fs = require('fs');
|
|
9
|
-
var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
10
|
-
var LARGE_BUFFER = 1024 * 1e6;
|
|
11
|
-
async function runExecutor(options, context) {
|
|
12
|
-
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
13
|
-
if (!context.projectName) {
|
|
14
|
-
throw new Error("The executor requires a projectName.");
|
|
15
|
-
}
|
|
16
|
-
console.info(
|
|
17
|
-
`\u{1F680} Running Storm Cargo Publish executor on the ${context.projectName} crate`
|
|
18
|
-
);
|
|
19
|
-
if (!context.projectName || !_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'access', _4 => _4.projects, 'access', _5 => _5[context.projectName], 'optionalAccess', _6 => _6.root])) {
|
|
20
|
-
throw new Error("The executor requires projectsConfigurations.");
|
|
21
|
-
}
|
|
22
|
-
const registry = options.registry ? options.registry : process.env.STORM_REGISTRY_CARGO ? process.env.STORM_REGISTRY_CARGO : "https://crates.io";
|
|
23
|
-
const root = _optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.root]);
|
|
24
|
-
const packageRoot = _devkit.joinPathFragments.call(void 0,
|
|
25
|
-
context.root,
|
|
26
|
-
options.packageRoot ? options.packageRoot : root
|
|
27
|
-
);
|
|
28
|
-
const cargoToml = _chunkPB5565L7js.parseCargoToml.call(void 0,
|
|
29
|
-
_fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
|
|
30
|
-
);
|
|
31
|
-
try {
|
|
32
|
-
const result = await getRegistryVersion(
|
|
33
|
-
cargoToml.package.name,
|
|
34
|
-
cargoToml.package.version,
|
|
35
|
-
registry
|
|
36
|
-
);
|
|
37
|
-
if (result) {
|
|
38
|
-
console.warn(
|
|
39
|
-
`Skipped publishing crate ${cargoToml.package.name} v${cargoToml.package.version} - ${result}`
|
|
40
|
-
);
|
|
41
|
-
return {
|
|
42
|
-
success: true
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
} catch (e) {
|
|
46
|
-
}
|
|
47
|
-
const cargoPublishCommandSegments = [
|
|
48
|
-
`cargo publish --allow-dirty -p ${cargoToml.package.name}`
|
|
49
|
-
];
|
|
50
|
-
if (isDryRun) {
|
|
51
|
-
cargoPublishCommandSegments.push("--dry-run");
|
|
52
|
-
}
|
|
53
|
-
try {
|
|
54
|
-
const cargoPublishCommand = cargoPublishCommandSegments.join(" ");
|
|
55
|
-
console.log("");
|
|
56
|
-
console.log(`Running "${cargoPublishCommand}"...`);
|
|
57
|
-
console.log("");
|
|
58
|
-
_child_process.execSync.call(void 0, cargoPublishCommand, {
|
|
59
|
-
maxBuffer: LARGE_BUFFER,
|
|
60
|
-
env: {
|
|
61
|
-
...process.env,
|
|
62
|
-
FORCE_COLOR: "true"
|
|
63
|
-
},
|
|
64
|
-
cwd: packageRoot,
|
|
65
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
66
|
-
});
|
|
67
|
-
console.log("");
|
|
68
|
-
if (isDryRun) {
|
|
69
|
-
console.log(`Would publish to ${registry}, but [dry-run] was set`);
|
|
70
|
-
} else {
|
|
71
|
-
console.log(`Published to ${registry}`);
|
|
72
|
-
}
|
|
73
|
-
return {
|
|
74
|
-
success: true
|
|
75
|
-
};
|
|
76
|
-
} catch (error) {
|
|
77
|
-
console.error(`Failed to publish to ${registry}`);
|
|
78
|
-
console.error(error);
|
|
79
|
-
console.log("");
|
|
80
|
-
return {
|
|
81
|
-
success: false
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
var getRegistryVersion = (name, version, registry) => {
|
|
86
|
-
const url = `${registry}/api/v1/crates/${encodeURIComponent(name)}/${encodeURIComponent(
|
|
87
|
-
version
|
|
88
|
-
)}`;
|
|
89
|
-
console.log(`Checking for existing version at: ${url}`);
|
|
90
|
-
return new Promise(
|
|
91
|
-
(resolve) => _https2.default.get(url, (res) => {
|
|
92
|
-
res.on("data", (d) => {
|
|
93
|
-
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
|
|
94
|
-
const response = JSON.parse(d.toString());
|
|
95
|
-
const updatedAt = _optionalChain([response, 'access', _11 => _11.version, 'optionalAccess', _12 => _12.updated_at]);
|
|
96
|
-
const publishedBy = _optionalChain([response, 'access', _13 => _13.version, 'optionalAccess', _14 => _14.published_by, 'optionalAccess', _15 => _15.name]);
|
|
97
|
-
resolve(
|
|
98
|
-
`The ${name} v${version} crate was previously published${publishedBy ? ` by ${publishedBy}` : ""}${updatedAt ? ` on ${new Date(updatedAt).toLocaleDateString("en-US", {
|
|
99
|
-
year: "numeric",
|
|
100
|
-
month: "long",
|
|
101
|
-
day: "numeric",
|
|
102
|
-
weekday: "long"
|
|
103
|
-
})}` : ""}.`
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
resolve(null);
|
|
107
|
-
});
|
|
108
|
-
}).on("error", () => {
|
|
109
|
-
resolve(null);
|
|
110
|
-
})
|
|
111
|
-
);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
exports.runExecutor = runExecutor; exports.getRegistryVersion = getRegistryVersion;
|
package/dist/chunk-UBVTASOE.mjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
findWorkspaceRoot
|
|
3
|
-
} from "./chunk-3J2CP54B.mjs";
|
|
4
|
-
|
|
5
|
-
// src/utils/apply-workspace-tokens.ts
|
|
6
|
-
var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
|
|
7
|
-
let result = option;
|
|
8
|
-
if (!result) {
|
|
9
|
-
return result;
|
|
10
|
-
}
|
|
11
|
-
let projectName;
|
|
12
|
-
let projectRoot;
|
|
13
|
-
let sourceRoot;
|
|
14
|
-
if (tokenizerOptions?.projectName) {
|
|
15
|
-
const context = tokenizerOptions;
|
|
16
|
-
projectName = context.projectName;
|
|
17
|
-
projectRoot = context.root;
|
|
18
|
-
sourceRoot = context.sourceRoot;
|
|
19
|
-
} else {
|
|
20
|
-
const projectConfig = tokenizerOptions;
|
|
21
|
-
projectRoot = projectConfig.root;
|
|
22
|
-
if (projectConfig.name) {
|
|
23
|
-
projectName = projectConfig.name;
|
|
24
|
-
}
|
|
25
|
-
if (projectConfig.sourceRoot) {
|
|
26
|
-
sourceRoot = projectConfig.sourceRoot;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
if (tokenizerOptions.config) {
|
|
30
|
-
const configKeys = Object.keys(tokenizerOptions.config);
|
|
31
|
-
if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
|
|
32
|
-
for (const configKey of configKeys) {
|
|
33
|
-
if (result.includes(`{${configKey}}`)) {
|
|
34
|
-
result = result.replaceAll(
|
|
35
|
-
`{${configKey}}`,
|
|
36
|
-
tokenizerOptions.config[configKey]
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (result.includes("{projectName}")) {
|
|
43
|
-
result = result.replaceAll("{projectName}", projectName);
|
|
44
|
-
}
|
|
45
|
-
if (result.includes("{projectRoot}")) {
|
|
46
|
-
result = result.replaceAll("{projectRoot}", projectRoot);
|
|
47
|
-
}
|
|
48
|
-
if (result.includes("{sourceRoot}")) {
|
|
49
|
-
result = result.replaceAll("{sourceRoot}", sourceRoot);
|
|
50
|
-
}
|
|
51
|
-
if (result.includes("{workspaceRoot}")) {
|
|
52
|
-
result = result.replaceAll(
|
|
53
|
-
"{workspaceRoot}",
|
|
54
|
-
tokenizerOptions.workspaceRoot ?? findWorkspaceRoot()
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export {
|
|
61
|
-
applyWorkspaceExecutorTokens
|
|
62
|
-
};
|