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
@@ -1232,7 +1232,7 @@ function isValidId(id, prefix = "powerlines") {
1232
1232
  }
1233
1233
  __name(isValidId, "isValidId");
1234
1234
  function normalizeId(id, prefix = "powerlines") {
1235
- return `${prefix.replace(/:$/, "")}:${toFilePath(id).replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "").replace(/^\\0/, "").replace(findFileDotExtensionSafe(toFilePath(id)), "")}`;
1235
+ return replaceExtension(toFilePath(id)).replace(/^\\0/, "").replace(/^powerlines:/, "").replace(new RegExp(`^${prefix.replace(/:$/, "")}:`), "");
1236
1236
  }
1237
1237
  __name(normalizeId, "normalizeId");
1238
1238
  function normalizePath(path, builtinsPath, prefix = "powerlines") {
@@ -1834,51 +1834,72 @@ var VirtualFileSystem = class _VirtualFileSystem {
1834
1834
  */
1835
1835
  static async create(context) {
1836
1836
  context.debug("Starting virtual file system (VFS) initialization processes...");
1837
+ let result;
1837
1838
  if (!context.config.skipCache && existsSync(joinPaths$1(context.dataPath, "fs.bin"))) {
1838
1839
  const buffer = await readFileBuffer(joinPaths$1(context.dataPath, "fs.bin"));
1839
- const message2 = new $.Message(buffer, false);
1840
- const fs = message2.getRoot(FileSystem);
1840
+ const message = new $.Message(buffer, false);
1841
+ const fs = message.getRoot(FileSystem);
1841
1842
  const result2 = new _VirtualFileSystem(context, fs);
1842
1843
  if (fs._hasStorage() && fs.storage.length > 0) {
1843
1844
  await Promise.all(fs.storage.values().map(async (file) => {
1844
1845
  if (file.path && file.code) {
1845
- await result2.write(file.path, file.code);
1846
+ if (fs._hasIds()) {
1847
+ fs.ids.find((fileId) => fileId.path === file.path);
1848
+ }
1849
+ let metadata;
1850
+ if (fs._hasMetadata()) {
1851
+ metadata = fs.metadata.find((meta) => meta.id === (file.path));
1852
+ }
1853
+ await result2.write(file.path, file.code, {
1854
+ meta: {
1855
+ id: metadata?.id,
1856
+ type: metadata?.type,
1857
+ properties: metadata?._hasProperties() ? metadata?.properties.values().reduce((ret, kvp) => {
1858
+ ret[kvp.key] = kvp.value;
1859
+ return ret;
1860
+ }, {}) : void 0,
1861
+ timestamp: metadata?.timestamp
1862
+ }
1863
+ });
1846
1864
  }
1847
1865
  }));
1848
1866
  }
1849
- }
1850
- const message = new $.Message();
1851
- const result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1852
- result.#log(LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1853
- if (result.metadata) {
1854
- result.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result.metadata).length} previously stored metadata records...`);
1855
- const entry = Object.entries(result.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1856
- if (meta.properties) {
1857
- const typeDefinition = {
1858
- file: path
1859
- };
1860
- if (isSetString(meta.properties.name)) {
1861
- typeDefinition.name = meta.properties.name;
1862
- }
1863
- if (isSetString(meta.properties["input.file"]) || isSetString(meta.properties["input.name"])) {
1864
- typeDefinition.input ??= {};
1865
- if (isSetString(meta.properties["input.file"])) {
1866
- typeDefinition.input.file = meta.properties["input.file"];
1867
+ if (result2.#metadata && Object.keys(result2.#metadata).length > 0) {
1868
+ result2.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result2.#metadata).length} previously stored metadata records...`);
1869
+ const entry = Object.entries(result2.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1870
+ if (meta.properties) {
1871
+ const typeDefinition = {
1872
+ file: path
1873
+ };
1874
+ if (isSetString(meta.properties.name)) {
1875
+ typeDefinition.name = meta.properties.name;
1867
1876
  }
1868
- if (isSetString(meta.properties["input.name"])) {
1869
- typeDefinition.input.name = meta.properties["input.name"];
1877
+ if (isSetString(meta.properties["input.file"]) || isSetString(meta.properties["input.name"])) {
1878
+ typeDefinition.input ??= {};
1879
+ if (isSetString(meta.properties["input.file"])) {
1880
+ typeDefinition.input.file = meta.properties["input.file"];
1881
+ }
1882
+ if (isSetString(meta.properties["input.name"])) {
1883
+ typeDefinition.input.name = meta.properties["input.name"];
1884
+ }
1870
1885
  }
1886
+ if (isSetString(meta.properties.output)) {
1887
+ typeDefinition.output = meta.properties.output;
1888
+ }
1889
+ return typeDefinition;
1871
1890
  }
1872
- if (isSetString(meta.properties.output)) {
1873
- typeDefinition.output = meta.properties.output;
1874
- }
1875
- return typeDefinition;
1876
- }
1877
- return null;
1878
- }).filter(Boolean);
1879
- result.#log(LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1880
- context.entry = entry;
1891
+ return null;
1892
+ }).filter(Boolean);
1893
+ result2.#log(LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1894
+ context.entry = entry;
1895
+ } else {
1896
+ result2.#log(LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1897
+ }
1898
+ } else {
1899
+ const message = new $.Message();
1900
+ result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1881
1901
  }
