@shell-shock/nx 0.0.80 → 0.0.83

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/base/base-executor.schema.d.ts +9 -0
  3. package/dist/base/base-executor.schema.json +8 -0
  4. package/dist/base-executor-B48XZipC.js +27 -0
  5. package/dist/base-executor-ChtjGl_i.mjs +23 -0
  6. package/dist/base-executor-ChtjGl_i.mjs.map +1 -0
  7. package/dist/chunk-C_NdSu1c.js +34 -0
  8. package/dist/executors/build/executor.d.mts +8 -0
  9. package/dist/executors/build/executor.d.mts.map +1 -1
  10. package/dist/executors/build/executor.d.ts +8 -0
  11. package/dist/executors/build/executor.d.ts.map +1 -1
  12. package/dist/executors/build/executor.js +4 -4
  13. package/dist/executors/build/executor.mjs +2 -3
  14. package/dist/executors/build/executor.mjs.map +1 -1
  15. package/dist/executors/build/schema.d.ts +9 -0
  16. package/dist/executors/build/schema.json +8 -0
  17. package/dist/executors/clean/executor.d.mts +8 -0
  18. package/dist/executors/clean/executor.d.mts.map +1 -1
  19. package/dist/executors/clean/executor.d.ts +8 -0
  20. package/dist/executors/clean/executor.d.ts.map +1 -1
  21. package/dist/executors/clean/executor.js +2 -3
  22. package/dist/executors/clean/executor.mjs +2 -3
  23. package/dist/executors/clean/executor.mjs.map +1 -1
  24. package/dist/executors/clean/schema.d.ts +9 -0
  25. package/dist/executors/clean/schema.json +8 -0
  26. package/dist/executors/docs/executor.d.mts +8 -0
  27. package/dist/executors/docs/executor.d.mts.map +1 -1
  28. package/dist/executors/docs/executor.d.ts +8 -0
  29. package/dist/executors/docs/executor.d.ts.map +1 -1
  30. package/dist/executors/docs/executor.js +2 -4
  31. package/dist/executors/docs/executor.mjs +2 -3
  32. package/dist/executors/docs/executor.mjs.map +1 -1
  33. package/dist/executors/docs/schema.d.ts +9 -0
  34. package/dist/executors/docs/schema.json +8 -0
  35. package/dist/executors/lint/executor.d.mts +8 -0
  36. package/dist/executors/lint/executor.d.mts.map +1 -1
  37. package/dist/executors/lint/executor.d.ts +8 -0
  38. package/dist/executors/lint/executor.d.ts.map +1 -1
  39. package/dist/executors/lint/executor.js +2 -4
  40. package/dist/executors/lint/executor.mjs +2 -3
  41. package/dist/executors/lint/executor.mjs.map +1 -1
  42. package/dist/executors/lint/schema.d.ts +9 -0
  43. package/dist/executors/lint/schema.json +8 -0
  44. package/dist/executors/prepare/executor.d.mts +8 -0
  45. package/dist/executors/prepare/executor.d.mts.map +1 -1
  46. package/dist/executors/prepare/executor.d.ts +8 -0
  47. package/dist/executors/prepare/executor.d.ts.map +1 -1
  48. package/dist/executors/prepare/executor.js +4 -4
  49. package/dist/executors/prepare/executor.mjs +2 -3
  50. package/dist/executors/prepare/executor.mjs.map +1 -1
  51. package/dist/executors/prepare/schema.d.ts +9 -0
  52. package/dist/executors/prepare/schema.json +8 -0
  53. package/dist/index.d.mts +16 -20
  54. package/dist/index.d.mts.map +1 -1
  55. package/dist/index.d.ts +17 -20
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +3 -2
  58. package/dist/index.mjs +1 -1
  59. package/dist/index.mjs.map +1 -1
  60. package/dist/plugin/index.d.mts +1 -1
  61. package/dist/plugin/index.d.mts.map +1 -1
  62. package/dist/plugin/index.d.ts +1 -1
  63. package/dist/plugin/index.d.ts.map +1 -1
  64. package/dist/plugin/index.js +2 -1331
  65. package/dist/plugin/index.mjs +1 -1300
  66. package/dist/plugin/index.mjs.map +1 -1
  67. package/docs/api/base-executor.schema.md +10 -0
  68. package/docs/api/build/schema.md +10 -0
  69. package/docs/api/clean/schema.md +10 -0
  70. package/docs/api/docs/schema.md +10 -0
  71. package/docs/api/lint/schema.md +10 -0
  72. package/docs/api/prepare/schema.md +10 -0
  73. package/package.json +22 -23
  74. package/dist/base-executor-DxPjWb68.mjs +0 -78
  75. package/dist/base-executor-DxPjWb68.mjs.map +0 -1
  76. package/dist/base-executor-X4qL_j3i.js +0 -116
@@ -1,1337 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
2
+ let _powerlines_nx_helpers_plugin_utilities = require("@powerlines/nx/helpers/plugin-utilities");
27
3
 
