@shell-shock/nx 0.0.80 → 0.0.82

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 (36) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{base-executor-X4qL_j3i.js → base-executor-BKs5qTWJ.js} +1 -0
  3. package/dist/{base-executor-DxPjWb68.mjs → base-executor-DUy51uSh.mjs} +2 -1
  4. package/dist/{base-executor-DxPjWb68.mjs.map → base-executor-DUy51uSh.mjs.map} +1 -1
  5. package/dist/executors/build/executor.js +1 -1
  6. package/dist/executors/build/executor.mjs +1 -1
  7. package/dist/executors/clean/executor.d.mts.map +1 -1
  8. package/dist/executors/clean/executor.d.ts.map +1 -1
  9. package/dist/executors/clean/executor.js +1 -1
  10. package/dist/executors/clean/executor.mjs +1 -1
  11. package/dist/executors/clean/executor.mjs.map +1 -1
  12. package/dist/executors/docs/executor.d.mts.map +1 -1
  13. package/dist/executors/docs/executor.d.ts.map +1 -1
  14. package/dist/executors/docs/executor.js +1 -1
  15. package/dist/executors/docs/executor.mjs +1 -1
  16. package/dist/executors/docs/executor.mjs.map +1 -1
  17. package/dist/executors/lint/executor.d.mts.map +1 -1
  18. package/dist/executors/lint/executor.d.ts.map +1 -1
  19. package/dist/executors/lint/executor.js +1 -1
  20. package/dist/executors/lint/executor.mjs +1 -1
  21. package/dist/executors/lint/executor.mjs.map +1 -1
  22. package/dist/executors/prepare/executor.d.mts.map +1 -1
  23. package/dist/executors/prepare/executor.d.ts.map +1 -1
  24. package/dist/executors/prepare/executor.js +1 -1
  25. package/dist/executors/prepare/executor.mjs +1 -1
  26. package/dist/executors/prepare/executor.mjs.map +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/index.mjs +1 -1
  29. package/dist/plugin/index.d.mts +1 -1
  30. package/dist/plugin/index.d.mts.map +1 -1
  31. package/dist/plugin/index.d.ts +1 -1
  32. package/dist/plugin/index.d.ts.map +1 -1
  33. package/dist/plugin/index.js +21 -20
  34. package/dist/plugin/index.mjs +21 -20
  35. package/dist/plugin/index.mjs.map +1 -1
  36. package/package.json +12 -12
@@ -19,7 +19,7 @@ import { isSetString } from "@stryke/type-checks/is-set-string";
19
19
  import { readNxJson } from "nx/src/config/nx-json.js";
20
20
  import { readTargetsFromPackageJson } from "nx/src/utils/package-json.js";
21
21
 
22
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
22
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.39_fc99eff9622fa5d3f6bd2e5db9585b9b/node_modules/@powerlines/nx/dist/src/helpers/constants.mjs
23
23
  /**
24
24
  * A list of Nx input strings that describe the Powerlines configuration file
25
25
  */
@@ -51,7 +51,7 @@ const CONFIG_INPUTS = [
51
51
  ];
52
52
 
53
53
  //#endregion
54
- //#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
54
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/ci-checks.mjs
55
55
  /**
56
56
  * Returns true if the current environment is a CI environment.
57
57
  *
@@ -62,7 +62,7 @@ const isCI = (env = process.env) => {
62
62
  };
63
63
 
64
64
  //#endregion
65
- //#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
65
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/environment-checks.mjs
66
66
  /** Value of process.platform */
67
67
  const platform = process?.platform || "";
68
68
  /** Detect if stdout.TTY is available */
@@ -146,14 +146,14 @@ const nodeVersion = (process?.versions?.node || "").replace(/^v/, "") || null;
146
146
  const nodeMajorVersion = Number(nodeVersion?.split(".")[0]) || null;
147
147
 
148
148
  //#endregion
149
- //#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
149
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/path/src/regex.mjs
150
150
  const DRIVE_LETTER_START_REGEX = /^[A-Z]:\//i;
151
151
  const DRIVE_LETTER_REGEX = /^[A-Z]:$/i;
152
152
  const UNC_REGEX = /^[/\\]{2}/;
153
153
  const ABSOLUTE_PATH_REGEX = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i;
154
154
 
155
155
  //#endregion
