@powerlines/nx 0.11.251 → 0.11.252
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/index.js +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/{base-executor-DRwCR9D_.mjs → base-executor-C6v5AHYW.mjs} +18 -14
- package/dist/src/base-executor-C6v5AHYW.mjs.map +1 -0
- package/dist/src/{base-executor-Cz9W2UYJ.js → base-executor-CYwhd1QJ.js} +16 -12
- package/dist/src/{base-executor-CHSFUzU2.js → base-executor-DpQbYOg0.js} +17 -13
- package/dist/src/{base-executor-BKsk8XnS.mjs → base-executor-DuE-P1yw.mjs} +17 -13
- package/dist/src/base-executor-DuE-P1yw.mjs.map +1 -0
- package/dist/src/base-executor.untyped-BOvdnsUw.d.mts +7 -0
- package/dist/src/base-executor.untyped-BOvdnsUw.d.mts.map +1 -0
- package/dist/src/base-executor.untyped-BVblCsuG.d.ts +7 -0
- package/dist/src/base-executor.untyped-BVblCsuG.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.mts +2 -2
- 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/docs/executor.js +1 -1
- package/dist/src/executors/docs/executor.mjs +1 -1
- 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.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/generators/sync/untyped.d.mts +2 -2
- package/dist/src/generators/sync/untyped.d.ts +2 -2
- package/dist/src/index.js +1 -1
- package/dist/src/index.mjs +1 -1
- package/package.json +9 -9
- package/dist/src/base-executor-BKsk8XnS.mjs.map +0 -1
- package/dist/src/base-executor-DRwCR9D_.mjs.map +0 -1
- package/dist/src/base-executor.untyped-BULLZb4S.d.ts +0 -7
- package/dist/src/base-executor.untyped-BULLZb4S.d.ts.map +0 -1
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.11";
|
|
82
82
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region ../powerlines/src/typescript/ts-morph.ts
|
|
@@ -2722,15 +2722,17 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2722
2722
|
* @returns A promise that resolves to the resolved module path.
|
|
2723
2723
|
*/
|
|
2724
2724
|
async resolve(id, importer, options = {}) {
|
|
2725
|
-
|
|
2726
|
-
if (
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2725
|
+
const origResult = await this.#innerResolve(id, importer, options);
|
|
2726
|
+
if (origResult && options.isFile && await this.isDirectory(origResult)) {
|
|
2727
|
+
const indexResult = await this.resolve(joinPaths$1(origResult, "index"), importer, options);
|
|
2728
|
+
if (indexResult) return indexResult;
|
|
2729
|
+
if (!hasFileExtension(origResult)) for (const ext of DEFAULT_EXTENSIONS) {
|
|
2730
|
+
const extResult = await this.resolve(`${origResult}.${ext}`, importer, options);
|
|
2731
|
+
if (extResult) return extResult;
|
|
2730
2732
|
}
|
|
2731
2733
|
return;
|
|
2732
2734
|
}
|
|
2733
|
-
return
|
|
2735
|
+
return origResult;
|
|
2734
2736
|
}
|
|
2735
2737
|
/**
|
|
2736
2738
|
* A synchronous helper function to resolve modules using the Jiti resolver
|
|
@@ -2749,15 +2751,17 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
2749
2751
|
* @returns The resolved module path.
|
|
2750
2752
|
*/
|
|
2751
2753
|
resolveSync(id, importer, options = {}) {
|
|
2752
|
-
|
|
2753
|
-
if (
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2754
|
+
const origResult = this.#innerResolveSync(id, importer, options);
|
|
2755
|
+
if (origResult && options.isFile && this.isDirectorySync(origResult)) {
|
|
2756
|
+
const indexResult = this.resolveSync(joinPaths$1(origResult, "index"), importer, options);
|
|
2757
|
+
if (indexResult) return indexResult;
|
|
2758
|
+
if (!hasFileExtension(origResult)) for (const ext of DEFAULT_EXTENSIONS) {
|
|
2759
|
+
const extResult = this.resolveSync(`${origResult}.${ext}`, importer, options);
|
|
2760
|
+
if (extResult) return extResult;
|
|
2757
2761
|
}
|
|
2758
2762
|
return;
|
|
2759
2763
|
}
|
|
2760
|
-
return
|
|
2764
|
+
return origResult;
|
|
2761
2765
|
}
|
|
2762
2766
|
/**
|
|
2763
2767
|
* Disposes of the virtual file system (VFS) by saving its state to disk.
|
|
@@ -4796,4 +4800,4 @@ ${error.stack}` : "Unknown error"}`);
|
|
|
4796
4800
|
|
|
4797
4801
|
//#endregion
|
|
4798
4802
|
export { withExecutor as t };
|
|
4799
|
-
//# sourceMappingURL=base-executor-
|
|
4803
|
+
//# sourceMappingURL=base-executor-C6v5AHYW.mjs.map
|