@powerlines/nx 0.11.246 → 0.11.248

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 (65) hide show
  1. package/dist/src/base/base-executor.d.mts +1 -1
  2. package/dist/src/base/base-executor.d.ts +1 -1
  3. package/dist/src/base/base-executor.js +1 -1
  4. package/dist/src/base/base-executor.mjs +1 -1
  5. package/dist/src/base/base-executor.untyped.d.mts +1 -1
  6. package/dist/src/base/base-executor.untyped.d.ts +1 -1
  7. package/dist/src/base/index.d.mts +2 -2
  8. package/dist/src/base/index.d.ts +1 -1
  9. package/dist/src/base/index.js +1 -1
  10. package/dist/src/base/index.mjs +1 -1
  11. package/dist/src/{base-executor-DoBLw1sa.js → base-executor-B8WVPzb0.js} +9 -3
  12. package/dist/src/{base-executor-Df0jJX8Z.mjs → base-executor-CHjvai1Y.mjs} +10 -4
  13. package/dist/src/{base-executor-DBqSh9AW.mjs.map → base-executor-CHjvai1Y.mjs.map} +1 -1
  14. package/dist/src/{base-executor-B0SwjoQs.d.mts → base-executor-CsvdsKIS.d.mts} +4 -1
  15. package/dist/src/base-executor-CsvdsKIS.d.mts.map +1 -0
  16. package/dist/src/{base-executor-vRqvYIfI.d.ts → base-executor-D0Q1wshU.d.ts} +4 -1
  17. package/dist/src/base-executor-D0Q1wshU.d.ts.map +1 -0
  18. package/dist/src/{base-executor-CjQqQXj9.js → base-executor-DvWGUVFO.js} +9 -3
  19. package/dist/src/{base-executor-DBqSh9AW.mjs → base-executor-t0Mn5h-t.mjs} +10 -4
  20. package/dist/src/{base-executor-Df0jJX8Z.mjs.map → base-executor-t0Mn5h-t.mjs.map} +1 -1
  21. package/dist/src/base-executor.untyped-BULLZb4S.d.ts +7 -0
  22. package/dist/src/base-executor.untyped-BULLZb4S.d.ts.map +1 -0
  23. package/dist/src/base-executor.untyped-Dh9l8ijM.d.mts +7 -0
  24. package/dist/src/base-executor.untyped-Dh9l8ijM.d.mts.map +1 -0
  25. package/dist/src/executors/build/executor.d.mts +1 -1
  26. package/dist/src/executors/build/executor.d.ts +1 -1
  27. package/dist/src/executors/build/executor.js +1 -1
  28. package/dist/src/executors/build/executor.mjs +1 -1
  29. package/dist/src/executors/build/untyped.d.mts +2 -2
  30. package/dist/src/executors/clean/executor.d.mts +1 -1
  31. package/dist/src/executors/clean/executor.d.ts +1 -1
  32. package/dist/src/executors/clean/executor.js +1 -1
  33. package/dist/src/executors/clean/executor.mjs +1 -1
  34. package/dist/src/executors/clean/untyped.d.mts +2 -2
  35. package/dist/src/executors/clean/untyped.d.ts +2 -2
  36. package/dist/src/executors/docs/executor.d.mts +1 -1
  37. package/dist/src/executors/docs/executor.d.ts +1 -1
  38. package/dist/src/executors/docs/executor.js +1 -1
  39. package/dist/src/executors/docs/executor.mjs +1 -1
  40. package/dist/src/executors/docs/untyped.d.mts +2 -2
  41. package/dist/src/executors/docs/untyped.d.ts +2 -2
  42. package/dist/src/executors/lint/executor.d.mts +1 -1
  43. package/dist/src/executors/lint/executor.d.ts +1 -1
  44. package/dist/src/executors/lint/executor.js +1 -1
  45. package/dist/src/executors/lint/executor.mjs +1 -1
  46. package/dist/src/executors/lint/untyped.d.mts +2 -2
  47. package/dist/src/executors/prepare/executor.d.mts +1 -1
  48. package/dist/src/executors/prepare/executor.d.ts +1 -1
  49. package/dist/src/executors/prepare/executor.js +1 -1
  50. package/dist/src/executors/prepare/executor.mjs +1 -1
  51. package/dist/src/executors/prepare/untyped.d.mts +2 -2
  52. package/dist/src/executors/prepare/untyped.d.ts +2 -2
  53. package/dist/src/generators/sync/untyped.d.mts +2 -2
  54. package/dist/src/generators/sync/untyped.d.ts +2 -2
  55. package/dist/src/index.d.mts +2 -2
  56. package/dist/src/index.d.ts +1 -1
  57. package/dist/src/index.js +1 -1
  58. package/dist/src/index.mjs +1 -1
  59. package/package.json +10 -10
  60. package/dist/src/base-executor-B0SwjoQs.d.mts.map +0 -1
  61. package/dist/src/base-executor-vRqvYIfI.d.ts.map +0 -1
  62. package/dist/src/base-executor.untyped-BOvdnsUw.d.mts +0 -7
  63. package/dist/src/base-executor.untyped-BOvdnsUw.d.mts.map +0 -1
  64. package/dist/src/base-executor.untyped-DCiPQvRf.d.ts +0 -7
  65. package/dist/src/base-executor.untyped-DCiPQvRf.d.ts.map +0 -1
@@ -1,2 +1,2 @@
1
- import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-B0SwjoQs.mjs";
1
+ import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-CsvdsKIS.mjs";
2
2
  export { PowerlinesExecutorContext, withExecutor };
@@ -1,2 +1,2 @@
1
- import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-vRqvYIfI.js";
1
+ import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-D0Q1wshU.js";
2
2
  export { PowerlinesExecutorContext, withExecutor };
