@powerlines/nx 0.11.182 → 0.11.184

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 (30) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{chunk-PDF4OWTD.js → chunk-4J3FENED.js} +2 -2
  3. package/dist/{chunk-A5GK7UJA.mjs → chunk-5R4PN2WS.mjs} +1 -1
  4. package/dist/{chunk-UIKSAHPT.js → chunk-D6A54BO4.js} +2 -2
  5. package/dist/{chunk-SYXAOMY6.js → chunk-FOCKPVUS.js} +2 -2
  6. package/dist/{chunk-CT7KP44P.mjs → chunk-IDTZQ2QP.mjs} +1 -1
  7. package/dist/{chunk-RNNTLWEV.mjs → chunk-IGVFWCLJ.mjs} +39 -30
  8. package/dist/{chunk-3M7ZD6TG.mjs → chunk-JQNH6TEL.mjs} +1 -1
  9. package/dist/{chunk-CGLI2MBY.mjs → chunk-MDGIGMNC.mjs} +1 -1
  10. package/dist/{chunk-UCKOLJ5H.js → chunk-OMCZUGKP.js} +2 -2
  11. package/dist/{chunk-QKIZROD4.js → chunk-P32KNOXV.js} +39 -30
  12. package/dist/{chunk-DGXVCBJX.js → chunk-V7MNDRJB.js} +2 -2
  13. package/dist/{chunk-LFZVTAK3.mjs → chunk-W7TZQI6B.mjs} +1 -1
  14. package/dist/executors.js +11 -11
  15. package/dist/executors.mjs +6 -6
  16. package/dist/index.js +11 -11
  17. package/dist/index.mjs +6 -6
  18. package/dist/src/base/base-executor.js +2 -2
  19. package/dist/src/base/base-executor.mjs +1 -1
  20. package/dist/src/executors/build/executor.js +4 -4
  21. package/dist/src/executors/build/executor.mjs +2 -2
  22. package/dist/src/executors/clean/executor.js +4 -4
  23. package/dist/src/executors/clean/executor.mjs +2 -2
  24. package/dist/src/executors/docs/executor.js +4 -4
  25. package/dist/src/executors/docs/executor.mjs +2 -2
  26. package/dist/src/executors/lint/executor.js +4 -4
  27. package/dist/src/executors/lint/executor.mjs +2 -2
  28. package/dist/src/executors/prepare/executor.js +4 -4
  29. package/dist/src/executors/prepare/executor.mjs +2 -2
  30. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  # Changelog for Powerlines - Nx
4
4
 
5
+ ## [0.11.183](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.183) (01/30/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **powerlines** to **v0.38.23**
10
+
11
+ ## [0.11.182](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.182) (01/30/2026)
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **powerlines** to **v0.38.22**
16
+
5
17
  ## [0.11.181](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.181) (01/30/2026)
6
18
 
7
19
  ### Updated Dependencies
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('./chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('./chunk-P32KNOXV.js');
4
4
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
5
 
6
6
  // src/executors/clean/executor.ts
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
11
11
  };
12
12
  }
13
13
  chunkSHUYVCID_js.__name(executorFn, "executorFn");
14
- var executor = chunkQKIZROD4_js.withExecutor("clean", executorFn);
14
+ var executor = chunkP32KNOXV_js.withExecutor("clean", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-RNNTLWEV.mjs';
1
+ import { withExecutor } from './chunk-IGVFWCLJ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('./chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('./chunk-P32KNOXV.js');
4
4
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
5
  var defu = require('defu');
6
6
 
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
19
19
  };
20
20
  }
21
21
  chunkSHUYVCID_js.__name(executorFn, "executorFn");
22
- var executor = chunkQKIZROD4_js.withExecutor("prepare", executorFn);
22
+ var executor = chunkP32KNOXV_js.withExecutor("prepare", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('./chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('./chunk-P32KNOXV.js');
4
4
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
5
 
6
6
  // src/executors/docs/executor.ts
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
11
11
  };
12
12
  }
13
13
  chunkSHUYVCID_js.__name(executorFn, "executorFn");
