@powerlines/nx 0.11.79 → 0.11.81

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-RW2XNZEX.js → chunk-2O3TU7YO.js} +2 -2
  3. package/dist/{chunk-WSVYUMD2.mjs → chunk-4EOJDVGM.mjs} +1 -1
  4. package/dist/{chunk-D6XWVAIZ.js → chunk-6C2WXF2T.js} +2 -2
  5. package/dist/{chunk-YP7EEWJA.mjs → chunk-E6Z2SS7Z.mjs} +1 -1
  6. package/dist/{chunk-DY7VF6I6.js → chunk-EBLS2NI7.js} +2 -2
  7. package/dist/{chunk-IKGYQ4RA.js → chunk-PXLCGFRS.js} +66 -13
  8. package/dist/{chunk-N5VFA4B5.mjs → chunk-RLQ2UU4B.mjs} +1 -1
  9. package/dist/{chunk-TEG5246D.js → chunk-VZUAIBCN.js} +2 -2
  10. package/dist/{chunk-OH2DDWA6.mjs → chunk-W445DTXC.mjs} +1 -1
  11. package/dist/{chunk-PGKXD4OE.mjs → chunk-YHFGZ6YM.mjs} +66 -13
  12. package/dist/{chunk-CMQJAVYR.js → chunk-ZCZL3LTU.js} +2 -2
  13. package/dist/{chunk-VVUT4VFF.mjs → chunk-ZWQAXJKA.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 +9 -9
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  # Changelog for Powerlines - Nx
4
4
 
5
+ ## [0.11.80](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.80) (01/14/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **powerlines** to **v0.37.24**
10
+
11
+ ## [0.11.79](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.79) (01/14/2026)
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **powerlines** to **v0.37.23**
16
+
5
17
  ## [0.11.78](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.78) (01/14/2026)
6
18
 
7
19
  ### Updated Dependencies
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkIKGYQ4RA_js = require('./chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('./chunk-PXLCGFRS.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 = chunkIKGYQ4RA_js.withExecutor("clean", executorFn);
14
+ var executor = chunkPXLCGFRS_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-PGKXD4OE.mjs';
1
+ import { withExecutor } from './chunk-YHFGZ6YM.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 chunkIKGYQ4RA_js = require('./chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('./chunk-PXLCGFRS.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 = chunkIKGYQ4RA_js.withExecutor("docs", executorFn);
14
+ var executor = chunkPXLCGFRS_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-PGKXD4OE.mjs';
1
+ import { withExecutor } from './chunk-YHFGZ6YM.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/lint/executor.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkIKGYQ4RA_js = require('./chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('./chunk-PXLCGFRS.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 = chunkIKGYQ4RA_js.withExecutor("prepare", executorFn);
22
+ var executor = chunkPXLCGFRS_js.withExecutor("prepare", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -1259,7 +1259,7 @@ function isValidId(id, prefix = "powerlines") {
1259
1259
  }
1260
1260
  chunkSHUYVCID_js.__name(isValidId, "isValidId");
1261
1261
  function normalizeId(id, prefix = "powerlines") {
1262
- return `${prefix.replace(/:$/, "")}:${toFilePath(id).replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "").replace(/^\\0/, "").replace(filePathFns.findFileDotExtensionSafe(toFilePath(id)), "")}`;
1262
+ return replace.replaceExtension(toFilePath(id)).replace(/^\\0/, "").replace(/^powerlines:/, "").replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "");
1263
1263
  }
1264
1264
  chunkSHUYVCID_js.__name(normalizeId, "normalizeId");
1265
1265
  function normalizePath(path, builtinsPath, prefix = "powerlines") {
@@ -1868,16 +1868,18 @@ var VirtualFileSystem = class _VirtualFileSystem {
1868
1868
  const result2 = new _VirtualFileSystem(context, fs);
1869
1869
  if (fs._hasStorage() && fs.storage.length > 0) {
1870
1870
  await Promise.all(fs.storage.values().map(async (file) => {
1871
- await result2.write(file.path, file.code);
1871
+ if (file.path && file.code) {
1872
+ await result2.write(file.path, file.code);
1873
+ }
1872
1874
  }));
1873
1875
  }
1874
1876
  }
1875
1877
  const message = new $__namespace.Message();
1876
1878
  const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1877
1879
  result.#log(types.LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1878
- if (result.metadata) {
1879
- result.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.metadata).length} previously stored metadata records...`);
1880
- const entry = Object.entries(result.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1880
+ if (result.#metadata && Object.keys(result.#metadata).length > 0) {
1881
+ result.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.#metadata).length} previously stored metadata records...`);
1882
+ const entry = Object.entries(result.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1881
1883
  if (meta.properties) {
1882
1884
  const typeDefinition = {
1883
1885
  file: path
@@ -1903,6 +1905,8 @@ var VirtualFileSystem = class _VirtualFileSystem {
1903
1905
  }).filter(Boolean);
1904
1906
  result.#log(types.LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1905
1907
  context.entry = entry;
1908
+ } else {
1909
+ result.#log(types.LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1906
1910
  }
1907
1911
  return result;
1908
1912
  }
@@ -1913,19 +1917,53 @@ var VirtualFileSystem = class _VirtualFileSystem {
1913
1917
  * @returns A new virtual file system instance.
1914
1918
  */
1915
1919
  static createSync(context) {
1920
+ context.debug("Starting virtual file system (VFS) initialization processes...");
1916
1921
  if (!context.config.skipCache && exists.existsSync(joinPaths.joinPaths(context.dataPath, "fs.bin"))) {
1917
1922
  const buffer$1 = buffer.readFileBufferSync(joinPaths.joinPaths(context.dataPath, "fs.bin"));
1918
1923
  const message2 = new $__namespace.Message(buffer$1, false);
1919
1924
  const fs = message2.getRoot(FileSystem);
1920
- const result = new _VirtualFileSystem(context, fs);
1925
+ const result2 = new _VirtualFileSystem(context, fs);
1921
1926
  if (fs._hasStorage() && fs.storage.length > 0) {
1922
1927
  fs.storage.values().map((file) => {
1923
- result.writeSync(file.path, file.code);
1928
+ result2.writeSync(file.path, file.code);
1924
1929
  });
1925
1930
  }
1926
1931
  }
1927
1932
  const message = new $__namespace.Message();
1928
- return new _VirtualFileSystem(context, message.initRoot(FileSystem));
1933
+ const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1934
+ result.#log(types.LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1935
+ if (result.#metadata && Object.keys(result.#metadata).length > 0) {
1936
+ result.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.#metadata).length} previously stored metadata records...`);
1937
+ const entry = Object.entries(result.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1938
+ if (meta.properties) {
1939
+ const typeDefinition = {
1940
+ file: path
1941
+ };
1942
+ if (isSetString.isSetString(meta.properties.name)) {
1943
+ typeDefinition.name = meta.properties.name;
1944
+ }
1945
+ if (isSetString.isSetString(meta.properties["input.file"]) || isSetString.isSetString(meta.properties["input.name"])) {
1946
+ typeDefinition.input ??= {};
1947
+ if (isSetString.isSetString(meta.properties["input.file"])) {
1948
+ typeDefinition.input.file = meta.properties["input.file"];
1949
+ }
1950
+ if (isSetString.isSetString(meta.properties["input.name"])) {
1951
+ typeDefinition.input.name = meta.properties["input.name"];
1952
+ }
1953
+ }
1954
+ if (isSetString.isSetString(meta.properties.output)) {
1955
+ typeDefinition.output = meta.properties.output;
1956
+ }
1957
+ return typeDefinition;
1958
+ }
1959
+ return null;
1960
+ }).filter(Boolean);
1961
+ result.#log(types.LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1962
+ context.entry = entry;
1963
+ } else {
1964
+ result.#log(types.LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1965
+ }
1966
+ return result;
1929
1967
  }
1930
1968
  /**
1931
1969
  * A map of file ids to their metadata.
@@ -1945,7 +1983,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1945
1983
  }, "deleteProperty"),
1946
1984
  has: /* @__PURE__ */ chunkSHUYVCID_js.__name((target, prop) => {
1947
1985
  return this.#normalizeId(prop) in target;
1948
- }, "has")
1986
+ }, "has"),
1987
+ ownKeys: /* @__PURE__ */ chunkSHUYVCID_js.__name((target) => {
1988
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
1989
+ }, "ownKeys")
1949
1990
  });
