@storm-software/workspace-tools 1.264.17 → 1.264.19
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 +464 -226
- package/README.md +7 -7
- package/dist/{chunk-6WLEYOQF.js → chunk-3MWOC5X7.js} +2 -2
- package/dist/{chunk-LRNQGMXF.mjs → chunk-4UTIWEDA.mjs} +1 -1
- package/dist/{chunk-PGIKB4LI.mjs → chunk-5M3R4RLA.mjs} +1 -1
- package/dist/{chunk-F5AJY62N.mjs → chunk-5OWPWITA.mjs} +59 -60
- package/dist/{chunk-B44EGIA5.mjs → chunk-5QWEZQFR.mjs} +1 -1
- package/dist/{chunk-KGZ2OZNW.mjs → chunk-7A34G3TI.mjs} +1 -1
- package/dist/{chunk-YET5WGHJ.js → chunk-ASBO74YM.js} +5 -5
- package/dist/{chunk-EBP7GL4L.mjs → chunk-AUU7AFJV.mjs} +53 -4
- package/dist/{chunk-2PGDSXZU.mjs → chunk-AWUOBB3R.mjs} +1 -1
- package/dist/{chunk-PQ27QZOF.mjs → chunk-CEK44GFG.mjs} +1 -1
- package/dist/{chunk-3A63PAQ2.js → chunk-DJJEQUOE.js} +2 -2
- package/dist/{chunk-67DAOFEW.js → chunk-DYKPDBZQ.js} +2 -2
- package/dist/{chunk-6V33DY44.js → chunk-EEMX5TF7.js} +5 -5
- package/dist/{chunk-KURISY5P.mjs → chunk-FQSPQRIB.mjs} +1 -1
- package/dist/{chunk-BTRCUZD7.js → chunk-I44JBB55.js} +2 -2
- package/dist/{chunk-ZOJJNUIU.js → chunk-IFB5HNMT.js} +2 -2
- package/dist/{chunk-NXTMYDCW.js → chunk-IRPD2M2I.js} +2 -2
- package/dist/{chunk-5QD6IIAF.mjs → chunk-IRSGGDCX.mjs} +2 -2
- package/dist/{chunk-3BGF7S7Y.js → chunk-IVNDY2FE.js} +20 -20
- package/dist/{chunk-MCODRLX6.mjs → chunk-K5XDKCHY.mjs} +2 -2
- package/dist/{chunk-NSBUY2J2.js → chunk-KFT2TAHE.js} +2 -2
- package/dist/{chunk-NIW5HNFD.mjs → chunk-MHZ6V7XS.mjs} +1 -1
- package/dist/{chunk-RYGPTY75.mjs → chunk-NW4PIBL2.mjs} +1 -1
- package/dist/{chunk-OK2RRJWB.mjs → chunk-OBMMNTJQ.mjs} +2 -2
- package/dist/{chunk-Y6GFDAJL.js → chunk-P5WJDR64.js} +2 -2
- package/dist/{chunk-6JF3H2QJ.mjs → chunk-PUW5GKBJ.mjs} +1 -1
- package/dist/{chunk-PQLZX2GO.mjs → chunk-Q6PB2D4O.mjs} +2 -2
- package/dist/{chunk-VYAFH7RM.js → chunk-SPRQWSBE.js} +53 -4
- package/dist/{chunk-LPQBGYFC.js → chunk-SWKSEHJV.js} +15 -15
- package/dist/{chunk-F5NIZKZT.js → chunk-TFNKD3A2.js} +4 -4
- package/dist/{chunk-6D23MHU6.mjs → chunk-TYTLMYMZ.mjs} +1 -1
- package/dist/{chunk-5CXGHQW2.js → chunk-VGWC25SX.js} +2 -2
- package/dist/{chunk-PRBNESA3.js → chunk-W25HMODD.js} +69 -70
- package/dist/{chunk-KLUSECE7.mjs → chunk-WCGJHQTH.mjs} +2 -2
- package/dist/{chunk-R7MJYMRC.js → chunk-YCDNXKRB.js} +9 -9
- package/dist/{chunk-6LF4YU2P.js → chunk-YX566HFQ.js} +35 -35
- package/dist/{executor-CHRmY7wn.d.ts → executor-BHZDUmGV.d.ts} +1 -1
- package/dist/{executor-R_44c8dN.d.ts → executor-BSdK3i-c.d.ts} +1 -1
- package/dist/{executor-DotcoNb5.d.ts → executor-Ba3sXm2v.d.ts} +1 -1
- package/dist/{executor-kLAG_Uh0.d.mts → executor-BeYtFLmD.d.mts} +1 -1
- package/dist/{executor-C4zk52YE.d.ts → executor-C5FcAd29.d.ts} +1 -1
- package/dist/{executor-CfTJx0E3.d.mts → executor-CqRyjFhC.d.mts} +1 -1
- package/dist/{executor-KnByZ3Vj.d.mts → executor-D8PlrGW7.d.mts} +1 -1
- package/dist/{executor-BbBStgiZ.d.mts → executor-aaNF3iYy.d.mts} +1 -1
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +12 -12
- package/dist/executors.mjs +11 -11
- package/dist/{generator-DWF0x5-p.d.mts → generator-BN20pTlZ.d.mts} +2 -2
- package/dist/{generator-Cbq0Bpwx.d.mts → generator-C77-chd9.d.mts} +2 -2
- package/dist/{generator-Ufzc88Fb.d.ts → generator-C8vM6WVl.d.ts} +1 -1
- package/dist/{generator-DkLHbk1Q.d.mts → generator-CDFD9683.d.mts} +2 -2
- package/dist/{generator-CbgW0ZB8.d.ts → generator-CDWEbKl9.d.ts} +2 -2
- package/dist/{generator-DWLUcY-m.d.mts → generator-CO80PAYg.d.mts} +2 -2
- package/dist/{generator-7Qr_nsE2.d.mts → generator-CPOA4iOa.d.mts} +1 -1
- package/dist/{generator-DIdGmT2e.d.mts → generator-CwtaXN68.d.mts} +1 -1
- package/dist/{generator-BEUPPjjZ.d.ts → generator-D1KDMMWv.d.ts} +2 -2
- package/dist/{generator-DhBo_-BD.d.ts → generator-DHaTv11N.d.ts} +1 -1
- package/dist/{generator-bQ0iNtEG.d.ts → generator-PWtPKnX3.d.ts} +2 -2
- package/dist/{generator-W-hgMr9s.d.ts → generator-ieAZPSV9.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 +10 -10
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +19 -19
- package/dist/index.mjs +20 -20
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.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 +5 -5
- package/dist/src/executors/clean-package/executor.mjs +2 -2
- 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 +4 -4
- package/dist/src/executors/esbuild/executor.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- 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/index.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/{types-Cj24nD9S.d.ts → types-BhjX7nv_.d.ts} +1 -1
- package/dist/{types-CKlmYL_p.d.mts → types-DAkcs-RD.d.mts} +1 -1
- package/dist/{types-ZPi96OtS.d.mts → types-DdLUCAjP.d.mts} +41 -0
- package/dist/{types-ZPi96OtS.d.ts → types-DdLUCAjP.d.ts} +41 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -28,6 +28,7 @@ var _updatelockfile = require('@nx/js/src/generators/release-version/utils/updat
|
|
|
28
28
|
|
|
29
29
|
// ../git-tools/src/types.ts
|
|
30
30
|
var DEFAULT_COMMIT_TYPES = {
|
|
31
|
+
/* --- Bumps version when selected --- */
|
|
31
32
|
chore: {
|
|
32
33
|
description: "Other changes that don't modify src or test files",
|
|
33
34
|
title: "Chore",
|
|
@@ -38,36 +39,16 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
38
39
|
hidden: false
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
|
-
|
|
42
|
-
description: "
|
|
43
|
-
title: "
|
|
44
|
-
emoji: "\u{
|
|
45
|
-
semverBump: "patch",
|
|
46
|
-
changelog: {
|
|
47
|
-
title: "Continuous Integration",
|
|
48
|
-
hidden: false
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
deps: {
|
|
52
|
-
description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
|
|
53
|
-
title: "Dependencies",
|
|
54
|
-
emoji: "\u{1F4E6} ",
|
|
42
|
+
fix: {
|
|
43
|
+
description: "A change that resolves an issue previously identified with the package",
|
|
44
|
+
title: "Bug Fix",
|
|
45
|
+
emoji: "\u{1FAB2} ",
|
|
55
46
|
semverBump: "patch",
|
|
56
47
|
changelog: {
|
|
57
|
-
title: "
|
|
48
|
+
title: "Bug Fixes",
|
|
58
49
|
hidden: false
|
|
59
50
|
}
|
|
60
51
|
},
|
|
61
|
-
docs: {
|
|
62
|
-
description: "A change that only includes documentation updates",
|
|
63
|
-
title: "Documentation",
|
|
64
|
-
emoji: "\u{1F4DC} ",
|
|
65
|
-
semverBump: "none",
|
|
66
|
-
changelog: {
|
|
67
|
-
title: "Documentation",
|
|
68
|
-
hidden: true
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
52
|
feat: {
|
|
72
53
|
description: "A change that adds a new feature to the package",
|
|
73
54
|
title: "Feature",
|
|
@@ -78,23 +59,13 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
78
59
|
hidden: false
|
|
79
60
|
}
|
|
80
61
|
},
|
|
81
|
-
|
|
82
|
-
description: "
|
|
83
|
-
title: "
|
|
84
|
-
emoji: "\u{
|
|
62
|
+
ci: {
|
|
63
|
+
description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
|
|
64
|
+
title: "Continuous Integration",
|
|
65
|
+
emoji: "\u{1F9F0} ",
|
|
85
66
|
semverBump: "patch",
|
|
86
67
|
changelog: {
|
|
87
|
-
title: "
|
|
88
|
-
hidden: false
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
perf: {
|
|
92
|
-
description: "A code change that improves performance",
|
|
93
|
-
title: "Performance Improvement",
|
|
94
|
-
emoji: "\u23F1\uFE0F ",
|
|
95
|
-
semverBump: "none",
|
|
96
|
-
changelog: {
|
|
97
|
-
title: "Performance Improvements",
|
|
68
|
+
title: "Continuous Integration",
|
|
98
69
|
hidden: false
|
|
99
70
|
}
|
|
100
71
|
},
|
|
@@ -104,27 +75,38 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
104
75
|
emoji: "\u{1F9EA} ",
|
|
105
76
|
semverBump: "patch",
|
|
106
77
|
changelog: {
|
|
107
|
-
title: "Code Improvements",
|
|
78
|
+
title: "Source Code Improvements",
|
|
108
79
|
hidden: false
|
|
109
80
|
}
|
|
110
81
|
},
|
|
111
|
-
|
|
112
|
-
description: "
|
|
113
|
-
title: "
|
|
114
|
-
emoji: "\u{
|
|
82
|
+
style: {
|
|
83
|
+
description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
|
|
84
|
+
title: "Style Improvements",
|
|
85
|
+
emoji: "\u{1F48E} ",
|
|
115
86
|
semverBump: "patch",
|
|
116
87
|
changelog: {
|
|
117
|
-
title: "
|
|
88
|
+
title: "Style Improvements",
|
|
118
89
|
hidden: false
|
|
119
90
|
}
|
|
120
91
|
},
|
|
121
|
-
|
|
122
|
-
description: "
|
|
123
|
-
title: "
|
|
124
|
-
emoji: "\
|
|
125
|
-
semverBump: "
|
|
92
|
+
perf: {
|
|
93
|
+
description: "A code change that improves performance",
|
|
94
|
+
title: "Performance Improvement",
|
|
95
|
+
emoji: "\u23F1\uFE0F ",
|
|
96
|
+
semverBump: "patch",
|
|
126
97
|
changelog: {
|
|
127
|
-
title: "
|
|
98
|
+
title: "Performance Improvements",
|
|
99
|
+
hidden: false
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
/* --- Does not bump version when selected --- */
|
|
103
|
+
docs: {
|
|
104
|
+
description: "A change that only includes documentation updates",
|
|
105
|
+
title: "Documentation",
|
|
106
|
+
emoji: "\u{1F4DC} ",
|
|
107
|
+
semverBump: "none",
|
|
108
|
+
changelog: {
|
|
109
|
+
title: "Documentation",
|
|
128
110
|
hidden: false
|
|
129
111
|
}
|
|
130
112
|
},
|
|
@@ -138,16 +120,30 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
138
120
|
hidden: true
|
|
139
121
|
}
|
|
140
122
|
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
123
|
+
/* --- Not included in commitlint but included in changelog --- */
|
|
124
|
+
deps: {
|
|
125
|
+
description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
|
|
126
|
+
title: "Dependencies",
|
|
127
|
+
emoji: "\u{1F4E6} ",
|
|
128
|
+
hidden: true,
|
|
129
|
+
semverBump: "patch",
|
|
146
130
|
changelog: {
|
|
147
|
-
title: "
|
|
131
|
+
title: "Dependency Upgrades",
|
|
148
132
|
hidden: false
|
|
149
133
|
}
|
|
150
134
|
},
|
|
135
|
+
/* --- Not included in commitlint or changelog --- */
|
|
136
|
+
build: {
|
|
137
|
+
description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
|
|
138
|
+
title: "Build",
|
|
139
|
+
emoji: "\u{1F6E0} ",
|
|
140
|
+
hidden: true,
|
|
141
|
+
semverBump: "none",
|
|
142
|
+
changelog: {
|
|
143
|
+
title: "Build",
|
|
144
|
+
hidden: true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
151
147
|
release: {
|
|
152
148
|
description: "Publishing a commit containing a newly released version",
|
|
153
149
|
title: "Publish Release",
|
|
@@ -165,7 +161,10 @@ var DEFAULT_COMMIT_QUESTIONS = {
|
|
|
165
161
|
type: "select",
|
|
166
162
|
title: "Commit Type",
|
|
167
163
|
description: "Select the commit type that best describes your changes",
|
|
168
|
-
enum: DEFAULT_COMMIT_TYPES,
|
|
164
|
+
enum: Object.keys(DEFAULT_COMMIT_TYPES).filter((type) => DEFAULT_COMMIT_TYPES[type].hidden !== true).reduce((ret, type) => {
|
|
165
|
+
ret[type] = DEFAULT_COMMIT_TYPES[type];
|
|
166
|
+
return ret;
|
|
167
|
+
}, {}),
|
|
169
168
|
defaultValue: "chore",
|
|
170
169
|
maxLength: 20,
|
|
171
170
|
minLength: 3
|
|
@@ -245,16 +244,16 @@ var _version = require('nx/src/command-line/release/version');
|
|
|
245
244
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
246
245
|
var _semver3 = require('semver');
|
|
247
246
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
248
|
-
|
|
247
|
+
_chunkSPRQWSBEjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
|
|
249
248
|
|
|
250
249
|
`, config);
|
|
251
|
-
const stopwatch =
|
|
250
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, "Storm Release Version generator");
|
|
252
251
|
try {
|
|
253
252
|
const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
254
|
-
|
|
253
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
255
254
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
256
|
-
config = await
|
|
257
|
-
|
|
255
|
+
config = await _chunkSPRQWSBEjs.getConfig.call(void 0, workspaceRoot);
|
|
256
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
258
257
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
259
258
|
const versionData = {};
|
|
260
259
|
if (options.specifier) {
|
|
@@ -305,9 +304,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
305
304
|
}
|
|
306
305
|
const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
|
|
307
306
|
const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
|
|
308
|
-
|
|
307
|
+
_chunkSPRQWSBEjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
|
|
309
308
|
}, "log");
|
|
310
|
-
|
|
309
|
+
_chunkSPRQWSBEjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
|
|
311
310
|
let packageName;
|
|
312
311
|
let currentVersionFromDisk;
|
|
313
312
|
if (tree.exists(packageJsonPath)) {
|
|
@@ -581,7 +580,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
581
580
|
}
|
|
582
581
|
}
|
|
583
582
|
await _devkit.formatFiles.call(void 0, tree);
|
|
584
|
-
|
|
583
|
+
_chunkSPRQWSBEjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
|
|
585
584
|
`, config);
|
|
586
585
|
return {
|
|
587
586
|
data: versionData,
|
|
@@ -615,8 +614,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
615
614
|
}, "callback")
|
|
616
615
|
};
|
|
617
616
|
} catch (error) {
|
|
618
|
-
|
|
619
|
-
|
|
617
|
+
_chunkSPRQWSBEjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
|
|
618
|
+
_chunkSPRQWSBEjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
|
|
620
619
|
- Details: ${error.message}
|
|
621
620
|
- Stacktrace: ${error.stack}`, config);
|
|
622
621
|
throw new Error(`An exception was thrown in the Storm Release Version generator's process
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
20
20
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0,
|
|
21
|
+
_chunkSPRQWSBEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
|
|
22
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
|
|
23
|
+
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSPRQWSBEjs.StormConfigSchema, {
|
|
24
24
|
name: "StormWorkspaceConfiguration"
|
|
25
25
|
});
|
|
26
|
-
|
|
26
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, jsonSchema, config);
|
|
27
27
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
|
|
28
|
-
|
|
28
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
29
29
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
30
30
|
spaces: 2
|
|
31
31
|
});
|
|
32
32
|
await _devkit.formatFiles.call(void 0, tree);
|
|
33
|
-
|
|
33
|
+
_chunkSPRQWSBEjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
|
|
34
34
|
return {
|
|
35
35
|
success: true
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
_chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
|
|
39
|
-
var generator_default =
|
|
39
|
+
var generator_default = _chunkSWKSEHJVjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
|
|
40
40
|
hooks: {
|
|
41
41
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
42
42
|
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
|
-
var
|
|
3
|
+
var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -83,7 +83,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
|
|
|
83
83
|
output: "src/"
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
87
87
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
88
88
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
89
89
|
projectDir: projectRoot,
|
|
@@ -93,7 +93,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
93
93
|
});
|
|
94
94
|
await assetHandler.processAllAssetsOnce();
|
|
95
95
|
if (includeSrc === true) {
|
|
96
|
-
|
|
96
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
97
97
|
const files = await _glob.glob.call(void 0, [
|
|
98
98
|
_chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
99
99
|
_chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
@@ -132,7 +132,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
if (localPackages.length > 0) {
|
|
135
|
-
|
|
135
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
136
136
|
const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
137
137
|
const projectJson = JSON.parse(projectJsonFile);
|
|
138
138
|
const projectName2 = projectJson.name;
|
|
@@ -166,7 +166,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
166
166
|
return ret;
|
|
167
167
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
168
168
|
} else {
|
|
169
|
-
|
|
169
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
170
170
|
}
|
|
171
171
|
return packageJson;
|
|
172
172
|
}, "addPackageDependencies");
|
|
@@ -264,7 +264,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
264
264
|
paths.push(...files.reduce((ret, filePath) => {
|
|
265
265
|
const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
|
|
266
266
|
if (result) {
|
|
267
|
-
|
|
267
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
268
268
|
if (!paths.includes(result)) {
|
|
269
269
|
paths.push(result);
|
|
270
270
|
}
|
|
@@ -584,7 +584,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
|
|
|
584
584
|
setup(build4) {
|
|
585
585
|
build4.onEnd((result) => {
|
|
586
586
|
if (result.errors.length > 0 && process.env.WATCH !== "true") {
|
|
587
|
-
|
|
587
|
+
_chunkSPRQWSBEjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
588
588
|
${result.errors.map((error) => error.text).join("\n")}
|
|
589
589
|
|
|
590
590
|
`, resolvedOptions.config);
|
|
@@ -693,7 +693,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
|
693
693
|
localBuild: true
|
|
694
694
|
});
|
|
695
695
|
if (extractorResult.succeeded === false) {
|
|
696
|
-
|
|
696
|
+
_chunkSPRQWSBEjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
|
|
697
697
|
throw new Error("API Extractor completed with errors");
|
|
698
698
|
}
|
|
699
699
|
}
|
|
@@ -881,8 +881,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
|
|
|
881
881
|
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
882
882
|
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
883
883
|
});
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
_chunkSPRQWSBEjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
885
|
+
_chunkSPRQWSBEjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
886
886
|
if (filteredMissingDeps.length > 0) {
|
|
887
887
|
throw new Error(`Missing dependencies detected - please install them:
|
|
888
888
|
${JSON.stringify(filteredMissingDeps)}
|
|
@@ -976,9 +976,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
976
976
|
if (!workspaceRoot) {
|
|
977
977
|
throw new Error("Cannot find Nx workspace root");
|
|
978
978
|
}
|
|
979
|
-
const config = await
|
|
980
|
-
|
|
981
|
-
const stopwatch =
|
|
979
|
+
const config = await _chunkSPRQWSBEjs.getConfig.call(void 0, workspaceRoot.dir);
|
|
980
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
981
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, "Build options resolution");
|
|
982
982
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
983
983
|
exitOnError: true
|
|
984
984
|
});
|
|
@@ -1025,7 +1025,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1025
1025
|
projectGraph,
|
|
1026
1026
|
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
|
|
1027
1027
|
minify: userOptions.minify || !userOptions.debug,
|
|
1028
|
-
verbose: userOptions.verbose ||
|
|
1028
|
+
verbose: userOptions.verbose || _chunkSPRQWSBEjs.isVerbose.call(void 0, ) || userOptions.debug === true,
|
|
1029
1029
|
includeSrc: userOptions.includeSrc === true,
|
|
1030
1030
|
metafile: userOptions.metafile !== false,
|
|
1031
1031
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
@@ -1073,8 +1073,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1073
1073
|
}, "resolveOptions");
|
|
1074
1074
|
async function generatePackageJson(context2) {
|
|
1075
1075
|
if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
|
|
1076
|
-
|
|
1077
|
-
const stopwatch =
|
|
1076
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
1077
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1078
1078
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
|
|
1079
1079
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1080
1080
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -1147,8 +1147,8 @@ async function generateContext(getOptions) {
|
|
|
1147
1147
|
}
|
|
1148
1148
|
_chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
|
|
1149
1149
|
async function executeEsBuild(context2) {
|
|
1150
|
-
|
|
1151
|
-
const stopwatch =
|
|
1150
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
1151
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, `${context2.options.name} build`);
|
|
1152
1152
|
if (process.env.STORM_WATCH) {
|
|
1153
1153
|
const ctx = await esbuild2.context(context2.options);
|
|
1154
1154
|
watch(ctx, context2.options);
|
|
@@ -1177,8 +1177,8 @@ async function executeEsBuild(context2) {
|
|
|
1177
1177
|
delete options.renderers;
|
|
1178
1178
|
delete options.config;
|
|
1179
1179
|
delete options.injectShims;
|
|
1180
|
-
|
|
1181
|
-
${
|
|
1180
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
|
|
1181
|
+
${_chunkSPRQWSBEjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
|
|
1182
1182
|
const result = await esbuild2.build(options);
|
|
1183
1183
|
await esbuild2.stop();
|
|
1184
1184
|
if (result.metafile) {
|
|
@@ -1191,8 +1191,8 @@ ${_chunkVYAFH7RMjs.formatLogMessage.call(void 0, options)}`, context2.options.co
|
|
|
1191
1191
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1192
1192
|
async function copyBuildAssets(context2) {
|
|
1193
1193
|
if (_optionalChain([context2, 'access', _45 => _45.result, 'optionalAccess', _46 => _46.errors, 'access', _47 => _47.length]) === 0) {
|
|
1194
|
-
|
|
1195
|
-
const stopwatch =
|
|
1194
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1195
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1196
1196
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
1197
1197
|
stopwatch();
|
|
1198
1198
|
}
|
|
@@ -1202,9 +1202,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
|
1202
1202
|
async function reportResults(context2) {
|
|
1203
1203
|
if (_optionalChain([context2, 'access', _48 => _48.result, 'optionalAccess', _49 => _49.errors, 'access', _50 => _50.length]) === 0) {
|
|
1204
1204
|
if (context2.result.warnings.length > 0) {
|
|
1205
|
-
|
|
1205
|
+
_chunkSPRQWSBEjs.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);
|
|
1206
1206
|
}
|
|
1207
|
-
|
|
1207
|
+
_chunkSPRQWSBEjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
1210
|
_chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
|
|
@@ -1240,8 +1240,8 @@ async function dependencyCheck(options) {
|
|
|
1240
1240
|
_chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
|
|
1241
1241
|
async function cleanOutputPath(context2) {
|
|
1242
1242
|
if (context2.options.clean !== false && context2.options.outdir) {
|
|
1243
|
-
|
|
1244
|
-
const stopwatch =
|
|
1243
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
|
|
1244
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
|
|
1245
1245
|
await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
|
|
1246
1246
|
stopwatch();
|
|
1247
1247
|
}
|
|
@@ -1249,8 +1249,8 @@ async function cleanOutputPath(context2) {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
_chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
1251
1251
|
async function build3(options) {
|
|
1252
|
-
|
|
1253
|
-
const stopwatch =
|
|
1252
|
+
_chunkSPRQWSBEjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
1253
|
+
const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
1254
1254
|
try {
|
|
1255
1255
|
const opts = Array.isArray(options) ? options : [
|
|
1256
1256
|
options
|
|
@@ -1260,9 +1260,9 @@ async function build3(options) {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
void transduce.async(opts, dependencyCheck);
|
|
1262
1262
|
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
|
|
1263
|
-
|
|
1263
|
+
_chunkSPRQWSBEjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
1264
1264
|
} catch (error) {
|
|
1265
|
-
|
|
1265
|
+
_chunkSPRQWSBEjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
|
|
1266
1266
|
throw error;
|
|
1267
1267
|
} finally {
|
|
1268
1268
|
stopwatch();
|
|
@@ -1290,9 +1290,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1290
1290
|
return context2.rebuild();
|
|
1291
1291
|
});
|
|
1292
1292
|
if (rebuildResult instanceof Error) {
|
|
1293
|
-
|
|
1293
|
+
_chunkSPRQWSBEjs.writeError.call(void 0, rebuildResult.message);
|
|
1294
1294
|
}
|
|
1295
|
-
|
|
1295
|
+
_chunkSPRQWSBEjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
|
|
1296
1296
|
}, 10);
|
|
1297
1297
|
changeWatcher.on("change", fastRebuild);
|
|
1298
1298
|
return void 0;
|
|
@@ -1300,7 +1300,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1300
1300
|
|
|
1301
1301
|
// src/executors/esbuild/executor.ts
|
|
1302
1302
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1303
|
-
|
|
1303
|
+
_chunkSPRQWSBEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1304
1304
|
if (!_optionalChain([context2, 'access', _51 => _51.projectsConfigurations, 'optionalAccess', _52 => _52.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _53 => _53.projectsConfigurations, 'access', _54 => _54.projects, 'access', _55 => _55[context2.projectName], 'optionalAccess', _56 => _56.root])) {
|
|
1305
1305
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1306
1306
|
}
|
|
@@ -1317,7 +1317,7 @@ async function esbuildExecutorFn(options, context2, config) {
|
|
|
1317
1317
|
};
|
|
1318
1318
|
}
|
|
1319
1319
|
_chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
|
|
1320
|
-
var executor_default =
|
|
1320
|
+
var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
|
|
1321
1321
|
skipReadingConfig: false,
|
|
1322
1322
|
hooks: {
|
|
1323
1323
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nx_devkit from '@nx/devkit';
|
|
2
2
|
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-
|
|
3
|
+
import { S as StormConfig } from './types-DdLUCAjP.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
package/dist/executors.d.mts
CHANGED
|
@@ -5,11 +5,11 @@ export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-B
|
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-BD3oxCXJ.mjs';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-CpcXNDfG.mjs';
|
|
7
7
|
export { C as CleanPackageExecutorSchema } from './schema.d-CRz8jtUC.mjs';
|
|
8
|
-
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-
|
|
8
|
+
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-BeYtFLmD.mjs';
|
|
9
9
|
export { L as LARGE_BUFFER, N as NpmPublishExecutorSchema } from './executor-DTcKLfcw.mjs';
|
|
10
|
-
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-
|
|
11
|
-
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-
|
|
12
|
-
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-
|
|
10
|
+
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-D8PlrGW7.mjs';
|
|
11
|
+
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-aaNF3iYy.mjs';
|
|
12
|
+
export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-CqRyjFhC.mjs';
|
|
13
13
|
import '@nx/devkit';
|
|
14
|
-
import './types-
|
|
14
|
+
import './types-DdLUCAjP.mjs';
|
|
15
15
|
import 'zod';
|