@powerlines/plugin-unenv 0.1.13 → 0.1.16

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.
@@ -1185,6 +1185,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1185
1185
  * @returns A logger function
1186
1186
  */
1187
1187
  extendLog: (name: string) => LogFn;
1188
+ /**
1189
+ * Generates a checksum representing the current context state
1190
+ *
1191
+ * @returns A promise that resolves to a string representing the checksum
1192
+ */
1193
+ generateChecksum: () => Promise<string>;
1188
1194
  }
1189
1195
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1190
1196
  /**
@@ -1185,6 +1185,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1185
1185
  * @returns A logger function
1186
1186
  */
1187
1187
  extendLog: (name: string) => LogFn;
1188
+ /**
1189
+ * Generates a checksum representing the current context state
1190
+ *
1191
+ * @returns A promise that resolves to a string representing the checksum
1192
+ */
1193
+ generateChecksum: () => Promise<string>;
1188
1194
  }
1189
1195
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1190
1196
  /**
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-CBZtLOUw.cjs';
2
- export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-CBZtLOUw.cjs';
1
+ import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-h2lq6bt6.cjs';
2
+ export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-h2lq6bt6.cjs';
3
3
  import 'unenv';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-CBZtLOUw.js';
2
- export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-CBZtLOUw.js';
1
+ import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-h2lq6bt6.js';
2
+ export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-h2lq6bt6.js';
3
3
  import 'unenv';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CBZtLOUw.cjs';
1
+ export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-h2lq6bt6.cjs';
2
2
  import 'unenv';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CBZtLOUw.js';
1
+ export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-h2lq6bt6.js';
2
2
  import 'unenv';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import 'unenv';
2
- export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CBZtLOUw.cjs';
2
+ export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-h2lq6bt6.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import 'unenv';
2
- export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CBZtLOUw.js';
2
+ export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-h2lq6bt6.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unenv",
3
- "version": "0.1.13",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform source code to be platform agnostic using unenv.",
6
6
  "repository": {
@@ -104,14 +104,14 @@
104
104
  "@stryke/hash": "^0.12.3",
105
105
  "unenv": "npm:unenv-nightly@2.0.0-rc.24",
106
106
  "defu": "^6.1.4",
107
- "powerlines": "^0.23.7",
107
+ "powerlines": "^0.23.10",
108
108
  "typescript": "^5.9.3",
109
109
  "vite": "^7.2.4"
110
110
  },
111
111
  "devDependencies": {
112
- "@powerlines/nx": "^0.10.24",
112
+ "@powerlines/nx": "^0.10.27",
113
113
  "@types/node": "^24.10.1"
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
- "gitHead": "76575e78b1db97f4786341913ad2ec42ec1de504"
116
+ "gitHead": "5a6b8349dc29bf9e496ed5dee32c6cfb8d9bff4e"
117
117
  }