@powerlines/plugin-rollup 0.7.56 → 0.7.58
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/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +4 -25
- package/dist/helpers/index.d.mts +4 -0
- package/dist/helpers/index.mjs +1 -0
- package/dist/helpers/unplugin.cjs +1 -7
- package/dist/helpers/unplugin.d.cts +3 -28
- package/dist/helpers/unplugin.d.mts +3 -0
- package/dist/helpers/unplugin.mjs +1 -0
- package/dist/helpers-CRPRhztf.mjs +1 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-D6CnpA_r.d.cts +1 -0
- package/dist/index-DL0uimUT.d.mts +1 -0
- package/dist/index.cjs +1 -7
- package/dist/index.d.cts +9 -28
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +14 -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-BjiGfRHE.mjs +1 -0
- package/dist/plugin-bQr2Yzym.d.cts +1656 -0
- package/dist/plugin-bQr2Yzym.d.cts.map +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/plugin-ziWFtAvF.d.mts +1659 -0
- package/dist/plugin-ziWFtAvF.d.mts.map +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-n6NgD0QK.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unplugin-Bx3t7ZoA.d.cts +8 -0
- package/dist/unplugin-Bx3t7ZoA.d.cts.map +1 -0
- package/dist/unplugin-CLsmVZMo.cjs +44 -0
- package/dist/unplugin-Rgj8lLxv.mjs +7 -0
- package/dist/unplugin-Rgj8lLxv.mjs.map +1 -0
- package/dist/unplugin-jgdfbAHn.d.mts +8 -0
- package/dist/unplugin-jgdfbAHn.d.mts.map +1 -0
- package/package.json +52 -34
- package/dist/chunk-FBBMZ4NC.cjs +0 -7
- package/dist/chunk-UCUR73HG.js +0 -7
- package/dist/helpers/index.d.ts +0 -25
- package/dist/helpers/index.js +0 -1
- package/dist/helpers/unplugin.d.ts +0 -28
- package/dist/helpers/unplugin.js +0 -7
- package/dist/index-DwNsvBx_.d.cts +0 -1567
- package/dist/index-DwNsvBx_.d.ts +0 -1567
- package/dist/index.d.ts +0 -33
- 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 → helpers-LF26RHol.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-DwNsvBx_.js';
|
|
2
|
-
export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-DwNsvBx_.js';
|
|
3
|
-
export { createRollupPlugin } from './helpers/unplugin.js';
|
|
4
|
-
import 'rollup';
|
|
5
|
-
import '@stryke/env/get-env-paths';
|
|
6
|
-
import '@stryke/http/fetch';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/package-json';
|
|
9
|
-
import 'jiti';
|
|
10
|
-
import 'magic-string';
|
|
11
|
-
import 'oxc-parser';
|
|
12
|
-
import 'semver';
|
|
13
|
-
import 'ts-morph';
|
|
14
|
-
import 'undici';
|
|
15
|
-
import 'unplugin';
|
|
16
|
-
import '@storm-software/build-tools/types';
|
|
17
|
-
import '@storm-software/config-tools/types';
|
|
18
|
-
import '@storm-software/config/types';
|
|
19
|
-
import '@stryke/types/configuration';
|
|
20
|
-
import '@stryke/types/file';
|
|
21
|
-
import 'vite';
|
|
22
|
-
import '@stryke/fs/resolve';
|
|
23
|
-
import '@stryke/types/array';
|
|
24
|
-
import '@stryke/types/tsconfig';
|
|
25
|
-
import 'typescript';
|
|
26
|
-
import 'esbuild';
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
30
|
-
*/
|
|
31
|
-
declare const plugin: <TContext extends RollupPluginContext = RollupPluginContext>(options?: RollupPluginOptions) => Plugin<TContext>;
|
|
32
|
-
|
|
33
|
-
export { RollupPluginContext, RollupPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-UCUR73HG.js';import {toArray}from'@stryke/convert/to-array';import u from'defu';import {extractRollupConfig}from'powerlines/lib/build/rollup';import {rollup}from'rollup';import {createRollupPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
const m=a((t={})=>({name:"rollup",config(){return {output:{format:["cjs","esm"]},build:{...t,variant:"rollup"}}},async build(){const l=await rollup(u({plugins:[createRollupPlugin(this)]},extractRollupConfig(this)));await Promise.all(toArray(this.config.output.format).map(async r=>l.write({format:r})));}}),"plugin");var O=m;export{O as default,m as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-DwNsvBx_.js';
|
|
2
|
-
import 'rollup';
|
|
3
|
-
import '@stryke/env/get-env-paths';
|
|
4
|
-
import '@stryke/http/fetch';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/package-json';
|
|
7
|
-
import 'jiti';
|
|
8
|
-
import 'magic-string';
|
|
9
|
-
import 'oxc-parser';
|
|
10
|
-
import 'semver';
|
|
11
|
-
import 'ts-morph';
|
|
12
|
-
import 'undici';
|
|
13
|
-
import 'unplugin';
|
|
14
|
-
import '@storm-software/build-tools/types';
|
|
15
|
-
import '@storm-software/config-tools/types';
|
|
16
|
-
import '@storm-software/config/types';
|
|
17
|
-
import '@stryke/types/configuration';
|
|
18
|
-
import '@stryke/types/file';
|
|
19
|
-
import 'vite';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/array';
|
|
22
|
-
import '@stryke/types/tsconfig';
|
|
23
|
-
import 'typescript';
|
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
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-DwNsvBx_.js';
|
|
2
|
-
import 'rollup';
|
|
3
|
-
import '@stryke/env/get-env-paths';
|
|
4
|
-
import '@stryke/http/fetch';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/package-json';
|
|
7
|
-
import 'jiti';
|
|
8
|
-
import 'magic-string';
|
|
9
|
-
import 'oxc-parser';
|
|
10
|
-
import 'semver';
|
|
11
|
-
import 'ts-morph';
|
|
12
|
-
import 'undici';
|
|
13
|
-
import 'unplugin';
|
|
14
|
-
import '@storm-software/build-tools/types';
|
|
15
|
-
import '@storm-software/config-tools/types';
|
|
16
|
-
import '@storm-software/config/types';
|
|
17
|
-
import '@stryke/types/configuration';
|
|
18
|
-
import '@stryke/types/file';
|
|
19
|
-
import 'vite';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/array';
|
|
22
|
-
import '@stryke/types/tsconfig';
|
|
23
|
-
import 'typescript';
|
|
File without changes
|