1950
1991
  }
1951
1992
  /**
@@ -1966,7 +2007,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1966
2007
  }, "deleteProperty"),
1967
2008
  has: /* @__PURE__ */ chunkSHUYVCID_js.__name((target, prop) => {
1968
2009
  return this.#normalizePath(prop) in target;
1969
- }, "has")
2010
+ }, "has"),
2011
+ ownKeys: /* @__PURE__ */ chunkSHUYVCID_js.__name((target) => {
2012
+ return Reflect.ownKeys(target).map((key) => this.#normalizePath(key));
2013
+ }, "ownKeys")
1970
2014
  });
1971
2015
  }
1972
2016
  /**
@@ -1987,7 +2031,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1987
2031
  }, "deleteProperty"),
1988
2032
  has: /* @__PURE__ */ chunkSHUYVCID_js.__name((target, prop) => {
1989
2033
  return this.#normalizeId(prop) in target;
1990
- }, "has")
2034
+ }, "has"),
2035
+ ownKeys: /* @__PURE__ */ chunkSHUYVCID_js.__name((target) => {
2036
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2037
+ }, "ownKeys")
1991
2038
  });
1992
2039
  }
1993
2040
  /**
@@ -2427,9 +2474,15 @@ var VirtualFileSystem = class _VirtualFileSystem {
2427
2474
  async write(path, data = "", options = {}) {
2428
2475
  const meta = options.meta ?? {};
2429
2476
  const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2477
+ 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)})`);
2430
2478
  let code = data;
2431
- if (!options.skipFormat) {
2432
- code = await format(this.#normalizePath(path), data);
2479
+ try {
2480
+ if (!options.skipFormat) {
2481
+ code = await format(this.#normalizePath(path), data);
2482
+ }
2483
+ } catch (err) {
2484
+ this.#log(types.LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
2485
+ code = data;
2433
2486
  }
2434
2487
  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)})`);
2435
2488
  const id = meta.id || this.#normalizeId(relativeKey);
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-PGKXD4OE.mjs';
1
+ import { withExecutor } from './chunk-YHFGZ6YM.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 chunkIKGYQ4RA_js = require('./chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('./chunk-PXLCGFRS.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 = chunkIKGYQ4RA_js.withExecutor("build", executorFn);
22
+ var executor = chunkPXLCGFRS_js.withExecutor("build", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-PGKXD4OE.mjs';
1
+ import { withExecutor } from './chunk-YHFGZ6YM.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/clean/executor.ts
@@ -1230,7 +1230,7 @@ function isValidId(id, prefix = "powerlines") {
1230
1230
  }
1231
1231
  __name(isValidId, "isValidId");
1232
1232
  function normalizeId(id, prefix = "powerlines") {
1233
- return `${prefix.replace(/:$/, "")}:${toFilePath(id).replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "").replace(/^\\0/, "").replace(findFileDotExtensionSafe(toFilePath(id)), "")}`;
1233
+ return replaceExtension(toFilePath(id)).replace(/^\\0/, "").replace(/^powerlines:/, "").replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "");
1234
1234
  }
1235
1235
  __name(normalizeId, "normalizeId");
1236
1236
  function normalizePath(path, builtinsPath, prefix = "powerlines") {
@@ -1839,16 +1839,18 @@ var VirtualFileSystem = class _VirtualFileSystem {
1839
1839
  const result2 = new _VirtualFileSystem(context, fs);
1840
1840
  if (fs._hasStorage() && fs.storage.length > 0) {
1841
1841
  await Promise.all(fs.storage.values().map(async (file) => {
1842
- await result2.write(file.path, file.code);
1842
+ if (file.path && file.code) {
1843
+ await result2.write(file.path, file.code);
1844
+ }
1843
1845
  }));
1844
1846
  }
1845
1847
  }
1846
1848
  const message = new $.Message();
1847
1849
  const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1848
1850
  result.#log(LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1849
- if (result.metadata) {
1850
- result.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.metadata).length} previously stored metadata records...`);
1851
- const entry = Object.entries(result.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1851
+ if (result.#metadata && Object.keys(result.#metadata).length > 0) {
1852
+ result.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.#metadata).length} previously stored metadata records...`);
1853
+ const entry = Object.entries(result.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1852
1854
  if (meta.properties) {
1853
1855
  const typeDefinition = {
1854
1856
  file: path
@@ -1874,6 +1876,8 @@ var VirtualFileSystem = class _VirtualFileSystem {
1874
1876
  }).filter(Boolean);
1875
1877
  result.#log(LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1876
1878
  context.entry = entry;
1879
+ } else {
1880
+ result.#log(LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1877
1881
  }
1878
1882
  return result;
1879
1883
  }
@@ -1884,19 +1888,53 @@ var VirtualFileSystem = class _VirtualFileSystem {
1884
1888
  * @returns A new virtual file system instance.
1885
1889
  */
