@powerlines/nx 0.11.251 → 0.11.253

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 (45) 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/base-executor.untyped.d.mts +1 -1
  4. package/dist/src/base/base-executor.untyped.d.ts +1 -1
  5. package/dist/src/base/index.d.mts +1 -1
  6. package/dist/src/base/index.js +1 -1
  7. package/dist/src/base/index.mjs +1 -1
  8. package/dist/src/{base-executor-CHSFUzU2.js → base-executor-BWwpclQE.js} +17 -13
  9. package/dist/src/{base-executor-BKsk8XnS.mjs → base-executor-C6v5AHYW.mjs} +18 -14
  10. package/dist/src/base-executor-C6v5AHYW.mjs.map +1 -0
  11. package/dist/src/{base-executor-Cz9W2UYJ.js → base-executor-DpQbYOg0.js} +17 -13
  12. package/dist/src/{base-executor-DRwCR9D_.mjs → base-executor-Dw-fhsUi.mjs} +18 -14
  13. package/dist/src/base-executor-Dw-fhsUi.mjs.map +1 -0
  14. package/dist/src/base-executor.untyped-B24q82iI.d.ts +7 -0
  15. package/dist/src/base-executor.untyped-B24q82iI.d.ts.map +1 -0
  16. package/dist/src/base-executor.untyped-BgwzwrUY.d.mts +7 -0
  17. package/dist/src/base-executor.untyped-BgwzwrUY.d.mts.map +1 -0
  18. package/dist/src/executors/build/executor.js +1 -1
  19. package/dist/src/executors/build/executor.mjs +1 -1
  20. package/dist/src/executors/build/untyped.d.ts +2 -2
  21. package/dist/src/executors/clean/executor.js +1 -1
  22. package/dist/src/executors/clean/executor.mjs +1 -1
  23. package/dist/src/executors/clean/untyped.d.mts +2 -2
  24. package/dist/src/executors/clean/untyped.d.ts +2 -2
  25. package/dist/src/executors/docs/executor.js +1 -1
  26. package/dist/src/executors/docs/executor.mjs +1 -1
  27. package/dist/src/executors/docs/untyped.d.mts +2 -2
  28. package/dist/src/executors/docs/untyped.d.ts +2 -2
  29. package/dist/src/executors/lint/executor.js +1 -1
  30. package/dist/src/executors/lint/executor.mjs +1 -1
  31. package/dist/src/executors/lint/untyped.d.mts +2 -2
  32. package/dist/src/executors/prepare/executor.js +1 -1
  33. package/dist/src/executors/prepare/executor.mjs +1 -1
  34. package/dist/src/executors/prepare/untyped.d.mts +2 -2
  35. package/dist/src/executors/prepare/untyped.d.ts +2 -2
  36. package/dist/src/generators/sync/untyped.d.mts +2 -2
  37. package/dist/src/generators/sync/untyped.d.ts +2 -2
  38. package/dist/src/index.d.mts +1 -1
  39. package/dist/src/index.js +1 -1
  40. package/dist/src/index.mjs +1 -1
  41. package/package.json +9 -9
  42. package/dist/src/base-executor-BKsk8XnS.mjs.map +0 -1
  43. package/dist/src/base-executor-DRwCR9D_.mjs.map +0 -1
  44. package/dist/src/base-executor.untyped-BULLZb4S.d.ts +0 -7
  45. 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-BWwpclQE.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-Dw-fhsUi.mjs";
2
2
  import "../config-LoR-NIJg.mjs";
3
3
 
4
4
  export { withExecutor };
@@ -1,2 +1,2 @@
1
- import { t as _default } from "../base-executor.untyped-imww7Gm9.mjs";
1
+ import { t as _default } from "../base-executor.untyped-BgwzwrUY.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as _default } from "../base-executor.untyped-DCiPQvRf.js";
1
+ import { t as _default } from "../base-executor.untyped-B24q82iI.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-imww7Gm9.mjs";
2
+ import "../base-executor.untyped-BgwzwrUY.mjs";
3
3
  import "../index-LhFpnU-f.mjs";
