@storm-software/workspace-tools 1.258.6 → 1.258.8
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 +12 -0
- package/README.md +1 -1
- package/config/base.json +1 -1
- 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-LJGEDT3L.js → chunk-5ZRY4MVL.js} +73 -0
- 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-74VPPX36.mjs → chunk-EREQD6LF.mjs} +76 -3
- package/dist/{chunk-UF5GVU3Z.js → chunk-EUFCKDUK.js} +2 -2
- package/dist/{chunk-S4ZVXW2Q.mjs → chunk-F43E25RT.mjs} +4 -4
- 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-XONECYS4.js → chunk-KEBNU3P2.js} +39 -6
- 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-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-Y3EKTMQS.mjs → chunk-PDABJOFA.mjs} +42 -9
- 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.js +2 -2
- package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
- package/dist/src/plugins/rust/index.js +2 -2
- package/dist/src/plugins/rust/index.mjs +4 -4
- package/dist/src/plugins/typescript/index.js +2 -2
- package/dist/src/plugins/typescript/index.mjs +4 -4
- package/dist/src/plugins/typescript/project-config.js +2 -2
- 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
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6OSR2VYBjs = require('./chunk-6OSR2VYB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -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"
|
|
@@ -74,9 +74,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
74
74
|
if (!workspaceRoot) {
|
|
75
75
|
throw new Error("Cannot find Nx workspace root");
|
|
76
76
|
}
|
|
77
|
-
const config = await
|
|
78
|
-
|
|
79
|
-
const stopwatch =
|
|
77
|
+
const config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot.dir);
|
|
78
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
79
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "Build options resolution");
|
|
80
80
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
81
81
|
exitOnError: true
|
|
82
82
|
});
|
|
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
93
93
|
}
|
|
94
94
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
95
95
|
options.name ??= `${projectName}-${options.format}`;
|
|
96
|
-
options.target ??=
|
|
96
|
+
options.target ??= _chunk6OSR2VYBjs.DEFAULT_TARGET;
|
|
97
97
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
98
98
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
99
99
|
throw new Error("Cannot find package.json configuration");
|
|
100
100
|
}
|
|
101
|
-
const env =
|
|
101
|
+
const env = _chunk6OSR2VYBjs.getEnv.call(void 0, "tsdown", options);
|
|
102
102
|
const result = {
|
|
103
103
|
...options,
|
|
104
104
|
config,
|
|
105
105
|
...userOptions,
|
|
106
106
|
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
107
107
|
format: options.format || "cjs",
|
|
108
|
-
entryPoints: await
|
|
108
|
+
entryPoints: await _chunk6OSR2VYBjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
109
109
|
"./src/index.ts"
|
|
110
110
|
], userOptions.emitOnAll),
|
|
111
111
|
outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
|
|
@@ -116,7 +116,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
116
116
|
projectGraph,
|
|
117
117
|
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
|
|
118
118
|
minify: userOptions.minify || !userOptions.debug,
|
|
119
|
-
verbose: userOptions.verbose ||
|
|
119
|
+
verbose: userOptions.verbose || _chunkMZDSQVPGjs.isVerbose.call(void 0, ) || userOptions.debug === true,
|
|
120
120
|
includeSrc: userOptions.includeSrc === true,
|
|
121
121
|
metafile: userOptions.metafile !== false,
|
|
122
122
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
@@ -151,8 +151,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
151
151
|
}, "resolveOptions");
|
|
152
152
|
async function generatePackageJson(options) {
|
|
153
153
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
154
|
-
|
|
155
|
-
const stopwatch =
|
|
154
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
155
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "Write package.json file");
|
|
156
156
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
157
157
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
158
158
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
|
|
|
162
162
|
throw new Error("Cannot find package.json configuration file");
|
|
163
163
|
}
|
|
164
164
|
let packageJson = JSON.parse(packageJsonFile);
|
|
165
|
-
packageJson = await
|
|
166
|
-
packageJson = await
|
|
165
|
+
packageJson = await _chunk6OSR2VYBjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
166
|
+
packageJson = await _chunk6OSR2VYBjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
167
167
|
packageJson.exports ??= {};
|
|
168
168
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
169
|
-
packageJson.exports["."] ??=
|
|
169
|
+
packageJson.exports["."] ??= _chunk6OSR2VYBjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
|
|
170
170
|
let entryPoints = [
|
|
171
171
|
{
|
|
172
172
|
in: "./src/index.ts",
|
|
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
|
|
|
184
184
|
const split = entryPoint.out.split(".");
|
|
185
185
|
split.pop();
|
|
186
186
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
187
|
-
packageJson.exports[`./${entry}`] ??=
|
|
187
|
+
packageJson.exports[`./${entry}`] ??= _chunk6OSR2VYBjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -203,8 +203,8 @@ async function generatePackageJson(options) {
|
|
|
203
203
|
}
|
|
204
204
|
_chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
205
205
|
async function executeTSDown(options) {
|
|
206
|
-
|
|
207
|
-
const stopwatch =
|
|
206
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
|
|
207
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
208
208
|
await _tsdown.build.call(void 0, {
|
|
209
209
|
...options,
|
|
210
210
|
entry: options.entryPoints,
|
|
@@ -216,21 +216,21 @@ async function executeTSDown(options) {
|
|
|
216
216
|
}
|
|
217
217
|
_chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
|
|
218
218
|
async function copyBuildAssets(options) {
|
|
219
|
-
|
|
220
|
-
const stopwatch =
|
|
221
|
-
await
|
|
219
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
220
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
221
|
+
await _chunk6OSR2VYBjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
|
|
222
222
|
stopwatch();
|
|
223
223
|
return options;
|
|
224
224
|
}
|
|
225
225
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
226
226
|
async function reportResults(options) {
|
|
227
|
-
|
|
227
|
+
_chunkMZDSQVPGjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
|
|
228
228
|
}
|
|
229
229
|
_chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
|
|
230
230
|
async function cleanOutputPath(options) {
|
|
231
231
|
if (options.clean !== false && options.outdir) {
|
|
232
|
-
|
|
233
|
-
const stopwatch =
|
|
232
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
233
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
234
234
|
await cleanDirectories(options.name, options.outdir, options.config);
|
|
235
235
|
stopwatch();
|
|
236
236
|
}
|
|
@@ -238,8 +238,8 @@ async function cleanOutputPath(options) {
|
|
|
238
238
|
}
|
|
239
239
|
_chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
240
240
|
async function build(options) {
|
|
241
|
-
|
|
242
|
-
const stopwatch =
|
|
241
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
242
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
243
243
|
try {
|
|
244
244
|
const opts = Array.isArray(options) ? options : [
|
|
245
245
|
options
|
|
@@ -257,11 +257,11 @@ async function build(options) {
|
|
|
257
257
|
await reportResults(opt);
|
|
258
258
|
}));
|
|
259
259
|
} else {
|
|
260
|
-
|
|
260
|
+
_chunkMZDSQVPGjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
_chunkMZDSQVPGjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
263
263
|
} catch (error) {
|
|
264
|
-
|
|
264
|
+
_chunkMZDSQVPGjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
|
|
265
265
|
throw error;
|
|
266
266
|
} finally {
|
|
267
267
|
stopwatch();
|
|
@@ -271,7 +271,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
|
|
|
271
271
|
|
|
272
272
|
// src/executors/tsdown/executor.ts
|
|
273
273
|
async function tsdownExecutorFn(options, context, config) {
|
|
274
|
-
|
|
274
|
+
_chunkMZDSQVPGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
|
|
275
275
|
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])) {
|
|
276
276
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
277
277
|
}
|
|
@@ -288,7 +288,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
_chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
|
|
291
|
-
var executor_default =
|
|
291
|
+
var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
|
|
292
292
|
skipReadingConfig: false,
|
|
293
293
|
hooks: {
|
|
294
294
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
getEntryPoints,
|
|
9
9
|
getEnv,
|
|
10
10
|
getOutExtension
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SERUXLAQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
withRunExecutor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TPXVLKDP.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getConfig,
|
|
17
17
|
getStopwatch,
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
writeSuccess,
|
|
24
24
|
writeTrace,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-422NV4UL.mjs";
|
|
27
27
|
import {
|
|
28
28
|
joinPaths
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DJFG4LGU.mjs";
|
|
30
30
|
import {
|
|
31
31
|
__dirname,
|
|
32
32
|
__name,
|
|
33
33
|
__require
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
35
35
|
|
|
36
36
|
// ../esbuild/src/build.ts
|
|
37
37
|
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
|
|
@@ -507,7 +507,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
507
507
|
external: [],
|
|
508
508
|
logLevel: "error",
|
|
509
509
|
tsconfig: "tsconfig.json",
|
|
510
|
-
|
|
510
|
+
mode: "production",
|
|
511
511
|
keepNames: true,
|
|
512
512
|
metafile: true,
|
|
513
513
|
injectShims: true,
|
|
@@ -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/browser-library/generator.ts
|
|
17
17
|
import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
|
|
@@ -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-format/executor.ts
|
|
13
13
|
async function cargoFormatExecutor(options, context) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cargoMetadata,
|
|
3
3
|
isExternal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A4QFANJD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
ProjectTagConstants,
|
|
7
7
|
addProjectTag,
|
|
8
8
|
setDefaultProjectTags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OEXS6BM2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZMF7BFD4.mjs";
|
|
13
13
|
|
|
14
14
|
// src/plugins/rust/cargo-toml.ts
|
|
15
15
|
import { createNodesFromFiles, joinPathFragments, readJsonFile, workspaceRoot } from "@nx/devkit";
|
|
@@ -77,6 +77,25 @@ var createNodesV2 = [
|
|
|
77
77
|
continue;
|
|
78
78
|
}
|
|
79
79
|
project.targets = {
|
|
80
|
+
"lint-markdown": {
|
|
81
|
+
cache: true,
|
|
82
|
+
outputs: [
|
|
83
|
+
"{projectRoot}/**/*.md",
|
|
84
|
+
"{projectRoot}/**/*.mdx"
|
|
85
|
+
],
|
|
86
|
+
inputs: [
|
|
87
|
+
"linting",
|
|
88
|
+
"{projectRoot}/**/*.md",
|
|
89
|
+
"{projectRoot}/**/*.mdx"
|
|
90
|
+
],
|
|
91
|
+
dependsOn: [
|
|
92
|
+
"^lint-markdown"
|
|
93
|
+
],
|
|
94
|
+
executor: "nx:run-commands",
|
|
95
|
+
options: {
|
|
96
|
+
command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
80
99
|
"lint-ls": {
|
|
81
100
|
cache: true,
|
|
82
101
|
inputs: [
|
|
@@ -100,6 +119,8 @@ var createNodesV2 = [
|
|
|
100
119
|
"^production"
|
|
101
120
|
],
|
|
102
121
|
dependsOn: [
|
|
122
|
+
"lint-ls",
|
|
123
|
+
"lint-markdown",
|
|
103
124
|
"^lint"
|
|
104
125
|
],
|
|
105
126
|
executor: "@storm-software/workspace-tools:cargo-clippy",
|
|
@@ -133,23 +154,35 @@ var createNodesV2 = [
|
|
|
133
154
|
inputs: [
|
|
134
155
|
"linting",
|
|
135
156
|
"documentation",
|
|
136
|
-
"
|
|
137
|
-
|
|
157
|
+
"{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
|
|
158
|
+
],
|
|
159
|
+
outputs: [
|
|
160
|
+
"{projectRoot}/README.md"
|
|
138
161
|
],
|
|
139
162
|
dependsOn: [
|
|
140
163
|
"^format-readme"
|
|
141
|
-
]
|
|
164
|
+
],
|
|
165
|
+
executor: "nx:run-commands",
|
|
166
|
+
options: {
|
|
167
|
+
command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
|
|
168
|
+
}
|
|
142
169
|
},
|
|
143
170
|
"format-toml": {
|
|
144
171
|
cache: true,
|
|
145
172
|
inputs: [
|
|
146
173
|
"linting",
|
|
147
|
-
"
|
|
148
|
-
|
|
174
|
+
"{projectRoot}/**/*.toml"
|
|
175
|
+
],
|
|
176
|
+
outputs: [
|
|
177
|
+
"{projectRoot}/**/*.toml"
|
|
149
178
|
],
|
|
150
179
|
dependsOn: [
|
|
151
180
|
"^format-toml"
|
|
152
|
-
]
|
|
181
|
+
],
|
|
182
|
+
executor: "nx:run-commands",
|
|
183
|
+
options: {
|
|
184
|
+
command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
|
|
185
|
+
}
|
|
153
186
|
},
|
|
154
187
|
"format-clippy": {
|
|
155
188
|
cache: true,
|
|
@@ -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
|
// src/utils/apply-workspace-tokens.ts
|
|
9
9
|
var applyWorkspaceExecutorTokens = /* @__PURE__ */ __name(async (option, tokenizerOptions) => {
|
|
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -248,16 +248,16 @@ var _version = require('nx/src/command-line/release/version');
|
|
|
248
248
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
249
249
|
var _semver3 = require('semver');
|
|
250
250
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
251
|
-
|
|
251
|
+
_chunkMZDSQVPGjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
|
|
252
252
|
|
|
253
253
|
`, config);
|
|
254
|
-
const stopwatch =
|
|
254
|
+
const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, "Storm Release Version generator");
|
|
255
255
|
try {
|
|
256
256
|
const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
257
|
-
|
|
257
|
+
_chunkMZDSQVPGjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
258
258
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
259
|
-
config = await
|
|
260
|
-
|
|
259
|
+
config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot);
|
|
260
|
+
_chunkMZDSQVPGjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
261
261
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
262
262
|
const versionData = {};
|
|
263
263
|
if (options.specifier) {
|
|
@@ -308,9 +308,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
308
308
|
}
|
|
309
309
|
const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
|
|
310
310
|
const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
|
|
311
|
-
|
|
311
|
+
_chunkMZDSQVPGjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
|
|
312
312
|
}, "log");
|
|
313
|
-
|
|
313
|
+
_chunkMZDSQVPGjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
|
|
314
314
|
let packageName;
|
|
315
315
|
let currentVersionFromDisk;
|
|
316
316
|
if (tree.exists(packageJsonPath)) {
|
|
@@ -584,7 +584,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
await _devkit.formatFiles.call(void 0, tree);
|
|
587
|
-
|
|
587
|
+
_chunkMZDSQVPGjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
|
|
588
588
|
`, config);
|
|
589
589
|
return {
|
|
590
590
|
data: versionData,
|
|
@@ -618,8 +618,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
618
618
|
}, "callback")
|
|
619
619
|
};
|
|
620
620
|
} catch (error) {
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
_chunkMZDSQVPGjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
|
|
622
|
+
_chunkMZDSQVPGjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
|
|
623
623
|
- Details: ${error.message}
|
|
624
624
|
- Stacktrace: ${error.stack}`, config);
|
|
625
625
|
throw new Error(`An exception was thrown in the Storm Release Version generator's process
|
|
@@ -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";
|