1886
1890
  static createSync(context) {
1891
+ context.debug("Starting virtual file system (VFS) initialization processes...");
1887
1892
  if (!context.config.skipCache && existsSync(joinPaths$1(context.dataPath, "fs.bin"))) {
1888
1893
  const buffer = readFileBufferSync(joinPaths$1(context.dataPath, "fs.bin"));
1889
1894
  const message2 = new $.Message(buffer, false);
1890
1895
  const fs = message2.getRoot(FileSystem);
1891
- const result = new _VirtualFileSystem(context, fs);
1896
+ const result2 = new _VirtualFileSystem(context, fs);
1892
1897
  if (fs._hasStorage() && fs.storage.length > 0) {
1893
1898
  fs.storage.values().map((file) => {
1894
- result.writeSync(file.path, file.code);
1899
+ result2.writeSync(file.path, file.code);
1895
1900
  });
1896
1901
  }
1897
1902
  }
1898
1903
  const message = new $.Message();
1899
- return new _VirtualFileSystem(context, message.initRoot(FileSystem));
1904
+ const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1905
+ result.#log(LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1906
+ if (result.#metadata && Object.keys(result.#metadata).length > 0) {
1907
+ result.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.#metadata).length} previously stored metadata records...`);
1908
+ const entry = Object.entries(result.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1909
+ if (meta.properties) {
1910
+ const typeDefinition = {
1911
+ file: path
1912
+ };
1913
+ if (isSetString(meta.properties.name)) {
1914
+ typeDefinition.name = meta.properties.name;
1915
+ }
1916
+ if (isSetString(meta.properties["input.file"]) || isSetString(meta.properties["input.name"])) {
1917
+ typeDefinition.input ??= {};
1918
+ if (isSetString(meta.properties["input.file"])) {
1919
+ typeDefinition.input.file = meta.properties["input.file"];
1920
+ }
1921
+ if (isSetString(meta.properties["input.name"])) {
1922
+ typeDefinition.input.name = meta.properties["input.name"];
1923
+ }
1924
+ }
1925
+ if (isSetString(meta.properties.output)) {
1926
+ typeDefinition.output = meta.properties.output;
1927
+ }
1928
+ return typeDefinition;
1929
+ }
1930
+ return null;
1931
+ }).filter(Boolean);
1932
+ result.#log(LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1933
+ context.entry = entry;
1934
+ } else {
1935
+ result.#log(LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1936
+ }
1937
+ return result;
1900
1938
  }