1902
+ result.#log(LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1882
1903
  return result;
1883
1904
  }
1884
1905
  /**
@@ -1889,49 +1910,72 @@ var VirtualFileSystem = class _VirtualFileSystem {
1889
1910
  */
1890
1911
  static createSync(context) {
1891
1912
  context.debug("Starting virtual file system (VFS) initialization processes...");
1913
+ let result;
1892
1914
  if (!context.config.skipCache && existsSync(joinPaths$1(context.dataPath, "fs.bin"))) {
1893
1915
  const buffer = readFileBufferSync(joinPaths$1(context.dataPath, "fs.bin"));
1894
- const message2 = new $.Message(buffer, false);
1895
- const fs = message2.getRoot(FileSystem);
1916
+ const message = new $.Message(buffer, false);
1917
+ const fs = message.getRoot(FileSystem);
1896
1918
  const result2 = new _VirtualFileSystem(context, fs);
1897
1919
  if (fs._hasStorage() && fs.storage.length > 0) {
1898
- fs.storage.values().map((file) => {
1899
- result2.writeSync(file.path, file.code);
1920
+ fs.storage.values().forEach((file) => {
1921
+ if (file.path && file.code) {
1922
+ if (fs._hasIds()) {
1923
+ fs.ids.find((fileId) => fileId.path === file.path);
1924
+ }
1925
+ let metadata;
1926
+ if (fs._hasMetadata()) {
1927
+ metadata = fs.metadata.find((meta) => meta.id === (file.path));
1928
+ }
1929
+ result2.writeSync(file.path, file.code, {
1930
+ meta: {
1931
+ id: metadata?.id,
1932
+ type: metadata?.type,
1933
+ properties: metadata?._hasProperties() ? metadata?.properties.values().reduce((ret, kvp) => {
1934
+ ret[kvp.key] = kvp.value;
1935
+ return ret;
1936
+ }, {}) : void 0,
1937
+ timestamp: metadata?.timestamp
1938
+ }
1939
+ });
1940
+ }
1900
1941
  });
1901
1942
  }
1902
- }
1903
- const message = new $.Message();
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) {
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"];
1943
+ if (result2.#metadata && Object.keys(result2.#metadata).length > 0) {
1944
+ result2.#log(LogLevelLabel.DEBUG, `Preparing to load ${Object.keys(result2.#metadata).length} previously stored metadata records...`);
1945
+ const entry = Object.entries(result2.#metadata).filter(([, meta]) => meta && meta.type === "entry").map(([path, meta]) => {
1946
+ if (meta.properties) {
1947
+ const typeDefinition = {
1948
+ file: path
1949
+ };
1950
+ if (isSetString(meta.properties.name)) {
1951
+ typeDefinition.name = meta.properties.name;
1920
1952
  }
1921
- if (isSetString(meta.properties["input.name"])) {
1922
- typeDefinition.input.name = meta.properties["input.name"];
1953
+ if (isSetString(meta.properties["input.file"]) || isSetString(meta.properties["input.name"])) {
1954
+ typeDefinition.input ??= {};
1955
+ if (isSetString(meta.properties["input.file"])) {
1956
+ typeDefinition.input.file = meta.properties["input.file"];
1957
+ }
1958
+ if (isSetString(meta.properties["input.name"])) {
1959
+ typeDefinition.input.name = meta.properties["input.name"];
1960
+ }
1923
1961
  }
1962
+ if (isSetString(meta.properties.output)) {
1963
+ typeDefinition.output = meta.properties.output;
1964
+ }
1965
+ return typeDefinition;
1924
1966
  }
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;
1967
+ return null;
1968
+ }).filter(Boolean);
1969
+ result2.#log(LogLevelLabel.DEBUG, `Loaded ${entry.length} entry type definitions from VFS metadata.`);
1970
+ context.entry = entry;
1971
+ } else {
1972
+ result2.#log(LogLevelLabel.DEBUG, "No previously stored metadata records were found on the local system.");
1973
+ }
1974
+ } else {
1975
+ const message = new $.Message();
1976
+ result = new _VirtualFileSystem(context, message.initRoot(FileSystem));
1934
1977
  }
1978
+ result.#log(LogLevelLabel.DEBUG, "Successfully completed virtual file system (VFS) initialization.");
1935
1979
  return result;
1936
1980
  }
1937
1981
  /**
@@ -1952,7 +1996,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1952
1996
  }, "deleteProperty"),
1953
1997
  has: /* @__PURE__ */ __name((target, prop) => {
1954
1998
  return this.#normalizeId(prop) in target;
1955
- }, "has")
1999
+ }, "has"),
2000
+ ownKeys: /* @__PURE__ */ __name((target) => {
2001
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2002
+ }, "ownKeys")
1956
2003
  });
