@storm-software/workspace-tools 1.277.19 → 1.277.21
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 +30 -0
- package/README.md +1 -1
- package/dist/{chunk-MLMJVWDN.js → chunk-2JHF5IS5.js} +2 -2
- package/dist/{chunk-VZRVKVAO.mjs → chunk-4BGG5KKQ.mjs} +2 -2
- package/dist/{chunk-64SHSYAR.js → chunk-4GLMTOQP.js} +16 -16
- package/dist/{chunk-5ZESKANL.mjs → chunk-4OXGU7IV.mjs} +1 -1
- package/dist/{chunk-LOWIHCCA.js → chunk-5N6TQ2Q7.js} +2 -2
- package/dist/{chunk-L3U7C6IX.js → chunk-67VOWLCO.js} +2 -2
- package/dist/{chunk-T7CP3UFW.js → chunk-7JRJ7ITN.js} +2 -2
- package/dist/{chunk-YNLVMQVP.js → chunk-AM2MMURU.js} +2 -2
- package/dist/{chunk-B5JNWTUG.js → chunk-BEW4BVPK.js} +16 -16
- package/dist/{chunk-XCCNQQVX.js → chunk-BGYHLARB.js} +2 -2
- package/dist/{chunk-X3ST5ZXI.mjs → chunk-C2LQVLTD.mjs} +1 -1
- package/dist/{chunk-4FSINBV3.mjs → chunk-DFI56II6.mjs} +1 -1
- package/dist/{chunk-XBDORAQU.mjs → chunk-DHSUCTQM.mjs} +1 -1
- package/dist/{chunk-XKAAYYJP.mjs → chunk-DVHD56A6.mjs} +16 -16
- package/dist/{chunk-RY74FLHL.mjs → chunk-EQCZYIUE.mjs} +1 -1
- package/dist/{chunk-YNB77CQX.js → chunk-F3T34ZU6.js} +21 -21
- package/dist/{chunk-NI6UCWBQ.mjs → chunk-GXYQMSLG.mjs} +2 -2
- package/dist/{chunk-DEGG3GC3.js → chunk-H6VAARZE.js} +4 -4
- package/dist/{chunk-WIFN7LM3.js → chunk-HHPL5ID6.js} +2 -2
- package/dist/{chunk-YXO7QCSQ.mjs → chunk-JC353UQP.mjs} +1 -1
- package/dist/{chunk-KOLNKKQ5.mjs → chunk-KXNKLBFZ.mjs} +1 -1
- package/dist/{chunk-KWQYMPVY.js → chunk-L7MNI24K.js} +2 -2
- package/dist/{chunk-ENUKNYFH.mjs → chunk-MYXJTOEI.mjs} +1 -1
- package/dist/{chunk-7BNGAODN.js → chunk-NCTBOEB6.js} +2 -2
- package/dist/{chunk-WVGU3B2X.mjs → chunk-NII223RE.mjs} +1 -1
- package/dist/{chunk-TI2SPALA.mjs → chunk-OP2XRYHG.mjs} +2 -2
- package/dist/{chunk-W765XU7F.mjs → chunk-ORHXWW6Z.mjs} +1 -1
- package/dist/{chunk-I5PFQ32U.js → chunk-PFRPFUED.js} +2 -2
- package/dist/{chunk-F2BM22QJ.mjs → chunk-QEX7AIDZ.mjs} +2 -2
- package/dist/{chunk-NQG6PZSU.mjs → chunk-QMJOVAWO.mjs} +1 -1
- package/dist/{chunk-INDS3IGH.js → chunk-RSHD75IJ.js} +20 -20
- package/dist/{chunk-GPAH2XUM.js → chunk-SXCUWNQO.js} +2 -2
- package/dist/{chunk-FVTAYG7C.js → chunk-TL226NUR.js} +5 -5
- package/dist/{chunk-BZLV3DUU.mjs → chunk-UP425XDF.mjs} +3 -3
- package/dist/{chunk-W46VGGTY.mjs → chunk-VCZQSV5V.mjs} +1 -1
- package/dist/{chunk-625KHBUR.js → chunk-VF6V3QCQ.js} +2 -2
- package/dist/{chunk-LJOPJGFV.js → chunk-VLYV2HRU.js} +9 -9
- package/dist/{chunk-OH7KAS54.js → chunk-XBWF35MS.js} +20 -20
- package/dist/{chunk-FD42BMRE.mjs → chunk-XFGAP6WH.mjs} +2 -2
- package/dist/{chunk-DAZ45RAJ.js → chunk-YAMPLW2G.js} +2 -2
- package/dist/{chunk-HIKE6ACN.mjs → chunk-YSFE5Q5D.mjs} +1 -1
- package/dist/{chunk-WXTBIQEB.mjs → chunk-YTQPCNAT.mjs} +1 -1
- package/dist/{chunk-LLXQNI4V.mjs → chunk-YXLNJX52.mjs} +2 -2
- package/dist/{chunk-WZBBSDC4.js → chunk-YYQJS6BL.js} +5 -5
- package/dist/{chunk-Z2XCY6HJ.mjs → chunk-Z6K5AW5Q.mjs} +3 -3
- package/dist/{chunk-ZBDSKCSB.js → chunk-Z6MR2GWS.js} +32 -32
- package/dist/{executor-CGjlyWgF.d.ts → executor-BGlih0Ou.d.ts} +1 -1
- package/dist/{executor-97Yxd9dE.d.mts → executor-BjcGDiSg.d.mts} +1 -1
- package/dist/{executor-9e4OKS-a.d.mts → executor-Bv_NOfBv.d.mts} +1 -1
- package/dist/{executor-Ba3KVE-E.d.mts → executor-CQPJHucD.d.mts} +1 -1
- package/dist/{executor-iDg2nqkl.d.mts → executor-DJt__8Y0.d.mts} +1 -1
- package/dist/{executor-D78UOdZp.d.ts → executor-RP1lAVyh.d.ts} +1 -1
- package/dist/{executor-DY-b5GfX.d.ts → executor-fRL7fcY1.d.ts} +1 -1
- package/dist/{executor-BWxkTnzl.d.ts → executor-or8S9oZd.d.ts} +1 -1
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +18 -18
- package/dist/{generator-CDZ9jZ8e.d.mts → generator-BUI_P7Fb.d.mts} +2 -2
- package/dist/{generator-DXNeL8YG.d.mts → generator-BgBa6_si.d.mts} +2 -2
- package/dist/{generator-ATrapSkV.d.ts → generator-C43jwL2P.d.ts} +1 -1
- package/dist/{generator-BvBEzfvz.d.ts → generator-Cl_v4Cpk.d.ts} +1 -1
- package/dist/{generator-BCtSUPJx.d.ts → generator-CydFSI6G.d.ts} +2 -2
- package/dist/{generator-T6mKvAuP.d.mts → generator-DBdrS_hk.d.mts} +2 -2
- package/dist/{generator-lTDdrLpW.d.ts → generator-DJeUJqyi.d.ts} +2 -2
- package/dist/{generator-DppLXOou.d.mts → generator-Da0hA_sC.d.mts} +1 -1
- package/dist/{generator-qV7t2ZUx.d.ts → generator-DkyIj7DQ.d.ts} +2 -2
- package/dist/{generator-rPHWIoRk.d.mts → generator-jnNJJJQw.d.mts} +2 -2
- package/dist/{generator-D672VCu5.d.ts → generator-tOJG5CUs.d.ts} +2 -2
- package/dist/{generator-DCeTD30X.d.mts → generator-u2v0eSLY.d.mts} +1 -1
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +15 -15
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +25 -25
- package/dist/index.mjs +30 -30
- 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 +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- 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 +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/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 +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- 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 +4 -4
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- 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 +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- 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 +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- 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 +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- 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 +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- 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/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.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/{types-DscpeVRC.d.ts → types-BI3OX_IA.d.ts} +1 -1
- package/dist/{types-BXb2-oYY.d.ts → types-Dgd3Nqzi.d.mts} +19 -19
- package/dist/{types-BXb2-oYY.d.mts → types-Dgd3Nqzi.d.ts} +19 -19
- package/dist/{types-3slkSauM.d.mts → types-l0vW09YN.d.mts} +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.20](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.20) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate workspace artifacts
|
|
10
|
+
([f45c14e5f](https://github.com/storm-software/storm-ops/commit/f45c14e5f))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated prettier to 0.51.46
|
|
15
|
+
- Updated esbuild to 0.45.33
|
|
16
|
+
- Updated unbuild to 0.49.44
|
|
17
|
+
|
|
18
|
+
## [1.277.19](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.19) (2025-07-10)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **config:** Update implementation to use `zod` v4
|
|
23
|
+
([7ad01d561](https://github.com/storm-software/storm-ops/commit/7ad01d561))
|
|
24
|
+
- **monorepo:** Update links and `zod` to v4
|
|
25
|
+
([fbdb2f1e6](https://github.com/storm-software/storm-ops/commit/fbdb2f1e6))
|
|
26
|
+
- **monorepo:** Regenerate README markdown files
|
|
27
|
+
([113ca7595](https://github.com/storm-software/storm-ops/commit/113ca7595))
|
|
28
|
+
|
|
29
|
+
### Updated Dependencies
|
|
30
|
+
|
|
31
|
+
- Updated prettier to 0.51.45
|
|
32
|
+
- Updated esbuild to 0.45.32
|
|
33
|
+
- Updated unbuild to 0.49.43
|
|
34
|
+
|
|
5
35
|
## [1.277.18](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.18) (2025-07-10)
|
|
6
36
|
|
|
7
37
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -14,7 +14,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
14
14
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
15
15
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
16
16
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
17
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
18
17
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
19
18
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
20
19
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -97,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
97
96
|
positive: PositiveColorSchema,
|
|
98
97
|
negative: NegativeColorSchema
|
|
99
98
|
});
|
|
100
|
-
var RegistryUrlConfigSchema = z.
|
|
99
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
101
100
|
var RegistryConfigSchema = z.object({
|
|
102
101
|
github: RegistryUrlConfigSchema,
|
|
103
102
|
npm: RegistryUrlConfigSchema,
|
|
@@ -124,18 +123,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
124
123
|
name: z.string().trim().default("stormie-bot").describe(
|
|
125
124
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
126
125
|
),
|
|
127
|
-
email: z.
|
|
126
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
128
127
|
}).describe(
|
|
129
128
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
130
129
|
);
|
|
131
130
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
132
|
-
banner: z.string().trim().
|
|
131
|
+
banner: z.string().trim().optional().describe(
|
|
133
132
|
"A URL to a banner image used to display the workspace's release"
|
|
134
133
|
),
|
|
135
134
|
header: z.string().trim().optional().describe(
|
|
136
135
|
"A header message appended to the start of the workspace's release notes"
|
|
137
136
|
),
|
|
138
|
-
footer: z.string().trim().
|
|
137
|
+
footer: z.string().trim().optional().describe(
|
|
139
138
|
"A footer message appended to the end of the workspace's release notes"
|
|
140
139
|
)
|
|
141
140
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -167,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
167
166
|
);
|
|
168
167
|
var errorConfigSchema = z.object({
|
|
169
168
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
170
|
-
url: z.
|
|
169
|
+
url: z.url().optional().describe(
|
|
171
170
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
172
171
|
)
|
|
173
172
|
}).describe("The workspace's error config used during the error process");
|
|
174
173
|
var organizationConfigSchema = z.object({
|
|
175
174
|
name: z.string().trim().describe("The name of the organization"),
|
|
176
175
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
177
|
-
logo: z.
|
|
178
|
-
icon: z.
|
|
179
|
-
url: z.
|
|
176
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
177
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
178
|
+
url: z.url().optional().describe(
|
|
180
179
|
"A URL to a page that provides more information about the organization"
|
|
181
180
|
)
|
|
182
181
|
}).describe("The workspace's organization details");
|
|
182
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
183
183
|
var stormWorkspaceConfigSchema = z.object({
|
|
184
184
|
$schema: z.string().trim().default(
|
|
185
185
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -196,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
196
196
|
),
|
|
197
197
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
198
198
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
199
|
-
homepage: z.
|
|
200
|
-
docs: z.
|
|
201
|
-
portal: z.
|
|
202
|
-
licensing: z.
|
|
203
|
-
contact: z.
|
|
204
|
-
support: z.
|
|
199
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
200
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
201
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
202
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
203
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
204
|
+
support: z.url().optional().describe(
|
|
205
205
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
206
206
|
),
|
|
207
207
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -211,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
211
211
|
release: WorkspaceReleaseConfigSchema,
|
|
212
212
|
socials: WorkspaceSocialsConfigSchema,
|
|
213
213
|
error: errorConfigSchema,
|
|
214
|
-
mode: z.enum(
|
|
214
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
215
215
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
216
216
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
217
217
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/toml.ts
|
|
6
6
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
7
7
|
function parseCargoTomlWithTree(tree, projectRoot, projectName) {
|
|
8
8
|
const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
|
|
9
9
|
if (!cargoTomlString) {
|
|
10
|
-
|
|
10
|
+
_chunk4GLMTOQPjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
|
|
11
11
|
throw new Error();
|
|
12
12
|
}
|
|
13
13
|
return parseCargoToml(cargoTomlString);
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkBGYHLARBjs = require('./chunk-BGYHLARB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkF6X43VUXjs = require('./chunk-F6X43VUX.js');
|
|
@@ -86,7 +86,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
86
86
|
return { success: true };
|
|
87
87
|
}
|
|
88
88
|
await _chunkF6X43VUXjs.pnpmUpdate.call(void 0, packageRoot, context.root);
|
|
89
|
-
await
|
|
89
|
+
await _chunkBGYHLARBjs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
90
90
|
const npmPublishCommandSegments = [`npm publish --json`];
|
|
91
91
|
const npmViewCommandSegments = [
|
|
92
92
|
`npm view ${packageName} versions dist-tags --json`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,30 +22,30 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
23
23
|
skipReadingConfig: false
|
|
24
24
|
}) => async (tree, _options) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunk4GLMTOQPjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config;
|
|
28
28
|
try {
|
|
29
|
-
|
|
29
|
+
_chunk4GLMTOQPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
30
30
|
|
|
31
31
|
`, config);
|
|
32
32
|
const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
|
|
33
33
|
if (!generatorOptions.skipReadingConfig) {
|
|
34
|
-
|
|
34
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0,
|
|
35
35
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
config = await
|
|
39
|
+
config = await _chunkXBWF35MSjs.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
|
-
|
|
42
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
43
43
|
options = await Promise.resolve(
|
|
44
44
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
_chunk4GLMTOQPjs.writeTrace.call(void 0,
|
|
49
49
|
`Generator schema options \u2699\uFE0F
|
|
50
50
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
51
51
|
config
|
|
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
56
56
|
_chunkJ2Z4WP3Ejs.applyWorkspaceBaseTokens
|
|
57
57
|
);
|
|
58
58
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
59
|
-
|
|
59
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
60
60
|
await Promise.resolve(
|
|
61
61
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
62
62
|
);
|
|
63
|
-
|
|
63
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
64
64
|
}
|
|
65
65
|
const result = await Promise.resolve(
|
|
66
66
|
generatorFn(tree, tokenized, config)
|
|
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
78
|
-
|
|
78
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
79
79
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
80
|
-
|
|
80
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
81
81
|
}
|
|
82
82
|
return () => {
|
|
83
|
-
|
|
83
|
+
_chunk4GLMTOQPjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
84
84
|
`, config);
|
|
85
85
|
};
|
|
86
86
|
} catch (error) {
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
_chunk4GLMTOQPjs.writeFatal.call(void 0,
|
|
89
89
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
90
90
|
config
|
|
91
91
|
);
|
|
92
|
-
|
|
92
|
+
_chunk4GLMTOQPjs.writeError.call(void 0,
|
|
93
93
|
`An exception was thrown in the generator's process
|
|
94
94
|
- Details: ${error.message}
|
|
95
95
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk67VOWLCOjs = require('./chunk-67VOWLCO.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
|
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
|
-
content:
|
|
34
|
+
content: _chunk67VOWLCOjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
@@ -14,7 +14,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
14
14
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
15
15
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
16
16
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
17
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
18
17
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
19
18
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
20
19
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -97,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
97
96
|
positive: PositiveColorSchema,
|
|
98
97
|
negative: NegativeColorSchema
|
|
99
98
|
});
|
|
100
|
-
var RegistryUrlConfigSchema = z.
|
|
99
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
101
100
|
var RegistryConfigSchema = z.object({
|
|
102
101
|
github: RegistryUrlConfigSchema,
|
|
103
102
|
npm: RegistryUrlConfigSchema,
|
|
@@ -124,18 +123,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
124
123
|
name: z.string().trim().default("stormie-bot").describe(
|
|
125
124
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
126
125
|
),
|
|
127
|
-
email: z.
|
|
126
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
128
127
|
}).describe(
|
|
129
128
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
130
129
|
);
|
|
131
130
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
132
|
-
banner: z.string().trim().
|
|
131
|
+
banner: z.string().trim().optional().describe(
|
|
133
132
|
"A URL to a banner image used to display the workspace's release"
|
|
134
133
|
),
|
|
135
134
|
header: z.string().trim().optional().describe(
|
|
136
135
|
"A header message appended to the start of the workspace's release notes"
|
|
137
136
|
),
|
|
138
|
-
footer: z.string().trim().
|
|
137
|
+
footer: z.string().trim().optional().describe(
|
|
139
138
|
"A footer message appended to the end of the workspace's release notes"
|
|
140
139
|
)
|
|
141
140
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -167,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
167
166
|
);
|
|
168
167
|
var errorConfigSchema = z.object({
|
|
169
168
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
170
|
-
url: z.
|
|
169
|
+
url: z.url().optional().describe(
|
|
171
170
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
172
171
|
)
|
|
173
172
|
}).describe("The workspace's error config used during the error process");
|
|
174
173
|
var organizationConfigSchema = z.object({
|
|
175
174
|
name: z.string().trim().describe("The name of the organization"),
|
|
176
175
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
177
|
-
logo: z.
|
|
178
|
-
icon: z.
|
|
179
|
-
url: z.
|
|
176
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
177
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
178
|
+
url: z.url().optional().describe(
|
|
180
179
|
"A URL to a page that provides more information about the organization"
|
|
181
180
|
)
|
|
182
181
|
}).describe("The workspace's organization details");
|
|
182
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
183
183
|
var stormWorkspaceConfigSchema = z.object({
|
|
184
184
|
$schema: z.string().trim().default(
|
|
185
185
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -196,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
196
196
|
),
|
|
197
197
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
198
198
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
199
|
-
homepage: z.
|
|
200
|
-
docs: z.
|
|
201
|
-
portal: z.
|
|
202
|
-
licensing: z.
|
|
203
|
-
contact: z.
|
|
204
|
-
support: z.
|
|
199
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
200
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
201
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
202
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
203
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
204
|
+
support: z.url().optional().describe(
|
|
205
205
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
206
206
|
),
|
|
207
207
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -211,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
211
211
|
release: WorkspaceReleaseConfigSchema,
|
|
212
212
|
socials: WorkspaceSocialsConfigSchema,
|
|
213
213
|
error: errorConfigSchema,
|
|
214
|
-
mode: z.enum(
|
|
214
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
215
215
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
216
216
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
217
217
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,7 +22,7 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunk4GLMTOQPjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunk4GLMTOQPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunk4GLMTOQPjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunkXBWF35MSjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunk4GLMTOQPjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunk4GLMTOQPjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -95,9 +95,9 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
95
95
|
ret
|
|
96
96
|
);
|
|
97
97
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
98
|
-
|
|
98
|
+
_chunk4GLMTOQPjs.writeTrace.call(void 0,
|
|
99
99
|
`Failure determined by the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, result)}`,
|
|
101
101
|
config
|
|
102
102
|
);
|
|
103
103
|
console.error(result);
|
|
@@ -106,21 +106,21 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, result)}`,
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunk4GLMTOQPjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunk4GLMTOQPjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunk4GLMTOQPjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|