@powerlines/plugin-unenv 0.1.36 → 0.1.38
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/README.md +8 -2
- package/dist/index-BgAdqTbb.d.mts +1 -0
- package/dist/index-CEgs-Dz2.d.cts +1 -0
- package/dist/index.cjs +1 -7
- package/dist/index.d.cts +7 -26
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-2OPuNCj3.d.cts +1658 -0
- package/dist/plugin-2OPuNCj3.d.cts.map +1 -0
- package/dist/plugin-BAPfLm_m.d.mts +1658 -0
- package/dist/plugin-BAPfLm_m.d.mts.map +1 -0
- package/dist/plugin-Bvn-he2n.mjs +1 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -23
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +2 -23
- package/dist/types/plugin.d.mts +2 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types-B7VYa_Pp.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +42 -24
- package/dist/index-D0L_5-Qu.d.cts +0 -1569
- package/dist/index-D0L_5-Qu.d.ts +0 -1569
- package/dist/index.d.ts +0 -36
- package/dist/index.js +0 -7
- package/dist/types/index.d.ts +0 -23
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -23
- /package/dist/{types/plugin.js → plugin-DHXHjv16.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-D0L_5-Qu.js';
|
|
2
|
-
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-D0L_5-Qu.js';
|
|
3
|
-
import 'unenv';
|
|
4
|
-
import '@storm-software/build-tools/types';
|
|
5
|
-
import '@storm-software/config-tools/types';
|
|
6
|
-
import '@storm-software/config/types';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@stryke/env/get-env-paths';
|
|
12
|
-
import '@stryke/http/fetch';
|
|
13
|
-
import '@stryke/types/package-json';
|
|
14
|
-
import 'jiti';
|
|
15
|
-
import 'magic-string';
|
|
16
|
-
import 'oxc-parser';
|
|
17
|
-
import 'semver';
|
|
18
|
-
import 'ts-morph';
|
|
19
|
-
import 'undici';
|
|
20
|
-
import 'unplugin';
|
|
21
|
-
import '@stryke/fs/resolve';
|
|
22
|
-
import '@stryke/types/tsconfig';
|
|
23
|
-
import 'typescript';
|
|
24
|
-
import '@stryke/types/array';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* The unenv plugin for Powerlines.
|
|
28
|
-
*
|
|
29
|
-
* @see https://unjs.dev/packages/unenv
|
|
30
|
-
*
|
|
31
|
-
* @param options - The unenv plugin user configuration options.
|
|
32
|
-
* @returns A Powerlines plugin to transform source code to be platform agnostic using unenv.
|
|
33
|
-
*/
|
|
34
|
-
declare const plugin: <TContext extends UnenvPluginContext = UnenvPluginContext>(options?: UnenvPluginOptions) => Plugin<TContext>;
|
|
35
|
-
|
|
36
|
-
export { UnenvPluginContext, UnenvPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {defineEnv}from'unenv';export*from'./types';/*****************************************
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
var o=Object.defineProperty;var e=(i,n)=>o(i,"name",{value:n,configurable:true});const f=e((i={})=>({name:"unenv",async config(){return {unenv:i}},configResolved(){this.unenv=defineEnv(this.config.unenv||{}),this.config.build.alias??={},Array.isArray(this.config.build.alias)?this.config.build.alias=Object.entries(this.unenv.env.alias).reduce((n,[t,l])=>(n.find(s=>s.find===t)||n.push({find:t,replacement:l}),n),this.config.build.alias):this.config.build.alias={...this.unenv.env.alias,...this.config.build.alias},this.config.build.external??=[],this.config.build.external.push(...this.unenv.env.external),this.config.build.inject??={},this.config.build.inject={...this.unenv.env.inject,...this.config.build.inject},this.config.build.polyfill??=[],this.config.build.polyfill.push(...this.unenv.env.polyfill);}}),"plugin");var x=f;export{x as default,f as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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-D0L_5-Qu.js';
|
|
2
|
-
import 'unenv';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from'./plugin';
|
package/dist/types/plugin.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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-D0L_5-Qu.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
|
File without changes
|