@@ -1,4 +1,4 @@
1
1
  require('../config-CGQhS8tm.js');
2
- const require_base_executor = require('../base-executor-DoBLw1sa.js');
2
+ const require_base_executor = require('../base-executor-DvWGUVFO.js');
3
3
 
4
4
  exports.withExecutor = require_base_executor.withExecutor;
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../base-executor-DBqSh9AW.mjs";
1
+ import { t as withExecutor } from "../base-executor-CHjvai1Y.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-Dh9l8ijM.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-BULLZb4S.js";
2
2
  export = _default;
@@ -1,4 +1,4 @@
1
- import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-B0SwjoQs.mjs";
2
- import "../base-executor.untyped-imww7Gm9.mjs";
1
+ import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-CsvdsKIS.mjs";
2
+ import "../base-executor.untyped-Dh9l8ijM.mjs";
3
3
  import "../index-LhFpnU-f.mjs";
4
4
  export { PowerlinesExecutorContext, withExecutor };
@@ -1,2 +1,2 @@
1
- import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-vRqvYIfI.js";
1
+ import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-D0Q1wshU.js";
2
2
  export { PowerlinesExecutorContext, withExecutor };
@@ -1,5 +1,5 @@
1
1
  require('../config-CGQhS8tm.js');
2
- const require_base_executor = require('../base-executor-DoBLw1sa.js');
2
+ const require_base_executor = require('../base-executor-DvWGUVFO.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-DBqSh9AW.mjs";
1
+ import { t as withExecutor } from "../base-executor-CHjvai1Y.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.5";
87
+ var version = "0.40.6";
88
88
 
89
89
  //#endregion
90
90
  //#region ../powerlines/src/typescript/ts-morph.ts
@@ -3204,7 +3204,13 @@ var PowerlinesContext = class PowerlinesContext {
3204
3204
  } else if ((0, __stryke_type_checks_is_set_object.isSetObject)(this.config.resolve.alias) && this.config.resolve.alias[id]) moduleId = this.config.resolve.alias[id];
3205
3205
  }
3206
3206
  if (this.fs.isVirtual(moduleId) || importer && this.fs.isVirtual(importer)) {
3207
- const result = await this.fs.resolve(moduleId, importer, {
3207
+ let resolvedImporter = importer;
3208
+ if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, {
3209
+ conditions: this.config.resolve.conditions,
3210
+ extensions: this.config.resolve.extensions,
3211
+ ...options
3212
+ });
3213
+ const result = await this.fs.resolve(moduleId, resolvedImporter, {
3208
3214
  conditions: this.config.resolve.conditions,
3209
3215
  extensions: this.config.resolve.extensions,
3210
3216
  ...options
@@ -3212,7 +3218,7 @@ var PowerlinesContext = class PowerlinesContext {
3212
3218
  if (!result) return;
3213
3219
  return {
3214
3220
  id: result,
3215
- external: this.config.projectType !== "application"
3221
+ external: !(0, bundle_require.match)(moduleId, this.config.resolve.noExternal) && ((0, bundle_require.match)(moduleId, this.config.resolve.external) || moduleId.startsWith("node:") || this.fs.isVirtual(moduleId) && this.config.projectType !== "application" || this.config.resolve.skipNodeModulesBundle && !/^[A-Z]:[/\\]|^\.{0,2}\/|^\.{1,2}$/.test(moduleId))
3216
3222
  };
3217
3223
  }
3218
3224
  if (this.config.resolve.skipNodeModulesBundle) {
@@ -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.4";
81
+ var version = "0.40.7";
82
82
 
83
83
  //#endregion
84
84
  //#region ../powerlines/src/typescript/ts-morph.ts
@@ -3198,7 +3198,13 @@ var PowerlinesContext = class PowerlinesContext {
3198
3198
  } else if (isSetObject(this.config.resolve.alias) && this.config.resolve.alias[id]) moduleId = this.config.resolve.alias[id];
3199
3199
  }
3200
3200
  if (this.fs.isVirtual(moduleId) || importer && this.fs.isVirtual(importer)) {
3201
- const result = await this.fs.resolve(moduleId, importer, {
3201
+ let resolvedImporter = importer;
3202
+ if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, {
3203
+ conditions: this.config.resolve.conditions,
3204
+ extensions: this.config.resolve.extensions,
3205
+ ...options
3206
+ });
3207
+ const result = await this.fs.resolve(moduleId, resolvedImporter, {
3202
3208
  conditions: this.config.resolve.conditions,
3203
3209
  extensions: this.config.resolve.extensions,
3204
3210
  ...options
@@ -3206,7 +3212,7 @@ var PowerlinesContext = class PowerlinesContext {
3206
3212
  if (!result) return;
3207
3213
  return {
3208
3214
  id: result,
3209
- external: this.config.projectType !== "application"
3215
+ external: !match(moduleId, this.config.resolve.noExternal) && (match(moduleId, this.config.resolve.external) || moduleId.startsWith("node:") || this.fs.isVirtual(moduleId) && this.config.projectType !== "application" || this.config.resolve.skipNodeModulesBundle && !/^[A-Z]:[/\\]|^\.{0,2}\/|^\.{1,2}$/.test(moduleId))
3210
3216
  };
3211
3217
  }
3212
3218
  if (this.config.resolve.skipNodeModulesBundle) {
@@ -4730,4 +4736,4 @@ ${error.stack}` : "Unknown error"}`);
4730
4736
 
4731
4737
  //#endregion
4732
4738
  export { withExecutor as t };
4733
- //# sourceMappingURL=base-executor-Df0jJX8Z.mjs.map
4739
+ //# sourceMappingURL=base-executor-CHjvai1Y.mjs.map