@shell-shock/nx 0.0.79 → 0.0.80

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 (68) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/base/base-executor.schema.d.ts +16 -4
  3. package/dist/base/base-executor.schema.json +20 -13
  4. package/dist/{base-executor-CXGfAvut.mjs → base-executor-DxPjWb68.mjs} +28 -14
  5. package/dist/base-executor-DxPjWb68.mjs.map +1 -0
  6. package/dist/{base-executor-CjzYhdJI.js → base-executor-X4qL_j3i.js} +27 -13
  7. package/dist/executors/build/executor.d.mts +14 -4
  8. package/dist/executors/build/executor.d.mts.map +1 -1
  9. package/dist/executors/build/executor.d.ts +14 -4
  10. package/dist/executors/build/executor.d.ts.map +1 -1
  11. package/dist/executors/build/executor.js +1 -1
  12. package/dist/executors/build/executor.mjs +1 -1
  13. package/dist/executors/build/executor.mjs.map +1 -1
  14. package/dist/executors/build/schema.d.ts +16 -4
  15. package/dist/executors/build/schema.json +20 -13
  16. package/dist/executors/clean/executor.d.mts +14 -4
  17. package/dist/executors/clean/executor.d.mts.map +1 -1
  18. package/dist/executors/clean/executor.d.ts +14 -4
  19. package/dist/executors/clean/executor.d.ts.map +1 -1
  20. package/dist/executors/clean/executor.js +1 -1
  21. package/dist/executors/clean/executor.mjs +1 -1
  22. package/dist/executors/clean/schema.d.ts +16 -4
  23. package/dist/executors/clean/schema.json +20 -13
  24. package/dist/executors/docs/executor.d.mts +14 -4
  25. package/dist/executors/docs/executor.d.mts.map +1 -1
  26. package/dist/executors/docs/executor.d.ts +14 -4
  27. package/dist/executors/docs/executor.d.ts.map +1 -1
  28. package/dist/executors/docs/executor.js +1 -1
  29. package/dist/executors/docs/executor.mjs +1 -1
  30. package/dist/executors/docs/schema.d.ts +16 -4
  31. package/dist/executors/docs/schema.json +20 -13
  32. package/dist/executors/lint/executor.d.mts +14 -4
  33. package/dist/executors/lint/executor.d.mts.map +1 -1
  34. package/dist/executors/lint/executor.d.ts +14 -4
  35. package/dist/executors/lint/executor.d.ts.map +1 -1
  36. package/dist/executors/lint/executor.js +1 -1
  37. package/dist/executors/lint/executor.mjs +1 -1
  38. package/dist/executors/lint/schema.d.ts +16 -4
  39. package/dist/executors/lint/schema.json +20 -13
  40. package/dist/executors/prepare/executor.d.mts +14 -4
  41. package/dist/executors/prepare/executor.d.mts.map +1 -1
  42. package/dist/executors/prepare/executor.d.ts +14 -4
  43. package/dist/executors/prepare/executor.d.ts.map +1 -1
  44. package/dist/executors/prepare/executor.js +1 -1
  45. package/dist/executors/prepare/executor.mjs +1 -1
  46. package/dist/executors/prepare/schema.d.ts +16 -4
  47. package/dist/executors/prepare/schema.json +20 -13
  48. package/dist/index.d.mts +14 -4
  49. package/dist/index.d.mts.map +1 -1
  50. package/dist/index.d.ts +14 -4
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +1 -1
  53. package/dist/index.mjs +1 -1
  54. package/dist/plugin/index.d.mts +1 -1
  55. package/dist/plugin/index.d.mts.map +1 -1
  56. package/dist/plugin/index.d.ts +1 -1
  57. package/dist/plugin/index.d.ts.map +1 -1
  58. package/dist/plugin/index.js +128 -24
  59. package/dist/plugin/index.mjs +128 -24
  60. package/dist/plugin/index.mjs.map +1 -1
  61. package/docs/api/base-executor.schema.md +11 -4
  62. package/docs/api/build/schema.md +11 -4
  63. package/docs/api/clean/schema.md +11 -4
  64. package/docs/api/docs/schema.md +11 -4
  65. package/docs/api/lint/schema.md +11 -4
  66. package/docs/api/prepare/schema.md +11 -4
  67. package/package.json +16 -16
  68. package/dist/base-executor-CXGfAvut.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { CreateNodesV2 } from "@nx/devkit";
2
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
2
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
3
3
  //#region src/types/plugin.d.ts
