@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.
Files changed (39) hide show
  1. package/dist/src/base/base-executor.js +1 -1
  2. package/dist/src/base/base-executor.mjs +1 -1
  3. package/dist/src/base/index.js +1 -1
  4. package/dist/src/base/index.mjs +1 -1
  5. package/dist/src/{base-executor-DRwCR9D_.mjs → base-executor-C6v5AHYW.mjs} +18 -14
  6. package/dist/src/base-executor-C6v5AHYW.mjs.map +1 -0
  7. package/dist/src/{base-executor-Cz9W2UYJ.js → base-executor-CYwhd1QJ.js} +16 -12
  8. package/dist/src/{base-executor-CHSFUzU2.js → base-executor-DpQbYOg0.js} +17 -13
  9. package/dist/src/{base-executor-BKsk8XnS.mjs → base-executor-DuE-P1yw.mjs} +17 -13
  10. package/dist/src/base-executor-DuE-P1yw.mjs.map +1 -0
  11. package/dist/src/base-executor.untyped-BOvdnsUw.d.mts +7 -0
  12. package/dist/src/base-executor.untyped-BOvdnsUw.d.mts.map +1 -0
  13. package/dist/src/base-executor.untyped-BVblCsuG.d.ts +7 -0
  14. package/dist/src/base-executor.untyped-BVblCsuG.d.ts.map +1 -0
  15. package/dist/src/executors/build/executor.js +1 -1
  16. package/dist/src/executors/build/executor.mjs +1 -1
  17. package/dist/src/executors/build/untyped.d.mts +2 -2
  18. package/dist/src/executors/build/untyped.d.ts +2 -2
  19. package/dist/src/executors/clean/executor.js +1 -1
  20. package/dist/src/executors/clean/executor.mjs +1 -1
  21. package/dist/src/executors/clean/untyped.d.mts +2 -2
  22. package/dist/src/executors/docs/executor.js +1 -1
  23. package/dist/src/executors/docs/executor.mjs +1 -1
  24. package/dist/src/executors/docs/untyped.d.ts +2 -2
  25. package/dist/src/executors/lint/executor.js +1 -1
  26. package/dist/src/executors/lint/executor.mjs +1 -1
  27. package/dist/src/executors/lint/untyped.d.mts +2 -2
  28. package/dist/src/executors/lint/untyped.d.ts +2 -2
  29. package/dist/src/executors/prepare/executor.js +1 -1
  30. package/dist/src/executors/prepare/executor.mjs +1 -1
  31. package/dist/src/generators/sync/untyped.d.mts +2 -2
  32. package/dist/src/generators/sync/untyped.d.ts +2 -2
  33. package/dist/src/index.js +1 -1
  34. package/dist/src/index.mjs +1 -1
  35. package/package.json +9 -9
  36. package/dist/src/base-executor-BKsk8XnS.mjs.map +0 -1
  37. package/dist/src/base-executor-DRwCR9D_.mjs.map +0 -1
  38. package/dist/src/base-executor.untyped-BULLZb4S.d.ts +0 -7
  39. package/dist/src/base-executor.untyped-BULLZb4S.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
1
  require('../config-CGQhS8tm.js');
2
- const require_base_executor = require('../base-executor-Cz9W2UYJ.js');
2
+ const require_base_executor = require('../base-executor-DpQbYOg0.js');
3
3
 
4
4
  exports.withExecutor = require_base_executor.withExecutor;
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../base-executor-BKsk8XnS.mjs";
1
+ import { t as withExecutor } from "../base-executor-C6v5AHYW.mjs";
2
2
  import "../config-LoR-NIJg.mjs";
3
3
 
4
4
  export { withExecutor };
@@ -1,5 +1,5 @@
1
1
  require('../config-CGQhS8tm.js');
2
- const require_base_executor = require('../base-executor-Cz9W2UYJ.js');
2
+ const require_base_executor = require('../base-executor-DpQbYOg0.js');
3
3
  require('../base-executor.untyped-Cz1Zw_02.js');
4
4
  require('../base-B7jekb-W.js');
5
5
 
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../base-executor-BKsk8XnS.mjs";
1
+ import { t as withExecutor } from "../base-executor-C6v5AHYW.mjs";
2
2
  import "../config-LoR-NIJg.mjs";
3
3
  import "../base-executor.untyped-C1pQETnQ.mjs";
4
4
  import "../base-BRSa-clf.mjs";
@@ -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.9";
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
- let result = await this.#innerResolve(id, importer, options);
2726
- if (result && options.isFile && await this.isDirectory(result) && !hasFileExtension(result)) {
2727
- for (const ext of DEFAULT_EXTENSIONS) {
2728
- result = await this.resolve(`${result}.${ext}`, importer, options);
2729
- if (result) return result;
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 result;
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
- let result = this.#innerResolveSync(id, importer, options);
2753
- if (result && options.isFile && this.isDirectorySync(result) && !hasFileExtension(result)) {
2754
- for (const ext of DEFAULT_EXTENSIONS) {
2755
- result = this.resolveSync(`${result}.${ext}`, importer, options);
2756
- if (result) return result;
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 result;
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-DRwCR9D_.mjs.map
4803
+ //# sourceMappingURL=base-executor-C6v5AHYW.mjs.map