powerlines 0.37.24 → 0.37.26

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 (105) hide show
  1. package/dist/api.cjs +2 -2
  2. package/dist/api.js +1 -1
  3. package/dist/astro.cjs +4 -4
  4. package/dist/astro.js +3 -3
  5. package/dist/{chunk-R6UTSBYI.cjs → chunk-3NXWMXOZ.cjs} +124 -71
  6. package/dist/{chunk-GYAWFCLJ.js → chunk-6E6WTAVH.js} +3 -3
  7. package/dist/{chunk-IR4MEQHU.cjs → chunk-6ZRFRVBT.cjs} +5 -5
  8. package/dist/{chunk-ZUGCJPUV.js → chunk-A6V5BGQY.js} +3 -3
  9. package/dist/{chunk-F7ZYHEFF.js → chunk-AFQL3PY3.js} +124 -71
  10. package/dist/{chunk-SZ2ZJ7D6.js → chunk-BWZ6XSL7.js} +3 -3
  11. package/dist/chunk-M7NM24T5.cjs +12 -0
  12. package/dist/{chunk-DE5IDYUO.cjs → chunk-MWHTNQVC.cjs} +4 -4
  13. package/dist/{chunk-APCE4C3B.js → chunk-N2YHQVMW.js} +3 -3
  14. package/dist/{chunk-K4UKAUQY.cjs → chunk-NCS7P6Z6.cjs} +4 -4
  15. package/dist/{chunk-4ENEIHKC.js → chunk-QJ3CMPPJ.js} +3 -3
  16. package/dist/chunk-XGBSXPOD.cjs +12 -0
  17. package/dist/esbuild.cjs +6 -6
  18. package/dist/esbuild.js +3 -3
  19. package/dist/farm.cjs +3 -3
  20. package/dist/farm.js +2 -2
  21. package/dist/index.cjs +10 -10
  22. package/dist/index.js +2 -2
  23. package/dist/lib/{chunk-UJ5TICQ2.js → chunk-2KN6LNJA.js} +3 -3
  24. package/dist/lib/{chunk-UJ5TICQ2.js.map → chunk-2KN6LNJA.js.map} +1 -1
  25. package/dist/lib/{chunk-NE26SC53.js → chunk-2LZ2KCSP.js} +3 -3
  26. package/dist/lib/{chunk-NE26SC53.js.map → chunk-2LZ2KCSP.js.map} +1 -1
  27. package/dist/lib/{chunk-O33UNFHZ.cjs → chunk-2PXKVOOG.cjs} +19 -19
  28. package/dist/lib/{chunk-O33UNFHZ.cjs.map → chunk-2PXKVOOG.cjs.map} +1 -1
  29. package/dist/lib/{chunk-PJQR4XNF.cjs → chunk-3L7QXHBF.cjs} +130 -77
  30. package/dist/lib/chunk-3L7QXHBF.cjs.map +1 -0
  31. package/dist/lib/{chunk-XUWN6WZH.cjs → chunk-47XLO7EU.cjs} +6 -6
  32. package/dist/lib/{chunk-XUWN6WZH.cjs.map → chunk-47XLO7EU.cjs.map} +1 -1
  33. package/dist/lib/{chunk-TCM3STGS.js → chunk-4EEKHN44.js} +4 -4
  34. package/dist/lib/{chunk-TCM3STGS.js.map → chunk-4EEKHN44.js.map} +1 -1
  35. package/dist/lib/{chunk-KFT5AKNL.js → chunk-5WMECB6D.js} +4 -4
  36. package/dist/lib/{chunk-KFT5AKNL.js.map → chunk-5WMECB6D.js.map} +1 -1
  37. package/dist/lib/{chunk-UUBS5Z5H.js → chunk-EHK6LKBR.js} +125 -72
  38. package/dist/lib/chunk-EHK6LKBR.js.map +1 -0
  39. package/dist/lib/{chunk-YTT66LRY.js → chunk-F7TAZWC7.js} +3 -3
  40. package/dist/lib/{chunk-YTT66LRY.js.map → chunk-F7TAZWC7.js.map} +1 -1
  41. package/dist/lib/{chunk-YYG2XJQN.cjs → chunk-J4TJDOSP.cjs} +4 -4
  42. package/dist/lib/chunk-J4TJDOSP.cjs.map +1 -0
  43. package/dist/lib/{chunk-MEZZ76LR.cjs → chunk-LENVCNR2.cjs} +5 -5
  44. package/dist/lib/{chunk-MEZZ76LR.cjs.map → chunk-LENVCNR2.cjs.map} +1 -1
  45. package/dist/lib/{chunk-EBBGE5FN.js → chunk-LGM65FVK.js} +4 -4
  46. package/dist/lib/chunk-LGM65FVK.js.map +1 -0
  47. package/dist/lib/{chunk-RI3JLIUH.cjs → chunk-XKEHVYDR.cjs} +7 -7
  48. package/dist/lib/{chunk-RI3JLIUH.cjs.map → chunk-XKEHVYDR.cjs.map} +1 -1
  49. package/dist/lib/{chunk-JFA7OW2I.cjs → chunk-YR7H6YZZ.cjs} +16 -16
  50. package/dist/lib/{chunk-JFA7OW2I.cjs.map → chunk-YR7H6YZZ.cjs.map} +1 -1
  51. package/dist/lib/contexts/api-context.cjs +7 -7
  52. package/dist/lib/contexts/api-context.js +6 -6
  53. package/dist/lib/contexts/context.cjs +5 -5
  54. package/dist/lib/contexts/context.js +4 -4
  55. package/dist/lib/contexts/environment-context.cjs +6 -6
  56. package/dist/lib/contexts/environment-context.js +5 -5
  57. package/dist/lib/contexts/index.cjs +9 -9
  58. package/dist/lib/contexts/index.js +6 -6
  59. package/dist/lib/fs/helpers.cjs +12 -12
  60. package/dist/lib/fs/helpers.d.cts +1 -1
  61. package/dist/lib/fs/helpers.d.ts +1 -1
  62. package/dist/lib/fs/helpers.js +1 -1
  63. package/dist/lib/fs/index.cjs +4 -4
  64. package/dist/lib/fs/index.js +3 -3
  65. package/dist/lib/fs/storage/file-system.cjs +3 -3
  66. package/dist/lib/fs/storage/file-system.js +2 -2
  67. package/dist/lib/fs/storage/index.cjs +3 -3
  68. package/dist/lib/fs/storage/index.js +2 -2
  69. package/dist/lib/fs/vfs.cjs +4 -4
  70. package/dist/lib/fs/vfs.js +3 -3
  71. package/dist/lib/index.cjs +12 -12
  72. package/dist/lib/index.js +7 -7
  73. package/dist/lib/unplugin/factory.cjs +8 -8
  74. package/dist/lib/unplugin/factory.js +7 -7
  75. package/dist/lib/unplugin/index.cjs +8 -8
  76. package/dist/lib/unplugin/index.js +7 -7
  77. package/dist/next.cjs +4 -4
  78. package/dist/next.js +3 -3
  79. package/dist/nuxt.cjs +7 -7
  80. package/dist/nuxt.js +5 -5
  81. package/dist/rolldown.cjs +6 -6
  82. package/dist/rolldown.js +3 -3
  83. package/dist/rollup.cjs +3 -3
  84. package/dist/rollup.js +2 -2
  85. package/dist/rspack.cjs +3 -3
  86. package/dist/rspack.js +2 -2
  87. package/dist/tsdown.cjs +4 -4
  88. package/dist/tsdown.js +3 -3
  89. package/dist/tsup.cjs +4 -4
  90. package/dist/tsup.js +3 -3
  91. package/dist/unloader.cjs +3 -3
  92. package/dist/unloader.js +2 -2
  93. package/dist/unplugin.cjs +8 -8
  94. package/dist/unplugin.js +4 -4
  95. package/dist/vite.cjs +6 -6
  96. package/dist/vite.js +3 -3
  97. package/dist/webpack.cjs +6 -6
  98. package/dist/webpack.js +3 -3
  99. package/package.json +8 -8
  100. package/dist/chunk-4IXGEWKB.cjs +0 -12
  101. package/dist/chunk-SPHARZBB.cjs +0 -12
  102. package/dist/lib/chunk-EBBGE5FN.js.map +0 -1
  103. package/dist/lib/chunk-PJQR4XNF.cjs.map +0 -1
  104. package/dist/lib/chunk-UUBS5Z5H.js.map +0 -1
  105. package/dist/lib/chunk-YYG2XJQN.cjs.map +0 -1