4
4
  interface NxPluginOptions {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
1
+ {"version":3,"file":"index.d.mts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
@@ -1,5 +1,5 @@
1
1
  import { CreateNodesV2 } from "@nx/devkit";
2
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
2
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
3
3
  //#region src/types/plugin.d.ts
4
4
  interface NxPluginOptions {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
1
+ {"version":3,"file":"index.d.ts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
@@ -50,7 +50,7 @@ let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-stri
50
50
  let nx_src_config_nx_json_js = require("nx/src/config/nx-json.js");
51
51
  let nx_src_utils_package_json_js = require("nx/src/utils/package-json.js");
52
52
 
53
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
53
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
54
54
  /**
55
55
  * A list of Nx input strings that describe the Powerlines configuration file
56
56
  */
@@ -82,14 +82,109 @@ const CONFIG_INPUTS = [
82
82
  ];
83
83
 
84
84
  //#endregion
85
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/path/src/regex.mjs
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
86
181
  const DRIVE_LETTER_START_REGEX = /^[A-Z]:\//i;
87
182
  const DRIVE_LETTER_REGEX = /^[A-Z]:$/i;
88
183
  const UNC_REGEX = /^[/\\]{2}/;
89
184
  const ABSOLUTE_PATH_REGEX = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i;
90
185
 
91
186
  //#endregion
92
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/path/src/slash.mjs
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
93
188
  /**
94
189
  * Replace backslash to slash
95
190
  *
@@ -102,7 +197,7 @@ function slash(path) {
102
197
  }
103
198
 
104
199
  //#endregion
105
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/path/src/is-type.mjs
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
106
201
  /**
107
202
  * Check if the path is an absolute path.
108
203
  *
@@ -126,7 +221,7 @@ function isAbsolute(path) {
126
221
  }
127
222
 
128
223
  //#endregion
129
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/path/src/join-paths.mjs
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
130
225
  function normalizeWindowsPath(input = "") {
131
226
  if (!input) return input;
132
227
  return input.replace(/\\/g, "/").replace(DRIVE_LETTER_START_REGEX, (r) => r.toUpperCase());
@@ -243,7 +338,7 @@ function normalizeString(path, allowAboveRoot) {
243
338
  }
244
339
 
245
340
  //#endregion
246
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/acronyms.mjs
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
247
342
  /**
248
343
  * A running list of common acronyms and their meanings.
249
344
  *
@@ -655,7 +750,7 @@ Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.di
655
750
  Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.description]));
656
751
 
657
752
  //#endregion
658
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/combine.mjs
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
659
754
  /**
660
755
  * Combine two strings with a space in between.
661
756
  *
@@ -668,7 +763,7 @@ function combine(acc, str) {
668
763
  }
669
764
 
670
765
  //#endregion
671
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/decamelize.mjs
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
672
767
  /**
673
768
  * Convert a camelCase or PascalCase string to a snake_case string.
674
769
  *
@@ -680,7 +775,7 @@ function decamelize(value) {
680
775
  }
681
776
 
682
777
  //#endregion
683
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/articles.mjs
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
684
779
  const ARTICLES = [
685
780
  "a",
686
781
  "an",
@@ -688,7 +783,7 @@ const ARTICLES = [
688
783
  ];
689
784
 
690
785
  //#endregion
691
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/conjunctions.mjs
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
692
787
  const CONJUNCTIONS = [
693
788
  "and",
694
789
  "that",
@@ -718,7 +813,7 @@ const CONJUNCTIONS = [
718
813
  ];
719
814
 
720
815
  //#endregion
721
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/prepositions.mjs
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
722
817
  const PREPOSITIONS = [
723
818
  "about",
724
819
  "above",
@@ -784,7 +879,7 @@ const PREPOSITIONS = [
784
879
  ];
785
880
 
786
881
  //#endregion
787
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/special-cases.mjs
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
788
883
  const SPECIAL_CASES = [
789
884
  "2FA",
790
885
  "4K",
@@ -835,7 +930,7 @@ const SPECIAL_CASES = [
835
930
  ];
836
931
 
837
932
  //#endregion
838
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/format-special-cases.mjs
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
839
934
  /**
840
935
  * Handle special words in a title.
841
936
  *
@@ -861,7 +956,7 @@ function formatSpecialCases(value, index, words, options) {
861
956
  }
862
957
 
863
958
  //#endregion
864
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/upper-case-first.mjs
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
865
960
  /**
866
961
  * Upper case the first character of an input string.
867
962
  *
@@ -876,7 +971,7 @@ function upperCaseFirst(input) {
876
971
  }
877
972
 
878
973
  //#endregion
879
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/string-format/src/title-case.mjs
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
880
975
  /**
881
976
  * Convert a string to title case.
882
977
  *
@@ -889,7 +984,7 @@ function titleCase$1(input, options) {
889
984
  }
890
985
 
891
986
  //#endregion
892
- //#region ../../node_modules/.pnpm/@stryke+env@0.20.83_@types+picomatch@4.0.3_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+_bdd8162e7c5810eb06daa1c10a10d2d2/node_modules/@stryke/env/dist/get-env-paths.mjs
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
893
988
  const homedir = node_os.default.homedir();
894
989
  const tmpdir = node_os.default.tmpdir();
895
990
  const macos = (orgId) => {
@@ -967,7 +1062,7 @@ function getEnvPaths(options = {}) {
967
1062
  }
968
1063
 
969
1064
  //#endregion
970
- //#region ../../node_modules/.pnpm/@stryke+fs@0.33.66_nx@22.6.5_@swc-node+register@1.11.1_@emnapi+core@1.9.2_@emnapi+runti_b69b4c33bf8e2d7854c6157ec20b9779/node_modules/@stryke/fs/dist/exists.mjs
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
971
1066
  /**
972
1067
  * Check if a file exists
973
1068
  *
@@ -979,7 +1074,7 @@ function existsSync(filePath) {
979
1074
  }
980
1075
 
981
1076
  //#endregion
982
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.12.13_0b593ffe16e77a52041a56e49fe5408a/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
1077
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
983
1078
  /**
984
1079
  * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
985
1080
  *
@@ -1044,7 +1139,16 @@ function createNxPlugin(opts) {
1044
1139
  if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Loading ${framework} user configuration for project in root directory ${projectRoot}.`);
1045
1140
  let userConfig = {};
1046
1141
  try {
1047
- if (loadUserConfigFile) userConfig = await loadUserConfigFile(projectRoot, contextV2.workspaceRoot, resolver, "build", "development", configFile, framework);
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
+ }
1048
1152
  } catch (error) {
1049
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.`);
1050
1154
  }
@@ -1058,7 +1162,7 @@ function createNxPlugin(opts) {
1058
1162
  return {};
1059
1163
  }
1060
1164
  const packageJson = JSON.parse(packageJsonContent);
1061
- if (!userConfig.configFile && !packageJson?.[(0, _stryke_string_format_camel_case.camelCase)(framework)]) {
1165
+ if (!(userConfig && Object.keys(userConfig).length > 0) && !packageJson?.[(0, _stryke_string_format_camel_case.camelCase)(framework)]) {
1062
1166
  if (options?.verboseOutput) console.debug(`[${title}] - ${(/* @__PURE__ */ new Date()).toISOString()} - Skipping ${projectRoot} - no ${framework} configuration found for project in root directory.`);
1063
1167
  return {};
1064
1168
  }
@@ -1116,7 +1220,7 @@ function createNxPlugin(opts) {
1116
1220
  inputs: Array.isArray(options?.build?.inputs) ? options.build.inputs : (0, _storm_software_workspace_tools_utils_nx_json.withNamedInputs)(targetInputs, [options?.build?.inputs || "typescript"]),
1117
1221
  outputs: options?.build?.outputs ?? ["{options.outputPath}"],
1118
1222
  executor: options?.build?.executor || `@${framework}/nx:${options?.build?.targetName || "build"}`,
1119
- dependsOn: options?.build?.dependsOn ?? [`^${options?.build?.targetName || "build"}`, userConfig.skipCache ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
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),
1120
1224
  defaultConfiguration: options?.build?.defaultConfiguration || "production",
1121
1225
  options: {
1122
1226
  projectType: projectConfig.projectType,
@@ -1137,7 +1241,7 @@ function createNxPlugin(opts) {
1137
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"]),
1138
1242
  outputs: options?.lint?.outputs ?? ["{options.outputPath}"],
1139
1243
  executor: options?.lint?.executor || `@${framework}/nx:${options?.lint?.targetName || "lint"}`,
1140
- dependsOn: options?.lint?.dependsOn ?? [`^${options?.lint?.targetName || "lint"}`, userConfig.skipCache ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"].filter(Boolean),
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),
1141
1245
  defaultConfiguration: options?.lint?.defaultConfiguration || "production",
1142
1246
  options: {
1143
1247
  projectType: projectConfig.projectType,
@@ -1161,7 +1265,7 @@ function createNxPlugin(opts) {
1161
1265
  dependsOn: options?.docs?.dependsOn ?? [
1162
1266
  `^${options?.docs?.targetName || "docs"}`,
1163
1267
  options?.build !== false && `${options?.build?.targetName || "build"}`,
1164
- userConfig.skipCache ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1268
+ userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1165
1269
  ].filter(Boolean),
1166
1270
  defaultConfiguration: options?.docs?.defaultConfiguration || "production",
1167
1271
  options: {
@@ -1186,7 +1290,7 @@ function createNxPlugin(opts) {
1186
1290
  dependsOn: options?.deploy?.dependsOn ?? [
1187
1291
  `^${options?.deploy?.targetName || "deploy"}`,
1188
1292
  options?.build !== false && `${options?.build?.targetName || "build"}`,
1189
- userConfig.skipCache ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1293
+ userConfig.skipCache || isDevelopment ? void 0 : (0, _stryke_type_checks_is_set_object.isSetObject)(options?.prepare) && options?.prepare?.targetName ? options?.prepare?.targetName : "prepare"
1190
1294
  ].filter(Boolean),
1191
1295
  defaultConfiguration: options?.deploy?.defaultConfiguration || "production",
1192
1296
  options: {