14
- var executor = chunkQKIZROD4_js.withExecutor("docs", executorFn);
14
+ var executor = chunkP32KNOXV_js.withExecutor("docs", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-RNNTLWEV.mjs';
1
+ import { withExecutor } from './chunk-IGVFWCLJ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
@@ -75,7 +75,7 @@ import { resolve } from 'node:path';
75
75
 
76
76
  // ../powerlines/package.json
77
77
  var package_default = {
78
- version: "0.38.21"};
78
+ version: "0.38.23"};
79
79
  var VirtualFileSystemHost = class extends InMemoryFileSystemHost {
80
80
  static {
81
81
  __name(this, "VirtualFileSystemHost");
@@ -1367,7 +1367,10 @@ var BaseStorageAdapter = class {
1367
1367
  * @param key - The key to resolve.
1368
1368
  * @returns The resolved full path for the key.
1369
1369
  */
1370
- resolve(key = this.options.base) {
1370
+ resolve(key) {
1371
+ if (!key) {
1372
+ return this.options.base;
1373
+ }
1371
1374
  if (/\.\.:|\.\.$/.test(key)) {
1372
1375
  throw new Error(`[${this.name}]: Invalid key: ${JSON.stringify(key)} provided to storage adapter.`);
1373
1376
  }
@@ -1713,18 +1716,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1713
1716
  * @param key - The key to get the storage adapter for.
1714
1717
  * @returns The storage adapter and relative key for the given key.
1715
1718
  */
1716
- #getStorage(key) {
1717
- const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
1718
- if (found) {
1719
- return {
1720
- base: found[0],
1721
- relativeKey: "",
1722
- adapter: found[1]
1723
- };
1724
- }
1719
+ #getStorage(key, preset) {
1725
1720
  const path = this.resolveSync(this.#normalizePath(key)) || key;
1726
1721
  for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
1727
- if (isParentPath(path, base)) {
1722
+ if ((path === base || isParentPath(path, base)) && (!preset || this.#storage[base]?.preset?.toLowerCase() === preset.toLowerCase())) {
1728
1723
  return {
1729
1724
  base,
1730
1725
  relativeKey: replacePath(path, base),
@@ -1732,10 +1727,22 @@ var VirtualFileSystem = class _VirtualFileSystem {
1732
1727
  };
1733
1728
  }
1734
1729
  }
1730
+ if (!preset || this.#storage[""]?.preset?.toLowerCase() === preset.toLowerCase()) {
1731
+ return {
1732
+ base: "",
1733
+ relativeKey: path,
1734
+ adapter: this.#storage[""]
1735
+ };
1736
+ }
1737
+ this.#storage[path] = preset === "virtual" ? new VirtualStorageAdapter({
1738
+ base: path
1739
+ }) : new FileSystemStorageAdapter({
1740
+ base: path
1741
+ });
1735
1742
  return {
1736
- base: "",
1737
- relativeKey: path,
1738
- adapter: this.#storage[""]
1743
+ base: path,
1744
+ relativeKey: "",
1745
+ adapter: this.#storage[path]
1739
1746
  };
1740
1747
  }
1741
1748
  /**
@@ -2020,7 +2027,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2020
2027
  if (!resolved) {
2021
2028
  return false;
2022
2029
  }
2023
- return this.#getStorage(resolved)?.adapter?.name === "virtual";
2030
+ return this.#getStorage(resolved)?.adapter?.preset === "virtual";
2024
2031
  }
2025
2032
  /**
2026
2033
  * Checks if a path is a directory in the virtual file system (VFS).
@@ -2346,12 +2353,13 @@ var VirtualFileSystem = class _VirtualFileSystem {
2346
2353
  */
2347
2354
  async write(path, data = "", options = {}) {
2348
2355
  const meta = options.meta ?? {};
2349
- const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2350
- this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(data)).size)})`);
2356
+ const resolvedPath = await this.resolve(this.#normalizePath(path)) || path;
2357
+ const { relativeKey, adapter } = this.#getStorage(resolvedPath, options.storage);
2358
+ this.#log(LogLevelLabel.TRACE, `Writing ${resolvedPath} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(data)).size)})`);
2351
2359
  let code = data;
2352
2360
  try {
2353
2361
  if (!options.skipFormat) {
2354
- code = await format(this.#context, this.#normalizePath(path), data);
2362
+ code = await format(this.#context, resolvedPath, data);
2355
2363
  }
2356
2364
  } catch (err) {
2357
2365
  if ([
@@ -2368,23 +2376,23 @@ var VirtualFileSystem = class _VirtualFileSystem {
2368
2376
  "jsonc",
2369
2377
  "md",
2370
2378
  "mdx"
2371
- ].includes(findFileExtensionSafe(path, {
2379
+ ].includes(findFileExtensionSafe(resolvedPath, {
2372
2380
  fullExtension: true
2373
2381
  }))) {
2374
- this.#log(LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
2382
+ this.#log(LogLevelLabel.WARN, `Failed to format file ${resolvedPath} before writing: ${err.message}`);
2375
2383
  }
2376
2384
  code = data;
2377
2385
  }
2378
- this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(code)).size)})`);
2379
- const id = this.#normalizeId(meta.id || relativeKey);
2386
+ this.#log(LogLevelLabel.TRACE, `Writing ${resolvedPath} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(code)).size)})`);
2387
+ const id = this.#normalizeId(meta.id || resolvedPath);
2380
2388
  this.metadata[id] = {
2381
2389
  type: "normal",
2382
2390
  timestamp: Date.now(),
2383
2391
  ...this.metadata[id] ?? {},
2384
2392
  ...meta
2385
2393
  };