package/dist/api.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkR6UTSBYI_cjs = require('./chunk-R6UTSBYI.cjs');
3
+ var chunk3NXWMXOZ_cjs = require('./chunk-3NXWMXOZ.cjs');
4
4
  require('./chunk-B6DVCLP5.cjs');
5
5
  require('./chunk-V5WOGN7O.cjs');
6
6
  require('./chunk-Z6ARQDHR.cjs');
@@ -10,7 +10,7 @@ require('./chunk-PK6SKIKE.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "PowerlinesAPI", {
12
12
  enumerable: true,
13
- get: function () { return chunkR6UTSBYI_cjs.PowerlinesAPI; }
13
+ get: function () { return chunk3NXWMXOZ_cjs.PowerlinesAPI; }
14
14
  });
15
15
  //# sourceMappingURL=api.cjs.map
16
16
  //# sourceMappingURL=api.cjs.map
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
- export { PowerlinesAPI } from './chunk-F7ZYHEFF.js';
1
+ export { PowerlinesAPI } from './chunk-AFQL3PY3.js';
2
2
  import './chunk-PQXP7XQK.js';
3
3
  import './chunk-NITQ5IYP.js';
4
4
  import './chunk-2MYPFASJ.js';
package/dist/astro.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkDE5IDYUO_cjs = require('./chunk-DE5IDYUO.cjs');
5
+ var chunkMWHTNQVC_cjs = require('./chunk-MWHTNQVC.cjs');
6
6
  require('./chunk-SE3RCXWI.cjs');
