@atls/webpack-start-server-plugin 1.0.4 → 1.0.5

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/CHANGELOG.md CHANGED
@@ -1,14 +1,21 @@
1
1
 
2
2
 
3
- ## [1.0.4](https://github.com/atls/raijin/compare/@atls/webpack-start-server-plugin@1.0.3...@atls/webpack-start-server-plugin@1.0.4) (2025-03-09)
3
+ ## [1.0.5](https://github.com/atls/raijin/compare/@atls/webpack-start-server-plugin@1.0.4...@atls/webpack-start-server-plugin@1.0.5) (2026-06-11)
4
4
 
5
5
 
6
- ### Features
6
+ ### Bug Fixes
7
+
7
8
 
9
+ * **code-service:** propagate service runtime exec argv ([e0475e4](https://github.com/atls/raijin/commit/e0475e4439099b092e25fe1b41a2c474077929fe))
10
+ * **webpack-start-server-plugin:** preserve parent exec argv ([4ff09ee](https://github.com/atls/raijin/commit/4ff09ee24b71a5c4cf0b445258b5f66b0e82196e))
8
11
 
9
- * **runtime:** update config ([#495](https://github.com/atls/raijin/issues/495)) ([a0d9d40](https://github.com/atls/raijin/commit/a0d9d40b1ddc15e194bbf7ebaa04cc01a50ff750))
10
12
 
11
13
 
14
+ ## [1.0.4](https://github.com/atls/raijin/compare/@atls/webpack-start-server-plugin@1.0.3...@atls/webpack-start-server-plugin@1.0.4) (2025-03-09)
15
+
16
+ ### Features
17
+
18
+ - **runtime:** update config ([#495](https://github.com/atls/raijin/issues/495)) ([a0d9d40](https://github.com/atls/raijin/commit/a0d9d40b1ddc15e194bbf7ebaa04cc01a50ff750))
12
19
 
13
20
  ## [1.0.3](https://github.com/atls/raijin/compare/@atls/webpack-start-server-plugin@1.0.2...@atls/webpack-start-server-plugin@1.0.3) (2025-03-09)
14
21
 
@@ -1,11 +1,14 @@
1
1
  import type { ChildProcess } from 'node:child_process';
2
+ import type { ForkOptions } from 'node:child_process';
2
3
  import type { Writable } from 'node:stream';
3
4
  import type webpack from 'webpack';
4
5
  import { StartServerLogger } from './start-server.logger.js';
5
6
  export interface StartServerPluginOptions {
6
7
  stdout?: Writable;
7
8
  stderr?: Writable;
9
+ execArgv?: Array<string>;
8
10
  }
11
+ export declare const createStartServerForkOptions: ({ execArgv }: StartServerPluginOptions, parentExecArgv?: string[]) => ForkOptions;
9
12
  export declare class StartServerPlugin {
10
13
  options: StartServerPluginOptions;
11
14
  entryFile: string | null;
@@ -1,6 +1,10 @@
1
1
  import { fork } from 'node:child_process';
2
2
  import { join } from 'node:path';
3
3
  import { StartServerLogger } from './start-server.logger.js';
4
+ export const createStartServerForkOptions = ({ execArgv }, parentExecArgv = process.execArgv) => ({
5
+ silent: true,
6
+ ...(execArgv ? { execArgv: [...parentExecArgv, ...execArgv] } : {}),
7
+ });
4
8
  export class StartServerPlugin {
5
9
  options;
6
10
  entryFile = null;
@@ -38,9 +42,7 @@ export class StartServerPlugin {
38
42
  }
39
43
  };
40
44
  runWorker(entryFile, callback) {
41
- const worker = fork(entryFile, [], {
42
- silent: true,
43
- });
45
+ const worker = fork(entryFile, [], createStartServerForkOptions(this.options));
44
46
  if (this.options.stdout) {
45
47
  worker.stdout?.pipe(this.options.stdout, { end: false });
46
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atls/webpack-start-server-plugin",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "license": "BSD-3-Clause",
5
5
  "type": "module",
6
6
  "exports": {