2386
- this.paths[id] = this.#normalizePath(relativeKey);
2387
- this.ids[relativeKey] = id;
2394
+ this.paths[id] = resolvedPath;
2395
+ this.ids[resolvedPath] = id;
2388
2396
  return adapter.set(relativeKey, code);
2389
2397
  }
2390
2398
  /**
@@ -2396,17 +2404,18 @@ var VirtualFileSystem = class _VirtualFileSystem {
2396
2404
  */
2397
2405
  writeSync(path, data = "", options = {}) {
2398
2406
  const meta = options.meta ?? {};
2399
- const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2400
- this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(data)).size)})`);
2401
- const id = this.#normalizeId(meta.id || relativeKey);
2407
+ const resolvedPath = this.resolveSync(this.#normalizePath(path)) || path;
2408
+ const { relativeKey, adapter } = this.#getStorage(resolvedPath, options.storage);
2409
+ this.#log(LogLevelLabel.TRACE, `Writing ${resolvedPath} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob$1(toArray(data)).size)})`);
2410
+ const id = this.#normalizeId(meta.id || resolvedPath);
2402
2411
  this.metadata[id] = {
2403
2412
  type: "normal",
2404
2413
  timestamp: Date.now(),
2405
2414
  ...this.metadata[id] ?? {},
2406
2415
  ...meta
2407
2416
  };
2408
- this.paths[id] = this.#normalizePath(relativeKey);
2409
- this.ids[relativeKey] = id;
2417
+ this.paths[id] = resolvedPath;
2418
+ this.ids[resolvedPath] = id;
2410
2419
  return adapter.setSync(relativeKey, data);
2411
2420
  }
2412
2421
  /**
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-RNNTLWEV.mjs';
1
+ import { withExecutor } from './chunk-IGVFWCLJ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/clean/executor.ts
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-RNNTLWEV.mjs';
1
+ import { withExecutor } from './chunk-IGVFWCLJ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/docs/executor.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('./chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('./chunk-P32KNOXV.js');
4
4
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
5
  var defu = require('defu');
6
6
 
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
19
19
  };
20
20
  }
21
21
  chunkSHUYVCID_js.__name(executorFn, "executorFn");
22
- var executor = chunkQKIZROD4_js.withExecutor("build", executorFn);
22
+ var executor = chunkP32KNOXV_js.withExecutor("build", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -103,7 +103,7 @@ var $__namespace = /*#__PURE__*/_interopNamespace($);
103
103
 
104
104
  // ../powerlines/package.json
105
105
  var package_default = {
106
- version: "0.38.21"};
106
+ version: "0.38.23"};
107
107
  var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
108
108
  static {
109
109
  chunkSHUYVCID_js.__name(this, "VirtualFileSystemHost");
@@ -1395,7 +1395,10 @@ var BaseStorageAdapter = class {
1395
1395
  * @param key - The key to resolve.
1396
1396
  * @returns The resolved full path for the key.
1397
1397
  */
1398
- resolve(key = this.options.base) {
1398
+ resolve(key) {
1399
+ if (!key) {
1400
+ return this.options.base;
1401
+ }
1399
1402
  if (/\.\.:|\.\.$/.test(key)) {
1400
1403
  throw new Error(`[${this.name}]: Invalid key: ${JSON.stringify(key)} provided to storage adapter.`);
1401
1404
  }
@@ -1741,18 +1744,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1741
1744
  * @param key - The key to get the storage adapter for.
1742
1745
  * @returns The storage adapter and relative key for the given key.
1743
1746
  */
1744
- #getStorage(key) {
1745
- const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
1746
- if (found) {
1747
- return {
1748
- base: found[0],
1749
- relativeKey: "",
1750
- adapter: found[1]
1751
- };
1752
- }
1747
+ #getStorage(key, preset) {
1753
1748
  const path = this.resolveSync(this.#normalizePath(key)) || key;
1754
1749
  for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
1755
- if (isParentPath.isParentPath(path, base)) {
1750
+ if ((path === base || isParentPath.isParentPath(path, base)) && (!preset || this.#storage[base]?.preset?.toLowerCase() === preset.toLowerCase())) {
1756
1751
  return {
1757
1752
  base,
1758
1753
  relativeKey: replace.replacePath(path, base),
@@ -1760,10 +1755,22 @@ var VirtualFileSystem = class _VirtualFileSystem {
1760
1755
  };
1761
1756
  }
1762
1757
  }
1758
+ if (!preset || this.#storage[""]?.preset?.toLowerCase() === preset.toLowerCase()) {
1759
+ return {
1760
+ base: "",
1761
+ relativeKey: path,
1762
+ adapter: this.#storage[""]
1763
+ };
1764
+ }
1765
+ this.#storage[path] = preset === "virtual" ? new VirtualStorageAdapter({
1766
+ base: path
1767
+ }) : new FileSystemStorageAdapter({
1768
+ base: path
1769
+ });
1763
1770
  return {
1764
- base: "",
1765
- relativeKey: path,
1766
- adapter: this.#storage[""]
1771
+ base: path,
1772
+ relativeKey: "",
1773
+ adapter: this.#storage[path]
1767
1774
  };
1768
1775
  }
1769
1776
  /**
@@ -2048,7 +2055,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2048
2055
  if (!resolved) {
2049
2056
  return false;
2050
2057
  }
2051
- return this.#getStorage(resolved)?.adapter?.name === "virtual";
2058
+ return this.#getStorage(resolved)?.adapter?.preset === "virtual";
2052
2059
  }
2053
2060
  /**
2054
2061
  * Checks if a path is a directory in the virtual file system (VFS).
@@ -2374,12 +2381,13 @@ var VirtualFileSystem = class _VirtualFileSystem {
2374
2381
  */
2375
2382
  async write(path, data = "", options = {}) {
2376
2383
  const meta = options.meta ?? {};
2377
- const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2378
- this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
2384
+ const resolvedPath = await this.resolve(this.#normalizePath(path)) || path;
2385
+ const { relativeKey, adapter } = this.#getStorage(resolvedPath, options.storage);
2386
+ this.#log(types.LogLevelLabel.TRACE, `Writing ${resolvedPath} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
2379
2387
  let code = data;
