@powerlines/nx 0.11.253 → 0.11.254
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/dist/src/base/base-executor.js +1 -1
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/base/base-executor.untyped.d.mts +1 -1
- package/dist/src/base/base-executor.untyped.d.ts +1 -1
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.js +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/{base-executor-BWwpclQE.js → base-executor-BpCWf3UZ.js} +12 -8
- package/dist/src/{base-executor-Dw-fhsUi.mjs → base-executor-CY5jqHOT.mjs} +13 -9
- package/dist/src/base-executor-CY5jqHOT.mjs.map +1 -0
- package/dist/src/{base-executor-C6v5AHYW.mjs → base-executor-DkPqPuGO.mjs} +14 -10
- package/dist/src/base-executor-DkPqPuGO.mjs.map +1 -0
- package/dist/src/{base-executor-DpQbYOg0.js → base-executor-DqLkQwd_.js} +13 -9
- package/dist/src/{base-executor.untyped-BgwzwrUY.d.mts → base-executor.untyped-89PxfBO_.d.ts} +1 -1
- package/dist/src/base-executor.untyped-89PxfBO_.d.ts.map +1 -0
- package/dist/src/executors/build/executor.js +1 -1
- package/dist/src/executors/build/executor.mjs +1 -1
- package/dist/src/executors/build/untyped.d.ts +2 -2
- package/dist/src/executors/clean/executor.js +1 -1
- package/dist/src/executors/clean/executor.mjs +1 -1
- package/dist/src/executors/clean/untyped.d.mts +2 -2
- package/dist/src/executors/clean/untyped.d.ts +2 -2
- package/dist/src/executors/docs/executor.js +1 -1
- package/dist/src/executors/docs/executor.mjs +1 -1
- package/dist/src/executors/docs/untyped.d.mts +2 -2
- package/dist/src/executors/docs/untyped.d.ts +2 -2
- package/dist/src/executors/lint/executor.js +1 -1
- package/dist/src/executors/lint/executor.mjs +1 -1
- package/dist/src/executors/lint/untyped.d.ts +2 -2
- package/dist/src/executors/prepare/executor.js +1 -1
- package/dist/src/executors/prepare/executor.mjs +1 -1
- package/dist/src/executors/prepare/untyped.d.mts +2 -2
- package/dist/src/executors/prepare/untyped.d.ts +2 -2
- package/dist/src/generators/sync/untyped.d.mts +2 -2
- package/dist/src/generators/sync/untyped.d.ts +2 -2
- package/dist/src/index.d.mts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/src/base-executor-C6v5AHYW.mjs.map +0 -1
- package/dist/src/base-executor-Dw-fhsUi.mjs.map +0 -1
- package/dist/src/base-executor.untyped-B24q82iI.d.ts +0 -7
- package/dist/src/base-executor.untyped-B24q82iI.d.ts.map +0 -1
- package/dist/src/base-executor.untyped-BgwzwrUY.d.mts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "../base-executor.untyped-
|
|
1
|
+
import { t as _default } from "../base-executor.untyped-imww7Gm9.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "../base-executor.untyped-
|
|
1
|
+
import { t as _default } from "../base-executor.untyped-DCiPQvRf.js";
|
|
2
2
|
export = _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-CDMeDnfo.mjs";
|
|
2
|
-
import "../base-executor.untyped-
|
|
2
|
+
import "../base-executor.untyped-imww7Gm9.mjs";
|
|
3
3
|
import "../index-LhFpnU-f.mjs";
|
|
4
4
|
export { PowerlinesExecutorContext, withExecutor };
|
package/dist/src/base/index.js
CHANGED
package/dist/src/base/index.mjs
CHANGED
|
@@ -2019,7 +2019,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2019
2019
|
let path = id;
|
|
2020
2020
|
if (path.includes("{") || path.includes("}")) path = replacePathTokens(this.#context, path);
|
|
2021
2021
|
if (options.skipAlias !== true) path = this.resolveAlias(path);
|
|
2022
|
-
if ((0, __stryke_path_is_type.isAbsolutePath)(path)) return path;
|
|
2022
|
+
if ((0, __stryke_path_is_type.isAbsolutePath)(path) && (!options.isFile || !await this.isDirectory(path))) return path;
|
|
2023
2023
|
const resolverCacheKey = (0, __stryke_hash.murmurhash)({
|
|
2024
2024
|
path: this.#normalizeId(path),
|
|
2025
2025
|
importer,
|
|
@@ -2034,9 +2034,11 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2034
2034
|
if (!result) {
|
|
2035
2035
|
const paths = options.paths ?? [];
|
|
2036
2036
|
if (importer && !paths.includes(importer)) paths.push(importer);
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2037
|
+
if (!importer) {
|
|
2038
|
+
paths.push(this.#context.workspaceConfig.workspaceRoot);
|
|
2039
|
+
paths.push((0, __stryke_path_append.appendPath)(this.#context.config.root, this.#context.workspaceConfig.workspaceRoot));
|
|
2040
|
+
paths.push((0, __stryke_path_append.appendPath)((0, __stryke_path_join.joinPaths)(this.#context.config.root, "src"), this.#context.workspaceConfig.workspaceRoot));
|
|
2041
|
+
}
|
|
2040
2042
|
paths.push(...Object.keys(this.#context.tsconfig?.options?.paths ?? {}).filter((tsconfigPath) => path.startsWith(tsconfigPath.replace(/\*$/, ""))).map((tsconfigPath) => this.#context.tsconfig?.options?.paths?.[tsconfigPath]).flat().filter(Boolean).map((tsconfigPath) => (0, __stryke_path_append.appendPath)(tsconfigPath, this.#context.workspaceConfig.workspaceRoot)));
|
|
2041
2043
|
for (const combination of (0, __stryke_fs_resolve.getResolutionCombinations)(path, { paths })) {
|
|
2042
2044
|
const { relativeKey, adapter } = this.#getStorage(combination);
|
|
@@ -2075,7 +2077,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2075
2077
|
let path = id;
|
|
2076
2078
|
if (path.includes("{") || path.includes("}")) path = replacePathTokens(this.#context, path);
|
|
2077
2079
|
if (options.skipAlias !== true) path = this.resolveAlias(path);
|
|
2078
|
-
if ((0, __stryke_path_is_type.isAbsolutePath)(path)) return path;
|
|
2080
|
+
if ((0, __stryke_path_is_type.isAbsolutePath)(path) && (!options.isFile || !this.isDirectorySync(path))) return path;
|
|
2079
2081
|
let result;
|
|
2080
2082
|
if (!this.#context.config.skipCache) {
|
|
2081
2083
|
result = this.resolverCache.get(this.#normalizeId(path));
|
|
@@ -2085,9 +2087,11 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2085
2087
|
if (!result) {
|
|
2086
2088
|
const paths = options.paths ?? [];
|
|
2087
2089
|
if (importer && !paths.includes(importer)) paths.push(importer);
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2090
|
+
if (!importer) {
|
|
2091
|
+
paths.push(this.#context.workspaceConfig.workspaceRoot);
|
|
2092
|
+
paths.push((0, __stryke_path_append.appendPath)(this.#context.config.root, this.#context.workspaceConfig.workspaceRoot));
|
|
2093
|
+
paths.push((0, __stryke_path_append.appendPath)((0, __stryke_path_join.joinPaths)(this.#context.config.root, "src"), this.#context.workspaceConfig.workspaceRoot));
|
|
2094
|
+
}
|
|
2091
2095
|
paths.push(...Object.keys(this.#context.tsconfig?.options?.paths ?? {}).filter((tsconfigPath) => path.startsWith(tsconfigPath.replace(/\*$/, ""))).map((tsconfigPath) => this.#context.tsconfig?.options?.paths?.[tsconfigPath]).flat().filter(Boolean).map((tsconfigPath) => (0, __stryke_path_append.appendPath)(tsconfigPath, this.#context.workspaceConfig.workspaceRoot)));
|
|
2092
2096
|
for (const combination of (0, __stryke_fs_resolve.getResolutionCombinations)(path, { paths })) {
|
|
2093
2097
|
const { relativeKey, adapter } = this.#getStorage(combination);
|
|
@@ -2013,7 +2013,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2013
2013
|
let path = id;
|
|
2014
2014
|
if (path.includes("{") || path.includes("}")) path = replacePathTokens(this.#context, path);
|
|
2015
2015
|
if (options.skipAlias !== true) path = this.resolveAlias(path);
|
|
2016
|
-
if (isAbsolutePath(path)) return path;
|
|
2016
|
+
if (isAbsolutePath(path) && (!options.isFile || !await this.isDirectory(path))) return path;
|
|
2017
2017
|
const resolverCacheKey = murmurhash({
|
|
2018
2018
|
path: this.#normalizeId(path),
|
|
2019
2019
|
importer,
|
|
@@ -2028,9 +2028,11 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2028
2028
|
if (!result) {
|
|
2029
2029
|
const paths = options.paths ?? [];
|
|
2030
2030
|
if (importer && !paths.includes(importer)) paths.push(importer);
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2031
|
+
if (!importer) {
|
|
2032
|
+
paths.push(this.#context.workspaceConfig.workspaceRoot);
|
|
2033
|
+
paths.push(appendPath(this.#context.config.root, this.#context.workspaceConfig.workspaceRoot));
|
|
2034
|
+
paths.push(appendPath(joinPaths$1(this.#context.config.root, "src"), this.#context.workspaceConfig.workspaceRoot));
|
|
2035
|
+
}
|
|
2034
2036
|
paths.push(...Object.keys(this.#context.tsconfig?.options?.paths ?? {}).filter((tsconfigPath) => path.startsWith(tsconfigPath.replace(/\*$/, ""))).map((tsconfigPath) => this.#context.tsconfig?.options?.paths?.[tsconfigPath]).flat().filter(Boolean).map((tsconfigPath) => appendPath(tsconfigPath, this.#context.workspaceConfig.workspaceRoot)));
|
|
2035
2037
|
for (const combination of getResolutionCombinations(path, { paths })) {
|
|
2036
2038
|
const { relativeKey, adapter } = this.#getStorage(combination);
|
|
@@ -2069,7 +2071,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2069
2071
|
let path = id;
|
|
2070
2072
|
if (path.includes("{") || path.includes("}")) path = replacePathTokens(this.#context, path);
|
|
2071
2073
|
if (options.skipAlias !== true) path = this.resolveAlias(path);
|
|
2072
|
-
if (isAbsolutePath(path)) return path;
|
|
2074
|
+
if (isAbsolutePath(path) && (!options.isFile || !this.isDirectorySync(path))) return path;
|
|
2073
2075
|
let result;
|
|
2074
2076
|
if (!this.#context.config.skipCache) {
|
|
2075
2077
|
result = this.resolverCache.get(this.#normalizeId(path));
|
|
@@ -2079,9 +2081,11 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2079
2081
|
if (!result) {
|
|
2080
2082
|
const paths = options.paths ?? [];
|
|
2081
2083
|
if (importer && !paths.includes(importer)) paths.push(importer);
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2084
|
+
if (!importer) {
|
|
2085
|
+
paths.push(this.#context.workspaceConfig.workspaceRoot);
|
|
2086
|
+
paths.push(appendPath(this.#context.config.root, this.#context.workspaceConfig.workspaceRoot));
|
|
2087
|
+
paths.push(appendPath(joinPaths$1(this.#context.config.root, "src"), this.#context.workspaceConfig.workspaceRoot));
|
|
2088
|
+
}
|
|
2085
2089
|
paths.push(...Object.keys(this.#context.tsconfig?.options?.paths ?? {}).filter((tsconfigPath) => path.startsWith(tsconfigPath.replace(/\*$/, ""))).map((tsconfigPath) => this.#context.tsconfig?.options?.paths?.[tsconfigPath]).flat().filter(Boolean).map((tsconfigPath) => appendPath(tsconfigPath, this.#context.workspaceConfig.workspaceRoot)));
|
|
2086
2090
|
for (const combination of getResolutionCombinations(path, { paths })) {
|
|
2087
2091
|
const { relativeKey, adapter } = this.#getStorage(combination);
|
|
@@ -4800,4 +4804,4 @@ ${error.stack}` : "Unknown error"}`);
|
|
|
4800
4804
|
|
|
4801
4805
|
//#endregion
|
|
4802
4806
|
export { withExecutor as t };
|
|
4803
|
-
//# sourceMappingURL=base-executor-
|
|
4807
|
+
//# sourceMappingURL=base-executor-CY5jqHOT.mjs.map
|