@powerlines/nx 0.11.253 → 0.11.255
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-C6v5AHYW.mjs → base-executor-C5zOSF8G.mjs} +14 -10
- package/dist/src/base-executor-C5zOSF8G.mjs.map +1 -0
- package/dist/src/base-executor-CDMeDnfo.d.mts.map +1 -1
- package/dist/src/{base-executor-Dw-fhsUi.mjs → base-executor-DkPqPuGO.mjs} +14 -10
- package/dist/src/base-executor-DkPqPuGO.mjs.map +1 -0
- package/dist/src/{base-executor-BWwpclQE.js → base-executor-DqLkQwd_.js} +13 -9
- package/dist/src/{base-executor-DpQbYOg0.js → base-executor-tq_hb0zU.js} +13 -9
- package/dist/src/base-executor.untyped-DBccuF6E.d.ts +7 -0
- package/dist/src/base-executor.untyped-DBccuF6E.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/lint/executor.js +1 -1
- package/dist/src/executors/lint/executor.mjs +1 -1
- package/dist/src/executors/lint/untyped.d.mts +2 -2
- 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/generators/sync/untyped.d.mts +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 +0 -7
- 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
|
@@ -78,7 +78,7 @@ import { resolve as resolve$1 } from "node:path";
|
|
|
78
78
|
import "unplugin";
|
|
79
79
|
|
|
80
80
|
//#region ../powerlines/package.json
|
|
81
|
-
var version = "0.40.
|
|
81
|
+
var version = "0.40.14";
|
|
82
82
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region ../powerlines/src/typescript/ts-morph.ts
|
|
@@ -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-C5zOSF8G.mjs.map
|