7
- require('./chunk-IR4MEQHU.cjs');
8
- require('./chunk-R6UTSBYI.cjs');
7
+ require('./chunk-6ZRFRVBT.cjs');
8
+ require('./chunk-3NXWMXOZ.cjs');
9
9
  require('./chunk-B6DVCLP5.cjs');
10
10
  require('./chunk-V5WOGN7O.cjs');
11
11
  require('./chunk-Z6ARQDHR.cjs');
@@ -15,7 +15,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
15
15
  var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
16
16
  vite: {
17
17
  plugins: [
18
- chunkDE5IDYUO_cjs.vite_default(config)
18
+ chunkMWHTNQVC_cjs.vite_default(config)
19
19
  ]
20
20
  }
21
21
  }), "astro");
package/dist/astro.js CHANGED
@@ -1,7 +1,7 @@
1
- import { vite_default } from './chunk-GYAWFCLJ.js';
1
+ import { vite_default } from './chunk-6E6WTAVH.js';
2
2
  import './chunk-BGBDDKML.js';
3
- import './chunk-APCE4C3B.js';
4
- import './chunk-F7ZYHEFF.js';
3
+ import './chunk-N2YHQVMW.js';
4
+ import './chunk-AFQL3PY3.js';
5
5
  import './chunk-PQXP7XQK.js';
6
6
  import './chunk-NITQ5IYP.js';
7
7
  import './chunk-2MYPFASJ.js';
@@ -1261,7 +1261,7 @@ function isValidId(id, prefix = "powerlines") {
1261
1261
  }
1262
1262
  chunkPK6SKIKE_cjs.__name(isValidId, "isValidId");
1263
1263
  function normalizeId(id, prefix = "powerlines") {
1264
- return `${prefix.replace(/:$/, "")}:${toFilePath(id).replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "").replace(/^\\0/, "").replace(filePathFns.findFileDotExtensionSafe(toFilePath(id)), "")}`;
1264
+ return replace.replaceExtension(toFilePath(id)).replace(/^\\0/, "").replace(/^powerlines:/, "").replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "");
1265
1265
  }
1266
1266
  chunkPK6SKIKE_cjs.__name(normalizeId, "normalizeId");