28
- //#endregion
29
- let _stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
30
- let defu = require("defu");
31
- defu = __toESM(defu, 1);
32
- let jiti = require("jiti");
33
- let _nx_devkit = require("@nx/devkit");
34
- let _storm_software_workspace_tools_utils_nx_json = require("@storm-software/workspace-tools/utils/nx-json");
35
- let _storm_software_workspace_tools_utils_plugin_helpers = require("@storm-software/workspace-tools/utils/plugin-helpers");
36
- let _storm_software_workspace_tools_utils_project_tags = require("@storm-software/workspace-tools/utils/project-tags");
37
- let node_os = require("node:os");
38
- node_os = __toESM(node_os, 1);
39
- let node_path = require("node:path");
40
- node_path = __toESM(node_path, 1);
41
- let node_fs = require("node:fs");
42
- let node_fs_promises = require("node:fs/promises");
43
- let _stryke_hash = require("@stryke/hash");
44
- let _stryke_path_join_paths = require("@stryke/path/join-paths");
45
- let _stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
46
- let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
47
- let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
48
- let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
49
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
50
- let nx_src_config_nx_json_js = require("nx/src/config/nx-json.js");
51
- let nx_src_utils_package_json_js = require("nx/src/utils/package-json.js");
52
-
53
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
54
- /**
55
- * A list of Nx input strings that describe the Powerlines configuration file
56
- */
57
- const CONFIG_INPUTS = [
58
- "{projectRoot}/{framework}.json",
59
- "{projectRoot}/{framework}.*.json",
60
- "{projectRoot}/{framework}.jsonc",
61
- "{projectRoot}/{framework}.*.jsonc",
62
- "{projectRoot}/{framework}.json5",
63
- "{projectRoot}/{framework}.*.json5",
64
- "{projectRoot}/{framework}.yaml",
65
- "{projectRoot}/{framework}.*.yaml",
66
- "{projectRoot}/{framework}.yml",
67
- "{projectRoot}/{framework}.*.yml",
68
- "{projectRoot}/{framework}.toml",
69
- "{projectRoot}/{framework}.*.toml",
70
- "{projectRoot}/{framework}.config.js",
71
- "{projectRoot}/{framework}.*.config.js",
72
- "{projectRoot}/{framework}.config.cjs",
73
- "{projectRoot}/{framework}.*.config.cjs",
74
- "{projectRoot}/{framework}.config.mjs",
75
- "{projectRoot}/{framework}.*.config.mjs",
76
- "{projectRoot}/{framework}.config.ts",
77
- "{projectRoot}/{framework}.*.config.ts",
78
- "{projectRoot}/{framework}.config.cts",
79
- "{projectRoot}/{framework}.*.config.cts",
80
- "{projectRoot}/{framework}.config.mts",
81
- "{projectRoot}/{framework}.*.config.mts"
82
- ];
83
-
84
- //#endregion
85
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/ci-checks.mjs
86
- /**
87
- * Returns true if the current environment is a CI environment.
88
- *
89
- * @returns True if the current environment is a CI environment.
90
- */
91
- const isCI = (env = process.env) => {
92
- return Boolean(env.STORM_CI || env.CI || env.CONTINUOUS_INTEGRATION || env.BUILD_NUMBER || env.RUN_ID || env.AGOLA_GIT_REF || env.AC_APPCIRCLE || env.APPVEYOR || env.CODEBUILD || env.TF_BUILD || env.bamboo_planKey || env.BITBUCKET_COMMIT || env.BITRISE_IO || env.BUDDY_WORKSPACE_ID || env.BUILDKITE || env.CIRCLECI || env.CIRRUS_CI || env.CF_BUILD_ID || env.CM_BUILD_ID || env.CI_NAME || env.DRONE || env.DSARI || env.EARTHLY_CI || env.EAS_BUILD || env.GERRIT_PROJECT || env.GITEA_ACTIONS || env.GITHUB_ACTIONS || env.GITLAB_CI || env.GOCD || env.BUILDER_OUTPUT || env.HARNESS_BUILD_ID || env.JENKINS_URL || env.BUILD_ID || env.LAYERCI || env.MAGNUM || env.NETLIFY || env.NEVERCODE || env.PROW_JOB_ID || env.RELEASE_BUILD_ID || env.RENDER || env.SAILCI || env.HUDSON || env.JENKINS_URL || env.BUILD_ID || env.SCREWDRIVER || env.SEMAPHORE || env.SOURCEHUT || env.STRIDER || env.TASK_ID || env.RUN_ID || env.TEAMCITY_VERSION || env.TRAVIS || env.VELA || env.NOW_BUILDER || env.APPCENTER_BUILD_ID || env.CI_XCODE_PROJECT || env.XCS || false);
93
- };
94
-
95
- //#endregion
96
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/environment-checks.mjs
97
- /** Value of process.platform */
98
- const platform = process?.platform || "";
99
- /** Detect if stdout.TTY is available */
100
- const hasTTY = Boolean(process?.stdout && process?.stdout.isTTY);
101
- /** Detect if `DEBUG` environment variable is set */
102
- const isDebug = Boolean(process.env.DEBUG);
103
- /** Detect the `NODE_ENV` environment variable */
104
- const mode = process.env.STORM_MODE || process.env.NEXT_PUBLIC_VERCEL_ENV || process.env.NODE_ENV || "production";
105
- /** Detect if the application is running in a staging environment */
106
- const isStaging = [
107
- "stg",
108
- "stage",
109
- "staging"
110
- ].includes(mode?.toLowerCase());
111
- /**
112
- * Check if the current environment is production.
113
- *
114
- * @param mode - The mode string to check.
115
- * @returns Whether the environment is production
116
- */
117
- function isProductionMode(mode$1) {
118
- return [
119
- "prd",
120
- "prod",
121
- "production",
122
- "preprod",
123
- "preproduction",
124
- "uat"
125
- ].includes(mode$1?.toLowerCase()?.replace(/[\s\-_]/g, ""));
126
- }
127
- /** Detect if `NODE_ENV` environment variable is `production` */
128
- const isProduction = isProductionMode(mode);
129
- /**
130
- * Check if the current environment is test.
131
- *
132
- * @param mode - The mode string to check.
133
- * @returns Whether the environment is test
134
- */
135
- function isTestMode(mode$1) {
136
- return [
137
- "tst",
138
- "test",
139
- "testing",
140
- "stg",
141
- "stage",
142
- "staging",
143
- "qa",
144
- "qualityassurance"
145
- ].includes(mode$1?.toLowerCase()?.replace(/[\s\-_]/g, ""));
146
- }
147
- /** Detect if `NODE_ENV` environment variable is `test` */
148
- const isTest = isTestMode(mode) || isStaging || Boolean(process.env.TEST);
149
- /**
150
- * Check if the current environment is development.
151
- *
152
- * @param mode - The mode string to check.
153
- * @returns Whether the environment is development
154
- */
155
- function isDevelopmentMode(mode$1) {
156
- return [
157
- "dev",
158
- "development",
159
- "int",
160
- "integration"
161
- ].includes(mode$1?.toLowerCase()?.replace(/[\s\-_]/g, ""));
162
- }
163
- /** Detect if `NODE_ENV` environment variable is `dev` or `development` */
164
- const isDevelopment = isDevelopmentMode(mode) || isDebug;
165
- /** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */
166
- const isMinimal = Boolean(process.env.MINIMAL) || isCI() || isTest || !hasTTY;
167
- /** Detect if process.platform is Windows */
168
- const isWindows = /^win/i.test(platform);
169
- /** Detect if process.platform is Linux */
170
- const isLinux = /^linux/i.test(platform);
171
- /** Detect if process.platform is macOS (darwin kernel) */
172
- const isMacOS = /^darwin/i.test(platform);
173
- /** Color Support */
174
- const isColorSupported = !process.env.NO_COLOR && (Boolean(process.env.FORCE_COLOR) || (hasTTY || isWindows) && process.env.TERM !== "dumb" || isCI());
175
- /** Node.js versions */
176
- const nodeVersion = (process?.versions?.node || "").replace(/^v/, "") || null;
177
- const nodeMajorVersion = Number(nodeVersion?.split(".")[0]) || null;
178
-
179
- //#endregion
180
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/path/src/regex.mjs
181
- const DRIVE_LETTER_START_REGEX = /^[A-Z]:\//i;
182
- const DRIVE_LETTER_REGEX = /^[A-Z]:$/i;
183
- const UNC_REGEX = /^[/\\]{2}/;
184
- const ABSOLUTE_PATH_REGEX = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i;
185
-
186
- //#endregion
187
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/path/src/slash.mjs
188
- /**
189
- * Replace backslash to slash
190
- *
191
- * @param path - The string to replace
192
- * @returns The string with replaced backslashes
193
- */
194
- function slash(path) {
195
- if (path.startsWith("\\\\?\\")) return path;
196
- return path.replace(/\\/g, "/");
197
- }
198
-
199
- //#endregion
200
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/path/src/is-type.mjs
201
- /**
202
- * Check if the path is an absolute path.
203
- *
204
- * @param path - The path to check
205
- * @returns An indicator specifying if the path is an absolute path
206
- */
207
- function isAbsolutePath(path) {
208
- return ABSOLUTE_PATH_REGEX.test(slash(path));
209
- }
210
- /**
211
- * Check if the path is an absolute path.
212
- *
213
- * @remarks
214
- * This is an alias for {@link isAbsolutePath}.
215
- *
216
- * @param path - The path to check
217
- * @returns An indicator specifying if the path is an absolute path
218
- */
219
- function isAbsolute(path) {
220
- return isAbsolutePath(path);
221
- }
222
-
223
- //#endregion
224
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/path/src/join-paths.mjs
225
- function normalizeWindowsPath(input = "") {
226
- if (!input) return input;
227
- return input.replace(/\\/g, "/").replace(DRIVE_LETTER_START_REGEX, (r) => r.toUpperCase());
228
- }
229
- function correctPaths(path) {
230
- if (!path || path.length === 0) return ".";
231
- path = normalizeWindowsPath(path);
232
- const isUNCPath = path.match(UNC_REGEX);
233
- const isPathAbsolute = isAbsolute(path);
234
- const trailingSeparator = path[path.length - 1] === "/";
235
- path = normalizeString(path, !isPathAbsolute);
236
- if (path.length === 0) {
237
- if (isPathAbsolute) return "/";
238
- return trailingSeparator ? "./" : ".";
239
- }
240
- if (trailingSeparator) path += "/";
241
- if (DRIVE_LETTER_REGEX.test(path)) path += "/";
242
- if (isUNCPath) {
243
- if (!isPathAbsolute) return `//./${path}`;
244
- return `//${path}`;
245
- }
246
- return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
247
- }
248
- /**
249
- * Joins all given path segments together using the platform-specific separator as a delimiter.
250
- *
251
- * @remarks
252
- * Multiple segments can be provided as separate arguments. The resulting path is normalized to remove any redundant or unnecessary segments.
253
- *
254
- * @example
255
- * ```ts
256
- * import { joinPaths } from 'stryke/path';
257
- *
258
- * const fullPath = joinPaths('folder1', 'folder2', '..', 'folder3', 'file.txt');
259
- * console.log(fullPath); // Output: 'folder1/folder3/file.txt'
260
- *
261
- * const absolutePath = joinPaths('/root', 'folder', '.', 'subfolder', 'file.txt');
262
- * console.log(absolutePath); // Output: '/root/folder/subfolder/file.txt'
263
- *
264
- * const windowsPath = joinPaths('C:\\', 'Users', 'Public', '..', 'Documents', 'file.txt');
265
- * console.log(windowsPath); // Output: 'C:/Users/Documents/file.txt'
266
- *
267
- * const uncPath = joinPaths('\\\\Server\\Share', 'Folder', 'File.txt');
268
- * console.log(uncPath); // Output: '//Server/Share/Folder/File.txt'
269
- * ```
270
- *
271
- * @param segments - The path segments to join.
272
- * @returns The joined and normalized path string.
273
- */
274
- function joinPaths$1(...segments) {
275
- let result = "";
276
- for (const segment of segments) if (segment && slash(segment).replaceAll(/\//g, "") !== ".") {
277
- if (result) if (slash(segment).replaceAll(/\//g, "") === "..") result = slash(result).replace(/\/+$/, "").replace(/\/*[^/]+$/, "");
278
- else result = `${slash(result).replace(/\/+$/, "")}/${slash(segment).replace(/^\/+/, "")}`;
279
- else if (slash(segment).replaceAll(/\//g, "") !== "..") result = segment;
280
- }
281
- return correctPaths(result);
282
- }
283
- /**
284
- * Resolves a string path, resolving '.' and '.' segments and allowing paths above the root.
285
- *
286
- * @param path - The path to normalize.
287
- * @param allowAboveRoot - Whether to allow the resulting path to be above the root directory.
288
- * @returns the normalized path string.
289
- */
290
- function normalizeString(path, allowAboveRoot) {
291
- let res = "";
292
- let lastSegmentLength = 0;
293
- let lastSlash = -1;
294
- let dots = 0;
295
- let char = null;
296
- for (let index = 0; index <= path.length; ++index) {
297
- if (index < path.length) char = path[index];
298
- else if (char === "/") break;
299
- else char = "/";
300
- if (char === "/") {
301
- if (lastSlash === index - 1 || dots === 1) {} else if (dots === 2) {
302
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
303
- if (res.length > 2) {
304
- const lastSlashIndex = res.lastIndexOf("/");
305
- if (lastSlashIndex === -1) {
306
- res = "";
307
- lastSegmentLength = 0;
308
- } else {
309
- res = res.slice(0, lastSlashIndex);
310
- lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
311
- }
312
- lastSlash = index;
313
- dots = 0;
314
- continue;
315
- } else if (res.length > 0) {
316
- res = "";
317
- lastSegmentLength = 0;
318
- lastSlash = index;
319
- dots = 0;
320
- continue;
321
- }
322
- }
323
- if (allowAboveRoot) {
324
- res += res.length > 0 ? "/.." : "..";
325
- lastSegmentLength = 2;
326
- }
327
- } else {
328
- if (res.length > 0) res += `/${path.slice(lastSlash + 1, index)}`;
329
- else res = path.slice(lastSlash + 1, index);
330
- lastSegmentLength = index - lastSlash - 1;
331
- }
332
- lastSlash = index;
333
- dots = 0;
334
- } else if (char === "." && dots !== -1) ++dots;
335
- else dots = -1;
336
- }
337
- return res;
338
- }
339
-
340
- //#endregion
341
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/acronyms.mjs
342
- /**
343
- * A running list of common acronyms and their meanings.
344
- *
345
- * @remarks
346
- * This list is not exhaustive and may be updated over time.
347
- */
348
- const ACRONYMS = {
349
- "2D": {
350
- description: "Two-Dimensional",
351
- display: "2d"
352
- },
353
- "3D": {
354
- description: "Three-Dimensional",
355
- display: "3d"
356
- },
357
- "4D": {
358
- description: "Four-Dimensional",
359
- display: "4d"
360
- },
361
- "5G": { description: "Fifth Generation (mobile networks)" },
362
- "6G": { description: "Sixth Generation (mobile networks)" },
363
- "7G": { description: "Seventh Generation (mobile networks)" },
364
- "8G": { description: "Eighth Generation (mobile networks)" },
365
- ACID: { description: "Atomicity, Consistency, Isolation, Durability" },
366
- AITA: { description: "Am I The Asshole" },
367
- AES: { description: "Advanced Encryption Standard" },
368
- AI: { description: "Artificial Intelligence" },
369
- AJAX: { description: "Asynchronous JavaScript and XML" },
370
- API: { description: "Application Programming Interface" },
371
- AR: { description: "Augmented Reality" },
372
- ASCII: { description: "American Standard Code for Information Interchange" },
373
- ATF: { description: "Bureau of Alcohol, Tobacco, Firearms and Explosives" },
374
- ATM: { description: "Automated Teller Machine" },
375
- B2B: { description: "Business to Business" },
376
- B2C: { description: "Business to Consumer" },
377
- BATFE: { description: "Bureau of Alcohol, Tobacco, Firearms and Explosives" },
378
- BFF: { description: "Best Friends Forever" },
379
- BFFS: { description: "Best Friends Forever (plural)" },
380
- BI: { description: "Business Intelligence" },
381
- BIOS: { description: "Basic Input/Output System" },
382
- BGP: { description: "Border Gateway Protocol" },
383
- BOM: { description: "Bill of Materials / Byte Order Mark" },
384
- BSON: { description: "Binary JSON" },
385
- BYOD: { description: "Bring Your Own Device" },
386
- C2C: { description: "Consumer to Consumer" },
387
- CAGR: { description: "Compound Annual Growth Rate" },
388
- CAPTCHA: { description: "Completely Automated Public Turing test to tell Computers and Humans Apart" },
389
- CCTV: { description: "Closed-Circuit Television" },
390
- CD: { description: "Continuous Delivery / Compact Disc" },
391
- CDN: { description: "Content Delivery Network" },
392
- CDP: { description: "Customer Data Platform" },
393
- CDT: { description: "Central Daylight Time" },
394
- CIA: { description: "Central Intelligence Agency" },
395
- CI: { description: "Continuous Integration" },
396
- "CI/CD": { description: "Continuous Integration/Continuous Delivery" },
397
- CIAM: { description: "Customer Identity and Access Management" },
398
- CICD: {
399
- description: "Continuous Integration Continuous Delivery",
400
- display: "CI/CD"
401
- },
402
- CLI: { description: "Command Line Interface" },
403
- CMDB: { description: "Configuration Management Database" },
404
- CORS: { description: "Cross-Origin Resource Sharing" },
405
- CPA: { description: "Certified Public Accountant" },
406
- CPU: { description: "Central Processing Unit" },
407
- CRUD: { description: "Create, Read, Update, Delete" },
408
- CSR: { description: "Certificate Signing Request / Corporate Social Responsibility" },
409
- CSS: { description: "Cascading Style Sheets" },
410
- CST: { description: "Central Standard Time" },
411
- CTA: { description: "Call To Action" },
412
- CWD: { description: "Current Working Directory" },
413
- CX: { description: "Customer Experience" },
414
- DAG: { description: "Directed Acyclic Graph" },
415
- DBMS: { description: "Database Management System" },
416
- DDOS: {
417
- description: "Distributed Denial of Service",
418
- display: "DDoS"
419
- },
420
- DEA: { description: "Drug Enforcement Administration" },
421
- DEVENV: {
422
- description: "Devenv",
423
- display: "Devenv"
424
- },
425
- DEVOPS: {
426
- description: "Development Operations",
427
- display: "DevOps"
428
- },
429
- DHS: { description: "Department of Homeland Security" },
430
- DEST: { description: "Destination" },
431
- DESTDIR: { description: "Destination Directory" },
432
- DESTPATH: { description: "Destination Path" },
433
- DIRENV: {
434
- description: "DirEnv",
435
- display: "DirEnv"
436
- },
437
- DNC: { description: "Democratic National Committee / Do Not Call" },
438
- DNS: { description: "Domain Name System" },
439
- DNSSEC: { description: "Domain Name System Security Extensions" },
440
- DOD: {
441
- description: "Department of Defense",
442
- display: "DoD"
443
- },
444
- DOJ: {
445
- description: "Department of Justice",
446
- display: "DoJ"
447
- },
448
- DOM: { description: "Document Object Model" },
449
- DOT: {
450
- description: "Department of Transportation",
451
- display: "DoT"
452
- },
453
- DOTENV: {
454
- description: "Dotenv (.env)",
455
- display: "Dotenv"
456
- },
457
- DR: { description: "Disaster Recovery" },
458
- DRM: { description: "Digital Rights Management" },
459
- DSN: { description: "Data Source Name" },
460
- DWH: { description: "Data Warehouse" },
461
- E2E: { description: "End to End" },
462
- EAI: { description: "Enterprise Application Integration" },
463
- EDT: { description: "Eastern Daylight Time" },
464
- EEA: { description: "European Economic Area" },
465
- EKS: { description: "Elastic Kubernetes Service" },
466
- EOF: { description: "End Of File" },
467
- EOD: { description: "End Of Day / Explosive Ordnance Disposal" },
468
- EPA: { description: "Environmental Protection Agency" },
469
- ER: { description: "Emergency Room / Entity Relationship" },
470
- EST: { description: "Eastern Standard Time" },
471
- ETC: { description: "Et Cetera" },
472
- ETL: { description: "Extract, Transform, Load" },
473
- EULA: { description: "End User License Agreement" },
474
- FAAS: {
475
- description: "Function as a Service",
476
- display: "FaaS"
477
- },
478
- FAQ: {
479
- description: "Frequently Asked Questions",
480
- display: "FAQs"
481
- },
482
- FAQS: { description: "Frequently Asked Questions" },
483
- FBI: { description: "Federal Bureau of Investigation" },
484
- FCC: { description: "Federal Communications Commission" },
485
- FDA: { description: "Food and Drug Administration" },
486
- FIDO: { description: "Fast IDentity Online" },
487
- FLOTUS: { description: "First Lady of the United States" },
488
- FQDN: { description: "Fully Qualified Domain Name" },
489
- FTC: { description: "Federal Trade Commission" },
490
- FTP: { description: "File Transfer Protocol" },
491
- GC: { description: "Garbage Collection" },
492
- GCP: { description: "Google Cloud Platform" },
493
- GDPR: { description: "General Data Protection Regulation" },
494
- GMT: { description: "Greenwich Mean Time" },
495
- GOP: { description: "Grand Old Party" },
496
- GPU: { description: "Graphics Processing Unit" },
497
- GUID: { description: "Globally Unique Identifier" },
498
- GUI: { description: "Graphical User Interface" },
499
- GZIP: { description: "GNU Zip" },
500
- HCI: { description: "Human Computer Interaction / Hyper-Converged Infrastructure" },
501
- HDD: { description: "Hard Disk Drive" },
502
- HDFS: { description: "Hadoop Distributed File System" },
503
- HHS: { description: "Health and Human Services" },
504
- HIPAA: { description: "Health Insurance Portability and Accountability Act" },
505
- HMAC: { description: "Hash-based Message Authentication Code" },
506
- HOTP: { description: "HMAC-based One-Time Password" },
507
- HSM: { description: "Hardware Security Module" },
508
- HTML: { description: "HyperText Markup Language" },
509
- HTTP: { description: "HyperText Transfer Protocol (HTTP)" },
510
- "HTTP/2": { description: "HyperText Transfer Protocol Version 2 (HTTP/2)" },
511
- "HTTP/2.0": {
512
- description: "HyperText Transfer Protocol Version 2 (HTTP/2)",
513
- display: "HTTP2"
514
- },
515
- "HTTP/3": { description: "HyperText Transfer Protocol Version 3 (HTTP/3)" },
516
- "HTTP/3.0": {
517
- description: "HyperText Transfer Protocol Version 3 (HTTP/3)",
518
- display: "HTTP3"
519
- },
520
- HTTP2: {
521
- description: "HyperText Transfer Protocol Version 2 (HTTP/2)",
522
- display: "HTTP2"
523
- },
524
- "HTTP2.0": {
525
- description: "HyperText Transfer Protocol Version 2 (HTTP/2)",
526
- display: "HTTP2"
527
- },
528
- HTTP3: {
529
- description: "HyperText Transfer Protocol Version 3 (HTTP/3)",
530
- display: "HTTP3"
531
- },
532
- "HTTP3.0": {
533
- description: "HyperText Transfer Protocol Version 3 (HTTP/3)",
534
- display: "HTTP3"
535
- },
536
- HTTPS: { description: "HyperText Transfer Protocol Secure (HTTPS)" },
537
- "HTTPS/2": { description: "HyperText Transfer Protocol Secure Version 2 (HTTPS/2)" },
538
- "HTTPS/2.0": {
539
- description: "HyperText Transfer Protocol Secure Version 2 (HTTPS/2)",
540
- display: "HTTPS2"
541
- },
542
- "HTTPS/3": { description: "HyperText Transfer Protocol Secure Version 3 (HTTPS/3)" },
543
- "HTTPS/3.0": {
544
- description: "HyperText Transfer Protocol Secure Version 3 (HTTPS/3)",
545
- display: "HTTPS3"
546
- },
547
- HTTPS2: {
548
- description: "HyperText Transfer Protocol Secure Version 2 (HTTPS/2)",
549
- display: "HTTPS2"
550
- },
551
- "HTTPS2.0": {
552
- description: "HyperText Transfer Protocol Secure Version 2 (HTTPS/2)",
553
- display: "HTTPS2"
554
- },
555
- HTTPS3: {
556
- description: "HyperText Transfer Protocol Secure Version 3 (HTTPS/3)",
557
- display: "HTTPS3"
558
- },
559
- "HTTPS3.0": {
560
- description: "HyperText Transfer Protocol Secure Version 3 (HTTPS/3)",
561
- display: "HTTPS3"
562
- },
563
- IAAS: {
564
- description: "Infrastructure as a Service",
565
- display: "IaaS"
566
- },
567
- IAM: { description: "Identity and Access Management" },
568
- IAMM: { description: "Identity and Access Management and Monitoring" },
569
- IAMT: { description: "Identity and Access Management Tool" },
570
- ID: {
571
- description: "Identifier",
572
- display: "Id"
573
- },
574
- IFTTT: { description: "If This Then That" },
575
- IMAP: { description: "Internet Message Access Protocol" },
576
- IO: { description: "Input/Output" },
577
- IP: { description: "Internet Protocol" },
578
- IPFS: { description: "InterPlanetary File System" },
579
- IPS: { description: "Intrusion Prevention System" },
580
- ISO: { description: "International Organization for Standardization" },
581
- IQ: {
582
- description: "Intelligence Quotient",
583
- display: "IQ"
584
- },
585
- IOT: {
586
- description: "Internet of Things",
587
- display: "IoT"
588
- },
589
- JSON: { description: "JavaScript Object Notation" },
590
- JSONP: { description: "JSON with Padding" },
591
- JWT: { description: "JSON Web Token" },
592
- K8S: {
593
- description: "Kubernetes",
594
- display: "K8s"
595
- },
596
- KMS: { description: "Key Management Service" },
597
- KPI: { description: "Key Performance Indicator" },
598
- KV: { description: "Key Value" },
599
- LAN: { description: "Local Area Network" },
600
- LHS: { description: "Left Hand Side" },
601
- LPGA: { description: "Ladies Professional Golf Association" },
602
- LXC: { description: "Linux Containers" },
603
- MDT: { description: "Mountain Daylight Time" },
604
- MFA: { description: "Multi-Factor Authentication" },
605
- ML: { description: "Machine Learning" },
606
- MLB: { description: "Major League Baseball" },
607
- MLOps: { description: "Machine Learning Operations" },
608
- MPA: { description: "Multi-Page Application" },
609
- MST: { description: "Mountain Standard Time" },
610
- MVC: { description: "Model View Controller" },
611
- MVP: { description: "Minimum Viable Product / Most Valuable Player" },
612
- NAIA: { description: "National Association of Intercollegiate Athletics" },
613
- NAS: { description: "Network Attached Storage" },
614
- NASA: { description: "National Aeronautics and Space Administration" },
615
- NASCAR: { description: "National Association for Stock Car Auto Racing" },
616
- NAT: { description: "Network Address Translation" },
617
- NBA: { description: "National Basketball Association" },
618
- NCAA: { description: "National Collegiate Athletic Association" },
619
- NDA: { description: "Non-Disclosure Agreement" },
620
- NFS: { description: "Network File System" },
621
- NHL: { description: "National Hockey League" },
622
- NIST: { description: "National Institute of Standards and Technology" },
623
- NLP: { description: "Natural Language Processing" },
624
- NPS: { description: "Net Promoter Score" },
625
- NRA: { description: "National Rifle Association" },
626
- NSFW: { description: "Not Safe For Work" },
627
- NX: {
628
- description: "Nx",
629
- display: "Nx"
630
- },
631
- OCR: { description: "Optical Character Recognition" },
632
- OEM: { description: "Original Equipment Manufacturer" },
633
- OKR: { description: "Objectives and Key Results" },
634
- OLAP: { description: "Online Analytical Processing" },
635
- OLTP: { description: "Online Transaction Processing" },
636
- OOP: { description: "Object Oriented Programming" },
637
- ORM: { description: "Object Relational Mapping" },
638
- OS: { description: "Operating System" },
639
- OSINT: { description: "Open Source Intelligence" },
640
- OSS: { description: "Open Source Software" },
641
- OTP: { description: "One-Time Password" },
642
- P2P: { description: "Peer to Peer" },
643
- PAAS: {
644
- description: "Platform as a Service",
645
- display: "PaaS"
646
- },
647
- PCI: { description: "Payment Card Industry" },
648
- PDP: { description: "Policy Decision Point / Product Detail Page" },
649
- PDT: { description: "Pacific Daylight Time" },
650
- PGA: { description: "Professional Golfers' Association" },
651
- POTUS: { description: "President of the United States" },
652
- PP: { description: "Pages / PayPal / Percentage Points" },
653
- PST: { description: "Pacific Standard Time" },
654
- PTO: { description: "Paid Time Off / Power Take-Off" },
655
- PKI: { description: "Public Key Infrastructure" },
656
- PWA: { description: "Progressive Web App" },
657
- PX: { description: "Pixel" },
658
- QA: { description: "Quality Assurance" },
659
- R2: { description: "R2" },
660
- RAID: { description: "Redundant Array of Independent Disks" },
661
- RAM: { description: "Random Access Memory" },
662
- RDS: { description: "Relational Database Service" },
663
- REST: { description: "Representational State Transfer" },
664
- RHS: { description: "Right Hand Side" },
665
- ROI: { description: "Return on Investment" },
666
- RPC: { description: "Remote Procedure Call" },
667
- RPA: { description: "Robotic Process Automation" },
668
- RSC: { description: "React Server Components" },
669
- RSS: { description: "Really Simple Syndication" },
670
- RUM: { description: "Real User Monitoring" },
671
- S3: { description: "Simple Storage Service (S3)" },
672
- SAN: { description: "Storage Area Network" },
673
- SASE: { description: "Secure Access Service Edge" },
674
- SCOTUS: { description: "Supreme Court of the United States" },
675
- SDLC: { description: "Software Development Life Cycle" },
676
- SDK: { description: "Software Development Kit" },
677
- SEC: { description: "Securities and Exchange Commission" },
678
- SEO: { description: "Search Engine Optimization" },
679
- SFTP: { description: "SSH File Transfer Protocol / Secure File Transfer Protocol" },
680
- SIEM: { description: "Security Information and Event Management" },
681
- SLA: { description: "Service Level Agreement" },
682
- SMB: { description: "Server Message Block / Small and Medium Business" },
683
- SMTP: { description: "Simple Mail Transfer Protocol" },
684
- SOAP: { description: "Simple Object Access Protocol" },
685
- SOA: { description: "Service Oriented Architecture" },
686
- SOC: { description: "Security Operations Center / System on Chip" },
687
- SPA: { description: "Single Page Application" },
688
- SPDY: { description: "Speedy (pronounced \"SPeeDY\")" },
689
- SPF: { description: "Sender Policy Framework" },
690
- SQL: { description: "Structured Query Language" },
691
- SRC: { description: "Source" },
692
- SRCDIR: { description: "Source Directory" },
693
- SRCPATH: { description: "Source Path" },
694
- SRV: { description: "Service" },
695
- SRE: { description: "Site Reliability Engineering" },
696
- SSH: { description: "Secure Shell" },
697
- SSDL: { description: "Secure Software Development Lifecycle" },
698
- SSG: { description: "Static Site Generation" },
699
- SSR: { description: "Server Side Rendering" },
700
- SSO: { description: "Single Sign-On" },
701
- SSL: { description: "Secure Sockets Layer" },
702
- TDD: { description: "Test Driven Development" },
703
- TLD: { description: "Top Level Domain" },
704
- TLS: { description: "Transport Layer Security" },
705
- "TLS1.3": { description: "Transport Layer Security 1.3" },
706
- TOR: { description: "The Onion Router" },
707
- TOTP: { description: "Time-based One-Time Password" },
708
- TRPC: { description: "TypeScript Remote Procedure Call" },
709
- TSA: { description: "Transportation Security Administration" },
710
- TSC: { description: "TypeScript Compiler" },
711
- TTL: { description: "Time To Live" },
712
- UDP: { description: "User Datagram Protocol" },
713
- UI: { description: "User Interface" },
714
- UID: { description: "Unique Identifier" },
715
- URI: { description: "Uniform Resource Identifier" },
716
- URL: { description: "Uniform Resource Locator" },
717
- USOPC: { description: "United States Olympic & Paralympic Committee" },
718
- USPS: { description: "United States Postal Service" },
719
- USTA: { description: "United States Tennis Association" },
720
- UTF: { description: "Unicode Transformation Format" },
721
- UTC: { description: "Coordinated Universal Time" },
722
- UUID: { description: "Universally Unique Identifier" },
723
- UX: { description: "User Experience" },
724
- VM: { description: "Virtual Machine" },
725
- VLAN: { description: "Virtual Local Area Network" },
726
- VPN: { description: "Virtual Private Network" },
727
- VPPA: { description: "Video Privacy Protection Act" },
728
- VR: { description: "Virtual Reality" },
729
- WAF: { description: "Web Application Firewall" },
730
- WAN: { description: "Wide Area Network" },
731
- WNBA: { description: "Women's National Basketball Association" },
732
- WLAN: { description: "Wireless Local Area Network" },
733
- WPA: { description: "Wi-Fi Protected Access" },
734
- WPA2: { description: "Wi-Fi Protected Access II" },
735
- WPA3: { description: "Wi-Fi Protected Access III" },
736
- WWW: { description: "World Wide Web" },
737
- WYSIWYG: { description: "What You See Is What You Get" },
738
- XACML: { description: "eXtensible Access Control Markup Language" },
739
- XDG: { description: "Cross-Desktop Group" },
740
- XML: { description: "eXtensible Markup Language" },
741
- XSRF: { description: "Cross-Site Request Forgery" },
742
- XSS: { description: "Cross-Site Scripting" },
743
- XR: { description: "Extended Reality" },
744
- YAML: { description: "YAML Ain't Markup Language" },
745
- YMCA: { description: "Young Men's Christian Association" },
746
- YWCA: { description: "Young Women's Christian Association" },
747
- ZTA: { description: "Zero Trust Architecture" }
748
- };
749
- Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.display ?? key]));
750
- Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.description]));
751
-
752
- //#endregion
753
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/combine.mjs
754
- /**
755
- * Combine two strings with a space in between.
756
- *
757
- * @param acc - The accumulated string.
758
- * @param str - The string to add.
759
- * @returns The combined string.
760
- */
761
- function combine(acc, str) {
762
- return `${acc} ${str}`;
763
- }
764
-
765
- //#endregion
766
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/decamelize.mjs
767
- /**
768
- * Convert a camelCase or PascalCase string to a snake_case string.
769
- *
770
- * @param value - The camelCase or PascalCase string to convert.
771
- * @returns The converted snake_case string.
772
- */
773
- function decamelize(value) {
774
- return value.replace(/([a-z\d])([A-Z])/g, "$1_$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g, "$1_$2").toLowerCase();
775
- }
776
-
777
- //#endregion
778
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/articles.mjs
779
- const ARTICLES = [
780
- "a",
781
- "an",
782
- "the"
783
- ];
784
-
785
- //#endregion
786
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/conjunctions.mjs
787
- const CONJUNCTIONS = [
788
- "and",
789
- "that",
790
- "but",
791
- "or",
792
- "as",
793
- "if",
794
- "when",
795
- "than",
796
- "because",
797
- "while",
798
- "where",
799
- "after",
800
- "so",
801
- "though",
802
- "since",
803
- "until",
804
- "whether",
805
- "before",
806
- "although",
807
- "nor",
808
- "like",
809
- "once",
810
- "unless",
811
- "now",
812
- "except"
813
- ];
814
-
815
- //#endregion
816
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/prepositions.mjs
817
- const PREPOSITIONS = [
818
- "about",
819
- "above",
820
- "across",
821
- "after",
822
- "against",
823
- "along",
824
- "among",
825
- "around",
826
- "at",
827
- "because of",
828
- "before",
829
- "behind",
830
- "below",
831
- "beneath",
832
- "beside",
833
- "besides",
834
- "between",
835
- "beyond",
836
- "but",
837
- "by",
838
- "concerning",
839
- "despite",
840
- "down",
841
- "during",
842
- "except",
843
- "excepting",
844
- "for",
845
- "from",
846
- "in",
847
- "in front of",
848
- "inside",
849
- "in spite of",
850
- "instead of",
851
- "into",
852
- "like",
853
- "near",
854
- "of",
855
- "off",
856
- "on",
857
- "onto",
858
- "out",
859
- "outside",
860
- "over",
861
- "past",
862
- "regarding",
863
- "since",
864
- "through",
865
- "throughout",
866
- "to",
867
- "toward",
868
- "under",
869
- "underneath",
870
- "until",
871
- "up",
872
- "upon",
873
- "up to",
874
- "with",
875
- "within",
876
- "without",
877
- "with regard to",
878
- "with respect to"
879
- ];
880
-
881
- //#endregion
882
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/special-cases.mjs
883
- const SPECIAL_CASES = [
884
- "2FA",
885
- "4K",
886
- "5K",
887
- "8K",
888
- "AGI",
889
- "BI",
890
- "ChatGPT",
891
- "CTA",
892
- "DateTime",
893
- "FMS",
894
- "GitHub",
895
- "GPT",
896
- "HD",
897
- "IBMid",
898
- "IDs",
899
- "iMac",
900
- "IMAX",
901
- "iOS",
902
- "iPad",
903
- "iPhone",
904
- "iPod",
905
- "LDAP",
906
- "LinkedIn",
907
- "LLM",
908
- "macOS",
909
- "McDonalds",
910
- "MCP",
911
- "ML",
912
- "MySQL",
913
- "NLG",
914
- "NLP",
915
- "NLU",
916
- "OpenAI",
917
- "PDFs",
918
- "PIM",
919
- "PEFT",
920
- "pH",
921
- "PostgreSQL",
922
- "SEO",
923
- "TTS",
924
- "UHD",
925
- "UUID",
926
- "XSS",
927
- "YouTube",
928
- "CSpell",
929
- "ESLint"
930
- ];
931
-
932
- //#endregion
933
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/format-special-cases.mjs
934
- /**
935
- * Handle special words in a title.
936
- *
937
- * @see https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case
938
- *
939
- * @param value - The word to handle
940
- * @param index - The index of the word in the title
941
- * @param words - The full title as an array of words
942
- * @returns The formatted word
943
- */
944
- function formatSpecialCases(value, index, words, options) {
945
- const lowercaseStr = value.toLowerCase();
946
- const uppercaseStr = value.toUpperCase();
947
- for (const special of SPECIAL_CASES) if (special.toLowerCase() === lowercaseStr) return special;
948
- if (ACRONYMS[uppercaseStr]) return options?.useDescriptions !== false ? ACRONYMS[uppercaseStr].description : ACRONYMS[uppercaseStr].display || uppercaseStr;
949
- if (index === 0) return value;
950
- if (index === words.length - 1) return value;
951
- if (value.length >= 4) return value;
952
- if (PREPOSITIONS.includes(lowercaseStr)) return lowercaseStr;
953
- if (CONJUNCTIONS.includes(lowercaseStr)) return lowercaseStr;
954
- if (ARTICLES.includes(lowercaseStr)) return lowercaseStr;
955
- return value;
956
- }
957
-
958
- //#endregion
959
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/upper-case-first.mjs
960
- /**
961
- * Upper case the first character of an input string.
962
- *
963
- * @remarks
964
- * "Thisisanexample"
965
- *
966
- * @param input - The input string.
967
- * @returns The capitalized string.
968
- */
969
- function upperCaseFirst(input) {
970
- return input ? input.charAt(0).toUpperCase() + input.slice(1) : input;
971
- }
972
-
973
- //#endregion
974
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/string-format/src/title-case.mjs
975
- /**
976
- * Convert a string to title case.
977
- *
978
- * @param input - The input string to convert.
979
- * @param options - Options for formatting special cases.
980
- * @returns The title cased string.
981
- */
982
- function titleCase$1(input, options) {
983
- return input?.replaceAll(":", " - ")?.replaceAll("+", " + ")?.split(/\s+-\s+/).map((segment) => decamelize(segment).split(/[\s\-_]/).map(upperCaseFirst).map((value) => options?.expandAcronyms ? ACRONYMS[value]?.description || value : value).map((value, index, array) => formatSpecialCases(value, index, array, options)).reduce(combine)).join(" - ");
984
- }
985
-
986
- //#endregion
987
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.86_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+run_61d4c3bf57932cffbdee02e7a41731b0/node_modules/@stryke/env/dist/get-env-paths.mjs
988
- const homedir = node_os.default.homedir();
989
- const tmpdir = node_os.default.tmpdir();
990
- const macos = (orgId) => {
991
- const library = joinPaths$1(homedir, "Library");
992
- return {
993
- data: joinPaths$1(library, "Application Support", orgId),
994
- config: joinPaths$1(library, "Preferences", orgId),
995
- cache: joinPaths$1(library, "Caches", orgId),
996
- log: joinPaths$1(library, "Logs", orgId),
997
- temp: joinPaths$1(tmpdir, orgId)
998
- };
999
- };
1000
- const windows = (orgId) => {
1001
- const appData = process.env.APPDATA || joinPaths$1(homedir, "AppData", "Roaming");
1002
- const localAppData = process.env.LOCALAPPDATA || joinPaths$1(homedir, "AppData", "Local");
1003
- const windowsFormattedOrgId = titleCase$1(orgId).trim().replace(/\s+/g, "");
1004
- return {
1005
- data: joinPaths$1(localAppData, windowsFormattedOrgId, "Data"),
1006
- config: joinPaths$1(appData, windowsFormattedOrgId, "Config"),
1007
- cache: joinPaths$1(localAppData, "Cache", orgId),
1008
- log: joinPaths$1(localAppData, windowsFormattedOrgId, "Log"),
1009
- temp: joinPaths$1(tmpdir, orgId)
1010
- };
1011
- };
1012
- const linux = (orgId) => {
1013
- const username = node_path.default.basename(homedir);
1014
- return {
1015
- data: joinPaths$1(process.env.XDG_DATA_HOME || joinPaths$1(homedir, ".local", "share"), orgId),
1016
- config: joinPaths$1(process.env.XDG_CONFIG_HOME || joinPaths$1(homedir, ".config"), orgId),
1017
- cache: joinPaths$1(process.env.XDG_CACHE_HOME || joinPaths$1(homedir, ".cache"), orgId),
1018
- log: joinPaths$1(process.env.XDG_STATE_HOME || joinPaths$1(homedir, ".local", "state"), orgId),
1019
- temp: process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR ? joinPaths$1(process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR, orgId) : joinPaths$1(tmpdir, username, orgId)
1020
- };
1021
- };
1022
- /**
1023
- * Get paths for storing things like data, config, logs, and cache in the current runtime environment.
1024
- *
1025
- * @remarks
1026
- * On macOS, directories are generally created in `~/Library/Application Support/<name>`.
1027
- * On Windows, directories are generally created in `%AppData%/<name>`.
1028
- * On Linux, directories are generally created in `~/.config/<name>` - this is determined via the [XDG Base Directory spec](https://specifications.freedesktop.org/basedir-spec/latest/).
1029
- *
1030
- * If the `STORM_DATA_DIR`, `STORM_CONFIG_DIR`, `STORM_CACHE_DIR`, `STORM_LOG_DIR`, or `STORM_TEMP_DIR` environment variables are set, they will be used instead of the default paths.
1031
- *
1032
- * @param options - Parameters used to determine the specific paths for the current project/runtime environment
1033
- * @returns An object containing the various paths for the runtime environment
1034
- */
1035
- function getEnvPaths(options = {}) {
1036
- let orgId = options.orgId || "storm-software";
1037
- if (!orgId) throw new Error("You need to provide an orgId to the `getEnvPaths` function");
1038
- if (options.suffix) orgId += `-${typeof options.suffix === "string" ? options.suffix : "nodejs"}`;
1039
- let result = {};
1040
- if (process.platform === "darwin") result = macos(orgId);
1041
- else if (process.platform === "win32") result = windows(orgId);
1042
- else result = linux(orgId);
1043
- if (process.env.STORM_DATA_DIR) result.data = process.env.STORM_DATA_DIR;
1044
- else if (process.env.STORM_CONFIG_DIR) result.config = process.env.STORM_CONFIG_DIR;
1045
- else if (process.env.STORM_CACHE_DIR) result.cache = process.env.STORM_CACHE_DIR;
1046
- else if (process.env.STORM_LOG_DIR) result.log = process.env.STORM_LOG_DIR;
1047
- else if (process.env.STORM_TEMP_DIR) result.temp = process.env.STORM_TEMP_DIR;
1048
- if (options.workspaceRoot) {
1049
- result.cache ??= joinPaths$1(options.workspaceRoot, "node_modules", ".cache", orgId);
1050
- result.temp ??= joinPaths$1(options.workspaceRoot, "tmp", orgId);
1051
- result.log ??= joinPaths$1(result.temp, "logs");
1052
- result.config ??= joinPaths$1(options.workspaceRoot, ".config", orgId);
1053
- }
1054
- return Object.keys(result).reduce((ret, key) => {
1055
- if (result[key]) {
1056
- const filePath = result[key];
1057
- ret[key] = options.appId && options.appId !== options.orgId && options.appId !== options.nestedDir ? joinPaths$1(filePath, options.appId) : filePath;
1058
- if (options.nestedDir && options.nestedDir !== options.orgId && options.nestedDir !== options.appId) ret[key] = joinPaths$1(ret[key], options.nestedDir);
1059
- }
1060
- return ret;
1061
- }, {});
1062
- }
1063
-
1064
- //#endregion
1065
- //#region ../../node_modules/.pnpm/@stryke+fs@0.33.69_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+runt_883743f52e6029b1917f6d7e21fd4584/node_modules/@stryke/fs/dist/exists.mjs
1066
- /**
1067
- * Check if a file exists
1068
- *
1069
- * @param filePath - The file path to check
1070
- * @returns An indicator specifying if the file exists
1071
- */
1072
- function existsSync(filePath) {
1073
- return (0, node_fs.existsSync)(filePath);
1074
- }
1075
-
1076
- //#endregion
1077
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
1078
- /**
1079
- * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
1080
- *
1081
- * @param framework - The framework name to use in the input strings
1082
- * @returns An array of Nx input strings for the configuration file
1083
- */
1084
- function getNxTargetInputs(framework) {
1085
- return CONFIG_INPUTS.map((input) => input.replace("{framework}", framework));
1086
- }
1087
- /**
1088
- * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
1089
- *
1090
- * @param framework - The framework name to use in the input strings
1091
- * @returns An array of Nx input strings for the configuration file
1092
- */
1093
- function getNxPluginInputs(framework) {
1094
- return `**/{${getNxTargetInputs(framework).map((input) => input.replace("{projectRoot}/", "")).join(",")}}`;
1095
- }
1096
- /**
1097
- * Creates an Nx plugin that integrates Powerlines into the Nx build process.
1098
- *
1099
- * @param opts - Options for creating the Nx plugin
1100
- * @returns A CreateNodesV2 function that can be used as an Nx plugin
1101
- */
1102
- function createNxPlugin(opts) {
1103
- const framework = opts?.framework || "powerlines";
1104
- const title = `${(0, _stryke_string_format_title_case.titleCase)(framework)} Nx Plugin`;
1105
- try {
1106
- const name = opts?.name || `${framework}/nx/plugin`;
1107
- const artifactsFolder = opts?.artifactsFolder || `{projectRoot}/.${framework}`;
1108
- const targetInputs = getNxTargetInputs(framework);
1109
- const pluginInputs = getNxPluginInputs(framework);
1110
- return [pluginInputs, async (configFiles, options, contextV2) => {
1111
- if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Initializing the ${title} for the following inputs: ${pluginInputs}`);
1112
- const envPaths = getEnvPaths({
1113
- orgId: "storm-software",
1114
- appId: framework,
1115
- workspaceRoot: contextV2.workspaceRoot
1116
- });
1117
- if (!envPaths.cache) throw new Error("The cache directory could not be determined.");
1118
- const nxJson = (0, nx_src_config_nx_json_js.readNxJson)(contextV2.workspaceRoot);
1119
- const resolver = (0, jiti.createJiti)(contextV2.workspaceRoot, {
1120
- debug: !!options?.debug,
1121
- interopDefault: true,
1122
- fsCache: (0, _stryke_path_join_paths.joinPaths)(envPaths.cache, "nx-plugin", (0, _stryke_hash.murmurhash)(contextV2.workspaceRoot, { maxLength: 45 }), "jiti"),
1123
- moduleCache: true
1124
- });
1125
- let loadUserConfigFile;
1126
- try {
1127
- loadUserConfigFile = await resolver.import(resolver.esmResolve("powerlines/config")).then((mod) => mod?.loadUserConfigFile);
1128
- } catch (error) {
1129
- console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Failed to load user configuration file function: ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : "Unknown error"}`);
1130
- }
1131
- return (0, _nx_devkit.createNodesFromFiles)(async (configFile, _, context) => {
1132
- try {
1133
- const projectRoot = (0, _storm_software_workspace_tools_utils_plugin_helpers.getProjectRoot)(configFile, contextV2.workspaceRoot);
1134
- if (!projectRoot) {
1135
- console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - package.json and ${framework} configuration files (i.e. ${framework}.config.ts) must be located in the project root directory: ${configFile}`);
1136
- return {};
1137
- }
1138
- const root = (0, _storm_software_workspace_tools_utils_plugin_helpers.getRoot)(projectRoot, context);
1139
- if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Loading ${framework} user configuration for project in root directory ${projectRoot}.`);
1140
- let userConfig = {};
1141
- try {
1142
- if (loadUserConfigFile) {
1143
- const parsedConfig = await loadUserConfigFile({
1144
- root: projectRoot,
1145
- cwd: contextV2.workspaceRoot,
1146
- mode: isDevelopment ? "development" : isTest ? "test" : "production",
1147
- configFile,
1148
- framework
1149
- }, resolver);
1150
- if ((0, _stryke_type_checks_is_set_object.isSetObject)(parsedConfig)) userConfig = parsedConfig.config;
1151
- }
1152
- } catch (error) {
1153
- console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Failed to load user configuration for project in ${projectRoot} - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "Unknown error"} \n\nThis error can occur if the project depends on another package in the workspace and the dependent package has not been built yet. To resolve this issue, please ensure that all dependent packages have been built successfully.`);
1154
- }
1155
- if (!existsSync((0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot, "package.json"))) {
1156
- if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Cannot find \`package.json\` file in the project's root directory (path: "${(0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot)}"). Skipping project configuration.`);
1157
- return {};
1158
- }
1159
- const packageJsonContent = await (0, node_fs_promises.readFile)((0, _stryke_path_join_paths.joinPaths)(contextV2.workspaceRoot, projectRoot, "package.json"), "utf8");
1160
- if (!packageJsonContent) {
1161
- if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - No package.json file found for project in root directory ${projectRoot}`);
1162
- return {};
1163
- }
1164
- const packageJson = JSON.parse(packageJsonContent);
1165
- if (!(userConfig && Object.keys(userConfig).length > 0) && !packageJson?.[(0, _stryke_string_format_camel_case.camelCase)(framework)]) {
1166
- if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Skipping ${projectRoot} - no ${framework} configuration found for project in root directory.`);
1167
- return {};
1168
- }
1169
- const projectConfig = (0, _storm_software_workspace_tools_utils_plugin_helpers.getProjectConfigFromProjectRoot)(projectRoot, packageJson);
1170
- if (!projectConfig) {
1171
- if (options?.verboseOutput) console.warn(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - No project configuration found for project in root directory ${projectRoot}`);
1172
- return {};
1173
- }
1174
- const targets = (0, nx_src_utils_package_json_js.readTargetsFromPackageJson)(packageJson, nxJson, projectRoot, context.workspaceRoot);
1175
- if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Preparing Nx targets for project in root directory ${projectRoot}.`);
1176
- if (options?.clean !== false && !targets[options?.clean?.targetName || "clean"]) targets[options?.clean?.targetName || "clean"] = {
1177
- cache: options?.clean?.cache ?? options?.cache ?? true,
1178
- inputs: Array.isArray(options?.clean?.inputs) ? options.clean.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.clean?.inputs || "typescript"]),
1179
- outputs: options?.clean?.outputs,
1180
- executor: options?.clean?.executor || `@${framework}/nx:${options?.clean?.targetName || "clean"}`,
1181
- dependsOn: options?.clean?.dependsOn ?? [`^${options?.clean?.targetName || "clean"}`],
1182
- defaultConfiguration: options?.clean?.defaultConfiguration || "production",
1183
- options: {
1184
- projectType: projectConfig.projectType,
1185
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1186
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1187
- },
1188
- configurations: {
1189
- production: { mode: "production" },
1190
- test: { mode: "test" },
1191
- development: {
1192
- mode: "development",
1193
- skipCache: true
1194
- }
1195
- }
1196
- };
1197
- if (options?.prepare !== false && !targets[options?.prepare?.targetName || "prepare"]) targets[options?.prepare?.targetName || "prepare"] = {
1198
- cache: options?.prepare?.cache ?? options?.cache ?? true,
1199
- inputs: Array.isArray(options?.prepare?.inputs) ? options.prepare.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.prepare?.inputs || "typescript"]),
1200
- outputs: options?.prepare?.outputs ?? [artifactsFolder],
1201
- executor: options?.prepare?.executor || `@${framework}/nx:${options?.prepare?.targetName || "prepare"}`,
1202
- dependsOn: options?.prepare?.dependsOn ?? [`^${options?.prepare?.targetName || "build"}`, options?.clean !== false && `${options?.clean?.targetName || "clean"}`].filter(Boolean),
1203
- defaultConfiguration: options?.prepare?.defaultConfiguration || "production",
1204
- options: {
1205
- projectType: projectConfig.projectType,
1206
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1207
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1208
- },
1209
- configurations: {
1210
- production: { mode: "production" },
1211
- test: { mode: "test" },
1212
- development: {
1213
- mode: "development",
1214
- skipCache: true
1215
- }
1216
- }
1217
- };
1218
- if (options?.build !== false && !targets[options?.build?.targetName || "build"]) targets[options?.build?.targetName || "build"] = {
1219
- cache: options?.build?.cache ?? options?.cache ?? true,
1220
- inputs: Array.isArray(options?.build?.inputs) ? options.build.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.build?.inputs || "typescript"]),
1221
- outputs: options?.build?.outputs ?? ["{options.outputPath}"],
1222
- executor: options?.build?.executor || `@${framework}/nx:${options?.build?.targetName || "build"}`,
1223
- dependsOn: options?.build?.dependsOn ?? [`^${options?.build?.targetName || "build"}`, userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
1224
- defaultConfiguration: options?.build?.defaultConfiguration || "production",
1225
- options: {
1226
- projectType: projectConfig.projectType,
1227
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1228
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1229
- },
1230
- configurations: {
1231
- production: { mode: "production" },
1232
- test: { mode: "test" },
1233
- development: {
1234
- mode: "development",
1235
- skipCache: true
1236
- }
1237
- }
1238
- };
1239
- if (options?.lint !== false && !targets[options?.lint?.targetName || "lint"]) targets[options?.lint?.targetName || "lint"] = {
1240
- cache: options?.lint?.cache ?? options?.cache ?? true,
1241
- inputs: Array.isArray(options?.lint?.inputs) ? options.lint.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.lint?.inputs ? [options.lint.inputs] : ["linting", "typescript"]),
1242
- outputs: options?.lint?.outputs ?? ["{options.outputPath}"],
1243
- executor: options?.lint?.executor || `@${framework}/nx:${options?.lint?.targetName || "lint"}`,
1244
- dependsOn: options?.lint?.dependsOn ?? [`^${options?.lint?.targetName || "lint"}`, userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
1245
- defaultConfiguration: options?.lint?.defaultConfiguration || "production",
1246
- options: {
1247
- projectType: projectConfig.projectType,
1248
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1249
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1250
- },
1251
- configurations: {
1252
- production: { mode: "production" },
1253
- test: { mode: "test" },
1254
- development: {
1255
- mode: "development",
1256
- skipCache: true
1257
- }
1258
- }
1259
- };
1260
- if (options?.docs !== false && !targets[options?.docs?.targetName || "docs"]) targets[options?.docs?.targetName || "docs"] = {
1261
- cache: options?.docs?.cache ?? options?.cache ?? true,
1262
- inputs: Array.isArray(options?.docs?.inputs) ? options.docs.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.docs?.inputs ? [options.docs.inputs] : ["documentation", "typescript"]),
1263
- outputs: options?.docs?.outputs ?? ["{options.outputPath}"],
1264
- executor: options?.docs?.executor || `@${framework}/nx:${options?.docs?.targetName || "docs"}`,
1265
- dependsOn: options?.docs?.dependsOn ?? [
1266
- `^${options?.docs?.targetName || "docs"}`,
1267
- options?.build !== false && `${options?.build?.targetName || "build"}`,
1268
- userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1269
- ].filter(Boolean),
1270
- defaultConfiguration: options?.docs?.defaultConfiguration || "production",
1271
- options: {
1272
- projectType: projectConfig.projectType,
1273
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1274
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1275
- },
1276
- configurations: {
1277
- production: { mode: "production" },
1278
- test: { mode: "test" },
1279
- development: {
1280
- mode: "development",
1281
- skipCache: true
1282
- }
1283
- }
1284
- };
1285
- if (options?.deploy !== false && !targets[options?.deploy?.targetName || "deploy"]) targets[options?.deploy?.targetName || "deploy"] = {
1286
- cache: options?.deploy?.cache ?? false,
1287
- inputs: Array.isArray(options?.deploy?.inputs) ? options.deploy.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)([...targetInputs, artifactsFolder], options?.deploy?.inputs ? [options.deploy.inputs] : ["documentation", "typescript"]),
1288
- outputs: options?.deploy?.outputs ?? ["{options.outputPath}"],
1289
- executor: options?.deploy?.executor || `@${framework}/nx:${options?.deploy?.targetName || "deploy"}`,
1290
- dependsOn: options?.deploy?.dependsOn ?? [
1291
- `^${options?.deploy?.targetName || "deploy"}`,
1292
- options?.build !== false && `${options?.build?.targetName || "build"}`,
1293
- userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1294
- ].filter(Boolean),
1295
- defaultConfiguration: options?.deploy?.defaultConfiguration || "production",
1296
- options: {
1297
- projectType: projectConfig.projectType,
1298
- outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1299
- copyPath: `{workspaceRoot}/dist/${projectRoot}`
1300
- },
1301
- configurations: {
1302
- production: { mode: "production" },
1303
- test: { mode: "test" },
1304
- development: {
1305
- mode: "development",
1306
- skipCache: true
1307
- }
1308
- }
1309
- };
1310
- (0, _storm_software_workspace_tools_utils_project_tags.setDefaultProjectTags)(projectConfig, name);
1311
- (0, _storm_software_workspace_tools_utils_project_tags.addProjectTag)(projectConfig, framework, projectConfig.projectType || "library", { overwrite: true });
1312
- if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Completed preparing Nx configuration for project in root directory ${projectRoot}.`);
1313
- return { projects: { [root]: (0, defu.default)(projectConfig, {
1314
- name: (0, _stryke_string_format_kebab_case.kebabCase)(userConfig.name),
1315
- projectType: projectConfig.projectType || "library",
1316
- root,
1317
- sourceRoot: (0, _stryke_path_join_paths.joinPaths)(root, "src"),
1318
- targets
1319
- }) } };
1320
- } catch (error) {
1321
- console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Failed to process the project configuration for file "${configFile}" - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "Unknown fatal error"}`);
1322
- return {};
1323
- }
1324
- }, configFiles, options, contextV2);
1325
- }];
1326
- } catch (error) {
1327
- console.error(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "Unknown fatal error during plugin initialization"}`);
1328
- throw new Error(`Failed to initialize the ${title} - ${(0, _stryke_type_checks_is_error.isError)(error) ? error.message : (0, _stryke_type_checks_is_set_string.isSetString)(error) ? error : "See previous logs for more details"}`, { cause: error instanceof Error ? error : void 0 });
1329
- }
1330
- }
1331
-
1332
- //#endregion
1333
4
  //#region src/plugin/index.ts
1334
- const createNodesV2 = createNxPlugin({ framework: "shell-shock" });
5
+ const createNodesV2 = (0, _powerlines_nx_helpers_plugin_utilities.createNxPlugin)({ framework: "shell-shock" });
1335
6
 
1336
7
  //#endregion
1337
8
  exports.createNodesV2 = createNodesV2;