@powerlines/plugin-webpack 0.5.8 → 0.5.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 +23 -0
- package/dist/helpers/index.d.ts +23 -0
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/unplugin.cjs +7 -0
- package/dist/helpers/unplugin.d.cts +26 -0
- package/dist/helpers/unplugin.d.ts +26 -0
- package/dist/helpers/unplugin.js +7 -0
- package/dist/index-wAGr_ScE.d.cts +1313 -0
- package/dist/index-wAGr_ScE.d.ts +1313 -0
- package/dist/src/index.cjs +7 -0
- package/dist/src/index.d.cts +31 -0
- package/dist/src/index.d.ts +31 -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'),types$1=require('@storm-software/config-tools/types'),n=require('defu'),webpack=require('powerlines/lib/build/webpack'),a=require('webpack'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var n__default=/*#__PURE__*/_interopDefault(n);var a__default=/*#__PURE__*/_interopDefault(a);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const l=chunkFBBMZ4NC_cjs.a((o={})=>({name:"webpack",config(){return this.log(types$1.LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `webpack` build plugin."),{build:{...o,variant:"webpack"}}},async build(){a__default.default(n__default.default({entry:this.entry.reduce((i,e)=>(i[e.output||e.name||e.file]=e.file,i),{})},webpack.extractWebpackConfig(this),{plugins:[unplugin.createWebpackPlugin(this)]}));}}),"plugin");var w=l;exports.default=w;exports.plugin=l;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,31 @@
|
|
|
1
|
+
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from '../index-wAGr_ScE.cjs';
|
|
2
|
+
export { b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.cjs';
|
|
3
|
+
export { createWebpackPlugin } from '../helpers/unplugin.cjs';
|
|
4
|
+
import 'webpack';
|
|
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
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
28
|
+
*/
|
|
29
|
+
declare const plugin: <TContext extends WebpackPluginContext = WebpackPluginContext>(options?: WebpackPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { WebpackPluginContext, WebpackPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from '../index-wAGr_ScE.js';
|
|
2
|
+
export { b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.js';
|
|
3
|
+
export { createWebpackPlugin } from '../helpers/unplugin.js';
|
|
4
|
+
import 'webpack';
|
|
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
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
28
|
+
*/
|
|
29
|
+
declare const plugin: <TContext extends WebpackPluginContext = WebpackPluginContext>(options?: WebpackPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { WebpackPluginContext, WebpackPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {a}from'../chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import n from'defu';import {extractWebpackConfig}from'powerlines/lib/build/webpack';import a$1 from'webpack';import {createWebpackPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const l=a((o={})=>({name:"webpack",config(){return this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `webpack` build plugin."),{build:{...o,variant:"webpack"}}},async build(){a$1(n({entry:this.entry.reduce((i,e)=>(i[e.output||e.name||e.file]=e.file,i),{})},extractWebpackConfig(this),{plugins:[createWebpackPlugin(this)]}));}}),"plugin");var v=l;export{v as default,l 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 { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.cjs';
|
|
2
|
+
import 'webpack';
|
|
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 { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.js';
|
|
2
|
+
import 'webpack';
|
|
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 { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.cjs';
|
|
2
|
+
import 'webpack';
|
|
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 { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-wAGr_ScE.js';
|
|
2
|
+
import 'webpack';
|
|
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-webpack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -127,20 +127,20 @@
|
|
|
127
127
|
"files": ["dist/**/*"],
|
|
128
128
|
"keywords": ["webpack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@stryke/fs": "^0.32.
|
|
131
|
-
"@stryke/path": "^0.
|
|
130
|
+
"@stryke/fs": "^0.32.10",
|
|
131
|
+
"@stryke/path": "^0.18.5",
|
|
132
132
|
"@stryke/type-checks": "^0.3.10",
|
|
133
133
|
"@stryke/types": "^0.10.0",
|
|
134
134
|
"defu": "^6.1.4",
|
|
135
135
|
"jiti": "^2.6.1",
|
|
136
|
-
"powerlines": "^0.
|
|
136
|
+
"powerlines": "^0.15.0",
|
|
137
137
|
"webpack": "^5.102.1"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"@powerlines/nx": "^0.
|
|
141
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
142
|
-
"@types/node": "^22.
|
|
140
|
+
"@powerlines/nx": "^0.10.0",
|
|
141
|
+
"@powerlines/plugin-plugin": "^0.11.8",
|
|
142
|
+
"@types/node": "^22.19.0"
|
|
143
143
|
},
|
|
144
144
|
"publishConfig": { "access": "public" },
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "b64f9a9d53b6eb8054c361da347f6623a7ba9e45"
|
|
146
146
|
}
|