@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.
- package/CHANGELOG.md +20 -0
- package/dist/{base-executor-X4qL_j3i.js → base-executor-BKs5qTWJ.js} +1 -0
- package/dist/{base-executor-DxPjWb68.mjs → base-executor-DUy51uSh.mjs} +2 -1
- package/dist/{base-executor-DxPjWb68.mjs.map → base-executor-DUy51uSh.mjs.map} +1 -1
- package/dist/executors/build/executor.js +1 -1
- package/dist/executors/build/executor.mjs +1 -1
- package/dist/executors/clean/executor.d.mts.map +1 -1
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +1 -1
- package/dist/executors/clean/executor.mjs +1 -1
- package/dist/executors/clean/executor.mjs.map +1 -1
- package/dist/executors/docs/executor.d.mts.map +1 -1
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +1 -1
- package/dist/executors/docs/executor.mjs +1 -1
- package/dist/executors/docs/executor.mjs.map +1 -1
- package/dist/executors/lint/executor.d.mts.map +1 -1
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +1 -1
- package/dist/executors/lint/executor.mjs +1 -1
- package/dist/executors/lint/executor.mjs.map +1 -1
- package/dist/executors/prepare/executor.d.mts.map +1 -1
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +1 -1
- package/dist/executors/prepare/executor.mjs +1 -1
- package/dist/executors/prepare/executor.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugin/index.d.mts +1 -1
- package/dist/plugin/index.d.mts.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +21 -20
- package/dist/plugin/index.mjs +21 -20
- package/dist/plugin/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/plugin/index.mjs
CHANGED
|
@@ -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
|
+
//#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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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}`
|