@powerlines/nx 0.11.247 → 0.11.249

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 (33) 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-BaD_2qFr.mjs → base-executor-CHjvai1Y.mjs} +10 -4
  6. package/dist/src/{base-executor-DBqSh9AW.mjs.map → base-executor-CHjvai1Y.mjs.map} +1 -1
  7. package/dist/src/{base-executor-DBqSh9AW.mjs → base-executor-CTLK6Wbz.mjs} +10 -4
  8. package/dist/src/{base-executor-BaD_2qFr.mjs.map → base-executor-CTLK6Wbz.mjs.map} +1 -1
  9. package/dist/src/{base-executor-DoBLw1sa.js → base-executor-DR0O1sPf.js} +9 -3
  10. package/dist/src/{base-executor-CH1NW4LH.js → base-executor-DvWGUVFO.js} +9 -3
  11. package/dist/src/executors/build/executor.js +1 -1
  12. package/dist/src/executors/build/executor.mjs +1 -1
  13. package/dist/src/executors/build/untyped.d.mts +2 -2
  14. package/dist/src/executors/build/untyped.d.ts +2 -2
  15. package/dist/src/executors/clean/executor.js +1 -1
  16. package/dist/src/executors/clean/executor.mjs +1 -1
  17. package/dist/src/executors/clean/untyped.d.mts +2 -2
  18. package/dist/src/executors/clean/untyped.d.ts +2 -2
  19. package/dist/src/executors/docs/executor.js +1 -1
  20. package/dist/src/executors/docs/executor.mjs +1 -1
  21. package/dist/src/executors/docs/untyped.d.mts +2 -2
  22. package/dist/src/executors/docs/untyped.d.ts +2 -2
  23. package/dist/src/executors/lint/executor.js +1 -1
  24. package/dist/src/executors/lint/executor.mjs +1 -1
  25. package/dist/src/executors/lint/untyped.d.mts +2 -2
  26. package/dist/src/executors/lint/untyped.d.ts +2 -2
  27. package/dist/src/executors/prepare/executor.js +1 -1
  28. package/dist/src/executors/prepare/executor.mjs +1 -1
  29. package/dist/src/executors/prepare/untyped.d.mts +2 -2
  30. package/dist/src/executors/prepare/untyped.d.ts +2 -2
  31. package/dist/src/index.js +1 -1
  32. package/dist/src/index.mjs +1 -1
  33. package/package.json +11 -10
@@ -1,4 +1,4 @@
1
1
  require('../config-CGQhS8tm.js');
2
- const require_base_executor = require('../base-executor-CH1NW4LH.js');
2
+ const require_base_executor = require('../base-executor-DR0O1sPf.js');
3
3
 
4
4
  exports.withExecutor = require_base_executor.withExecutor;
@@ -1,4 +1,4 @@
1
- import { t as withExecutor } from "../base-executor-BaD_2qFr.mjs";
1
+ import { t as withExecutor } from "../base-executor-CTLK6Wbz.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-CH1NW4LH.js');
2
+ const require_base_executor = require('../base-executor-DR0O1sPf.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-BaD_2qFr.mjs";
1
+ import { t as withExecutor } from "../base-executor-CTLK6Wbz.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.6";
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-BaD_2qFr.mjs.map
4739
+ //# sourceMappingURL=base-executor-CHjvai1Y.mjs.map