@storm-software/workspace-tools 1.295.55 → 1.295.57
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/CHANGELOG.md +32 -0
- package/README.md +9 -9
- package/dist/{chunk-P2R37AWA.js → chunk-237PJK2V.js} +4 -4
- package/dist/{chunk-HALN2H7S.mjs → chunk-24RTXSH4.mjs} +2 -2
- package/dist/{chunk-ZKH2STT3.js → chunk-2NAUEEZT.js} +2 -2
- package/dist/{chunk-DFGBGHDP.mjs → chunk-3QM6CFXC.mjs} +1 -1
- package/dist/{chunk-SYPFDT7A.mjs → chunk-46GNS53C.mjs} +2 -2
- package/dist/{chunk-HTGUYSQT.js → chunk-4ZQUYG5T.js} +2 -2
- package/dist/{chunk-UE3WG442.js → chunk-52CEFR2O.js} +5 -5
- package/dist/{chunk-JTFVPJ2Y.mjs → chunk-5JNL56OH.mjs} +4 -4
- package/dist/{chunk-I734UVDT.js → chunk-7JRL2LE3.js} +1 -2
- package/dist/{chunk-NIIKHEOC.js → chunk-7RI43PE4.js} +2 -2
- package/dist/{chunk-MW3U4NY7.js → chunk-A7XSX2OE.js} +2 -2
- package/dist/{chunk-IHMF6RAN.js → chunk-AGR3NCGA.js} +17 -28
- package/dist/{chunk-OVTQ7MFY.mjs → chunk-AMGMD43G.mjs} +1 -1
- package/dist/{chunk-S7Q645MC.js → chunk-BRMFLUTQ.js} +2 -2
- package/dist/{chunk-K3QQP4WU.mjs → chunk-BVSMKE5E.mjs} +1 -1
- package/dist/{chunk-HHK35H6T.mjs → chunk-BZLCYSCE.mjs} +2 -2
- package/dist/{chunk-VUY3SWMS.mjs → chunk-CJVTWYOM.mjs} +2 -2
- package/dist/{chunk-IZQRM22E.mjs → chunk-CNL74KSJ.mjs} +2 -2
- package/dist/{chunk-PEM4RTUQ.mjs → chunk-CZPRVK6P.mjs} +1 -1
- package/dist/{chunk-RSZQYKKW.mjs → chunk-DTBAID2E.mjs} +4 -4
- package/dist/{chunk-MNYABCZT.js → chunk-DZ3VLKI7.js} +2 -2
- package/dist/{chunk-EM5QCZFN.js → chunk-FHHWAN4N.js} +5 -5
- package/dist/{chunk-I4X5CIJM.mjs → chunk-FVCRMDQ4.mjs} +1 -1
- package/dist/{chunk-VOWQOVZ3.js → chunk-GBT7YI3X.js} +4 -4
- package/dist/{chunk-RO2CCHL3.js → chunk-GSGT2T27.js} +21 -21
- package/dist/{chunk-VXH74KT7.js → chunk-IIDZJGC3.js} +34 -34
- package/dist/{chunk-R4F3436Q.mjs → chunk-IIE5R6BE.mjs} +2 -2
- package/dist/{chunk-WGQEX3JB.mjs → chunk-IK2SIG4W.mjs} +1 -1
- package/dist/{chunk-BDRN6CQL.js → chunk-IVAYCDYI.js} +2 -2
- package/dist/{chunk-GEN563U4.mjs → chunk-JCPIXJ3N.mjs} +1 -1
- package/dist/{chunk-WZISHZ4U.mjs → chunk-K7B3YICS.mjs} +1 -1
- package/dist/{chunk-HNWDW45Q.js → chunk-KBIJQTKM.js} +4 -4
- package/dist/{chunk-HKYIHZDW.mjs → chunk-LOIAWLLD.mjs} +2 -2
- package/dist/{chunk-5ZFTWEKB.js → chunk-LQHVZMFV.js} +2 -2
- package/dist/{chunk-MXVEXRT2.mjs → chunk-LZ3H2OH5.mjs} +1 -1
- package/dist/{chunk-VGHZGSZG.js → chunk-PHIKLLXQ.js} +2 -2
- package/dist/{chunk-CLMAB7TA.js → chunk-PMPKOMMD.js} +2 -2
- package/dist/{chunk-NFYP774D.js → chunk-QKYQP5DB.js} +2 -2
- package/dist/{chunk-T2VS4STY.js → chunk-QLV3LANL.js} +2 -2
- package/dist/{chunk-7AN4JMFC.mjs → chunk-QQB6GFYM.mjs} +1 -1
- package/dist/{chunk-GWY4CMIG.mjs → chunk-R4NPC2W7.mjs} +2 -2
- package/dist/{chunk-PR737KX2.js → chunk-RGPA6TMT.js} +30 -30
- package/dist/{chunk-PCTKPQDO.mjs → chunk-RN4I4XGR.mjs} +1 -1
- package/dist/{chunk-FR2SIPZV.js → chunk-RSYBXBX2.js} +17 -17
- package/dist/{chunk-GVUEO74Y.mjs → chunk-RU37AI75.mjs} +2 -2
- package/dist/{chunk-56OI6RQT.mjs → chunk-RVRHBYGH.mjs} +2 -2
- package/dist/{chunk-7RPZKHP6.js → chunk-RW4Q2PQR.js} +12 -12
- package/dist/{chunk-QOQ7ZZDR.mjs → chunk-SEZ726NO.mjs} +2 -2
- package/dist/{chunk-MMA4S6LZ.mjs → chunk-T55IDP24.mjs} +17 -28
- package/dist/{chunk-RB72JOT5.js → chunk-TX5O64JJ.js} +6 -6
- package/dist/{chunk-T4LHCUDB.mjs → chunk-U35L6YML.mjs} +2 -2
- package/dist/{chunk-W7Q2T3ML.mjs → chunk-UE6LE5R2.mjs} +1 -1
- package/dist/{chunk-IG5HYHIO.mjs → chunk-UKTILFKM.mjs} +1 -1
- package/dist/{chunk-YKMCV4IP.mjs → chunk-UNUH7N7Y.mjs} +3 -3
- package/dist/{chunk-5CXVHLF5.js → chunk-UTP3KI2H.js} +11 -11
- package/dist/{chunk-4655YIJB.js → chunk-VBIWSFWM.js} +2 -2
- package/dist/{chunk-ELO4UF4O.mjs → chunk-VTEU7W42.mjs} +1 -1
- package/dist/{chunk-4XHYIQO7.js → chunk-WPR4KZUZ.js} +2 -2
- package/dist/{chunk-H27YUTCQ.js → chunk-WUKU43IZ.js} +2 -2
- package/dist/{chunk-DGC5L3Z7.mjs → chunk-ZCTECGQS.mjs} +1 -2
- package/dist/{chunk-FZIOJYJG.js → chunk-ZJ75AYXE.js} +10 -10
- package/dist/{executor-CMMIFtHz.d.mts → executor-BAeunL4c.d.mts} +0 -1
- package/dist/{executor-Bt8koUTv.d.mts → executor-BbIkDktz.d.mts} +0 -1
- package/dist/{executor-Bt8koUTv.d.ts → executor-BbIkDktz.d.ts} +0 -1
- package/dist/{executor-D26OSbP_.d.mts → executor-C4Ddk0eB.d.mts} +0 -1
- package/dist/{executor-CmCCRVN7.d.ts → executor-CPBR709C.d.ts} +0 -1
- package/dist/{executor-BD3oxCXJ.d.mts → executor-CVgzIGPj.d.mts} +0 -1
- package/dist/{executor-BD3oxCXJ.d.ts → executor-CVgzIGPj.d.ts} +0 -1
- package/dist/{executor-BuS0IH1B.d.mts → executor-CWRRdIo2.d.mts} +0 -1
- package/dist/{executor-BuS0IH1B.d.ts → executor-CWRRdIo2.d.ts} +0 -1
- package/dist/{executor-BP0WQayE.d.mts → executor-DA8yyqTK.d.mts} +0 -1
- package/dist/{executor-B8D-FX1j.d.mts → executor-DpEbHA1f.d.mts} +0 -1
- package/dist/{executor-B8D-FX1j.d.ts → executor-DpEbHA1f.d.ts} +0 -1
- package/dist/{executor-Dz1kPE9g.d.ts → executor-HMyCQrhV.d.ts} +0 -1
- package/dist/{executor-DvLQW7fm.d.mts → executor-jYQ7uQ13.d.mts} +0 -1
- package/dist/{executor-DvLQW7fm.d.ts → executor-jYQ7uQ13.d.ts} +0 -1
- package/dist/{executor-DTPyQsLB.d.ts → executor-lCseKo3l.d.ts} +0 -1
- package/dist/executors.d.mts +9 -9
- package/dist/executors.d.ts +9 -9
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +25 -25
- package/dist/{generator-QOzHCB0F.d.mts → generator-0E5nSU3V.d.mts} +1 -1
- package/dist/{generator-D1jsduRj.d.ts → generator-B3NZ6Ud2.d.ts} +1 -1
- package/dist/{generator-BSK2irs0.d.ts → generator-BSMRuLJg.d.ts} +1 -1
- package/dist/{generator-BcrbAQyn.d.ts → generator-C5Cl-DE-.d.ts} +1 -1
- package/dist/{generator-WHlahz54.d.mts → generator-CNhbKDrd.d.mts} +1 -1
- package/dist/{generator-DFDWQaw0.d.ts → generator-CRj1yNiR.d.ts} +1 -1
- package/dist/{generator-lroVtFPt.d.mts → generator-CV5_wiZn.d.mts} +1 -1
- package/dist/{generator-D1-cBHEx.d.mts → generator-DMoo8xwP.d.mts} +1 -1
- package/dist/{generator-BHf3cV2L.d.ts → generator-DPnGd9Bq.d.ts} +1 -1
- package/dist/{generator-r7Ic4lCt.d.mts → generator-PrphSHj3.d.mts} +1 -1
- package/dist/generators.d.mts +6 -6
- package/dist/generators.d.ts +6 -6
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +9 -9
- package/dist/index.d.mts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +31 -31
- package/dist/index.mjs +36 -36
- package/dist/{schema.d-CRz8jtUC.d.mts → schema.d-B9y7rRms.d.mts} +0 -1
- package/dist/{schema.d-CRz8jtUC.d.ts → schema.d-B9y7rRms.d.ts} +0 -1
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +4 -4
- package/dist/src/base/base-executor.untyped.js +2 -2
- package/dist/src/base/base-executor.untyped.mjs +2 -2
- package/dist/src/base/base-generator.d.mts +1 -1
- package/dist/src/base/base-generator.d.ts +1 -1
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +4 -4
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.js +3 -3
- package/dist/src/base/cargo-base-executor.untyped.mjs +3 -3
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/base/index.js +8 -8
- package/dist/src/base/index.mjs +8 -8
- package/dist/src/base/typescript-build-executor.untyped.js +3 -3
- package/dist/src/base/typescript-build-executor.untyped.mjs +3 -3
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-build/untyped.js +3 -3
- package/dist/src/executors/cargo-build/untyped.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.d.mts +1 -1
- package/dist/src/executors/cargo-check/executor.d.ts +1 -1
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/schema.d.ts +0 -1
- package/dist/src/executors/cargo-check/schema.json +1 -3
- package/dist/src/executors/cargo-check/untyped.js +3 -3
- package/dist/src/executors/cargo-check/untyped.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.d.mts +1 -1
- package/dist/src/executors/cargo-clippy/executor.d.ts +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/schema.d.ts +0 -1
- package/dist/src/executors/cargo-clippy/schema.json +1 -3
- package/dist/src/executors/cargo-clippy/untyped.js +3 -3
- package/dist/src/executors/cargo-clippy/untyped.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.d.mts +1 -1
- package/dist/src/executors/cargo-doc/executor.d.ts +1 -1
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/schema.d.ts +0 -1
- package/dist/src/executors/cargo-doc/schema.json +1 -3
- package/dist/src/executors/cargo-doc/untyped.js +3 -3
- package/dist/src/executors/cargo-doc/untyped.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.d.mts +1 -1
- package/dist/src/executors/cargo-format/executor.d.ts +1 -1
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/schema.d.ts +0 -1
- package/dist/src/executors/cargo-format/schema.json +1 -3
- package/dist/src/executors/cargo-format/untyped.js +3 -3
- package/dist/src/executors/cargo-format/untyped.mjs +3 -3
- package/dist/src/executors/cargo-publish/executor.d.mts +1 -1
- package/dist/src/executors/cargo-publish/executor.d.ts +1 -1
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/schema.d.ts +0 -1
- package/dist/src/executors/cargo-publish/schema.json +1 -3
- package/dist/src/executors/cargo-publish/untyped.js +3 -3
- package/dist/src/executors/cargo-publish/untyped.mjs +3 -3
- package/dist/src/executors/clean-package/executor.d.mts +1 -1
- package/dist/src/executors/clean-package/executor.d.ts +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +4 -4
- package/dist/src/executors/clean-package/schema.d.ts +0 -1
- package/dist/src/executors/clean-package/schema.json +1 -3
- package/dist/src/executors/clean-package/untyped.js +3 -4
- package/dist/src/executors/clean-package/untyped.mjs +3 -4
- package/dist/src/executors/esbuild/executor.d.mts +1 -1
- package/dist/src/executors/esbuild/executor.d.ts +1 -1
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +6 -6
- package/dist/src/executors/esbuild/schema.d.ts +0 -1
- package/dist/src/executors/esbuild/schema.json +1 -3
- package/dist/src/executors/esbuild/untyped.js +3 -3
- package/dist/src/executors/esbuild/untyped.mjs +3 -3
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +5 -5
- package/dist/src/executors/napi/untyped.js +3 -3
- package/dist/src/executors/napi/untyped.mjs +3 -3
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +6 -6
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.d.mts +1 -1
- package/dist/src/executors/size-limit/executor.d.ts +1 -1
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +5 -5
- package/dist/src/executors/size-limit/schema.d.ts +0 -1
- package/dist/src/executors/size-limit/schema.json +2 -5
- package/dist/src/executors/size-limit/untyped.js +2 -2
- package/dist/src/executors/size-limit/untyped.mjs +2 -2
- package/dist/src/executors/tsdown/executor.d.mts +1 -1
- package/dist/src/executors/tsdown/executor.d.ts +1 -1
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +6 -6
- package/dist/src/executors/tsdown/schema.d.ts +0 -1
- package/dist/src/executors/tsdown/schema.json +1 -3
- package/dist/src/executors/tsdown/untyped.js +3 -3
- package/dist/src/executors/tsdown/untyped.mjs +3 -3
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +5 -5
- package/dist/src/executors/typia/untyped.js +2 -2
- package/dist/src/executors/typia/untyped.mjs +2 -2
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +5 -5
- package/dist/src/executors/unbuild/untyped.js +3 -3
- package/dist/src/executors/unbuild/untyped.mjs +3 -3
- package/dist/src/generators/browser-library/generator.d.mts +2 -2
- package/dist/src/generators/browser-library/generator.d.ts +2 -2
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.d.mts +2 -2
- package/dist/src/generators/config-schema/generator.d.ts +2 -2
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +5 -5
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.d.mts +2 -2
- package/dist/src/generators/neutral-library/generator.d.ts +2 -2
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.d.mts +2 -2
- package/dist/src/generators/node-library/generator.d.ts +2 -2
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +5 -5
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.d.mts +2 -2
- package/dist/src/generators/preset/generator.d.ts +2 -2
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +5 -5
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.d.mts +1 -1
- package/dist/src/plugins/typescript/index.d.ts +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.d.mts +1 -1
- package/dist/src/plugins/typescript/tsdown.d.ts +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.d.mts +1 -1
- package/dist/src/plugins/typescript/tsup.d.ts +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +6 -6
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +5 -5
- package/dist/src/types.d.mts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.d.mts +0 -1
- package/dist/src/utils/cargo.d.ts +0 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.d.mts +1 -1
- package/dist/src/utils/project-tags.d.ts +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/dist/{types-DBK84D4m.d.mts → types-CV8HM8Xo.d.mts} +0 -1
- package/dist/{types-VblVxaqL.d.ts → types-D_RlE9_c.d.ts} +0 -1
- package/docs/api/base/base-executor.schema.md +0 -1
- package/docs/api/base/cargo-base-executor.schema.md +0 -1
- package/docs/api/base/typescript-build-executor.schema.md +0 -1
- package/docs/api/executors/cargo-check/schema.md +0 -1
- package/docs/api/executors/cargo-clippy/schema.md +0 -1
- package/docs/api/executors/cargo-doc/schema.md +0 -1
- package/docs/api/executors/cargo-format/schema.md +0 -1
- package/docs/api/executors/cargo-publish/schema.md +0 -1
- package/docs/api/executors/clean-package/schema.md +0 -1
- package/docs/api/executors/esbuild/schema.md +0 -1
- package/docs/api/executors/size-limit/schema.md +0 -1
- package/docs/api/executors/tsdown/schema.md +0 -1
- package/package.json +11 -11
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTX5O64JJjs = require('./chunk-TX5O64JJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkGSGT2T27js = require('./chunk-GSGT2T27.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkFZIOJYJGjs = require('./chunk-FZIOJYJG.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkAGR3NCGAjs = require('./chunk-AGR3NCGA.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -80,11 +80,11 @@ var resolveOptions = async (userOptions) => {
|
|
|
80
80
|
if (!workspaceRoot) {
|
|
81
81
|
throw new Error("Cannot find Nx workspace root");
|
|
82
82
|
}
|
|
83
|
-
const workspaceConfig = await
|
|
83
|
+
const workspaceConfig = await _chunkZJ75AYXEjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
84
84
|
workspaceRoot
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
const stopwatch =
|
|
86
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
87
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, "Build options resolution");
|
|
88
88
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
89
89
|
exitOnError: true
|
|
90
90
|
});
|
|
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
118
118
|
const result = {
|
|
119
119
|
name: projectName,
|
|
120
120
|
mode: "production",
|
|
121
|
-
target:
|
|
121
|
+
target: _chunkTX5O64JJjs.DEFAULT_TARGET,
|
|
122
122
|
generatePackageJson: true,
|
|
123
123
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
124
124
|
minify: !debug,
|
|
@@ -150,15 +150,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
150
150
|
};
|
|
151
151
|
result.env = _defu2.default.call(void 0,
|
|
152
152
|
options.env,
|
|
153
|
-
|
|
153
|
+
_chunkTX5O64JJjs.getEnv.call(void 0, "tsdown", result)
|
|
154
154
|
);
|
|
155
155
|
stopwatch();
|
|
156
156
|
return result;
|
|
157
157
|
};
|
|
158
158
|
async function generatePackageJson(options) {
|
|
159
159
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
160
|
-
|
|
161
|
-
const stopwatch =
|
|
160
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
161
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, "Write package.json file");
|
|
162
162
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
163
163
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
164
164
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -175,13 +175,13 @@ async function generatePackageJson(options) {
|
|
|
175
175
|
throw new Error("Cannot find package.json configuration file");
|
|
176
176
|
}
|
|
177
177
|
let packageJson = JSON.parse(packageJsonFile);
|
|
178
|
-
packageJson = await
|
|
178
|
+
packageJson = await _chunkTX5O64JJjs.addPackageDependencies.call(void 0,
|
|
179
179
|
options.workspaceConfig.workspaceRoot,
|
|
180
180
|
options.projectRoot,
|
|
181
181
|
options.projectName,
|
|
182
182
|
packageJson
|
|
183
183
|
);
|
|
184
|
-
packageJson = await
|
|
184
|
+
packageJson = await _chunkTX5O64JJjs.addWorkspacePackageJsonFields.call(void 0,
|
|
185
185
|
options.workspaceConfig,
|
|
186
186
|
options.projectRoot,
|
|
187
187
|
options.sourceRoot,
|
|
@@ -191,7 +191,7 @@ async function generatePackageJson(options) {
|
|
|
191
191
|
);
|
|
192
192
|
packageJson.exports ??= {};
|
|
193
193
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
194
|
-
packageJson.exports["."] ??=
|
|
194
|
+
packageJson.exports["."] ??= _chunkTX5O64JJjs.addPackageJsonExport.call(void 0,
|
|
195
195
|
"index",
|
|
196
196
|
packageJson.type,
|
|
197
197
|
options.sourceRoot
|
|
@@ -207,7 +207,7 @@ async function generatePackageJson(options) {
|
|
|
207
207
|
const split = entryPoint.out.split(".");
|
|
208
208
|
split.pop();
|
|
209
209
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
210
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
210
|
+
packageJson.exports[`./${entry2}`] ??= _chunkTX5O64JJjs.addPackageJsonExport.call(void 0,
|
|
211
211
|
entry2,
|
|
212
212
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
213
213
|
options.sourceRoot
|
|
@@ -232,8 +232,8 @@ async function generatePackageJson(options) {
|
|
|
232
232
|
return options;
|
|
233
233
|
}
|
|
234
234
|
async function executeTSDown(options) {
|
|
235
|
-
|
|
236
|
-
const stopwatch =
|
|
235
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
236
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
237
237
|
await _tsdown.build.call(void 0, {
|
|
238
238
|
...options,
|
|
239
239
|
entry: options.entry,
|
|
@@ -243,12 +243,12 @@ async function executeTSDown(options) {
|
|
|
243
243
|
return options;
|
|
244
244
|
}
|
|
245
245
|
async function copyBuildAssets(options) {
|
|
246
|
-
|
|
246
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0,
|
|
247
247
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
248
248
|
options.workspaceConfig
|
|
249
249
|
);
|
|
250
|
-
const stopwatch =
|
|
251
|
-
await
|
|
250
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
251
|
+
await _chunkTX5O64JJjs.copyAssets.call(void 0,
|
|
252
252
|
options.workspaceConfig,
|
|
253
253
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
254
254
|
options.outDir,
|
|
@@ -261,18 +261,18 @@ async function copyBuildAssets(options) {
|
|
|
261
261
|
return options;
|
|
262
262
|
}
|
|
263
263
|
async function reportResults(options) {
|
|
264
|
-
|
|
264
|
+
_chunkAGR3NCGAjs.writeSuccess.call(void 0,
|
|
265
265
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
266
266
|
options.workspaceConfig
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
async function cleanOutputPath(options) {
|
|
270
270
|
if (options.clean !== false && options.workspaceConfig) {
|
|
271
|
-
|
|
271
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0,
|
|
272
272
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
273
273
|
options.workspaceConfig
|
|
274
274
|
);
|
|
275
|
-
const stopwatch =
|
|
275
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
276
276
|
await cleanDirectories(
|
|
277
277
|
options.name,
|
|
278
278
|
options.outDir,
|
|
@@ -283,8 +283,8 @@ async function cleanOutputPath(options) {
|
|
|
283
283
|
return options;
|
|
284
284
|
}
|
|
285
285
|
async function build(options) {
|
|
286
|
-
|
|
287
|
-
const stopwatch =
|
|
286
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, ` ${_chunkAGR3NCGAjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
287
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
288
288
|
try {
|
|
289
289
|
const opts = Array.isArray(options) ? options : [options];
|
|
290
290
|
if (opts.length === 0) {
|
|
@@ -304,13 +304,13 @@ async function build(options) {
|
|
|
304
304
|
})
|
|
305
305
|
);
|
|
306
306
|
} else {
|
|
307
|
-
|
|
307
|
+
_chunkAGR3NCGAjs.writeWarning.call(void 0,
|
|
308
308
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
309
309
|
);
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
_chunkAGR3NCGAjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
312
312
|
} catch (error) {
|
|
313
|
-
|
|
313
|
+
_chunkAGR3NCGAjs.writeFatal.call(void 0,
|
|
314
314
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
315
315
|
);
|
|
316
316
|
throw error;
|
|
@@ -321,7 +321,7 @@ async function build(options) {
|
|
|
321
321
|
|
|
322
322
|
// src/executors/tsdown/executor.ts
|
|
323
323
|
async function tsdownExecutorFn(options, context, config) {
|
|
324
|
-
|
|
324
|
+
_chunkAGR3NCGAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
325
325
|
if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
|
|
326
326
|
throw new Error(
|
|
327
327
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
342
342
|
success: true
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
var executor_default =
|
|
345
|
+
var executor_default = _chunkGSGT2T27js.withRunExecutor.call(void 0,
|
|
346
346
|
"Storm TSDown build",
|
|
347
347
|
tsdownExecutorFn,
|
|
348
348
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkFZIOJYJGjs = require('./chunk-FZIOJYJG.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkAGR3NCGAjs = require('./chunk-AGR3NCGA.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -23,33 +23,33 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
23
23
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
24
24
|
skipReadingConfig: false
|
|
25
25
|
}) => async (tree, _options) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkAGR3NCGAjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config;
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
`${
|
|
30
|
+
_chunkAGR3NCGAjs.writeInfo.call(void 0,
|
|
31
|
+
`${_chunkAGR3NCGAjs.brandIcon.call(void 0, config)} Running the ${name} generator...
|
|
32
32
|
|
|
33
33
|
`,
|
|
34
34
|
config
|
|
35
35
|
);
|
|
36
36
|
const workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, );
|
|
37
37
|
if (!generatorOptions.skipReadingConfig) {
|
|
38
|
-
|
|
38
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0,
|
|
39
39
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
40
40
|
- workspaceRoot: ${workspaceRoot}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
config = await
|
|
43
|
+
config = await _chunkZJ75AYXEjs.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
}
|
|
45
45
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
46
|
-
|
|
46
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
47
47
|
options = await Promise.resolve(
|
|
48
48
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
49
49
|
);
|
|
50
|
-
|
|
50
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
_chunkAGR3NCGAjs.writeTrace.call(void 0,
|
|
53
53
|
`Generator schema options \u2699\uFE0F
|
|
54
54
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
55
55
|
config
|
|
@@ -60,11 +60,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
60
60
|
_chunkHXQRGLIIjs.applyWorkspaceBaseTokens
|
|
61
61
|
);
|
|
62
62
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
63
|
-
|
|
63
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
64
64
|
await Promise.resolve(
|
|
65
65
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
66
66
|
);
|
|
67
|
-
|
|
67
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
68
68
|
}
|
|
69
69
|
const result = await Promise.resolve(
|
|
70
70
|
generatorFn(tree, tokenized, config)
|
|
@@ -79,21 +79,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
82
|
-
|
|
82
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
83
83
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
84
|
-
|
|
84
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
85
85
|
}
|
|
86
86
|
return () => {
|
|
87
|
-
|
|
87
|
+
_chunkAGR3NCGAjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
88
88
|
`, config);
|
|
89
89
|
};
|
|
90
90
|
} catch (error) {
|
|
91
91
|
return () => {
|
|
92
|
-
|
|
92
|
+
_chunkAGR3NCGAjs.writeFatal.call(void 0,
|
|
93
93
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
94
94
|
config
|
|
95
95
|
);
|
|
96
|
-
|
|
96
|
+
_chunkAGR3NCGAjs.writeError.call(void 0,
|
|
97
97
|
`An exception was thrown in the generator's process
|
|
98
98
|
- Details: ${error.message}
|
|
99
99
|
- Stacktrace: ${error.stack}`,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-46GNS53C.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BVSMKE5E.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4ZQUYG5Tjs = require('./chunk-4ZQUYG5T.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunkZJ75AYXEjs.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunk4ZQUYG5Tjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunk4ZQUYG5Tjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunk4ZQUYG5Tjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunk4ZQUYG5Tjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K7B3YICS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
formatLogMessage,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T55IDP24.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -155,8 +155,8 @@ var CONSOLE_ICONS = {
|
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
158
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
159
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
158
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
159
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
// ../config-tools/src/logger/get-log-level.ts
|
|
@@ -216,7 +216,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
// ../config-tools/src/logger/console.ts
|
|
219
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
219
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
220
|
+
const {
|
|
221
|
+
chalk: _chalk = getChalk(),
|
|
222
|
+
fullDateTime = false,
|
|
223
|
+
hideDateTime = false
|
|
224
|
+
} = options;
|
|
220
225
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
221
226
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
222
227
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -227,9 +232,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
227
232
|
return (message) => {
|
|
228
233
|
console.error(
|
|
229
234
|
`
|
|
230
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
231
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
232
|
-
)(
|
|
235
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
233
236
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
234
237
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
238
|
`
|
|
@@ -240,9 +243,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
240
243
|
return (message) => {
|
|
241
244
|
console.error(
|
|
242
245
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
244
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
245
|
-
)(
|
|
246
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
246
247
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
247
248
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
248
249
|
`
|
|
@@ -253,9 +254,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
253
254
|
return (message) => {
|
|
254
255
|
console.warn(
|
|
255
256
|
`
|
|
256
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
257
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
258
|
-
)(
|
|
257
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
259
258
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
260
259
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
261
260
|
`
|
|
@@ -266,9 +265,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
266
265
|
return (message) => {
|
|
267
266
|
console.info(
|
|
268
267
|
`
|
|
269
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
270
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
271
|
-
)(
|
|
268
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
272
269
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
273
270
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
274
271
|
`
|
|
@@ -279,9 +276,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
279
276
|
return (message) => {
|
|
280
277
|
console.info(
|
|
281
278
|
`
|
|
282
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
283
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
284
|
-
)(
|
|
279
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
285
280
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
286
281
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
287
282
|
`
|
|
@@ -292,9 +287,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
292
287
|
return (message) => {
|
|
293
288
|
console.debug(
|
|
294
289
|
`
|
|
295
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
296
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
297
|
-
)(
|
|
290
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
298
291
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
299
292
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
300
293
|
`
|
|
@@ -305,9 +298,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
305
298
|
return (message) => {
|
|
306
299
|
console.debug(
|
|
307
300
|
`
|
|
308
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
309
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
310
|
-
)(
|
|
301
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
311
302
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
312
303
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
313
304
|
`
|
|
@@ -318,7 +309,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
318
309
|
return (message) => {
|
|
319
310
|
console.debug(
|
|
320
311
|
`
|
|
321
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
312
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
322
313
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
323
314
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
324
315
|
`
|
|
@@ -328,9 +319,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
328
319
|
return (message) => {
|
|
329
320
|
console.log(
|
|
330
321
|
`
|
|
331
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
332
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
333
|
-
)(
|
|
322
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
334
323
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
335
324
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
336
325
|
`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkAGR3NCGAjs = require('./chunk-AGR3NCGA.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
54
54
|
output: "src/"
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
_chunkAGR3NCGAjs.writeTrace.call(void 0,
|
|
58
58
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
59
59
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
60
|
config
|
|
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
66
66
|
assets: pendingAssets
|
|
67
67
|
});
|
|
68
68
|
await assetHandler.processAllAssetsOnce();
|
|
69
|
-
|
|
69
|
+
_chunkAGR3NCGAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunkAGR3NCGAjs.writeDebug.call(void 0,
|
|
72
72
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
73
73
|
outputPath,
|
|
74
74
|
"src"
|
|
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
if (localPackages.length > 0) {
|
|
155
|
-
|
|
155
|
+
_chunkAGR3NCGAjs.writeTrace.call(void 0,
|
|
156
156
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
157
157
|
);
|
|
158
158
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
200
200
|
return ret;
|
|
201
201
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
202
202
|
} else {
|
|
203
|
-
|
|
203
|
+
_chunkAGR3NCGAjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|