2380
2388
  try {
2381
2389
  if (!options.skipFormat) {
2382
- code = await format(this.#context, this.#normalizePath(path), data);
2390
+ code = await format(this.#context, resolvedPath, data);
2383
2391
  }
2384
2392
  } catch (err) {
2385
2393
  if ([
@@ -2396,23 +2404,23 @@ var VirtualFileSystem = class _VirtualFileSystem {
2396
2404
  "jsonc",
2397
2405
  "md",
2398
2406
  "mdx"
2399
- ].includes(filePathFns.findFileExtensionSafe(path, {
2407
+ ].includes(filePathFns.findFileExtensionSafe(resolvedPath, {
2400
2408
  fullExtension: true
2401
2409
  }))) {
2402
- this.#log(types.LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
2410
+ this.#log(types.LogLevelLabel.WARN, `Failed to format file ${resolvedPath} before writing: ${err.message}`);
2403
2411
  }
2404
2412
  code = data;
2405
2413
  }
2406
- this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(code)).size)})`);
2407
- const id = this.#normalizeId(meta.id || relativeKey);
2414
+ this.#log(types.LogLevelLabel.TRACE, `Writing ${resolvedPath} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(code)).size)})`);
2415
+ const id = this.#normalizeId(meta.id || resolvedPath);
2408
2416
  this.metadata[id] = {
2409
2417
  type: "normal",
2410
2418
  timestamp: Date.now(),
2411
2419
  ...this.metadata[id] ?? {},
2412
2420
  ...meta
2413
2421
  };
2414
- this.paths[id] = this.#normalizePath(relativeKey);
2415
- this.ids[relativeKey] = id;
2422
+ this.paths[id] = resolvedPath;
2423
+ this.ids[resolvedPath] = id;
2416
2424
  return adapter.set(relativeKey, code);
2417
2425
  }
2418
2426
  /**
@@ -2424,17 +2432,18 @@ var VirtualFileSystem = class _VirtualFileSystem {
2424
2432
  */
2425
2433
  writeSync(path, data = "", options = {}) {
2426
2434
  const meta = options.meta ?? {};
2427
- const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2428
- this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
2429
- const id = this.#normalizeId(meta.id || relativeKey);
2435
+ const resolvedPath = this.resolveSync(this.#normalizePath(path)) || path;
2436
+ const { relativeKey, adapter } = this.#getStorage(resolvedPath, options.storage);
2437
+ this.#log(types.LogLevelLabel.TRACE, `Writing ${resolvedPath} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
2438
+ const id = this.#normalizeId(meta.id || resolvedPath);
2430
2439
  this.metadata[id] = {
2431
2440
  type: "normal",
2432
2441
  timestamp: Date.now(),
2433
2442
  ...this.metadata[id] ?? {},
2434
2443
  ...meta
2435
2444
  };
