@powerlines/plugin-unenv 0.1.241 → 0.1.243

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.
package/dist/index.cjs CHANGED
@@ -1,6 +1,4 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- require('./plugin-DHXHjv16.cjs');
3
- require('./types-DHkg7xmX.cjs');
4
2
  let unenv = require("unenv");
5
3
 
6
4
  //#region src/index.ts
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-BXyu6D7D.cjs";
2
- import "./index-CEgs-Dz2.cjs";
1
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig } from "./types/plugin.cjs";
2
+ import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-DD0cPyOU.mjs";
2
- import "./index-BgAdqTbb.mjs";
1
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig } from "./types/plugin.mjs";
2
+ import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import "./plugin-C3MaN5jp.mjs";
2
- import "./types-CTUnla4x.mjs";
3
1
  import { defineEnv } from "unenv";
4
2
 
5
3
  //#region src/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { defineEnv } from \"unenv\";\nimport { UnenvPluginContext, UnenvPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * The unenv plugin for Powerlines.\n *\n * @see https://unjs.dev/packages/unenv\n *\n * @param options - The unenv plugin user configuration options.\n * @returns A Powerlines plugin to transform source code to be platform agnostic using unenv.\n */\nexport const plugin = <\n TContext extends UnenvPluginContext = UnenvPluginContext\n>(\n options: UnenvPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"unenv\",\n async config() {\n return {\n unenv: options\n };\n },\n configResolved() {\n this.unenv = defineEnv(this.config.unenv || {});\n\n this.config.build.alias ??= {};\n if (Array.isArray(this.config.build.alias)) {\n this.config.build.alias = Object.entries(this.unenv.env.alias).reduce(\n (aliases, [key, value]) => {\n if (!aliases.find(alias => alias.find === key)) {\n aliases.push({ find: key, replacement: value });\n }\n\n return aliases;\n },\n this.config.build.alias\n );\n } else {\n this.config.build.alias = {\n ...this.unenv.env.alias,\n ...this.config.build.alias\n };\n }\n\n this.config.build.external ??= [];\n this.config.build.external.push(...this.unenv.env.external);\n\n this.config.build.inject ??= {};\n this.config.build.inject = {\n ...(this.unenv.env.inject as Record<string, string | string[]>),\n ...this.config.build.inject\n };\n\n this.config.build.polyfill ??= [];\n this.config.build.polyfill.push(...this.unenv.env.polyfill);\n }\n } as Plugin<TContext>;\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAgCA,MAAa,UAGX,UAA8B,EAAE,KACX;AACrB,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,UAAO,EACL,OAAO,SACR;;EAEH,iBAAiB;AACf,QAAK,QAAQ,UAAU,KAAK,OAAO,SAAS,EAAE,CAAC;AAE/C,QAAK,OAAO,MAAM,UAAU,EAAE;AAC9B,OAAI,MAAM,QAAQ,KAAK,OAAO,MAAM,MAAM,CACxC,MAAK,OAAO,MAAM,QAAQ,OAAO,QAAQ,KAAK,MAAM,IAAI,MAAM,CAAC,QAC5D,SAAS,CAAC,KAAK,WAAW;AACzB,QAAI,CAAC,QAAQ,MAAK,UAAS,MAAM,SAAS,IAAI,CAC5C,SAAQ,KAAK;KAAE,MAAM;KAAK,aAAa;KAAO,CAAC;AAGjD,WAAO;MAET,KAAK,OAAO,MAAM,MACnB;OAED,MAAK,OAAO,MAAM,QAAQ;IACxB,GAAG,KAAK,MAAM,IAAI;IAClB,GAAG,KAAK,OAAO,MAAM;IACtB;AAGH,QAAK,OAAO,MAAM,aAAa,EAAE;AACjC,QAAK,OAAO,MAAM,SAAS,KAAK,GAAG,KAAK,MAAM,IAAI,SAAS;AAE3D,QAAK,OAAO,MAAM,WAAW,EAAE;AAC/B,QAAK,OAAO,MAAM,SAAS;IACzB,GAAI,KAAK,MAAM,IAAI;IACnB,GAAG,KAAK,OAAO,MAAM;IACtB;AAED,QAAK,OAAO,MAAM,aAAa,EAAE;AACjC,QAAK,OAAO,MAAM,SAAS,KAAK,GAAG,KAAK,MAAM,IAAI,SAAS;;EAE9D;;AAGH,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { defineEnv } from \"unenv\";\nimport { UnenvPluginContext, UnenvPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * The unenv plugin for Powerlines.\n *\n * @see https://unjs.dev/packages/unenv\n *\n * @param options - The unenv plugin user configuration options.\n * @returns A Powerlines plugin to transform source code to be platform agnostic using unenv.\n */\nexport const plugin = <\n TContext extends UnenvPluginContext = UnenvPluginContext\n>(\n options: UnenvPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"unenv\",\n async config() {\n return {\n unenv: options\n };\n },\n configResolved() {\n this.unenv = defineEnv(this.config.unenv || {});\n\n this.config.build.alias ??= {};\n if (Array.isArray(this.config.build.alias)) {\n this.config.build.alias = Object.entries(this.unenv.env.alias).reduce(\n (aliases, [key, value]) => {\n if (!aliases.find(alias => alias.find === key)) {\n aliases.push({ find: key, replacement: value });\n }\n\n return aliases;\n },\n this.config.build.alias\n );\n } else {\n this.config.build.alias = {\n ...this.unenv.env.alias,\n ...this.config.build.alias\n };\n }\n\n this.config.build.external ??= [];\n this.config.build.external.push(...this.unenv.env.external);\n\n this.config.build.inject ??= {};\n this.config.build.inject = {\n ...(this.unenv.env.inject as Record<string, string | string[]>),\n ...this.config.build.inject\n };\n\n this.config.build.polyfill ??= [];\n this.config.build.polyfill.push(...this.unenv.env.polyfill);\n }\n } as Plugin<TContext>;\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;AAgCA,MAAa,UAGX,UAA8B,EAAE,KACX;AACrB,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,UAAO,EACL,OAAO,SACR;;EAEH,iBAAiB;AACf,QAAK,QAAQ,UAAU,KAAK,OAAO,SAAS,EAAE,CAAC;AAE/C,QAAK,OAAO,MAAM,UAAU,EAAE;AAC9B,OAAI,MAAM,QAAQ,KAAK,OAAO,MAAM,MAAM,CACxC,MAAK,OAAO,MAAM,QAAQ,OAAO,QAAQ,KAAK,MAAM,IAAI,MAAM,CAAC,QAC5D,SAAS,CAAC,KAAK,WAAW;AACzB,QAAI,CAAC,QAAQ,MAAK,UAAS,MAAM,SAAS,IAAI,CAC5C,SAAQ,KAAK;KAAE,MAAM;KAAK,aAAa;KAAO,CAAC;AAGjD,WAAO;MAET,KAAK,OAAO,MAAM,MACnB;OAED,MAAK,OAAO,MAAM,QAAQ;IACxB,GAAG,KAAK,MAAM,IAAI;IAClB,GAAG,KAAK,OAAO,MAAM;IACtB;AAGH,QAAK,OAAO,MAAM,aAAa,EAAE;AACjC,QAAK,OAAO,MAAM,SAAS,KAAK,GAAG,KAAK,MAAM,IAAI,SAAS;AAE3D,QAAK,OAAO,MAAM,WAAW,EAAE;AAC/B,QAAK,OAAO,MAAM,SAAS;IACzB,GAAI,KAAK,MAAM,IAAI;IACnB,GAAG,KAAK,OAAO,MAAM;IACtB;AAED,QAAK,OAAO,MAAM,aAAa,EAAE;AACjC,QAAK,OAAO,MAAM,SAAS,KAAK,GAAG,KAAK,MAAM,IAAI,SAAS;;EAE9D;;AAGH,kBAAe"}
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-BXyu6D7D.cjs";
2
- import "../index-CEgs-Dz2.cjs";
1
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig } from "./plugin.cjs";
3
2
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
@@ -1,3 +1,2 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-DD0cPyOU.mjs";
2
- import "../index-BgAdqTbb.mjs";
1
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig } from "./plugin.mjs";
3
2
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
- import "../types-CTUnla4x.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,24 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-BXyu6D7D.cjs";
2
- export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
1
+ import * as unenv0 from "unenv";
2
+ import { CreateEnvOptions } from "unenv";
3
+ import { UserConfig } from "powerlines/types/config";
4
+ import { PluginContext } from "powerlines/types/context";
5
+ import { ResolvedConfig } from "powerlines/types/resolved";
6
+
7
+ //#region src/types/plugin.d.ts
8
+ type UnenvPluginOptions = Partial<CreateEnvOptions>;
9
+ interface UnenvPluginUserConfig extends UserConfig {
10
+ unenv: UnenvPluginOptions;
11
+ }
12
+ interface UnenvPluginResolvedConfig extends ResolvedConfig {
13
+ unenv: CreateEnvOptions;
14
+ }
15
+ type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
16
+ unenv: ReturnType<typeof unenv0.defineEnv>;
17
+ };
18
+ declare type __ΩUnenvPluginOptions = any[];
19
+ declare type __ΩUnenvPluginUserConfig = any[];
20
+ declare type __ΩUnenvPluginResolvedConfig = any[];
21
+ declare type __ΩUnenvPluginContext = any[];
22
+ //#endregion
23
+ export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
24
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAuBY,kBAAA,GAAqB,QAAQ;UAExB,qBAAA,SAA8B;SACtC;AAHT;AAEiB,UAIA,yBAAA,SAAkC,cAJJ,CAAA;EAI9B,KAAA,EACR,gBADQ;AAIjB;AAC0B,KADd,kBACc,CAAA,wBAAA,yBAAA,GAA4B,yBAA5B,CAAA,GACtB,aADsB,CACR,eADQ,CAAA,GAAA;EAA4B,KAAA,EAE7C,UAF6C,CAAA,OACrC,MAAA,CAC0B,SAFW,CAAA;CACpC;AAAd,qCAAA,GAAA,EAAA;AAAa,wCAC0B,GAAA,EAAA;AAAlC,4CAAA,GAAA,EAAA;AAAU,qCAAA,GAAA,EAAA"}
@@ -1,2 +1,24 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-DD0cPyOU.mjs";
2
- export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
1
+ import * as unenv0 from "unenv";
2
+ import { CreateEnvOptions } from "unenv";
3
+ import { UserConfig } from "powerlines/types/config";
4
+ import { PluginContext } from "powerlines/types/context";
5
+ import { ResolvedConfig } from "powerlines/types/resolved";
6
+
7
+ //#region src/types/plugin.d.ts
8
+ type UnenvPluginOptions = Partial<CreateEnvOptions>;
9
+ interface UnenvPluginUserConfig extends UserConfig {
10
+ unenv: UnenvPluginOptions;
11
+ }
12
+ interface UnenvPluginResolvedConfig extends ResolvedConfig {
13
+ unenv: CreateEnvOptions;
14
+ }
15
+ type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
16
+ unenv: ReturnType<typeof unenv0.defineEnv>;
17
+ };
18
+ declare type __ΩUnenvPluginOptions = any[];
19
+ declare type __ΩUnenvPluginUserConfig = any[];
20
+ declare type __ΩUnenvPluginResolvedConfig = any[];
21
+ declare type __ΩUnenvPluginContext = any[];
22
+ //#endregion
23
+ export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
24
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAuBY,kBAAA,GAAqB,QAAQ;UAExB,qBAAA,SAA8B;SACtC;AAHT;AAEiB,UAIA,yBAAA,SAAkC,cAJJ,CAAA;EAI9B,KAAA,EACR,gBADQ;AAIjB;AAC0B,KADd,kBACc,CAAA,wBAAA,yBAAA,GAA4B,yBAA5B,CAAA,GACtB,aADsB,CACR,eADQ,CAAA,GAAA;EAA4B,KAAA,EAE7C,UAF6C,CAAA,OACrC,MAAA,CAC0B,SAFW,CAAA;CACpC;AAAd,qCAAA,GAAA,EAAA;AAAa,wCAC0B,GAAA,EAAA;AAAlC,4CAAA,GAAA,EAAA;AAAU,qCAAA,GAAA,EAAA"}
@@ -1,3 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unenv",
3
- "version": "0.1.241",
3
+ "version": "0.1.243",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform source code to be platform agnostic using unenv.",
6
6
  "repository": {
@@ -89,15 +89,15 @@
89
89
  "files": ["dist/**/*"],
90
90
  "keywords": ["unenv", "powerlines", "storm-software", "powerlines-plugin"],
91
91
  "dependencies": {
92
- "powerlines": "^0.38.19",
92
+ "powerlines": "^0.38.21",
93
93
  "typescript": "^5.9.3",
94
94
  "unenv": "npm:unenv-nightly@2.0.0-rc.24"
95
95
  },
96
96
  "devDependencies": {
97
- "@powerlines/plugin-plugin": "^0.12.203",
97
+ "@powerlines/plugin-plugin": "^0.12.205",
98
98
  "@types/node": "^24.10.9"
99
99
  },
100
100
  "publishConfig": { "access": "public" },
101
101
  "types": "./dist/index.d.cts",
102
- "gitHead": "ed4d8044dcb6e1de7843b3908424bb0a7e636620"
102
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
103
103
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,24 +0,0 @@
1
- import * as unenv0 from "unenv";
2
- import { CreateEnvOptions } from "unenv";
3
- import { UserConfig } from "powerlines/types/config";
4
- import { PluginContext } from "powerlines/types/context";
5
- import { ResolvedConfig } from "powerlines/types/resolved";
6
-
7
- //#region src/types/plugin.d.ts
8
- type UnenvPluginOptions = Partial<CreateEnvOptions>;
9
- interface UnenvPluginUserConfig extends UserConfig {
10
- unenv: UnenvPluginOptions;
11
- }
12
- interface UnenvPluginResolvedConfig extends ResolvedConfig {
13
- unenv: CreateEnvOptions;
14
- }
15
- type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
16
- unenv: ReturnType<typeof unenv0.defineEnv>;
17
- };
18
- declare type __ΩUnenvPluginOptions = any[];
19
- declare type __ΩUnenvPluginUserConfig = any[];
20
- declare type __ΩUnenvPluginResolvedConfig = any[];
21
- declare type __ΩUnenvPluginContext = any[];
22
- //#endregion
23
- export { __ΩUnenvPluginContext as a, __ΩUnenvPluginUserConfig as c, UnenvPluginUserConfig as i, UnenvPluginOptions as n, __ΩUnenvPluginOptions as o, UnenvPluginResolvedConfig as r, __ΩUnenvPluginResolvedConfig as s, UnenvPluginContext as t };
24
- //# sourceMappingURL=plugin-BXyu6D7D.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-BXyu6D7D.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAuBY,kBAAA,GAAqB,QAAQ;UAExB,qBAAA,SAA8B;SACtC;AAHT;AAEiB,UAIA,yBAAA,SAAkC,cAJJ,CAAA;EAI9B,KAAA,EACR,gBADQ;AAIjB;AAC0B,KADd,kBACc,CAAA,wBAAA,yBAAA,GAA4B,yBAA5B,CAAA,GACtB,aADsB,CACR,eADQ,CAAA,GAAA;EAA4B,KAAA,EAE7C,UAF6C,CAAA,OACrC,MAAA,CAC0B,SAFW,CAAA;CACpC;AAAd,qCAAA,GAAA,EAAA;AAAa,wCAC0B,GAAA,EAAA;AAAlC,4CAAA,GAAA,EAAA;AAAU,qCAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- export { };
@@ -1,24 +0,0 @@
1
- import * as unenv0 from "unenv";
2
- import { CreateEnvOptions } from "unenv";
3
- import { UserConfig } from "powerlines/types/config";
4
- import { PluginContext } from "powerlines/types/context";
5
- import { ResolvedConfig } from "powerlines/types/resolved";
6
-
7
- //#region src/types/plugin.d.ts
8
- type UnenvPluginOptions = Partial<CreateEnvOptions>;
9
- interface UnenvPluginUserConfig extends UserConfig {
10
- unenv: UnenvPluginOptions;
11
- }
12
- interface UnenvPluginResolvedConfig extends ResolvedConfig {
13
- unenv: CreateEnvOptions;
14
- }
15
- type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
16
- unenv: ReturnType<typeof unenv0.defineEnv>;
17
- };
18
- declare type __ΩUnenvPluginOptions = any[];
19
- declare type __ΩUnenvPluginUserConfig = any[];
20
- declare type __ΩUnenvPluginResolvedConfig = any[];
21
- declare type __ΩUnenvPluginContext = any[];
22
- //#endregion
23
- export { __ΩUnenvPluginContext as a, __ΩUnenvPluginUserConfig as c, UnenvPluginUserConfig as i, UnenvPluginOptions as n, __ΩUnenvPluginOptions as o, UnenvPluginResolvedConfig as r, __ΩUnenvPluginResolvedConfig as s, UnenvPluginContext as t };
24
- //# sourceMappingURL=plugin-DD0cPyOU.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-DD0cPyOU.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAuBY,kBAAA,GAAqB,QAAQ;UAExB,qBAAA,SAA8B;SACtC;AAHT;AAEiB,UAIA,yBAAA,SAAkC,cAJJ,CAAA;EAI9B,KAAA,EACR,gBADQ;AAIjB;AAC0B,KADd,kBACc,CAAA,wBAAA,yBAAA,GAA4B,yBAA5B,CAAA,GACtB,aADsB,CACR,eADQ,CAAA,GAAA;EAA4B,KAAA,EAE7C,UAF6C,CAAA,OACrC,MAAA,CAC0B,SAFW,CAAA;CACpC;AAAd,qCAAA,GAAA,EAAA;AAAa,wCAC0B,GAAA,EAAA;AAAlC,4CAAA,GAAA,EAAA;AAAU,qCAAA,GAAA,EAAA"}
File without changes
@@ -1 +0,0 @@
1
- export { };
File without changes