1901
1939
  /**
1902
1940
  * A map of file ids to their metadata.
@@ -1916,7 +1954,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1916
1954
  }, "deleteProperty"),
1917
1955
  has: /* @__PURE__ */ __name((target, prop) => {
1918
1956
  return this.#normalizeId(prop) in target;
1919
- }, "has")
1957
+ }, "has"),
1958
+ ownKeys: /* @__PURE__ */ __name((target) => {
1959
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
1960
+ }, "ownKeys")
1920
1961
  });
1921
1962
  }
1922
1963
  /**
@@ -1937,7 +1978,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1937
1978
  }, "deleteProperty"),
1938
1979
  has: /* @__PURE__ */ __name((target, prop) => {
1939
1980
  return this.#normalizePath(prop) in target;
1940
- }, "has")
1981
+ }, "has"),
1982
+ ownKeys: /* @__PURE__ */ __name((target) => {
1983
+ return Reflect.ownKeys(target).map((key) => this.#normalizePath(key));
1984
+ }, "ownKeys")
1941
1985
  });
1942
1986
  }
1943
1987
  /**
@@ -1958,7 +2002,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1958
2002
  }, "deleteProperty"),
1959
2003
  has: /* @__PURE__ */ __name((target, prop) => {
1960
2004
  return this.#normalizeId(prop) in target;
1961
- }, "has")
2005
+ }, "has"),
2006
+ ownKeys: /* @__PURE__ */ __name((target) => {
2007
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2008
+ }, "ownKeys")
1962
2009
  });
