@powerlines/plugin-rspack 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-B3yWfz0u.d.cts +1313 -0
- package/dist/index-B3yWfz0u.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 +9 -9
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),core=require('@rspack/core'),types$1=require('@storm-software/config-tools/types'),p=require('defu'),rspack=require('powerlines/lib/build/rspack'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var p__default=/*#__PURE__*/_interopDefault(p);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const u=chunkFBBMZ4NC_cjs.a((o={})=>({name:"rspack",config(){return this.log(types$1.LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `rspack` build plugin."),{build:{...o,variant:"rspack"}}},async build(){core.rspack(p__default.default({entry:this.entry.reduce((r,i)=>(r[i.output||i.name||i.file]=i.file,r),{})},rspack.extractRspackConfig(this),{plugins:[unplugin.createRspackPlugin(this)]}));}}),"plugin");var v=u;exports.default=v;exports.plugin=u;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 { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from '../index-B3yWfz0u.cjs';
|
|
2
|
+
export { b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.cjs';
|
|
3
|
+
export { createRspackPlugin } from '../helpers/unplugin.cjs';
|
|
4
|
+
import '@rspack/core';
|
|
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 RspackPluginContext = RspackPluginContext>(options?: RspackPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { RspackPluginContext, RspackPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from '../index-B3yWfz0u.js';
|
|
2
|
+
export { b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.js';
|
|
3
|
+
export { createRspackPlugin } from '../helpers/unplugin.js';
|
|
4
|
+
import '@rspack/core';
|
|
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 RspackPluginContext = RspackPluginContext>(options?: RspackPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { RspackPluginContext, RspackPluginOptions, plugin as default, plugin };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {a}from'../chunk-UCUR73HG.js';import {rspack}from'@rspack/core';import {LogLevelLabel}from'@storm-software/config-tools/types';import p from'defu';import {extractRspackConfig}from'powerlines/lib/build/rspack';import {createRspackPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const u=a((o={})=>({name:"rspack",config(){return this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `rspack` build plugin."),{build:{...o,variant:"rspack"}}},async build(){rspack(p({entry:this.entry.reduce((r,i)=>(r[i.output||i.name||i.file]=i.file,r),{})},extractRspackConfig(this),{plugins:[createRspackPlugin(this)]}));}}),"plugin");var L=u;export{L as default,u 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 RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.cjs';
|
|
2
|
+
import '@rspack/core';
|
|
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 RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.js';
|
|
2
|
+
import '@rspack/core';
|
|
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 RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.cjs';
|
|
2
|
+
import '@rspack/core';
|
|
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 RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-B3yWfz0u.js';
|
|
2
|
+
import '@rspack/core';
|
|
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-rspack",
|
|
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": ["rspack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@rspack/core": "^1.
|
|
131
|
-
"@stryke/fs": "^0.32.
|
|
132
|
-
"@stryke/path": "^0.
|
|
130
|
+
"@rspack/core": "^1.6.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
|
},
|
|
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
|
}
|