@powerlines/plugin-rspack 0.5.12 → 0.5.14
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/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/unplugin.d.cts +1 -1
- package/dist/helpers/unplugin.d.ts +1 -1
- package/dist/{index-B3yWfz0u.d.cts → index-M67ypuuH.d.cts} +25 -1
- package/dist/{index-B3yWfz0u.d.ts → index-M67ypuuH.d.ts} +25 -1
- package/dist/{src/index.cjs → index.cjs} +1 -1
- package/dist/{src/index.d.cts → index.d.cts} +3 -3
- package/dist/{src/index.d.ts → index.d.ts} +3 -3
- package/dist/{src/index.js → index.js} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +9 -9
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import { R as RspackPluginContext } from '../index-
|
|
2
|
+
import { R as RspackPluginContext } from '../index-M67ypuuH.cjs';
|
|
3
3
|
import '@rspack/core';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import { R as RspackPluginContext } from '../index-
|
|
2
|
+
import { R as RspackPluginContext } from '../index-M67ypuuH.js';
|
|
3
3
|
import '@rspack/core';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
@@ -4,7 +4,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
5
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
6
|
import { Range } from 'semver';
|
|
7
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
7
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
8
8
|
import { Format } from '@storm-software/build-tools/types';
|
|
9
9
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
10
10
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
@@ -941,6 +941,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
941
941
|
* A logging function for the Powerlines engine
|
|
942
942
|
*/
|
|
943
943
|
log: LogFn;
|
|
944
|
+
/**
|
|
945
|
+
* A logging function for fatal messages
|
|
946
|
+
*/
|
|
947
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
948
|
+
/**
|
|
949
|
+
* A logging function for error messages
|
|
950
|
+
*/
|
|
951
|
+
error: (message: string | UnpluginMessage) => void;
|
|
952
|
+
/**
|
|
953
|
+
* A logging function for warning messages
|
|
954
|
+
*/
|
|
955
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
956
|
+
/**
|
|
957
|
+
* A logging function for informational messages
|
|
958
|
+
*/
|
|
959
|
+
info: (message: string | UnpluginMessage) => void;
|
|
960
|
+
/**
|
|
961
|
+
* A logging function for debug messages
|
|
962
|
+
*/
|
|
963
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
964
|
+
/**
|
|
965
|
+
* A logging function for trace messages
|
|
966
|
+
*/
|
|
967
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
944
968
|
/**
|
|
945
969
|
* The metadata information
|
|
946
970
|
*/
|
|
@@ -4,7 +4,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
5
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
6
|
import { Range } from 'semver';
|
|
7
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
7
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
8
8
|
import { Format } from '@storm-software/build-tools/types';
|
|
9
9
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
10
10
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
@@ -941,6 +941,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
941
941
|
* A logging function for the Powerlines engine
|
|
942
942
|
*/
|
|
943
943
|
log: LogFn;
|
|
944
|
+
/**
|
|
945
|
+
* A logging function for fatal messages
|
|
946
|
+
*/
|
|
947
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
948
|
+
/**
|
|
949
|
+
* A logging function for error messages
|
|
950
|
+
*/
|
|
951
|
+
error: (message: string | UnpluginMessage) => void;
|
|
952
|
+
/**
|
|
953
|
+
* A logging function for warning messages
|
|
954
|
+
*/
|
|
955
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
956
|
+
/**
|
|
957
|
+
* A logging function for informational messages
|
|
958
|
+
*/
|
|
959
|
+
info: (message: string | UnpluginMessage) => void;
|
|
960
|
+
/**
|
|
961
|
+
* A logging function for debug messages
|
|
962
|
+
*/
|
|
963
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
964
|
+
/**
|
|
965
|
+
* A logging function for trace messages
|
|
966
|
+
*/
|
|
967
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
944
968
|
/**
|
|
945
969
|
* The metadata information
|
|
946
970
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('
|
|
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
2
|
*
|
|
3
3
|
* ⚡ Built by Storm Software
|
|
4
4
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from '
|
|
2
|
-
export { b as RspackPluginResolvedConfig } from '
|
|
3
|
-
export { createRspackPlugin } from '
|
|
1
|
+
import { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from './index-M67ypuuH.cjs';
|
|
2
|
+
export { b as RspackPluginResolvedConfig } from './index-M67ypuuH.cjs';
|
|
3
|
+
export { createRspackPlugin } from './helpers/unplugin.cjs';
|
|
4
4
|
import '@rspack/core';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from '
|
|
2
|
-
export { b as RspackPluginResolvedConfig } from '
|
|
3
|
-
export { createRspackPlugin } from '
|
|
1
|
+
import { R as RspackPluginContext, a as RspackPluginOptions, P as Plugin } from './index-M67ypuuH.js';
|
|
2
|
+
export { b as RspackPluginResolvedConfig } from './index-M67ypuuH.js';
|
|
3
|
+
export { createRspackPlugin } from './helpers/unplugin.js';
|
|
4
4
|
import '@rspack/core';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'
|
|
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
2
|
*
|
|
3
3
|
* ⚡ Built by Storm Software
|
|
4
4
|
*
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-M67ypuuH.cjs';
|
|
2
2
|
import '@rspack/core';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-M67ypuuH.js';
|
|
2
2
|
import '@rspack/core';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-M67ypuuH.cjs';
|
|
2
2
|
import '@rspack/core';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RspackPluginContext, a as RspackPluginOptions, b as RspackPluginResolvedConfig } from '../index-M67ypuuH.js';
|
|
2
2
|
import '@rspack/core';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rspack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -128,19 +128,19 @@
|
|
|
128
128
|
"keywords": ["rspack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"@rspack/core": "^1.6.1",
|
|
131
|
-
"@stryke/fs": "^0.32.
|
|
132
|
-
"@stryke/path": "^0.
|
|
133
|
-
"@stryke/type-checks": "^0.3.
|
|
134
|
-
"@stryke/types": "^0.10.
|
|
131
|
+
"@stryke/fs": "^0.32.11",
|
|
132
|
+
"@stryke/path": "^0.19.0",
|
|
133
|
+
"@stryke/type-checks": "^0.3.11",
|
|
134
|
+
"@stryke/types": "^0.10.1",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.
|
|
137
|
+
"powerlines": "^0.19.1"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"@powerlines/nx": "^0.10.
|
|
141
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
140
|
+
"@powerlines/nx": "^0.10.5",
|
|
141
|
+
"@powerlines/plugin-plugin": "^0.11.13",
|
|
142
142
|
"@types/node": "^22.19.0"
|
|
143
143
|
},
|
|
144
144
|
"publishConfig": { "access": "public" },
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "d25499feacd0143784f3cd426488909134bffab2"
|
|
146
146
|
}
|