1963
2010
  }
1964
2011
  /**
@@ -2398,9 +2445,15 @@ var VirtualFileSystem = class _VirtualFileSystem {
2398
2445
  async write(path, data = "", options = {}) {
2399
2446
  const meta = options.meta ?? {};
2400
2447
  const { relativeKey, adapter } = this.#getStorage(options.storage || path);
2448
+ 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(toArray(data)).size)})`);
2401
2449
  let code = data;
2402
- if (!options.skipFormat) {
2403
- code = await format(this.#normalizePath(path), data);
2450
+ try {
2451
+ if (!options.skipFormat) {
2452
+ code = await format(this.#normalizePath(path), data);
2453
+ }
2454
+ } catch (err) {
2455
+ this.#log(LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
2456
+ code = data;
2404
2457
  }
2405
2458
  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(toArray(code)).size)})`);
2406
2459
  const id = meta.id || this.#normalizeId(relativeKey);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkIKGYQ4RA_js = require('./chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('./chunk-PXLCGFRS.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 = chunkIKGYQ4RA_js.withExecutor("lint", executorFn);
14
+ var executor = chunkPXLCGFRS_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-PGKXD4OE.mjs';
1
+ import { withExecutor } from './chunk-YHFGZ6YM.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
package/dist/executors.js CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkCMQJAVYR_js = require('./chunk-CMQJAVYR.js');
5
- var chunkDY7VF6I6_js = require('./chunk-DY7VF6I6.js');
6
- var chunkTEG5246D_js = require('./chunk-TEG5246D.js');
7
- var chunkRW2XNZEX_js = require('./chunk-RW2XNZEX.js');
8
- var chunkD6XWVAIZ_js = require('./chunk-D6XWVAIZ.js');
9
- require('./chunk-IKGYQ4RA.js');
4
+ var chunkZCZL3LTU_js = require('./chunk-ZCZL3LTU.js');
5
+ var chunkEBLS2NI7_js = require('./chunk-EBLS2NI7.js');
6
+ var chunkVZUAIBCN_js = require('./chunk-VZUAIBCN.js');
7
+ var chunk2O3TU7YO_js = require('./chunk-2O3TU7YO.js');
8
+ var chunk6C2WXF2T_js = require('./chunk-6C2WXF2T.js');
9
+ require('./chunk-PXLCGFRS.js');
10
10
  require('./chunk-DQI2I5KK.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 chunkCMQJAVYR_js.executor_default; }
17
+ get: function () { return chunkZCZL3LTU_js.executor_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "prepare", {
20
20
  enumerable: true,
21
- get: function () { return chunkDY7VF6I6_js.executor_default; }
21
+ get: function () { return chunkEBLS2NI7_js.executor_default; }
22
22
  });
23
23
  Object.defineProperty(exports, "build", {
24
24
  enumerable: true,
25
- get: function () { return chunkTEG5246D_js.executor_default; }
25
+ get: function () { return chunkVZUAIBCN_js.executor_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "clean", {
28
28
  enumerable: true,
29
- get: function () { return chunkRW2XNZEX_js.executor_default; }
29
+ get: function () { return chunk2O3TU7YO_js.executor_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "docs", {
32
32
  enumerable: true,
33
- get: function () { return chunkD6XWVAIZ_js.executor_default; }
33
+ get: function () { return chunk6C2WXF2T_js.executor_default; }
34
34
  });
@@ -1,9 +1,9 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as lint } from './chunk-YP7EEWJA.mjs';
3
- export { executor_default as prepare } from './chunk-VVUT4VFF.mjs';
4
- export { executor_default as build } from './chunk-N5VFA4B5.mjs';
5
- export { executor_default as clean } from './chunk-OH2DDWA6.mjs';
6
- export { executor_default as docs } from './chunk-WSVYUMD2.mjs';
7
- import './chunk-PGKXD4OE.mjs';
2
+ export { executor_default as lint } from './chunk-E6Z2SS7Z.mjs';
3
+ export { executor_default as prepare } from './chunk-ZWQAXJKA.mjs';
4
+ export { executor_default as build } from './chunk-RLQ2UU4B.mjs';
5
+ export { executor_default as clean } from './chunk-W445DTXC.mjs';
6
+ export { executor_default as docs } from './chunk-4EOJDVGM.mjs';
7
+ import './chunk-YHFGZ6YM.mjs';
8
8
  import './chunk-OVX2CEXQ.mjs';
9
9
  import './chunk-O6YSETKJ.mjs';
package/dist/index.js CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  var chunkTNFRQNSW_js = require('./chunk-TNFRQNSW.js');
4
4
  require('./chunk-XO62WWX4.js');
5
- var chunkCMQJAVYR_js = require('./chunk-CMQJAVYR.js');
6
- var chunkDY7VF6I6_js = require('./chunk-DY7VF6I6.js');
7
- var chunkTEG5246D_js = require('./chunk-TEG5246D.js');
8
- var chunkRW2XNZEX_js = require('./chunk-RW2XNZEX.js');
9
- var chunkD6XWVAIZ_js = require('./chunk-D6XWVAIZ.js');
5
+ var chunkZCZL3LTU_js = require('./chunk-ZCZL3LTU.js');
6
+ var chunkEBLS2NI7_js = require('./chunk-EBLS2NI7.js');
7
+ var chunkVZUAIBCN_js = require('./chunk-VZUAIBCN.js');
8
+ var chunk2O3TU7YO_js = require('./chunk-2O3TU7YO.js');
9
+ var chunk6C2WXF2T_js = require('./chunk-6C2WXF2T.js');
10
10
  require('./chunk-N2YKXZ5R.js');
11
11
  var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
12
- require('./chunk-IKGYQ4RA.js');
12
+ require('./chunk-PXLCGFRS.js');
13
13
  require('./chunk-QSMJD4CD.js');
14
14
  require('./chunk-DQI2I5KK.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 chunkCMQJAVYR_js.executor_default; }
26
+ get: function () { return chunkZCZL3LTU_js.executor_default; }
27
27
  });
28
28
  Object.defineProperty(exports, "prepare", {
29
29
  enumerable: true,
30
- get: function () { return chunkDY7VF6I6_js.executor_default; }
30
+ get: function () { return chunkEBLS2NI7_js.executor_default; }
31
31
  });
32
32
  Object.defineProperty(exports, "build", {
33
33
  enumerable: true,
34
- get: function () { return chunkTEG5246D_js.executor_default; }
34
+ get: function () { return chunkVZUAIBCN_js.executor_default; }
35
35
  });
36
36
  Object.defineProperty(exports, "clean", {
37
37
  enumerable: true,
38
- get: function () { return chunkRW2XNZEX_js.executor_default; }
38
+ get: function () { return chunk2O3TU7YO_js.executor_default; }
39
39
  });
40
40
  Object.defineProperty(exports, "docs", {
41
41
  enumerable: true,
42
- get: function () { return chunkD6XWVAIZ_js.executor_default; }
42
+ get: function () { return chunk6C2WXF2T_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-KPZS6OF5.mjs';
2
2
  import './chunk-UV4HQO3Y.mjs';
3
- export { executor_default as lint } from './chunk-YP7EEWJA.mjs';
4
- export { executor_default as prepare } from './chunk-VVUT4VFF.mjs';
5
- export { executor_default as build } from './chunk-N5VFA4B5.mjs';
6
- export { executor_default as clean } from './chunk-OH2DDWA6.mjs';
7
- export { executor_default as docs } from './chunk-WSVYUMD2.mjs';
3
+ export { executor_default as lint } from './chunk-E6Z2SS7Z.mjs';
4
+ export { executor_default as prepare } from './chunk-ZWQAXJKA.mjs';
5
+ export { executor_default as build } from './chunk-RLQ2UU4B.mjs';
6
+ export { executor_default as clean } from './chunk-W445DTXC.mjs';
7
+ export { executor_default as docs } from './chunk-4EOJDVGM.mjs';
8
8
  import './chunk-23KFTIT2.mjs';
9
9
  export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
10
- import './chunk-PGKXD4OE.mjs';
10
+ import './chunk-YHFGZ6YM.mjs';
11
11
  import './chunk-LK4PXBKI.mjs';
12
12
  import './chunk-OVX2CEXQ.mjs';
13
13
  import './chunk-IC47MFKB.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkIKGYQ4RA_js = require('../../chunk-IKGYQ4RA.js');
3
+ var chunkPXLCGFRS_js = require('../../chunk-PXLCGFRS.js');
4
4
  require('../../chunk-DQI2I5KK.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 chunkIKGYQ4RA_js.withExecutor; }
11
+ get: function () { return chunkPXLCGFRS_js.withExecutor; }
12
12
  });
@@ -1,3 +1,3 @@
1
- export { withExecutor } from '../../chunk-PGKXD4OE.mjs';
1
+ export { withExecutor } from '../../chunk-YHFGZ6YM.mjs';
2
2
  import '../../chunk-OVX2CEXQ.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 chunkTEG5246D_js = require('../../../chunk-TEG5246D.js');
6
- require('../../../chunk-IKGYQ4RA.js');
5
+ var chunkVZUAIBCN_js = require('../../../chunk-VZUAIBCN.js');
6
+ require('../../../chunk-PXLCGFRS.js');
7
7
  require('../../../chunk-DQI2I5KK.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 chunkTEG5246D_js.executor_default; }
14
+ get: function () { return chunkVZUAIBCN_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkTEG5246D_js.executorFn; }
18
+ get: function () { return chunkVZUAIBCN_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-N5VFA4B5.mjs';
2
- import '../../../chunk-PGKXD4OE.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-RLQ2UU4B.mjs';
2
+ import '../../../chunk-YHFGZ6YM.mjs';
3
3
  import '../../../chunk-OVX2CEXQ.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 chunkRW2XNZEX_js = require('../../../chunk-RW2XNZEX.js');
6
- require('../../../chunk-IKGYQ4RA.js');
5
+ var chunk2O3TU7YO_js = require('../../../chunk-2O3TU7YO.js');
6
+ require('../../../chunk-PXLCGFRS.js');
7
7
  require('../../../chunk-DQI2I5KK.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 chunkRW2XNZEX_js.executor_default; }
14
+ get: function () { return chunk2O3TU7YO_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkRW2XNZEX_js.executorFn; }
18
+ get: function () { return chunk2O3TU7YO_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-OH2DDWA6.mjs';
2
- import '../../../chunk-PGKXD4OE.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-W445DTXC.mjs';
2
+ import '../../../chunk-YHFGZ6YM.mjs';
3
3
  import '../../../chunk-OVX2CEXQ.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 chunkD6XWVAIZ_js = require('../../../chunk-D6XWVAIZ.js');
6
- require('../../../chunk-IKGYQ4RA.js');
5
+ var chunk6C2WXF2T_js = require('../../../chunk-6C2WXF2T.js');
6
+ require('../../../chunk-PXLCGFRS.js');
7
7
  require('../../../chunk-DQI2I5KK.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 chunkD6XWVAIZ_js.executor_default; }
14
+ get: function () { return chunk6C2WXF2T_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkD6XWVAIZ_js.executorFn; }
18
+ get: function () { return chunk6C2WXF2T_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-WSVYUMD2.mjs';
2
- import '../../../chunk-PGKXD4OE.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-4EOJDVGM.mjs';
2
+ import '../../../chunk-YHFGZ6YM.mjs';
3
3
  import '../../../chunk-OVX2CEXQ.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 chunkCMQJAVYR_js = require('../../../chunk-CMQJAVYR.js');
6
- require('../../../chunk-IKGYQ4RA.js');
5
+ var chunkZCZL3LTU_js = require('../../../chunk-ZCZL3LTU.js');
6
+ require('../../../chunk-PXLCGFRS.js');
7
7
  require('../../../chunk-DQI2I5KK.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 chunkCMQJAVYR_js.executor_default; }
14
+ get: function () { return chunkZCZL3LTU_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkCMQJAVYR_js.executorFn; }
18
+ get: function () { return chunkZCZL3LTU_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-YP7EEWJA.mjs';
2
- import '../../../chunk-PGKXD4OE.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-E6Z2SS7Z.mjs';
2
+ import '../../../chunk-YHFGZ6YM.mjs';
3
3
  import '../../../chunk-OVX2CEXQ.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 chunkDY7VF6I6_js = require('../../../chunk-DY7VF6I6.js');
6
- require('../../../chunk-IKGYQ4RA.js');
5
+ var chunkEBLS2NI7_js = require('../../../chunk-EBLS2NI7.js');
6
+ require('../../../chunk-PXLCGFRS.js');
7
7
  require('../../../chunk-DQI2I5KK.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 chunkDY7VF6I6_js.executor_default; }
14
+ get: function () { return chunkEBLS2NI7_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkDY7VF6I6_js.executorFn; }
18
+ get: function () { return chunkEBLS2NI7_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-VVUT4VFF.mjs';
2
- import '../../../chunk-PGKXD4OE.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-ZWQAXJKA.mjs';
2
+ import '../../../chunk-YHFGZ6YM.mjs';
3
3
  import '../../../chunk-OVX2CEXQ.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.79",
3
+ "version": "0.11.81",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -182,21 +182,21 @@
182
182
  "typings": "dist/index.d.ts",
183
183
  "dependencies": {
184
184
  "@nx/devkit": "^22.3.3",
185
- "@storm-software/build-tools": "^0.158.76",
185
+ "@storm-software/build-tools": "^0.158.78",
186
186
  "@storm-software/config": "^1.135.0",
187
- "@storm-software/config-tools": "^1.188.76",
188
- "@storm-software/esbuild": "^0.53.76",
189
- "@storm-software/unbuild": "^0.57.76",
190
- "@storm-software/workspace-tools": "^1.294.22",
187
+ "@storm-software/config-tools": "^1.188.78",
188
+ "@storm-software/esbuild": "^0.53.78",
189
+ "@storm-software/unbuild": "^0.57.78",
190
+ "@storm-software/workspace-tools": "^1.294.24",
191
191
  "@stryke/fs": "^0.33.29",
192
192
  "@stryke/hash": "^0.12.35",
193
193
  "@stryke/path": "^0.24.2",
194
- "@stryke/string-format": "^0.12.31",
194
+ "@stryke/string-format": "^0.13.0",
195
195
  "@stryke/type-checks": "^0.5.16",
196
196
  "defu": "^6.1.4",
197
197
  "jiti": "^2.6.1",
198
198
  "nx": "^22.3.3",
199
- "powerlines": "^0.37.23"
199
+ "powerlines": "^0.37.25"
200
200
  },
201
201
  "devDependencies": {
202
202
  "@nx/workspace": "^22.3.3",
@@ -210,5 +210,5 @@
210
210
  "publishConfig": { "access": "public" },
211
211
  "executors": "./executors.json",
212
212
  "generators": "./generators.json",
213
- "gitHead": "f8da9db489979fe711ce56696fb12552de6f797b"
213
+ "gitHead": "2cbfb74bf61f18dc8309d967fd26a769b45cd1c0"
214
214
  }