@powerlines/plugin-webpack 0.5.25 → 0.5.29
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-6l-buVqH.d.cts → index-BPujyGvM.d.cts} +15 -3
- package/dist/{index-6l-buVqH.d.ts → index-BPujyGvM.d.ts} +15 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- 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 +6 -6
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack from 'webpack';
|
|
2
|
-
import { W as WebpackPluginContext } from '../index-
|
|
2
|
+
import { W as WebpackPluginContext } from '../index-BPujyGvM.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack from 'webpack';
|
|
2
|
-
import { W as WebpackPluginContext } from '../index-
|
|
2
|
+
import { W as WebpackPluginContext } from '../index-BPujyGvM.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
@@ -220,8 +220,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
220
220
|
tsconfigFilePath: string;
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
declare const __VFS_PATCH__
|
|
224
|
-
declare const __VFS_REVERT__
|
|
223
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
224
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
225
225
|
type OutputModeType = "fs" | "virtual";
|
|
226
226
|
interface VirtualFile {
|
|
227
227
|
/**
|
|
@@ -630,6 +630,15 @@ interface OutputConfig {
|
|
|
630
630
|
* @defaultValue "dist/\{projectRoot\}"
|
|
631
631
|
*/
|
|
632
632
|
outputPath?: string;
|
|
633
|
+
/**
|
|
634
|
+
* The output directory path for the project build.
|
|
635
|
+
*
|
|
636
|
+
* @remarks
|
|
637
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
638
|
+
*
|
|
639
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
640
|
+
*/
|
|
641
|
+
distPath?: string;
|
|
633
642
|
/**
|
|
634
643
|
* The format of the output files
|
|
635
644
|
*
|
|
@@ -1419,5 +1428,8 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1419
1428
|
type WebpackPluginOptions = Partial<WebpackBuildConfig>;
|
|
1420
1429
|
type WebpackPluginResolvedConfig = WebpackResolvedConfig;
|
|
1421
1430
|
type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
1431
|
+
declare type __ΩWebpackPluginOptions = any[];
|
|
1432
|
+
declare type __ΩWebpackPluginResolvedConfig = any[];
|
|
1433
|
+
declare type __ΩWebpackPluginContext = any[];
|
|
1422
1434
|
|
|
1423
|
-
export type { Plugin as P, WebpackPluginContext as W, WebpackPluginOptions as a, WebpackPluginResolvedConfig as b };
|
|
1435
|
+
export type { Plugin as P, WebpackPluginContext as W, __ΩWebpackPluginOptions as _, WebpackPluginOptions as a, WebpackPluginResolvedConfig as b, __ΩWebpackPluginResolvedConfig as c, __ΩWebpackPluginContext as d };
|
|
@@ -220,8 +220,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
220
220
|
tsconfigFilePath: string;
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
declare const __VFS_PATCH__
|
|
224
|
-
declare const __VFS_REVERT__
|
|
223
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
224
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
225
225
|
type OutputModeType = "fs" | "virtual";
|
|
226
226
|
interface VirtualFile {
|
|
227
227
|
/**
|
|
@@ -630,6 +630,15 @@ interface OutputConfig {
|
|
|
630
630
|
* @defaultValue "dist/\{projectRoot\}"
|
|
631
631
|
*/
|
|
632
632
|
outputPath?: string;
|
|
633
|
+
/**
|
|
634
|
+
* The output directory path for the project build.
|
|
635
|
+
*
|
|
636
|
+
* @remarks
|
|
637
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
638
|
+
*
|
|
639
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
640
|
+
*/
|
|
641
|
+
distPath?: string;
|
|
633
642
|
/**
|
|
634
643
|
* The format of the output files
|
|
635
644
|
*
|
|
@@ -1419,5 +1428,8 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1419
1428
|
type WebpackPluginOptions = Partial<WebpackBuildConfig>;
|
|
1420
1429
|
type WebpackPluginResolvedConfig = WebpackResolvedConfig;
|
|
1421
1430
|
type WebpackPluginContext<TResolvedConfig extends WebpackPluginResolvedConfig = WebpackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
1431
|
+
declare type __ΩWebpackPluginOptions = any[];
|
|
1432
|
+
declare type __ΩWebpackPluginResolvedConfig = any[];
|
|
1433
|
+
declare type __ΩWebpackPluginContext = any[];
|
|
1422
1434
|
|
|
1423
|
-
export type { Plugin as P, WebpackPluginContext as W, WebpackPluginOptions as a, WebpackPluginResolvedConfig as b };
|
|
1435
|
+
export type { Plugin as P, WebpackPluginContext as W, __ΩWebpackPluginOptions as _, WebpackPluginOptions as a, WebpackPluginResolvedConfig as b, __ΩWebpackPluginResolvedConfig as c, __ΩWebpackPluginContext as d };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as WebpackPluginResolvedConfig } from './index-
|
|
1
|
+
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-BPujyGvM.cjs';
|
|
2
|
+
export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-BPujyGvM.cjs';
|
|
3
3
|
export { createWebpackPlugin } from './helpers/unplugin.cjs';
|
|
4
4
|
import 'webpack';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as WebpackPluginResolvedConfig } from './index-
|
|
1
|
+
import { W as WebpackPluginContext, a as WebpackPluginOptions, P as Plugin } from './index-BPujyGvM.js';
|
|
2
|
+
export { b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from './index-BPujyGvM.js';
|
|
3
3
|
export { createWebpackPlugin } from './helpers/unplugin.js';
|
|
4
4
|
import 'webpack';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BPujyGvM.cjs';
|
|
2
2
|
import 'webpack';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BPujyGvM.js';
|
|
2
2
|
import 'webpack';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BPujyGvM.cjs';
|
|
2
2
|
import 'webpack';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-
|
|
1
|
+
export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig, d as __ΩWebpackPluginContext, _ as __ΩWebpackPluginOptions, c as __ΩWebpackPluginResolvedConfig } from '../index-BPujyGvM.js';
|
|
2
2
|
import 'webpack';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-webpack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -133,14 +133,14 @@
|
|
|
133
133
|
"@stryke/types": "^0.10.2",
|
|
134
134
|
"defu": "^6.1.4",
|
|
135
135
|
"jiti": "^2.6.1",
|
|
136
|
-
"powerlines": "^0.
|
|
136
|
+
"powerlines": "^0.23.3",
|
|
137
137
|
"webpack": "^5.103.0"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"@powerlines/nx": "^0.10.
|
|
141
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
142
|
-
"@types/node": "^
|
|
140
|
+
"@powerlines/nx": "^0.10.20",
|
|
141
|
+
"@powerlines/plugin-plugin": "^0.11.28",
|
|
142
|
+
"@types/node": "^24.10.1"
|
|
143
143
|
},
|
|
144
144
|
"publishConfig": { "access": "public" },
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
|
|
146
146
|
}
|