@storm-software/workspace-tools 1.258.6 → 1.258.7
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 +6 -0
- package/dist/{chunk-3F3NF4YM.js → chunk-2TQXYRZ2.js} +5 -5
- package/dist/{chunk-JRD4Z5TP.mjs → chunk-3DA3TU7H.mjs} +2 -2
- package/dist/{chunk-ANWKNY2S.mjs → chunk-3LMQ7A5E.mjs} +1 -1
- package/dist/{chunk-IV7DHZEI.mjs → chunk-422NV4UL.mjs} +10 -10
- package/dist/{chunk-GHEKTH3H.mjs → chunk-44JHFUCX.mjs} +2 -2
- package/dist/{chunk-U6XGT4BU.mjs → chunk-4G7TO7DK.mjs} +4 -4
- package/dist/{chunk-XKLYAMQS.js → chunk-5RCOCQH4.js} +2 -2
- package/dist/{chunk-QPAAA2OZ.mjs → chunk-6FJBMCUB.mjs} +1 -1
- package/dist/{chunk-ZR26PZGA.js → chunk-6OSR2VYB.js} +7 -7
- package/dist/{chunk-YEGKOZPW.js → chunk-7BWXITD4.js} +2 -2
- package/dist/{chunk-IZBZMG7H.mjs → chunk-A4QFANJD.mjs} +1 -1
- package/dist/{chunk-HB4LJD5U.js → chunk-B5E3XSP6.js} +2 -2
- package/dist/{chunk-KYPQ2RJW.mjs → chunk-BIKY5HDG.mjs} +4 -4
- package/dist/{chunk-URH3WA2O.mjs → chunk-CAS5H2GG.mjs} +2 -2
- package/dist/{chunk-XMOCZMKF.mjs → chunk-CD3M4BYC.mjs} +3 -3
- package/dist/{chunk-GCE5FKMI.js → chunk-D56HKJCS.js} +9 -9
- package/dist/{chunk-HZHADTJO.mjs → chunk-DJFG4LGU.mjs} +1 -1
- package/dist/{chunk-GNGBNABC.mjs → chunk-DUUNSAIT.mjs} +1 -1
- package/dist/{chunk-IBKU62MC.js → chunk-DWHFHGLZ.js} +2 -2
- package/dist/{chunk-UF5GVU3Z.js → chunk-EUFCKDUK.js} +2 -2
- package/dist/{chunk-S4ZVXW2Q.mjs → chunk-F43E25RT.mjs} +4 -4
- package/dist/{chunk-Y3EKTMQS.mjs → chunk-FPRHRYZV.mjs} +3 -3
- package/dist/{chunk-BZB4EUIR.mjs → chunk-GYGR5QJY.mjs} +2 -2
- package/dist/{chunk-MZ7FNI4Z.mjs → chunk-H7TZFCSU.mjs} +1 -1
- package/dist/{chunk-5T3XS2OY.js → chunk-HOH2SGCB.js} +15 -15
- package/dist/{chunk-ZTQL63SV.js → chunk-I2FWSOY2.js} +2 -2
- package/dist/{chunk-GRHWDFNY.js → chunk-IJO4MZSE.js} +4 -4
- package/dist/{chunk-Z5226LCS.js → chunk-KHQPJPM5.js} +2 -2
- package/dist/{chunk-EHWWPRTA.js → chunk-LUZNYXQ3.js} +5 -5
- package/dist/{chunk-UFZMCWNT.js → chunk-LZFVNTSD.js} +20 -20
- package/dist/{chunk-NB3JA2EC.mjs → chunk-MQU3PU5I.mjs} +3 -3
- package/dist/{chunk-GPLPX4K5.js → chunk-MZDSQVPG.js} +7 -7
- package/dist/{chunk-4ACCAZBA.js → chunk-NQZZEUJZ.js} +32 -32
- package/dist/{chunk-7COYD6CR.mjs → chunk-NSGGX475.mjs} +6 -6
- package/dist/{chunk-74VPPX36.mjs → chunk-NUNH5CHM.mjs} +3 -3
- package/dist/{chunk-XNFVNPJG.mjs → chunk-O3U3FNMB.mjs} +4 -4
- package/dist/{chunk-WA2VJ2IR.mjs → chunk-OEXS6BM2.mjs} +1 -1
- package/dist/{chunk-VX3ZNHGC.mjs → chunk-OWQYES7U.mjs} +1 -1
- package/dist/{chunk-HMUVZGHI.mjs → chunk-OZJRGZYP.mjs} +3 -3
- package/dist/{chunk-CH2OHODH.mjs → chunk-PX3Q7IW7.mjs} +2 -2
- package/dist/{chunk-7S4LTNOR.js → chunk-QAHYWB6S.js} +11 -11
- package/dist/{chunk-PPQX2JYW.mjs → chunk-RC33SW7M.mjs} +4 -4
- package/dist/{chunk-4HNQJ5N3.mjs → chunk-RL4PGDLS.mjs} +2 -2
- package/dist/{chunk-S3ALYLKC.mjs → chunk-S5FGJ3VF.mjs} +3 -3
- package/dist/{chunk-G2IO7AN3.mjs → chunk-SERUXLAQ.mjs} +5 -5
- package/dist/{chunk-XAJCHBHQ.mjs → chunk-SLD47MNH.mjs} +3 -3
- package/dist/{chunk-HJ7Q5IKQ.mjs → chunk-TPXVLKDP.mjs} +4 -4
- package/dist/{chunk-EKCNHHP6.mjs → chunk-U5EBEAZT.mjs} +6 -6
- package/dist/{chunk-2PK5BCIY.js → chunk-UH5YAUZF.js} +2 -2
- package/dist/{chunk-JO5RMPRZ.mjs → chunk-UK6CM2TY.mjs} +1 -1
- package/dist/{chunk-JCMCKJPZ.mjs → chunk-UUFGQFBH.mjs} +3 -3
- package/dist/{chunk-I3FKLXIS.mjs → chunk-UZCXVTJ2.mjs} +4 -4
- package/dist/{chunk-H44GNZFA.mjs → chunk-V3BHMCB3.mjs} +2 -2
- package/dist/{chunk-3YR543RX.mjs → chunk-WVQ6FTDW.mjs} +3 -3
- package/dist/{chunk-CKMKONYV.mjs → chunk-WXCBW33G.mjs} +3 -3
- package/dist/{chunk-K5ALCGH2.js → chunk-WZDSYTAY.js} +2 -2
- package/dist/{chunk-5NAUK656.mjs → chunk-X4Q7SFNW.mjs} +3 -3
- package/dist/{chunk-QS7QSWSD.mjs → chunk-XA5JHQKX.mjs} +4 -4
- package/dist/{chunk-XTO4N5DX.mjs → chunk-YMUMNLGM.mjs} +3 -3
- package/dist/{chunk-43IKGOHP.js → chunk-Z2DZKHBY.js} +42 -42
- package/dist/{chunk-QS4Z3DUV.mjs → chunk-ZMF7BFD4.mjs} +1 -1
- package/dist/{chunk-D2OSRALZ.mjs → chunk-ZZU66B3Z.mjs} +2 -2
- package/dist/{executor-DxeOzkYd.d.ts → executor-BDvqiAmr.d.ts} +1 -1
- package/dist/{executor-DvKywXQM.d.mts → executor-BLSVtRwG.d.mts} +1 -1
- package/dist/{executor-D9Lkezla.d.mts → executor-Bce2bwmv.d.mts} +1 -1
- package/dist/{executor-DdnyhsRE.d.ts → executor-Be5Fd52r.d.ts} +1 -1
- package/dist/{executor-DIeaVupa.d.ts → executor-C_TfLA0a.d.ts} +1 -1
- package/dist/{executor-BzM1aAMj.d.ts → executor-Cn6-xbcu.d.ts} +1 -1
- package/dist/{executor-BDL9OXAe.d.mts → executor-D7hQFdok.d.mts} +1 -1
- package/dist/{executor-CJ2sUUqC.d.mts → executor-DFZM1IRb.d.mts} +1 -1
- package/dist/{executor-BOz02M0D.d.mts → executor-KAQdKP88.d.mts} +1 -1
- package/dist/{executor-DLeeL4eB.d.ts → executor-rWFext3F.d.ts} +1 -1
- package/dist/executors.d.mts +6 -6
- package/dist/executors.d.ts +6 -6
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +22 -22
- package/dist/{generator-Cg5cXOd-.d.ts → generator-BlI_P2Wx.d.ts} +2 -2
- package/dist/{generator-Ci71Fj-h.d.mts → generator-Boug2ukK.d.mts} +2 -2
- package/dist/{generator-SVDta1L0.d.ts → generator-CDnWruqm.d.ts} +2 -2
- package/dist/{generator-BXQhJBFX.d.mts → generator-CWhc4hwg.d.mts} +2 -2
- package/dist/{generator-ANcVdjRd.d.mts → generator-D7OgP7cF.d.mts} +2 -2
- package/dist/{generator-DcKIyM9v.d.ts → generator-DbQxnpL0.d.ts} +2 -2
- package/dist/{generator-CAGPcZQ4.d.mts → generator-Mz3RW03i.d.mts} +1 -1
- package/dist/{generator-8l8dnSzj.d.ts → generator-Q7K2v4XK.d.ts} +1 -1
- package/dist/{generator-DnI2NZWN.d.ts → generator-RNiDtdN6.d.ts} +1 -1
- package/dist/{generator-C93HVhAG.d.mts → generator-XDHzC_Tb.d.mts} +1 -1
- package/dist/{generator-DDFJK57t.d.mts → generator-gSneYaPS.d.mts} +2 -2
- package/dist/{generator-Br48n2Qc.d.ts → generator-vajo9_If.d.ts} +2 -2
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +16 -16
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +21 -21
- package/dist/index.mjs +40 -40
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.d.ts +2 -2
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +6 -6
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.d.mts +2 -2
- package/dist/src/base/base-generator.d.ts +2 -2
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +6 -6
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- package/dist/src/base/index.js +4 -4
- package/dist/src/base/index.mjs +10 -10
- package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +8 -8
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +8 -8
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +8 -8
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +8 -8
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- 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 +5 -5
- package/dist/src/executors/clean-package/executor.mjs +6 -6
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.d.mts +2 -2
- package/dist/src/executors/esbuild/executor.d.ts +2 -2
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +8 -8
- package/dist/src/executors/esbuild/untyped.mjs +2 -2
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.d.mts +2 -2
- package/dist/src/executors/size-limit/executor.d.ts +2 -2
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +7 -7
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.d.mts +2 -2
- package/dist/src/executors/tsdown/executor.d.ts +2 -2
- package/dist/src/executors/tsdown/executor.js +5 -5
- package/dist/src/executors/tsdown/executor.mjs +8 -8
- package/dist/src/executors/tsdown/untyped.mjs +2 -2
- package/dist/src/executors/typia/executor.d.mts +2 -2
- package/dist/src/executors/typia/executor.d.ts +2 -2
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +7 -7
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.d.mts +2 -2
- package/dist/src/executors/unbuild/executor.d.ts +2 -2
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +7 -7
- package/dist/src/executors/unbuild/untyped.mjs +2 -2
- package/dist/src/generators/browser-library/generator.d.mts +3 -3
- package/dist/src/generators/browser-library/generator.d.ts +3 -3
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +9 -9
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.d.mts +3 -3
- package/dist/src/generators/config-schema/generator.d.ts +3 -3
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +7 -7
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +2 -2
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.d.mts +3 -3
- package/dist/src/generators/neutral-library/generator.d.ts +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +9 -9
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.d.mts +3 -3
- package/dist/src/generators/node-library/generator.d.ts +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +9 -9
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.d.mts +3 -3
- package/dist/src/generators/preset/generator.d.ts +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +7 -7
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/generators/release-version/generator.d.mts +2 -2
- package/dist/src/generators/release-version/generator.d.ts +2 -2
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +6 -6
- package/dist/src/generators/release-version/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
- package/dist/src/plugins/rust/index.mjs +4 -4
- package/dist/src/plugins/typescript/index.mjs +4 -4
- package/dist/src/plugins/typescript/project-config.mjs +4 -4
- package/dist/src/plugins/typescript/tsdown.mjs +2 -2
- package/dist/src/plugins/typescript/tsup.mjs +2 -2
- package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
- package/dist/src/utils/cargo.mjs +2 -2
- package/dist/src/utils/create-cli-options.mjs +2 -2
- package/dist/src/utils/get-project-configurations.mjs +4 -4
- package/dist/src/utils/index.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/index.mjs +14 -14
- package/dist/src/utils/lock-file.mjs +2 -2
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +3 -3
- package/dist/src/utils/pnpm-deps-update.mjs +3 -3
- package/dist/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/src/utils/project-tags.mjs +2 -2
- package/dist/src/utils/toml.mjs +2 -2
- package/dist/src/utils/typia-transform.mjs +2 -2
- package/dist/src/utils/versions.mjs +1 -1
- package/dist/{types-DLS_kod0.d.ts → types-C5TJM8DH.d.ts} +1 -1
- package/dist/{types-BbEVA-sX.d.ts → types-D6pIdih6.d.mts} +3 -3
- package/dist/{types-BbEVA-sX.d.mts → types-D6pIdih6.d.ts} +3 -3
- package/dist/{types-DM_AJ5NA.d.mts → types-DJVJD8fA.d.mts} +1 -1
- package/package.json +3 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SLD47MNH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F43E25RT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname,
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
15
15
|
|
|
16
16
|
// src/generators/neutral-library/generator.ts
|
|
17
17
|
import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GYGR5QJY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
7
7
|
|
|
8
8
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
9
9
|
var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-422NV4UL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
10
10
|
|
|
11
11
|
// src/executors/size-limit/executor.ts
|
|
12
12
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeDebug,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-422NV4UL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findWorkspaceRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GYGR5QJY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
correctPaths,
|
|
10
10
|
joinPaths
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
15
15
|
|
|
16
16
|
// ../build-tools/src/config.ts
|
|
17
17
|
var DEFAULT_COMPILED_BANNER = `
|
|
@@ -253,7 +253,7 @@ var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
|
253
253
|
STORM_BUILD: builder,
|
|
254
254
|
STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
|
|
255
255
|
STORM_NAME: options.name,
|
|
256
|
-
|
|
256
|
+
STORM_MODE: options.mode || DEFAULT_ENVIRONMENT,
|
|
257
257
|
STORM_PLATFORM: options.platform,
|
|
258
258
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
259
259
|
STORM_TARGET: JSON.stringify(options.target),
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ProjectTagConstants,
|
|
6
6
|
addProjectTag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OEXS6BM2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
14
14
|
|
|
15
15
|
// src/base/typescript-library-generator.ts
|
|
16
16
|
import { addDependenciesToPackageJson, addProjectConfiguration, ensurePackage, formatFiles, names, offsetFromRoot, readJson, updateJson, writeJson } from "@nx/devkit";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceProjectTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RL4PGDLS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
formatLogMessage,
|
|
7
7
|
getConfig,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
writeInfo,
|
|
13
13
|
writeSuccess,
|
|
14
14
|
writeTrace
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-422NV4UL.mjs";
|
|
16
16
|
import {
|
|
17
17
|
findWorkspaceRoot
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GYGR5QJY.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
22
22
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
import { defu } from "defu";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEntryPoints,
|
|
8
8
|
getEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SERUXLAQ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
withRunExecutor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
13
13
|
import {
|
|
14
14
|
getConfig,
|
|
15
15
|
getStopwatch,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
writeInfo,
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-422NV4UL.mjs";
|
|
23
23
|
import {
|
|
24
24
|
joinPaths
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
29
29
|
|
|
30
30
|
// ../tsdown/src/build.ts
|
|
31
31
|
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
|
|
@@ -54,7 +54,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
54
54
|
"cjs"
|
|
55
55
|
],
|
|
56
56
|
tsconfig: "tsconfig.json",
|
|
57
|
-
|
|
57
|
+
mode: "production",
|
|
58
58
|
globalName: "globalThis",
|
|
59
59
|
unused: {
|
|
60
60
|
level: "error"
|
|
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
|
7
7
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkHOH2SGCBjs = require('./chunk-HOH2SGCB.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
54
|
_chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
|
|
55
|
-
var generator_default =
|
|
55
|
+
var generator_default = _chunkHOH2SGCBjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
|
|
56
56
|
hooks: {
|
|
57
57
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
58
58
|
options.description ??= "A library used by Storm Software to support NodeJs applications";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCargoCommand,
|
|
3
3
|
cargoCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A4QFANJD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/cargo-clippy/executor.ts
|
|
13
13
|
async function cargoClippyExecutor(options, context) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-422NV4UL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
joinPaths
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
13
13
|
|
|
14
14
|
// src/executors/unbuild/executor.ts
|
|
15
15
|
import { defu } from "defu";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-422NV4UL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
10
10
|
|
|
11
11
|
// src/executors/typia/executor.ts
|
|
12
12
|
import { removeSync } from "fs-extra";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCargoCommand,
|
|
3
3
|
cargoCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A4QFANJD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/cargo-doc/executor.ts
|
|
13
13
|
async function cargoDocExecutor(options, context) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHOH2SGCBjs = require('./chunk-HOH2SGCB.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
_chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
|
|
48
|
-
var generator_default =
|
|
48
|
+
var generator_default = _chunkHOH2SGCBjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
|
|
49
49
|
hooks: {
|
|
50
50
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
51
51
|
options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCargoCommand,
|
|
3
3
|
cargoCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A4QFANJD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/cargo-build/executor.ts
|
|
13
13
|
async function cargoBuildExecutor(options, context) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OWQYES7U.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig,
|
|
9
9
|
getStopwatch,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-422NV4UL.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GYGR5QJY.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
23
23
|
|
|
24
24
|
// src/generators/release-version/generator.ts
|
|
25
25
|
import { formatFiles, joinPathFragments, output, readJson, updateJson, writeJson } from "@nx/devkit";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTagConstants,
|
|
3
3
|
isEqualProjectTag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OEXS6BM2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
parseCargoToml
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWQYES7U.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
11
11
|
|
|
12
12
|
// src/utils/package-helpers.ts
|
|
13
13
|
import { joinPathFragments, readJsonFile } from "@nx/devkit";
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk6OSR2VYBjs = require('./chunk-6OSR2VYB.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -331,7 +331,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
|
|
|
331
331
|
setup(build4) {
|
|
332
332
|
build4.onEnd((result) => {
|
|
333
333
|
if (result.errors.length > 0 && process.env.WATCH !== "true") {
|
|
334
|
-
|
|
334
|
+
_chunkMZDSQVPGjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
335
335
|
${result.errors.map((error) => error.text).join("\n")}
|
|
336
336
|
|
|
337
337
|
`, resolvedOptions.config);
|
|
@@ -439,7 +439,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
|
439
439
|
localBuild: true
|
|
440
440
|
});
|
|
441
441
|
if (extractorResult.succeeded === false) {
|
|
442
|
-
|
|
442
|
+
_chunkMZDSQVPGjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
|
|
443
443
|
throw new Error("API Extractor completed with errors");
|
|
444
444
|
}
|
|
445
445
|
}
|
|
@@ -488,7 +488,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
|
|
|
488
488
|
|
|
489
489
|
// ../esbuild/src/config.ts
|
|
490
490
|
var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
|
|
491
|
-
return options.outExtension ? options.outExtension(options.format, pkgType) :
|
|
491
|
+
return options.outExtension ? options.outExtension(options.format, pkgType) : _chunk6OSR2VYBjs.getOutExtension.call(void 0, options.format, pkgType);
|
|
492
492
|
}, "getOutputExtensionMap");
|
|
493
493
|
var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
|
|
494
494
|
nodeProtocolPlugin(options, resolvedOptions),
|
|
@@ -506,7 +506,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
506
506
|
external: [],
|
|
507
507
|
logLevel: "error",
|
|
508
508
|
tsconfig: "tsconfig.json",
|
|
509
|
-
|
|
509
|
+
mode: "production",
|
|
510
510
|
keepNames: true,
|
|
511
511
|
metafile: true,
|
|
512
512
|
injectShims: true,
|
|
@@ -536,7 +536,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
536
536
|
".woff": "file",
|
|
537
537
|
".woff2": "file"
|
|
538
538
|
},
|
|
539
|
-
banner:
|
|
539
|
+
banner: _chunk6OSR2VYBjs.DEFAULT_COMPILED_BANNER
|
|
540
540
|
};
|
|
541
541
|
|
|
542
542
|
// ../esbuild/src/plugins/deps-check.ts
|
|
@@ -618,8 +618,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
|
|
|
618
618
|
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
619
619
|
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
620
620
|
});
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
_chunkMZDSQVPGjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
622
|
+
_chunkMZDSQVPGjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
623
623
|
if (filteredMissingDeps.length > 0) {
|
|
624
624
|
throw new Error(`Missing dependencies detected - please install them:
|
|
625
625
|
${JSON.stringify(filteredMissingDeps)}
|
|
@@ -713,9 +713,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
713
713
|
if (!workspaceRoot) {
|
|
714
714
|
throw new Error("Cannot find Nx workspace root");
|
|
715
715
|
}
|
|
716
|
-
const config = await
|
|
717
|
-
|
|
718
|
-
const stopwatch =
|
|
716
|
+
const config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot.dir);
|
|
717
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
718
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "Build options resolution");
|
|
719
719
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
720
720
|
exitOnError: true
|
|
721
721
|
});
|
|
@@ -732,7 +732,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
732
732
|
}
|
|
733
733
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
734
734
|
options.name ??= `${projectName}-${options.format}`;
|
|
735
|
-
options.target ??=
|
|
735
|
+
options.target ??= _chunk6OSR2VYBjs.DEFAULT_TARGET;
|
|
736
736
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
737
737
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
738
738
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -740,7 +740,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
740
740
|
const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
|
|
741
741
|
const packageJson = JSON.parse(packageJsonFile);
|
|
742
742
|
const outExtension = getOutputExtensionMap(options, packageJson.type);
|
|
743
|
-
const env =
|
|
743
|
+
const env = _chunk6OSR2VYBjs.getEnv.call(void 0, "esbuild", options);
|
|
744
744
|
const result = {
|
|
745
745
|
...options,
|
|
746
746
|
config,
|
|
@@ -760,7 +760,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
760
760
|
...userOptions,
|
|
761
761
|
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
762
762
|
format: options.format || "cjs",
|
|
763
|
-
entryPoints: await
|
|
763
|
+
entryPoints: await _chunk6OSR2VYBjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
764
764
|
"./src/index.ts"
|
|
765
765
|
], userOptions.emitOnAll),
|
|
766
766
|
outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
|
|
@@ -771,7 +771,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
771
771
|
projectGraph,
|
|
772
772
|
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
|
|
773
773
|
minify: userOptions.minify || !userOptions.debug,
|
|
774
|
-
verbose: userOptions.verbose ||
|
|
774
|
+
verbose: userOptions.verbose || _chunkMZDSQVPGjs.isVerbose.call(void 0, ) || userOptions.debug === true,
|
|
775
775
|
includeSrc: userOptions.includeSrc === true,
|
|
776
776
|
metafile: userOptions.metafile !== false,
|
|
777
777
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
@@ -785,8 +785,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
785
785
|
outExtension,
|
|
786
786
|
footer: userOptions.footer,
|
|
787
787
|
banner: {
|
|
788
|
-
js: options.banner ||
|
|
789
|
-
css: options.banner ||
|
|
788
|
+
js: options.banner || _chunk6OSR2VYBjs.DEFAULT_COMPILED_BANNER,
|
|
789
|
+
css: options.banner || _chunk6OSR2VYBjs.DEFAULT_COMPILED_BANNER
|
|
790
790
|
},
|
|
791
791
|
splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
|
|
792
792
|
treeShaking: options.format === "esm",
|
|
@@ -818,8 +818,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
818
818
|
}, "resolveOptions");
|
|
819
819
|
async function generatePackageJson(context2) {
|
|
820
820
|
if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
|
|
821
|
-
|
|
822
|
-
const stopwatch =
|
|
821
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
822
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "Write package.json file");
|
|
823
823
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
|
|
824
824
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
825
825
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -829,11 +829,11 @@ async function generatePackageJson(context2) {
|
|
|
829
829
|
if (!packageJson) {
|
|
830
830
|
throw new Error("Cannot find package.json configuration file");
|
|
831
831
|
}
|
|
832
|
-
packageJson = await
|
|
833
|
-
packageJson = await
|
|
832
|
+
packageJson = await _chunk6OSR2VYBjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
|
|
833
|
+
packageJson = await _chunk6OSR2VYBjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
|
|
834
834
|
packageJson.exports ??= {};
|
|
835
835
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
836
|
-
packageJson.exports["."] ??=
|
|
836
|
+
packageJson.exports["."] ??= _chunk6OSR2VYBjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
|
|
837
837
|
let entryPoints = [
|
|
838
838
|
{
|
|
839
839
|
in: "./src/index.ts",
|
|
@@ -851,7 +851,7 @@ async function generatePackageJson(context2) {
|
|
|
851
851
|
const split = entryPoint.out.split(".");
|
|
852
852
|
split.pop();
|
|
853
853
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
854
|
-
packageJson.exports[`./${entry}`] ??=
|
|
854
|
+
packageJson.exports[`./${entry}`] ??= _chunk6OSR2VYBjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
857
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -889,8 +889,8 @@ async function generateContext(getOptions) {
|
|
|
889
889
|
}
|
|
890
890
|
_chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
|
|
891
891
|
async function executeEsBuild(context2) {
|
|
892
|
-
|
|
893
|
-
const stopwatch =
|
|
892
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
893
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${context2.options.name} build`);
|
|
894
894
|
if (process.env.WATCH === "true") {
|
|
895
895
|
const ctx = await esbuild2.context(context2.options);
|
|
896
896
|
watch(ctx, context2.options);
|
|
@@ -906,9 +906,9 @@ async function executeEsBuild(context2) {
|
|
|
906
906
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
907
907
|
async function copyBuildAssets(context2) {
|
|
908
908
|
if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
|
|
909
|
-
|
|
910
|
-
const stopwatch =
|
|
911
|
-
await
|
|
909
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
910
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
911
|
+
await _chunk6OSR2VYBjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
912
912
|
stopwatch();
|
|
913
913
|
}
|
|
914
914
|
return context2;
|
|
@@ -917,9 +917,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
|
917
917
|
async function reportResults(context2) {
|
|
918
918
|
if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
|
|
919
919
|
if (context2.result.warnings.length > 0) {
|
|
920
|
-
|
|
920
|
+
_chunkMZDSQVPGjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
921
921
|
}
|
|
922
|
-
|
|
922
|
+
_chunkMZDSQVPGjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
_chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
|
|
@@ -955,8 +955,8 @@ async function dependencyCheck(options) {
|
|
|
955
955
|
_chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
|
|
956
956
|
async function cleanOutputPath(context2) {
|
|
957
957
|
if (context2.options.clean !== false && context2.options.outdir) {
|
|
958
|
-
|
|
959
|
-
const stopwatch =
|
|
958
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
|
|
959
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
|
|
960
960
|
await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
|
|
961
961
|
stopwatch();
|
|
962
962
|
}
|
|
@@ -964,8 +964,8 @@ async function cleanOutputPath(context2) {
|
|
|
964
964
|
}
|
|
965
965
|
_chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
966
966
|
async function build3(options) {
|
|
967
|
-
|
|
968
|
-
const stopwatch =
|
|
967
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
968
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
969
969
|
try {
|
|
970
970
|
const opts = Array.isArray(options) ? options : [
|
|
971
971
|
options
|
|
@@ -975,9 +975,9 @@ async function build3(options) {
|
|
|
975
975
|
}
|
|
976
976
|
void transduce.async(opts, dependencyCheck);
|
|
977
977
|
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
|
|
978
|
-
|
|
978
|
+
_chunkMZDSQVPGjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
979
979
|
} catch (error) {
|
|
980
|
-
|
|
980
|
+
_chunkMZDSQVPGjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
|
|
981
981
|
throw error;
|
|
982
982
|
} finally {
|
|
983
983
|
stopwatch();
|
|
@@ -1005,9 +1005,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1005
1005
|
return context2.rebuild();
|
|
1006
1006
|
});
|
|
1007
1007
|
if (rebuildResult instanceof Error) {
|
|
1008
|
-
|
|
1008
|
+
_chunkMZDSQVPGjs.writeError.call(void 0, rebuildResult.message);
|
|
1009
1009
|
}
|
|
1010
|
-
|
|
1010
|
+
_chunkMZDSQVPGjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
|
|
1011
1011
|
}, 10);
|
|
1012
1012
|
changeWatcher.on("change", fastRebuild);
|
|
1013
1013
|
return void 0;
|
|
@@ -1015,7 +1015,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1015
1015
|
|
|
1016
1016
|
// src/executors/esbuild/executor.ts
|
|
1017
1017
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1018
|
-
|
|
1018
|
+
_chunkMZDSQVPGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1019
1019
|
if (!_optionalChain([context2, 'access', _32 => _32.projectsConfigurations, 'optionalAccess', _33 => _33.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _34 => _34.projectsConfigurations, 'access', _35 => _35.projects, 'access', _36 => _36[context2.projectName], 'optionalAccess', _37 => _37.root])) {
|
|
1020
1020
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1021
1021
|
}
|
|
@@ -1032,7 +1032,7 @@ async function esbuildExecutorFn(options, context2, config) {
|
|
|
1032
1032
|
};
|
|
1033
1033
|
}
|
|
1034
1034
|
_chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
|
|
1035
|
-
var executor_default =
|
|
1035
|
+
var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
|
|
1036
1036
|
skipReadingConfig: false,
|
|
1037
1037
|
hooks: {
|
|
1038
1038
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
@@ -7,7 +7,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.50.0_@types+node@22.13.
|
|
10
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.50.0_@types+node@22.13.4__@swc+core@1.7.26_@swc+h_73a1907be974ba33a2ccc4e2bb5df2f6/node_modules/tsup/assets/esm_shims.js
|
|
11
11
|
import { fileURLToPath } from "url";
|
|
12
12
|
import path from "path";
|
|
13
13
|
var getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
|