156
- //#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
156
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/path/src/slash.mjs
157
157
  /**
158
158
  * Replace backslash to slash
159
159
  *
@@ -166,7 +166,7 @@ function slash(path) {
166
166
  }
167
167
 
168
168
  //#endregion
169
- //#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
169
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/path/src/is-type.mjs
170
170
  /**
171
171
  * Check if the path is an absolute path.
172
172
  *
@@ -190,7 +190,7 @@ function isAbsolute(path) {
190
190
  }
191
191
 
192
192
  //#endregion
193
- //#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
193
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/path/src/join-paths.mjs
194
194
  function normalizeWindowsPath(input = "") {
195
195
  if (!input) return input;
196
196
  return input.replace(/\\/g, "/").replace(DRIVE_LETTER_START_REGEX, (r) => r.toUpperCase());
@@ -307,7 +307,7 @@ function normalizeString(path, allowAboveRoot) {
307
307
  }
308
308
 
309
309
  //#endregion
310
- //#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
310
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/acronyms.mjs
311
311
  /**
312
312
  * A running list of common acronyms and their meanings.
313
313
  *
@@ -719,7 +719,7 @@ Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.di
719
719
  Object.fromEntries(Object.entries(ACRONYMS).map(([key, value]) => [key, value.description]));
720
720
 
721
721
  //#endregion
722
- //#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
722
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/combine.mjs
723
723
  /**
724
724
  * Combine two strings with a space in between.
725
725
  *
@@ -732,7 +732,7 @@ function combine(acc, str) {
732
732
  }
733
733
 
734
734
  //#endregion
735
- //#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
735
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/decamelize.mjs
736
736
  /**
737
737
  * Convert a camelCase or PascalCase string to a snake_case string.
738
738
  *
@@ -744,7 +744,7 @@ function decamelize(value) {
744
744
  }
745
745
 
746
746
  //#endregion
747
- //#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
747
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/articles.mjs
748
748
  const ARTICLES = [
749
749
  "a",
750
750
  "an",
@@ -752,7 +752,7 @@ const ARTICLES = [
752
752
  ];
753
753
 
754
754
  //#endregion
755
- //#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
755
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/conjunctions.mjs
756
756
  const CONJUNCTIONS = [
757
757
  "and",
758
758
  "that",
@@ -782,7 +782,7 @@ const CONJUNCTIONS = [
782
782
  ];
783
783
 
784
784
  //#endregion
785
- //#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
785
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/prepositions.mjs
786
786
  const PREPOSITIONS = [
787
787
  "about",
788
788
  "above",
@@ -848,7 +848,7 @@ const PREPOSITIONS = [
848
848
  ];
849
849
 
850
850
  //#endregion
851
- //#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
851
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/special-cases.mjs
852
852
  const SPECIAL_CASES = [
853
853
  "2FA",
854
854
  "4K",
@@ -899,7 +899,7 @@ const SPECIAL_CASES = [
899
899
  ];
900
900
 
901
901
  //#endregion
902
- //#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
902
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/format-special-cases.mjs
903
903
  /**
904
904
  * Handle special words in a title.
905
905
  *
@@ -925,7 +925,7 @@ function formatSpecialCases(value, index, words, options) {
925
925
  }
926
926
 
927
927
  //#endregion
928
- //#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
928
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/upper-case-first.mjs
929
929
  /**
930
930
  * Upper case the first character of an input string.
931
931
  *
@@ -940,7 +940,7 @@ function upperCaseFirst(input) {
940
940
  }
941
941
 
942
942
  //#endregion
943
- //#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
943
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/string-format/src/title-case.mjs
944
944
  /**
945
945
  * Convert a string to title case.
946
946
  *
@@ -953,7 +953,7 @@ function titleCase$1(input, options) {
953
953
  }
954
954
 
955
955
  //#endregion
956
- //#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
956
+ //#region ../../node_modules/.pnpm/@stryke+env@0.20.87_@types+picomatch@4.0.3_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+_4564df72d1e115c62f6290cda8d9e3bb/node_modules/@stryke/env/dist/get-env-paths.mjs
957
957
  const homedir = os.homedir();
958
958
  const tmpdir = os.tmpdir();
959
959
  const macos = (orgId) => {
@@ -1031,7 +1031,7 @@ function getEnvPaths(options = {}) {
1031
1031
  }
1032
1032
 
1033
1033
  //#endregion
1034
- //#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
1034
+ //#region ../../node_modules/.pnpm/@stryke+fs@0.33.70_nx@22.7.1_@swc-node+register@1.11.1_@emnapi+core@1.10.0_@emnapi+runt_bab6a976ece1ecde1bcb30fca36fad37/node_modules/@stryke/fs/dist/exists.mjs
1035
1035
  /**
1036
1036
  * Check if a file exists
1037
1037
  *
@@ -1043,7 +1043,7 @@ function existsSync$1(filePath) {
1043
1043
  }
1044
1044
 
1045
1045
  //#endregion
1046
- //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.22_37905bc55cd94c2f54b3276dd4704cf6/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
1046
+ //#region ../../node_modules/.pnpm/@powerlines+nx@0.13.39_fc99eff9622fa5d3f6bd2e5db9585b9b/node_modules/@powerlines/nx/dist/src/helpers/plugin-utilities.mjs
1047
1047
  /**
1048
1048
  * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
1049
1049
  *
@@ -1150,6 +1150,7 @@ function createNxPlugin(opts) {
1150
1150
  dependsOn: options?.clean?.dependsOn ?? [`^${options?.clean?.targetName || "clean"}`],
1151
1151
  defaultConfiguration: options?.clean?.defaultConfiguration || "production",
1152
1152
  options: {
1153
+ root: projectRoot,
1153
1154
  projectType: projectConfig.projectType,
1154
1155
  outputPath: `{workspaceRoot}/${projectRoot}/dist`,
1155
1156
  copyPath: `{workspaceRoot}/dist/${projectRoot}`