2436
- this.paths[id] = this.#normalizePath(relativeKey);
2437
- this.ids[relativeKey] = id;
2445
+ this.paths[id] = resolvedPath;
2446
+ this.ids[resolvedPath] = id;
2438
2447
  return adapter.setSync(relativeKey, data);
2439
2448
  }
2440
2449
  /**
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('./chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('./chunk-P32KNOXV.js');
4
4
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
5
 
6
6
  // src/executors/lint/executor.ts
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
11
11
  };
12
12
  }
13
13
  chunkSHUYVCID_js.__name(executorFn, "executorFn");
14
- var executor = chunkQKIZROD4_js.withExecutor("lint", executorFn);
14
+ var executor = chunkP32KNOXV_js.withExecutor("lint", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-RNNTLWEV.mjs';
1
+ import { withExecutor } from './chunk-IGVFWCLJ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/lint/executor.ts
package/dist/executors.js CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkDGXVCBJX_js = require('./chunk-DGXVCBJX.js');
5
- var chunkUIKSAHPT_js = require('./chunk-UIKSAHPT.js');
6
- var chunkUCKOLJ5H_js = require('./chunk-UCKOLJ5H.js');
7
- var chunkPDF4OWTD_js = require('./chunk-PDF4OWTD.js');
8
- var chunkSYXAOMY6_js = require('./chunk-SYXAOMY6.js');
9
- require('./chunk-QKIZROD4.js');
4
+ var chunkV7MNDRJB_js = require('./chunk-V7MNDRJB.js');
5
+ var chunkD6A54BO4_js = require('./chunk-D6A54BO4.js');
6
+ var chunkOMCZUGKP_js = require('./chunk-OMCZUGKP.js');
7
+ var chunk4J3FENED_js = require('./chunk-4J3FENED.js');
8
+ var chunkFOCKPVUS_js = require('./chunk-FOCKPVUS.js');
9
+ require('./chunk-P32KNOXV.js');
10
10
  require('./chunk-NU3VTAH5.js');
11
11
  require('./chunk-SHUYVCID.js');
12
12
 
@@ -14,21 +14,21 @@ require('./chunk-SHUYVCID.js');
14
14
 
15
15
  Object.defineProperty(exports, "lint", {
16
16
  enumerable: true,
17
- get: function () { return chunkDGXVCBJX_js.executor_default; }
17
+ get: function () { return chunkV7MNDRJB_js.executor_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "prepare", {
20
20
  enumerable: true,
21
- get: function () { return chunkUIKSAHPT_js.executor_default; }
21
+ get: function () { return chunkD6A54BO4_js.executor_default; }
22
22
  });
23
23
  Object.defineProperty(exports, "build", {
24
24
  enumerable: true,
25
- get: function () { return chunkUCKOLJ5H_js.executor_default; }
25
+ get: function () { return chunkOMCZUGKP_js.executor_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "clean", {
28
28
  enumerable: true,
29
- get: function () { return chunkPDF4OWTD_js.executor_default; }
29
+ get: function () { return chunk4J3FENED_js.executor_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "docs", {
32
32
  enumerable: true,
33
- get: function () { return chunkSYXAOMY6_js.executor_default; }
33
+ get: function () { return chunkFOCKPVUS_js.executor_default; }
34
34
  });
@@ -1,9 +1,9 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as lint } from './chunk-LFZVTAK3.mjs';
3
- export { executor_default as prepare } from './chunk-CT7KP44P.mjs';
4
- export { executor_default as build } from './chunk-A5GK7UJA.mjs';
5
- export { executor_default as clean } from './chunk-3M7ZD6TG.mjs';
6
- export { executor_default as docs } from './chunk-CGLI2MBY.mjs';
7
- import './chunk-RNNTLWEV.mjs';
2
+ export { executor_default as lint } from './chunk-W7TZQI6B.mjs';
3
+ export { executor_default as prepare } from './chunk-IDTZQ2QP.mjs';
4
+ export { executor_default as build } from './chunk-5R4PN2WS.mjs';
5
+ export { executor_default as clean } from './chunk-JQNH6TEL.mjs';
6
+ export { executor_default as docs } from './chunk-MDGIGMNC.mjs';
7
+ import './chunk-IGVFWCLJ.mjs';
8
8
  import './chunk-AGZ4P3AS.mjs';
9
9
  import './chunk-O6YSETKJ.mjs';
package/dist/index.js CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  var chunkG4H2HOVQ_js = require('./chunk-G4H2HOVQ.js');
4
4
  require('./chunk-XO62WWX4.js');
5
- var chunkDGXVCBJX_js = require('./chunk-DGXVCBJX.js');
6
- var chunkUIKSAHPT_js = require('./chunk-UIKSAHPT.js');
7
- var chunkUCKOLJ5H_js = require('./chunk-UCKOLJ5H.js');
8
- var chunkPDF4OWTD_js = require('./chunk-PDF4OWTD.js');
9
- var chunkSYXAOMY6_js = require('./chunk-SYXAOMY6.js');
5
+ var chunkV7MNDRJB_js = require('./chunk-V7MNDRJB.js');
6
+ var chunkD6A54BO4_js = require('./chunk-D6A54BO4.js');
7
+ var chunkOMCZUGKP_js = require('./chunk-OMCZUGKP.js');
8
+ var chunk4J3FENED_js = require('./chunk-4J3FENED.js');
9
+ var chunkFOCKPVUS_js = require('./chunk-FOCKPVUS.js');
10
10
  require('./chunk-N2YKXZ5R.js');
11
11
  var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
12
- require('./chunk-QKIZROD4.js');
12
+ require('./chunk-P32KNOXV.js');
13
13
  require('./chunk-K47ZSAOM.js');
14
14
  require('./chunk-NU3VTAH5.js');
15
15
  require('./chunk-IQVSZEQ6.js');
@@ -23,23 +23,23 @@ Object.defineProperty(exports, "createNodesV2", {
23
23
  });
24
24
  Object.defineProperty(exports, "lint", {
25
25
  enumerable: true,
26
- get: function () { return chunkDGXVCBJX_js.executor_default; }
26
+ get: function () { return chunkV7MNDRJB_js.executor_default; }
27
27
  });
28
28
  Object.defineProperty(exports, "prepare", {
29
29
  enumerable: true,
30
- get: function () { return chunkUIKSAHPT_js.executor_default; }
30
+ get: function () { return chunkD6A54BO4_js.executor_default; }
31
31
  });
32
32
  Object.defineProperty(exports, "build", {
33
33
  enumerable: true,
34
- get: function () { return chunkUCKOLJ5H_js.executor_default; }
34
+ get: function () { return chunkOMCZUGKP_js.executor_default; }
35
35
  });
36
36
  Object.defineProperty(exports, "clean", {
37
37
  enumerable: true,
38
- get: function () { return chunkPDF4OWTD_js.executor_default; }
38
+ get: function () { return chunk4J3FENED_js.executor_default; }
39
39
  });
40
40
  Object.defineProperty(exports, "docs", {
41
41
  enumerable: true,
42
- get: function () { return chunkSYXAOMY6_js.executor_default; }
42
+ get: function () { return chunkFOCKPVUS_js.executor_default; }
43
43
  });
44
44
  Object.defineProperty(exports, "sync", {
45
45
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  export { createNodesV2 } from './chunk-KUZFN4R7.mjs';
2
2
  import './chunk-UV4HQO3Y.mjs';
3
- export { executor_default as lint } from './chunk-LFZVTAK3.mjs';
4
- export { executor_default as prepare } from './chunk-CT7KP44P.mjs';
5
- export { executor_default as build } from './chunk-A5GK7UJA.mjs';
6
- export { executor_default as clean } from './chunk-3M7ZD6TG.mjs';
7
- export { executor_default as docs } from './chunk-CGLI2MBY.mjs';
3
+ export { executor_default as lint } from './chunk-W7TZQI6B.mjs';
4
+ export { executor_default as prepare } from './chunk-IDTZQ2QP.mjs';
5
+ export { executor_default as build } from './chunk-5R4PN2WS.mjs';
6
+ export { executor_default as clean } from './chunk-JQNH6TEL.mjs';
7
+ export { executor_default as docs } from './chunk-MDGIGMNC.mjs';
8
8
  import './chunk-23KFTIT2.mjs';
9
9
  export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
10
- import './chunk-RNNTLWEV.mjs';
10
+ import './chunk-IGVFWCLJ.mjs';
11
11
  import './chunk-35MFJYOO.mjs';
12
12
  import './chunk-AGZ4P3AS.mjs';
13
13
  import './chunk-IC47MFKB.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKIZROD4_js = require('../../chunk-QKIZROD4.js');
3
+ var chunkP32KNOXV_js = require('../../chunk-P32KNOXV.js');
4
4
  require('../../chunk-NU3VTAH5.js');
5
5
  require('../../chunk-SHUYVCID.js');
6
6
 
@@ -8,5 +8,5 @@ require('../../chunk-SHUYVCID.js');
8
8
 
9
9
  Object.defineProperty(exports, "withExecutor", {
10
10
  enumerable: true,
11
- get: function () { return chunkQKIZROD4_js.withExecutor; }
11
+ get: function () { return chunkP32KNOXV_js.withExecutor; }
12
12
  });
@@ -1,3 +1,3 @@
1
- export { withExecutor } from '../../chunk-RNNTLWEV.mjs';
1
+ export { withExecutor } from '../../chunk-IGVFWCLJ.mjs';
2
2
  import '../../chunk-AGZ4P3AS.mjs';
3
3
  import '../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkUCKOLJ5H_js = require('../../../chunk-UCKOLJ5H.js');
6
- require('../../../chunk-QKIZROD4.js');
5
+ var chunkOMCZUGKP_js = require('../../../chunk-OMCZUGKP.js');
6
+ require('../../../chunk-P32KNOXV.js');
7
7
  require('../../../chunk-NU3VTAH5.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkUCKOLJ5H_js.executor_default; }
14
+ get: function () { return chunkOMCZUGKP_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkUCKOLJ5H_js.executorFn; }
18
+ get: function () { return chunkOMCZUGKP_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-A5GK7UJA.mjs';
2
- import '../../../chunk-RNNTLWEV.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-5R4PN2WS.mjs';
2
+ import '../../../chunk-IGVFWCLJ.mjs';
3
3
  import '../../../chunk-AGZ4P3AS.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkPDF4OWTD_js = require('../../../chunk-PDF4OWTD.js');
6
- require('../../../chunk-QKIZROD4.js');
5
+ var chunk4J3FENED_js = require('../../../chunk-4J3FENED.js');
6
+ require('../../../chunk-P32KNOXV.js');
7
7
  require('../../../chunk-NU3VTAH5.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkPDF4OWTD_js.executor_default; }
14
+ get: function () { return chunk4J3FENED_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkPDF4OWTD_js.executorFn; }
18
+ get: function () { return chunk4J3FENED_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-3M7ZD6TG.mjs';
2
- import '../../../chunk-RNNTLWEV.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-JQNH6TEL.mjs';
2
+ import '../../../chunk-IGVFWCLJ.mjs';
3
3
  import '../../../chunk-AGZ4P3AS.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkSYXAOMY6_js = require('../../../chunk-SYXAOMY6.js');
6
- require('../../../chunk-QKIZROD4.js');
5
+ var chunkFOCKPVUS_js = require('../../../chunk-FOCKPVUS.js');
6
+ require('../../../chunk-P32KNOXV.js');
7
7
  require('../../../chunk-NU3VTAH5.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkSYXAOMY6_js.executor_default; }
14
+ get: function () { return chunkFOCKPVUS_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkSYXAOMY6_js.executorFn; }
18
+ get: function () { return chunkFOCKPVUS_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-CGLI2MBY.mjs';
2
- import '../../../chunk-RNNTLWEV.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-MDGIGMNC.mjs';
2
+ import '../../../chunk-IGVFWCLJ.mjs';
3
3
  import '../../../chunk-AGZ4P3AS.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkDGXVCBJX_js = require('../../../chunk-DGXVCBJX.js');
6
- require('../../../chunk-QKIZROD4.js');
5
+ var chunkV7MNDRJB_js = require('../../../chunk-V7MNDRJB.js');
6
+ require('../../../chunk-P32KNOXV.js');
7
7
  require('../../../chunk-NU3VTAH5.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkDGXVCBJX_js.executor_default; }
14
+ get: function () { return chunkV7MNDRJB_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkDGXVCBJX_js.executorFn; }
18
+ get: function () { return chunkV7MNDRJB_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-LFZVTAK3.mjs';
2
- import '../../../chunk-RNNTLWEV.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-W7TZQI6B.mjs';
2
+ import '../../../chunk-IGVFWCLJ.mjs';
3
3
  import '../../../chunk-AGZ4P3AS.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkUIKSAHPT_js = require('../../../chunk-UIKSAHPT.js');
6
- require('../../../chunk-QKIZROD4.js');
5
+ var chunkD6A54BO4_js = require('../../../chunk-D6A54BO4.js');
6
+ require('../../../chunk-P32KNOXV.js');
7
7
  require('../../../chunk-NU3VTAH5.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkUIKSAHPT_js.executor_default; }
14
+ get: function () { return chunkD6A54BO4_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkUIKSAHPT_js.executorFn; }
18
+ get: function () { return chunkD6A54BO4_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-CT7KP44P.mjs';
2
- import '../../../chunk-RNNTLWEV.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-IDTZQ2QP.mjs';
2
+ import '../../../chunk-IGVFWCLJ.mjs';
3
3
  import '../../../chunk-AGZ4P3AS.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/nx",
3
- "version": "0.11.182",
3
+ "version": "0.11.184",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -196,7 +196,7 @@
196
196
  "defu": "^6.1.4",
197
197
  "jiti": "^2.6.1",
198
198
  "nx": "22.4.1",
199
- "powerlines": "^0.38.22"
199
+ "powerlines": "^0.38.24"
200
200
  },
201
201
  "devDependencies": {
202
202
  "@nx/workspace": "22.4.1",
@@ -210,5 +210,5 @@
210
210
  "publishConfig": { "access": "public" },
211
211
  "executors": "./executors.json",
212
212
  "generators": "./generators.json",
213
- "gitHead": "02ca3097aeae5f5bb4838b4263e8cf7cc44fa3bd"
213
+ "gitHead": "fee16758d4f6a35741fcb49e342005e7d3bf22b6"
214
214
  }