@powerlines/plugin-rollup 0.7.8 → 0.7.9
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/chunk-FBBMZ4NC.cjs +7 -0
- package/dist/chunk-UCUR73HG.js +7 -0
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/index.d.cts +24 -0
- package/dist/helpers/index.d.ts +24 -0
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/unplugin.cjs +7 -0
- package/dist/helpers/unplugin.d.cts +27 -0
- package/dist/helpers/unplugin.d.ts +27 -0
- package/dist/helpers/unplugin.js +7 -0
- package/dist/index-BtiZvLRp.d.cts +1316 -0
- package/dist/index-BtiZvLRp.d.ts +1316 -0
- package/dist/src/index.cjs +7 -0
- package/dist/src/index.d.cts +32 -0
- package/dist/src/index.d.ts +32 -0
- package/dist/src/index.js +7 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +22 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.js +1 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +22 -0
- package/dist/types/plugin.d.ts +22 -0
- package/dist/types/plugin.js +0 -0
- package/package.json +8 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),toArray=require('@stryke/convert/to-array'),u=require('defu'),rollup$1=require('powerlines/lib/build/rollup'),rollup=require('rollup'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var u__default=/*#__PURE__*/_interopDefault(u);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const m=chunkFBBMZ4NC_cjs.a((t={})=>({name:"rollup",config(){return {output:{format:["cjs","esm"]},build:{...t,variant:"rollup"}}},async build(){const l=await rollup.rollup(u__default.default({plugins:[unplugin.createRollupPlugin(this)]},rollup$1.extractRollupConfig(this)));await Promise.all(toArray.toArray(this.config.output.format).map(async r=>l.write({format:r})));}}),"plugin");var y=m;exports.default=y;exports.plugin=m;Object.keys(helpers).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return helpers[k]}})});Object.keys(types).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return types[k]}})});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from '../index-BtiZvLRp.cjs';
|
|
2
|
+
export { b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.cjs';
|
|
3
|
+
export { createRollupPlugin } from '../helpers/unplugin.cjs';
|
|
4
|
+
import 'rollup';
|
|
5
|
+
import '@stryke/env/get-env-paths';
|
|
6
|
+
import '@stryke/types/package-json';
|
|
7
|
+
import 'jiti';
|
|
8
|
+
import 'oxc-parser';
|
|
9
|
+
import 'semver';
|
|
10
|
+
import 'unplugin';
|
|
11
|
+
import '@storm-software/build-tools/types';
|
|
12
|
+
import '@storm-software/config-tools/types';
|
|
13
|
+
import '@storm-software/config/types';
|
|
14
|
+
import '@stryke/types/base';
|
|
15
|
+
import '@stryke/types/configuration';
|
|
16
|
+
import '@stryke/types/file';
|
|
17
|
+
import 'vite';
|
|
18
|
+
import '@stryke/types/array';
|
|
19
|
+
import '@stryke/types/tsconfig';
|
|
20
|
+
import 'typescript';
|
|
21
|
+
import '@stryke/json/types';
|
|
22
|
+
import 'memfs';
|
|
23
|
+
import 'node:fs';
|
|
24
|
+
import 'unionfs';
|
|
25
|
+
import 'esbuild';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
29
|
+
*/
|
|
30
|
+
declare const plugin: <TContext extends RollupPluginContext = RollupPluginContext>(options?: RollupPluginOptions) => Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { RollupPluginContext, RollupPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from '../index-BtiZvLRp.js';
|
|
2
|
+
export { b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.js';
|
|
3
|
+
export { createRollupPlugin } from '../helpers/unplugin.js';
|
|
4
|
+
import 'rollup';
|
|
5
|
+
import '@stryke/env/get-env-paths';
|
|
6
|
+
import '@stryke/types/package-json';
|
|
7
|
+
import 'jiti';
|
|
8
|
+
import 'oxc-parser';
|
|
9
|
+
import 'semver';
|
|
10
|
+
import 'unplugin';
|
|
11
|
+
import '@storm-software/build-tools/types';
|
|
12
|
+
import '@storm-software/config-tools/types';
|
|
13
|
+
import '@storm-software/config/types';
|
|
14
|
+
import '@stryke/types/base';
|
|
15
|
+
import '@stryke/types/configuration';
|
|
16
|
+
import '@stryke/types/file';
|
|
17
|
+
import 'vite';
|
|
18
|
+
import '@stryke/types/array';
|
|
19
|
+
import '@stryke/types/tsconfig';
|
|
20
|
+
import 'typescript';
|
|
21
|
+
import '@stryke/json/types';
|
|
22
|
+
import 'memfs';
|
|
23
|
+
import 'node:fs';
|
|
24
|
+
import 'unionfs';
|
|
25
|
+
import 'esbuild';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
29
|
+
*/
|
|
30
|
+
declare const plugin: <TContext extends RollupPluginContext = RollupPluginContext>(options?: RollupPluginOptions) => Plugin<TContext>;
|
|
31
|
+
|
|
32
|
+
export { RollupPluginContext, RollupPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,7 @@
|
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var plugin=require('./plugin');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.cjs';
|
|
2
|
+
import 'rollup';
|
|
3
|
+
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/types/package-json';
|
|
5
|
+
import 'jiti';
|
|
6
|
+
import 'oxc-parser';
|
|
7
|
+
import 'semver';
|
|
8
|
+
import 'unplugin';
|
|
9
|
+
import '@storm-software/build-tools/types';
|
|
10
|
+
import '@storm-software/config-tools/types';
|
|
11
|
+
import '@storm-software/config/types';
|
|
12
|
+
import '@stryke/types/base';
|
|
13
|
+
import '@stryke/types/configuration';
|
|
14
|
+
import '@stryke/types/file';
|
|
15
|
+
import 'vite';
|
|
16
|
+
import '@stryke/types/array';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'memfs';
|
|
21
|
+
import 'node:fs';
|
|
22
|
+
import 'unionfs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.js';
|
|
2
|
+
import 'rollup';
|
|
3
|
+
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/types/package-json';
|
|
5
|
+
import 'jiti';
|
|
6
|
+
import 'oxc-parser';
|
|
7
|
+
import 'semver';
|
|
8
|
+
import 'unplugin';
|
|
9
|
+
import '@storm-software/build-tools/types';
|
|
10
|
+
import '@storm-software/config-tools/types';
|
|
11
|
+
import '@storm-software/config/types';
|
|
12
|
+
import '@stryke/types/base';
|
|
13
|
+
import '@stryke/types/configuration';
|
|
14
|
+
import '@stryke/types/file';
|
|
15
|
+
import 'vite';
|
|
16
|
+
import '@stryke/types/array';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'memfs';
|
|
21
|
+
import 'node:fs';
|
|
22
|
+
import 'unionfs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'./plugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.cjs';
|
|
2
|
+
import 'rollup';
|
|
3
|
+
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/types/package-json';
|
|
5
|
+
import 'jiti';
|
|
6
|
+
import 'oxc-parser';
|
|
7
|
+
import 'semver';
|
|
8
|
+
import 'unplugin';
|
|
9
|
+
import '@storm-software/build-tools/types';
|
|
10
|
+
import '@storm-software/config-tools/types';
|
|
11
|
+
import '@storm-software/config/types';
|
|
12
|
+
import '@stryke/types/base';
|
|
13
|
+
import '@stryke/types/configuration';
|
|
14
|
+
import '@stryke/types/file';
|
|
15
|
+
import 'vite';
|
|
16
|
+
import '@stryke/types/array';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'memfs';
|
|
21
|
+
import 'node:fs';
|
|
22
|
+
import 'unionfs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BtiZvLRp.js';
|
|
2
|
+
import 'rollup';
|
|
3
|
+
import '@stryke/env/get-env-paths';
|
|
4
|
+
import '@stryke/types/package-json';
|
|
5
|
+
import 'jiti';
|
|
6
|
+
import 'oxc-parser';
|
|
7
|
+
import 'semver';
|
|
8
|
+
import 'unplugin';
|
|
9
|
+
import '@storm-software/build-tools/types';
|
|
10
|
+
import '@storm-software/config-tools/types';
|
|
11
|
+
import '@storm-software/config/types';
|
|
12
|
+
import '@stryke/types/base';
|
|
13
|
+
import '@stryke/types/configuration';
|
|
14
|
+
import '@stryke/types/file';
|
|
15
|
+
import 'vite';
|
|
16
|
+
import '@stryke/types/array';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'memfs';
|
|
21
|
+
import 'node:fs';
|
|
22
|
+
import 'unionfs';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rollup",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -128,21 +128,21 @@
|
|
|
128
128
|
"keywords": ["rollup", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"@stryke/convert": "^0.6.0",
|
|
131
|
-
"@stryke/fs": "^0.32.
|
|
132
|
-
"@stryke/path": "^0.
|
|
131
|
+
"@stryke/fs": "^0.32.10",
|
|
132
|
+
"@stryke/path": "^0.18.5",
|
|
133
133
|
"@stryke/type-checks": "^0.3.10",
|
|
134
134
|
"@stryke/types": "^0.10.0",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.
|
|
137
|
+
"powerlines": "^0.15.0",
|
|
138
138
|
"rollup": "^4.52.5",
|
|
139
139
|
"unplugin": "^2.3.10"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
|
-
"@powerlines/nx": "^0.
|
|
143
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
144
|
-
"@types/node": "^22.
|
|
142
|
+
"@powerlines/nx": "^0.10.0",
|
|
143
|
+
"@powerlines/plugin-plugin": "^0.11.8",
|
|
144
|
+
"@types/node": "^22.19.0"
|
|
145
145
|
},
|
|
146
146
|
"publishConfig": { "access": "public" },
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "b64f9a9d53b6eb8054c361da347f6623a7ba9e45"
|
|
148
148
|
}
|