1267
1267
  function normalizePath(path, builtinsPath, prefix = "powerlines") {
@@ -1863,51 +1863,72 @@ var VirtualFileSystem = class _VirtualFileSystem {
1863
1863
  */
1864
1864
  static async create(context) {
1865
1865
  context.debug("Starting virtual file system (VFS) initialization processes...");
1866
+ let result;
1866
1867
  if (!context.config.skipCache && exists.existsSync(joinPaths.joinPaths(context.dataPath, "fs.bin"))) {
1867
1868
  const buffer$1 = await buffer.readFileBuffer(joinPaths.joinPaths(context.dataPath, "fs.bin"));
1868
- const message2 = new $__namespace.Message(buffer$1, false);
1869
- const fs = message2.getRoot(FileSystem);
1869
+ const message = new $__namespace.Message(buffer$1, false);
1870
+ const fs = message.getRoot(FileSystem);
1870
1871
  const result2 = new _VirtualFileSystem(context, fs);
1871
1872
  if (fs._hasStorage() && fs.storage.length > 0) {
1872
1873
  await Promise.all(fs.storage.values().map(async (file) => {
1873
1874
  if (file.path && file.code) {
1874
- await result2.write(file.path, file.code);
1875
+ if (fs._hasIds()) {
1876
+ fs.ids.find((fileId) => fileId.path === file.path);
1877
+ }
1878
+ let metadata;
1879
+ if (fs._hasMetadata()) {
1880
+ metadata = fs.metadata.find((meta) => meta.id === (file.path));
1881
+ }
1882
+ await result2.write(file.path, file.code, {
1883
+ meta: {
1884
+ id: metadata?.id,
1885
+ type: metadata?.type,
1886
+ properties: metadata?._hasProperties() ? metadata?.properties.values().reduce((ret, kvp) => {
1887
+ ret[kvp.key] = kvp.value;
1888
+ return ret;
1889
+ }, {}) : void 0,
1890
+ timestamp: metadata?.timestamp
1891
+ }
1892
+ });
1875
1893
  }
1876
1894
  }));
1877
1895
  }
1878
- }
1879
- const message = new $__namespace.Message();
1880
- const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1881
- result.#log(types.LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1882
- if (result.metadata) {
1883
- result.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.metadata).length} previously stored metadata records...`);
1884
- const entry = Object.entries(result.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1885
- if (meta.properties) {
1886
- const typeDefinition = {
1887
- file: path
1888
- };
1889
- if (isSetString.isSetString(meta.properties.name)) {
1890
- typeDefinition.name = meta.properties.name;
1891
- }
1892
- if (isSetString.isSetString(meta.properties["input.file"]) || isSetString.isSetString(meta.properties["input.name"])) {
1893
- typeDefinition.input ??= {};
1894
- if (isSetString.isSetString(meta.properties["input.file"])) {
1895
- typeDefinition.input.file = meta.properties["input.file"];
1896
+ if (result2.#metadata && Object.keys(result2.#metadata).length > 0) {
1897
+ result2.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result2.#metadata).length} previously stored metadata records...`);
1898
+ const entry = Object.entries(result2.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1899
+ if (meta.properties) {
1900
+ const typeDefinition = {
1901
+ file: path
1902
+ };
1903
+ if (isSetString.isSetString(meta.properties.name)) {
1904
+ typeDefinition.name = meta.properties.name;
1896
1905
  }
1897
- if (isSetString.isSetString(meta.properties["input.name"])) {
1898
- typeDefinition.input.name = meta.properties["input.name"];
1906
+ if (isSetString.isSetString(meta.properties["input.file"]) || isSetString.isSetString(meta.properties["input.name"])) {
1907
+ typeDefinition.input ??= {};
1908
+ if (isSetString.isSetString(meta.properties["input.file"])) {
1909
+ typeDefinition.input.file = meta.properties["input.file"];
1910
+ }
1911
+ if (isSetString.isSetString(meta.properties["input.name"])) {
1912
+ typeDefinition.input.name = meta.properties["input.name"];
1913
+ }
1899
1914
  }
1915
+ if (isSetString.isSetString(meta.properties.output)) {
1916
+ typeDefinition.output = meta.properties.output;
1917
+ }
1918
+ return typeDefinition;
1900
1919
  }
1901
- if (isSetString.isSetString(meta.properties.output)) {
1902
- typeDefinition.output = meta.properties.output;
1903
- }
1904
- return typeDefinition;
1905
- }
1906
- return null;
1907
- }).filter(Boolean);
1908
- result.#log(types.LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1909
- context.entry = entry;
1920
+ return null;
1921
+ }).filter(Boolean);
1922
+ result2.#log(types.LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1923
+ context.entry = entry;
1924
+ } else {
1925
+ result2.#log(types.LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1926
+ }
1927
+ } else {
1928
+ const message = new $__namespace.Message();
1929
+ result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1910
1930
  }
1931
+ result.#log(types.LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1911
1932
  return result;
1912
1933
  }
1913
1934
  /**
@@ -1918,49 +1939,72 @@ var VirtualFileSystem = class _VirtualFileSystem {
1918
1939
  */