4
4
  export { PowerlinesExecutorContext, 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-BWwpclQE.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-Dw-fhsUi.mjs";
2
2
  import "../config-LoR-NIJg.mjs";
3
3
  import "../base-executor.untyped-C1pQETnQ.mjs";
4
4
  import "../base-BRSa-clf.mjs";
@@ -84,7 +84,7 @@ let node_path = require("node:path");
84
84
  require("unplugin");
85
85
 
86
86
  //#region ../powerlines/package.json
87
- var version = "0.40.9";
87
+ var version = "0.40.12";
88
88
 
89
89
  //#endregion
90
90
  //#region ../powerlines/src/typescript/ts-morph.ts
@@ -2728,15 +2728,17 @@ var VirtualFileSystem = class VirtualFileSystem {
2728
2728
  * @returns A promise that resolves to the resolved module path.
2729
2729
  */
2730
2730
  async resolve(id, importer, options = {}) {
2731
- let result = await this.#innerResolve(id, importer, options);
2732
- if (result && options.isFile && await this.isDirectory(result) && !(0, __stryke_path_file_path_fns.hasFileExtension)(result)) {
2733
- for (const ext of DEFAULT_EXTENSIONS) {
2734
- result = await this.resolve(`${result}.${ext}`, importer, options);
2735
- if (result) return result;
2731
+ const origResult = await this.#innerResolve(id, importer, options);
2732
+ if (origResult && options.isFile && await this.isDirectory(origResult)) {
2733
+ const indexResult = await this.resolve((0, __stryke_path_join.joinPaths)(origResult, "index"), importer, options);
2734
+ if (indexResult) return indexResult;
2735
+ if (!(0, __stryke_path_file_path_fns.hasFileExtension)(origResult)) for (const ext of DEFAULT_EXTENSIONS) {
2736
+ const extResult = await this.resolve(`${origResult}.${ext}`, importer, options);
2737
+ if (extResult) return extResult;
2736
2738
  }
2737
2739
  return;
2738
2740
  }
2739
- return result;
2741
+ return origResult;
2740
2742
  }
2741
2743
  /**
2742
2744
  * A synchronous helper function to resolve modules using the Jiti resolver
@@ -2755,15 +2757,17 @@ var VirtualFileSystem = class VirtualFileSystem {
2755
2757
  * @returns The resolved module path.
2756
2758
  */
2757
2759
  resolveSync(id, importer, options = {}) {
2758
- let result = this.#innerResolveSync(id, importer, options);
2759
- if (result && options.isFile && this.isDirectorySync(result) && !(0, __stryke_path_file_path_fns.hasFileExtension)(result)) {
2760
- for (const ext of DEFAULT_EXTENSIONS) {
2761
- result = this.resolveSync(`${result}.${ext}`, importer, options);
2762
- if (result) return result;
2760
+ const origResult = this.#innerResolveSync(id, importer, options);
2761
+ if (origResult && options.isFile && this.isDirectorySync(origResult)) {
2762
+ const indexResult = this.resolveSync((0, __stryke_path_join.joinPaths)(origResult, "index"), importer, options);
2763
+ if (indexResult) return indexResult;
2764
+ if (!(0, __stryke_path_file_path_fns.hasFileExtension)(origResult)) for (const ext of DEFAULT_EXTENSIONS) {
2765
+ const extResult = this.resolveSync(`${origResult}.${ext}`, importer, options);
2766
+ if (extResult) return extResult;
2763
2767
  }
2764
2768
  return;
2765
2769
  }
2766
- return result;
2770
+ return origResult;
2767
2771
  }
2768
2772
  /**
2769
2773
  * Disposes of the virtual file system (VFS) by saving its state to disk.
@@ -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.10";
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-BKsk8XnS.mjs.map
4803
+ //# sourceMappingURL=base-executor-C6v5AHYW.mjs.map