@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.
@@ -1,6 +1,6 @@
1
1
  export { createWebpackPlugin } from './unplugin.cjs';
2
2
  import 'webpack';
3
- import '../index-6l-buVqH.cjs';
3
+ import '../index-BPujyGvM.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  export { createWebpackPlugin } from './unplugin.js';
2
2
  import 'webpack';
3
- import '../index-6l-buVqH.js';
3
+ import '../index-BPujyGvM.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as webpack from 'webpack';
2
- import { W as WebpackPluginContext } from '../index-6l-buVqH.cjs';
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-6l-buVqH.js';
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__: unique symbol;
224
- declare const __VFS_REVERT__: unique symbol;
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__: unique symbol;
224
- declare const __VFS_REVERT__: unique symbol;
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-6l-buVqH.cjs';
2
- export { b as WebpackPluginResolvedConfig } from './index-6l-buVqH.cjs';
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-6l-buVqH.js';
2
- export { b as WebpackPluginResolvedConfig } from './index-6l-buVqH.js';
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';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-6l-buVqH.cjs';
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';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-6l-buVqH.js';
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';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-6l-buVqH.cjs';
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';
@@ -1,4 +1,4 @@
1
- export { W as WebpackPluginContext, a as WebpackPluginOptions, b as WebpackPluginResolvedConfig } from '../index-6l-buVqH.js';
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.25",
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.22.1",
136
+ "powerlines": "^0.23.3",
137
137
  "webpack": "^5.103.0"
138
138
  },
139
139
  "devDependencies": {
140
- "@powerlines/nx": "^0.10.16",
141
- "@powerlines/plugin-plugin": "^0.11.24",
142
- "@types/node": "^22.19.1"
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": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
145
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
146
146
  }