1919
1940
  static createSync(context) {
1920
1941
  context.debug("Starting virtual file system (VFS) initialization processes...");
1942
+ let result;
1921
1943
  if (!context.config.skipCache && exists.existsSync(joinPaths.joinPaths(context.dataPath, "fs.bin"))) {
1922
1944
  const buffer$1 = buffer.readFileBufferSync(joinPaths.joinPaths(context.dataPath, "fs.bin"));
1923
- const message2 = new $__namespace.Message(buffer$1, false);
1924
- const fs = message2.getRoot(FileSystem);
1945
+ const message = new $__namespace.Message(buffer$1, false);
1946
+ const fs = message.getRoot(FileSystem);
1925
1947
  const result2 = new _VirtualFileSystem(context, fs);
1926
1948
  if (fs._hasStorage() && fs.storage.length > 0) {
1927
- fs.storage.values().map((file) => {
1928
- result2.writeSync(file.path, file.code);
1949
+ fs.storage.values().forEach((file) => {
1950
+ if (file.path && file.code) {
1951
+ if (fs._hasIds()) {
1952
+ fs.ids.find((fileId) => fileId.path === file.path);
1953
+ }
1954
+ let metadata;
1955
+ if (fs._hasMetadata()) {
1956
+ metadata = fs.metadata.find((meta) => meta.id === (file.path));
1957
+ }
1958
+ result2.writeSync(file.path, file.code, {
1959
+ meta: {
1960
+ id: metadata?.id,
1961
+ type: metadata?.type,
1962
+ properties: metadata?._hasProperties() ? metadata?.properties.values().reduce((ret, kvp) => {
1963
+ ret[kvp.key] = kvp.value;
1964
+ return ret;
1965
+ }, {}) : void 0,
1966
+ timestamp: metadata?.timestamp
1967
+ }
1968
+ });
1969
+ }
1929
1970
  });
1930
1971
  }
1931
- }
1932
- const message = new $__namespace.Message();
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) {
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"];
1972
+ if (result2.#metadata && Object.keys(result2.#metadata).length > 0) {
1973
+ result2.#log(types.LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result2.#metadata).length} previously stored metadata records...`);
1974
+ const entry = Object.entries(result2.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1975
+ if (meta.properties) {
1976
+ const typeDefinition = {
1977
+ file: path
1978
+ };
1979
+ if (isSetString.isSetString(meta.properties.name)) {
1980
+ typeDefinition.name = meta.properties.name;
1949
1981
  }
1950
- if (isSetString.isSetString(meta.properties["input.name"])) {
1951
- typeDefinition.input.name = meta.properties["input.name"];
1982
+ if (isSetString.isSetString(meta.properties["input.file"]) || isSetString.isSetString(meta.properties["input.name"])) {
1983
+ typeDefinition.input ??= {};
1984
+ if (isSetString.isSetString(meta.properties["input.file"])) {
1985
+ typeDefinition.input.file = meta.properties["input.file"];
1986
+ }
1987
+ if (isSetString.isSetString(meta.properties["input.name"])) {
1988
+ typeDefinition.input.name = meta.properties["input.name"];
1989
+ }
1952
1990
  }
1991
+ if (isSetString.isSetString(meta.properties.output)) {
1992
+ typeDefinition.output = meta.properties.output;
1993
+ }
1994
+ return typeDefinition;
1953
1995
  }
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;
1996
+ return null;
1997
+ }).filter(Boolean);
1998
+ result2.#log(types.LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1999
+ context.entry = entry;
2000
+ } else {
2001
+ result2.#log(types.LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
2002
+ }
2003
+ } else {
2004
+ const message = new $__namespace.Message();
2005
+ result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1963
2006
  }
2007
+ result.#log(types.LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1964
2008
  return result;
1965
2009
  }
1966
2010
  /**
@@ -1981,7 +2025,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1981
2025
  }, "deleteProperty"),
1982
2026
  has: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target, prop) => {
1983
2027
  return this.#normalizeId(prop) in target;
1984
- }, "has")
2028
+ }, "has"),
2029
+ ownKeys: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target) => {
2030
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2031
+ }, "ownKeys")
1985
2032
  });
1986
2033
  }
1987
2034
  /**
@@ -2002,7 +2049,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
2002
2049
  }, "deleteProperty"),
2003
2050
  has: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target, prop) => {
2004
2051
  return this.#normalizePath(prop) in target;
2005
- }, "has")
2052
+ }, "has"),
2053
+ ownKeys: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target) => {
2054
+ return Reflect.ownKeys(target).map((key) => this.#normalizePath(key));
2055
+ }, "ownKeys")
2006
2056
  });
2007
2057
  }
2008
2058
  /**
@@ -2023,7 +2073,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
2023
2073
  }, "deleteProperty"),
2024
2074
  has: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target, prop) => {
2025
2075
  return this.#normalizeId(prop) in target;
2026
- }, "has")
2076
+ }, "has"),
2077
+ ownKeys: /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((target) => {
2078
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2079
+ }, "ownKeys")
2027
2080
  });
2028
2081
  }
2029
2082
  /**
@@ -5060,5 +5113,5 @@ exports.combineContexts = combineContexts;
5060
5113
  exports.createLog = createLog;
5061
5114
  exports.extendLog = extendLog;
5062
5115
  exports.isUnpluginBuilderVariant = isUnpluginBuilderVariant;
5063
- //# sourceMappingURL=chunk-R6UTSBYI.cjs.map
5064
- //# sourceMappingURL=chunk-R6UTSBYI.cjs.map
5116
+ //# sourceMappingURL=chunk-3NXWMXOZ.cjs.map
5117
+ //# sourceMappingURL=chunk-3NXWMXOZ.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-BGBDDKML.js';
2
- import { createUnpluginFactory } from './chunk-APCE4C3B.js';
2
+ import { createUnpluginFactory } from './chunk-N2YHQVMW.js';
3
3
  import { __name } from './chunk-7QVYU63E.js';
4
4
  import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
5
5
  import defu from 'defu';
@@ -151,5 +151,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
151
151
  var vite_default = vite;
152
152
 
153
153
  export { vite, vite_default };
154
- //# sourceMappingURL=chunk-GYAWFCLJ.js.map
155
- //# sourceMappingURL=chunk-GYAWFCLJ.js.map
154
+ //# sourceMappingURL=chunk-6E6WTAVH.js.map
155
+ //# sourceMappingURL=chunk-6E6WTAVH.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkR6UTSBYI_cjs = require('./chunk-R6UTSBYI.cjs');
3
+ var chunk3NXWMXOZ_cjs = require('./chunk-3NXWMXOZ.cjs');
4
4
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
5
5
  var types = require('@storm-software/config-tools/types');
6
6
  var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
27
27
  // src/lib/unplugin/factory.ts
28
28
  function createUnpluginFactory(variant, decorate) {
29
29
  return (config, meta) => {
30
- const log = chunkR6UTSBYI_cjs.createLog("unplugin", config);
30
+ const log = chunk3NXWMXOZ_cjs.createLog("unplugin", config);
31
31
  log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
32
32
  try {
33
33
  const userConfig = {
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
38
38
  let api;
39
39
  async function buildStart() {
40
40
  log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
41
- api = await chunkR6UTSBYI_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
41
+ api = await chunk3NXWMXOZ_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
42
42
  unplugin.setParseImpl(api.context.parse);
43
43
  log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
44
44
  await api.prepare({
@@ -137,5 +137,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
137
137
 
138
138
  exports.createUnpluginFactory = createUnpluginFactory;
139
139
  exports.getString = getString;
140
- //# sourceMappingURL=chunk-IR4MEQHU.cjs.map
141
- //# sourceMappingURL=chunk-IR4MEQHU.cjs.map
140
+ //# sourceMappingURL=chunk-6ZRFRVBT.cjs.map
141
+ //# sourceMappingURL=chunk-6ZRFRVBT.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { extractESBuildConfig } from './chunk-BGBDDKML.js';
2
- import { createUnpluginFactory } from './chunk-APCE4C3B.js';
2
+ import { createUnpluginFactory } from './chunk-N2YHQVMW.js';
3
3
  import { __name } from './chunk-7QVYU63E.js';
4
4
  import { isUndefined } from '@stryke/type-checks/is-undefined';
5
5
  import { createEsbuildPlugin } from 'unplugin';
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
29
29
  var esbuild_default = esbuild;
30
30
 
31
31
  export { esbuild, esbuild_default };
32
- //# sourceMappingURL=chunk-ZUGCJPUV.js.map
33
- //# sourceMappingURL=chunk-ZUGCJPUV.js.map
32
+ //# sourceMappingURL=chunk-A6V5BGQY.js.map
33
+ //# sourceMappingURL=chunk-A6V5BGQY.js.map