1957
2004
  }
1958
2005
  /**
@@ -1973,7 +2020,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1973
2020
  }, "deleteProperty"),
1974
2021
  has: /* @__PURE__ */ __name((target, prop) => {
1975
2022
  return this.#normalizePath(prop) in target;
1976
- }, "has")
2023
+ }, "has"),
2024
+ ownKeys: /* @__PURE__ */ __name((target) => {
2025
+ return Reflect.ownKeys(target).map((key) => this.#normalizePath(key));
2026
+ }, "ownKeys")
1977
2027
  });
1978
2028
  }
1979
2029
  /**
@@ -1994,7 +2044,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
1994
2044
  }, "deleteProperty"),
1995
2045
  has: /* @__PURE__ */ __name((target, prop) => {
1996
2046
  return this.#normalizeId(prop) in target;
1997
- }, "has")
2047
+ }, "has"),
2048
+ ownKeys: /* @__PURE__ */ __name((target) => {
2049
+ return Reflect.ownKeys(target).map((key) => this.#normalizeId(key));
2050
+ }, "ownKeys")
1998
2051
  });
1999
2052
  }
2000
2053
  /**
@@ -5021,5 +5074,5 @@ Note: Please ensure the plugin package's default export is a class that extends
5021
5074
  };
5022
5075
 
5023
5076
  export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, combineContexts, createLog, extendLog, isUnpluginBuilderVariant };
5024
- //# sourceMappingURL=chunk-F7ZYHEFF.js.map
5025
- //# sourceMappingURL=chunk-F7ZYHEFF.js.map
5077
+ //# sourceMappingURL=chunk-AFQL3PY3.js.map
5078
+ //# sourceMappingURL=chunk-AFQL3PY3.js.map
@@ -1,9 +1,9 @@
1
- import { createUnpluginFactory } from './chunk-APCE4C3B.js';
1
+ import { createUnpluginFactory } from './chunk-N2YHQVMW.js';
2
2
  import { createRolldownPlugin } from 'unplugin';
3
3
 
4
4
  var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
5
5
  var rolldown_default = rolldown;
6
6
 
7
7
  export { rolldown, rolldown_default };
8
- //# sourceMappingURL=chunk-SZ2ZJ7D6.js.map
9
- //# sourceMappingURL=chunk-SZ2ZJ7D6.js.map
8
+ //# sourceMappingURL=chunk-BWZ6XSL7.js.map
9
+ //# sourceMappingURL=chunk-BWZ6XSL7.js.map
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunk6ZRFRVBT_cjs = require('./chunk-6ZRFRVBT.cjs');
4
+ var unplugin = require('unplugin');
5
+
6
+ var rolldown = unplugin.createRolldownPlugin(chunk6ZRFRVBT_cjs.createUnpluginFactory("rolldown"));
7
+ var rolldown_default = rolldown;
8
+
9
+ exports.rolldown = rolldown;
10
+ exports.rolldown_default = rolldown_default;
11
+ //# sourceMappingURL=chunk-M7NM24T5.cjs.map
12
+ //# sourceMappingURL=chunk-M7NM24T5.cjs.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkSE3RCXWI_cjs = require('./chunk-SE3RCXWI.cjs');
4
- var chunkIR4MEQHU_cjs = require('./chunk-IR4MEQHU.cjs');
4
+ var chunk6ZRFRVBT_cjs = require('./chunk-6ZRFRVBT.cjs');
5
5
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
6
6
  var environmentChecks = require('@stryke/env/environment-checks');
7
7
  var defu = require('defu');
@@ -97,7 +97,7 @@ function extractViteConfig(context) {
97
97
  chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
98
98
 
99
99
  // src/vite.ts
100
- var vite = unplugin.createVitePlugin(chunkIR4MEQHU_cjs.createUnpluginFactory("vite", (api, plugin) => {
100
+ var vite = unplugin.createVitePlugin(chunk6ZRFRVBT_cjs.createUnpluginFactory("vite", (api, plugin) => {
101
101
  return {
102
102
  ...plugin,
103
103
  vite: {
@@ -158,5 +158,5 @@ var vite_default = vite;
158
158
 
159
159
  exports.vite = vite;
160
160
  exports.vite_default = vite_default;
161
- //# sourceMappingURL=chunk-DE5IDYUO.cjs.map
162
- //# sourceMappingURL=chunk-DE5IDYUO.cjs.map
161
+ //# sourceMappingURL=chunk-MWHTNQVC.cjs.map
162
+ //# sourceMappingURL=chunk-MWHTNQVC.cjs.map
@@ -1,4 +1,4 @@
1
- import { createLog, PowerlinesAPI } from './chunk-F7ZYHEFF.js';
1
+ import { createLog, PowerlinesAPI } from './chunk-AFQL3PY3.js';
2
2
  import { __name } from './chunk-7QVYU63E.js';
3
3
  import { LogLevelLabel } from '@storm-software/config-tools/types';
4
4
  import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
@@ -134,5 +134,5 @@ function createUnpluginFactory(variant, decorate) {
134
134
  __name(createUnpluginFactory, "createUnpluginFactory");
135
135
 
136
136
  export { createUnpluginFactory, getString };
137
- //# sourceMappingURL=chunk-APCE4C3B.js.map
138
- //# sourceMappingURL=chunk-APCE4C3B.js.map
137
+ //# sourceMappingURL=chunk-N2YHQVMW.js.map
138
+ //# sourceMappingURL=chunk-N2YHQVMW.js.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkSE3RCXWI_cjs = require('./chunk-SE3RCXWI.cjs');
4
- var chunkIR4MEQHU_cjs = require('./chunk-IR4MEQHU.cjs');
4
+ var chunk6ZRFRVBT_cjs = require('./chunk-6ZRFRVBT.cjs');
5
5
  var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
6
6
  var isUndefined = require('@stryke/type-checks/is-undefined');
7
7
  var unplugin = require('unplugin');
8
8
 
9
- var esbuild = unplugin.createEsbuildPlugin(chunkIR4MEQHU_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
9
+ var esbuild = unplugin.createEsbuildPlugin(chunk6ZRFRVBT_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
10
10
  return {
11
11
  ...plugin,
12
12
  esbuild: {
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
32
32
 
33
33
  exports.esbuild = esbuild;
34
34
  exports.esbuild_default = esbuild_default;
35
- //# sourceMappingURL=chunk-K4UKAUQY.cjs.map
36
- //# sourceMappingURL=chunk-K4UKAUQY.cjs.map
35
+ //# sourceMappingURL=chunk-NCS7P6Z6.cjs.map
36
+ //# sourceMappingURL=chunk-NCS7P6Z6.cjs.map
@@ -1,9 +1,9 @@
1
- import { createUnpluginFactory } from './chunk-APCE4C3B.js';
1
+ import { createUnpluginFactory } from './chunk-N2YHQVMW.js';
2
2
  import { createWebpackPlugin } from 'unplugin';
3
3
 
4
4
  var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
5
5
  var webpack_default = webpack;
6
6
 
7
7
  export { webpack, webpack_default };
8
- //# sourceMappingURL=chunk-4ENEIHKC.js.map
9
- //# sourceMappingURL=chunk-4ENEIHKC.js.map
8
+ //# sourceMappingURL=chunk-QJ3CMPPJ.js.map
9
+ //# sourceMappingURL=chunk-QJ3CMPPJ.js.map
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunk6ZRFRVBT_cjs = require('./chunk-6ZRFRVBT.cjs');
4
+ var unplugin = require('unplugin');
5
+
6
+ var webpack = unplugin.createWebpackPlugin(chunk6ZRFRVBT_cjs.createUnpluginFactory("webpack"));
7
+ var webpack_default = webpack;
8
+
9
+ exports.webpack = webpack;
10
+ exports.webpack_default = webpack_default;
11
+ //# sourceMappingURL=chunk-XGBSXPOD.cjs.map
12
+ //# sourceMappingURL=chunk-XGBSXPOD.cjs.map
package/dist/esbuild.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkK4UKAUQY_cjs = require('./chunk-K4UKAUQY.cjs');
5
+ var chunkNCS7P6Z6_cjs = require('./chunk-NCS7P6Z6.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,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "default", {
17
17
  enumerable: true,
18
- get: function () { return chunkK4UKAUQY_cjs.esbuild_default; }
18
+ get: function () { return chunkNCS7P6Z6_cjs.esbuild_default; }
19
19
  });
20
20
  Object.defineProperty(exports, "esbuild", {
21
21
  enumerable: true,
22
- get: function () { return chunkK4UKAUQY_cjs.esbuild; }
22
+ get: function () { return chunkNCS7P6Z6_cjs.esbuild; }
23
23
  });
24
24
  Object.defineProperty(exports, "module.exports", {
25
25
  enumerable: true,
26
- get: function () { return chunkK4UKAUQY_cjs.esbuild; }
26
+ get: function () { return chunkNCS7P6Z6_cjs.esbuild; }
27
27
  });
28
28
  //# sourceMappingURL=esbuild.cjs.map
29
29
  //# sourceMappingURL=esbuild.cjs.map
package/dist/esbuild.js CHANGED
@@ -1,7 +1,7 @@
1
- export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-ZUGCJPUV.js';
1
+ export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-A6V5BGQY.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';
package/dist/farm.cjs CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkIR4MEQHU_cjs = require('./chunk-IR4MEQHU.cjs');
6
- require('./chunk-R6UTSBYI.cjs');
5
+ var chunk6ZRFRVBT_cjs = require('./chunk-6ZRFRVBT.cjs');
6
+ require('./chunk-3NXWMXOZ.cjs');
7
7
  require('./chunk-B6DVCLP5.cjs');
8
8
  require('./chunk-V5WOGN7O.cjs');
9
9
  require('./chunk-Z6ARQDHR.cjs');
10
10
  require('./chunk-PK6SKIKE.cjs');
11
11
  var unplugin = require('unplugin');
12
12
 
13
- var farm = unplugin.createFarmPlugin(chunkIR4MEQHU_cjs.createUnpluginFactory("farm"));
13
+ var farm = unplugin.createFarmPlugin(chunk6ZRFRVBT_cjs.createUnpluginFactory("farm"));
14
14
  var farm_default = farm;
15
15
 
16
16
  exports.default = farm_default;
package/dist/farm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createUnpluginFactory } from './chunk-APCE4C3B.js';
2
- import './chunk-F7ZYHEFF.js';
1
+ import { createUnpluginFactory } from './chunk-N2YHQVMW.js';
2
+ import './chunk-AFQL3PY3.js';
3
3
  import './chunk-PQXP7XQK.js';
4
4
  import './chunk-NITQ5IYP.js';
5
5
  import './chunk-2MYPFASJ.js';
package/dist/index.cjs CHANGED
@@ -13,7 +13,7 @@ require('./chunk-4JCNAKOE.cjs');
13
13
  require('./chunk-D6GGZQLC.cjs');
14
14
  var chunkA7AUGAHH_cjs = require('./chunk-A7AUGAHH.cjs');
15
15
  var chunk42ZHOCZJ_cjs = require('./chunk-42ZHOCZJ.cjs');
16
- var chunkR6UTSBYI_cjs = require('./chunk-R6UTSBYI.cjs');
16
+ var chunk3NXWMXOZ_cjs = require('./chunk-3NXWMXOZ.cjs');
17
17
  var chunkB6DVCLP5_cjs = require('./chunk-B6DVCLP5.cjs');
18
18
  var chunkV5WOGN7O_cjs = require('./chunk-V5WOGN7O.cjs');
19
19
  var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
@@ -27,10 +27,10 @@ chunkPK6SKIKE_cjs.__name(defineConfig, "defineConfig");
27
27
  async function createPowerlines(options = {}) {
28
28
  options.root ??= process.cwd();
29
29
  const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(options.root);
30
- return chunkR6UTSBYI_cjs.PowerlinesAPI.from(workspaceRoot, options);
30
+ return chunk3NXWMXOZ_cjs.PowerlinesAPI.from(workspaceRoot, options);
31
31
  }
32
32
  chunkPK6SKIKE_cjs.__name(createPowerlines, "createPowerlines");
33
- var index_default = chunkR6UTSBYI_cjs.PowerlinesAPI;
33
+ var index_default = chunk3NXWMXOZ_cjs.PowerlinesAPI;
34
34
 
35
35
  Object.defineProperty(exports, "STORAGE_PRESETS", {
36
36
  enumerable: true,
@@ -50,31 +50,31 @@ Object.defineProperty(exports, "HOOKS_LIST_ORDERS", {
50
50
  });
51
51
  Object.defineProperty(exports, "FileId", {
52
52
  enumerable: true,
53
- get: function () { return chunkR6UTSBYI_cjs.FileId; }
53
+ get: function () { return chunk3NXWMXOZ_cjs.FileId; }
54
54
  });
55
55
  Object.defineProperty(exports, "FileMetadata", {
56
56
  enumerable: true,
57
- get: function () { return chunkR6UTSBYI_cjs.FileMetadata; }
57
+ get: function () { return chunk3NXWMXOZ_cjs.FileMetadata; }
58
58
  });
59
59
  Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
60
60
  enumerable: true,
61
- get: function () { return chunkR6UTSBYI_cjs.FileMetadata_KeyValuePair; }
61
+ get: function () { return chunk3NXWMXOZ_cjs.FileMetadata_KeyValuePair; }
62
62
  });
63
63
  Object.defineProperty(exports, "FileStorage", {
64
64
  enumerable: true,
65
- get: function () { return chunkR6UTSBYI_cjs.FileStorage; }
65
+ get: function () { return chunk3NXWMXOZ_cjs.FileStorage; }
66
66
  });
67
67
  Object.defineProperty(exports, "FileSystem", {
68
68
  enumerable: true,
69
- get: function () { return chunkR6UTSBYI_cjs.FileSystem; }
69
+ get: function () { return chunk3NXWMXOZ_cjs.FileSystem; }
70
70
  });
71
71
  Object.defineProperty(exports, "PowerlinesAPI", {
72
72
  enumerable: true,
73
- get: function () { return chunkR6UTSBYI_cjs.PowerlinesAPI; }
73
+ get: function () { return chunk3NXWMXOZ_cjs.PowerlinesAPI; }
74
74
  });
75
75
  Object.defineProperty(exports, "_capnpFileId", {
76
76
  enumerable: true,
77
- get: function () { return chunkR6UTSBYI_cjs._capnpFileId; }
77
+ get: function () { return chunk3NXWMXOZ_cjs._capnpFileId; }
78
78
  });
79
79
  Object.defineProperty(exports, "KNOWN_PLUGIN_FIELDS", {
80
80
  enumerable: true,
package/dist/index.js CHANGED
@@ -9,8 +9,8 @@ import './chunk-OYASPHNL.js';
9
9
  import './chunk-OD4BINRW.js';
10
10
  export { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from './chunk-KXRVVFNK.js';
11
11
  export { HOOKS_LIST_ORDERS } from './chunk-CCJQBJKQ.js';
12
- import { PowerlinesAPI } from './chunk-F7ZYHEFF.js';
13
- export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-F7ZYHEFF.js';
12
+ import { PowerlinesAPI } from './chunk-AFQL3PY3.js';
13
+ export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-AFQL3PY3.js';
14
14
  export { KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS } from './chunk-PQXP7XQK.js';
15
15
  export { BUILDER_VARIANTS, UNPLUGIN_BUILDER_VARIANTS } from './chunk-NITQ5IYP.js';
16
16
  export { SUPPORTED_COMMANDS } from './chunk-2MYPFASJ.js';
@@ -1,5 +1,5 @@
1
1
  import { isUnpluginBuilderVariant } from './chunk-254IMO3A.js';
2
- import { PowerlinesContext, isPluginConfig, isPlugin, PLUGIN_NON_HOOK_FIELDS, isPluginHookField, isPluginHook, addPluginHook, isUnpluginHookField, isUnpluginHookKey } from './chunk-YTT66LRY.js';
2
+ import { PowerlinesContext, isPluginConfig, isPlugin, PLUGIN_NON_HOOK_FIELDS, isPluginHookField, isPluginHook, addPluginHook, isUnpluginHookField, isUnpluginHookKey } from './chunk-F7TAZWC7.js';
3
3
  import { createPluginContext } from './chunk-7PD2L3PS.js';
4
4
  import { __name } from './chunk-7QVYU63E.js';
5
5
  import { resolvePackage } from '@stryke/fs/resolve';
@@ -228,5 +228,5 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends P
228
228
  };
229
229
 
230
230
  export { PowerlinesEnvironmentContext };
231
- //# sourceMappingURL=chunk-UJ5TICQ2.js.map
232
- //# sourceMappingURL=chunk-UJ5TICQ2.js.map
231
+ //# sourceMappingURL=chunk-2KN6LNJA.js.map
232
+ //# sourceMappingURL=chunk-2KN6LNJA.js.map