@atls/webpack-start-server-plugin 1.0.2 → 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 +36 -18
- package/dist/start-server.plugin.d.ts +3 -0
- package/dist/start-server.plugin.js +5 -3
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,49 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
## 1.0.
|
|
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
6
|
### Bug Fixes
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
* **
|
|
10
|
-
* **plugin
|
|
11
|
-
|
|
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))
|
|
11
|
+
|
|
12
|
+
|
|
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)
|
|
12
15
|
|
|
13
16
|
### Features
|
|
14
17
|
|
|
18
|
+
- **runtime:** update config ([#495](https://github.com/atls/raijin/issues/495)) ([a0d9d40](https://github.com/atls/raijin/commit/a0d9d40b1ddc15e194bbf7ebaa04cc01a50ff750))
|
|
19
|
+
|
|
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)
|
|
21
|
+
|
|
22
|
+
### Features
|
|
15
23
|
|
|
16
|
-
|
|
17
|
-
* **common:** finalize cli & webpack, update yarn workspace ([0f2736c](https://github.com/atls/raijin/commit/0f2736c6d37f8141a1a50c352bf80d7ffb2f4ea7))
|
|
18
|
-
* init code-runtime, WIP for yrnpkg 3v downgrading ([587d7dc](https://github.com/atls/raijin/commit/587d7dc75c6b08c2a4b0a0b4bf380939de83a6c3))
|
|
19
|
-
* remove @atls/builder, init cli-ui-schematics ([9a89280](https://github.com/atls/raijin/commit/9a892802fc3571f5ca46da67dcd10dcdc016e476))
|
|
20
|
-
* remove repository field, add cli & webpack utilities ([f47613e](https://github.com/atls/raijin/commit/f47613e9784e9eea86ed98e712198b000ca5766d))
|
|
21
|
-
* update common deps ([b5098e8](https://github.com/atls/raijin/commit/b5098e843c0153a476c16ae8607ba2b598accb60))
|
|
22
|
-
* update deps ([de29dbf](https://github.com/atls/raijin/commit/de29dbffcc0c1b9cf081825987e733352b1761a7))
|
|
23
|
-
* webpack ([5aa84f0](https://github.com/atls/raijin/commit/5aa84f00d53a91cf591afeba1176439fabe023ff))
|
|
24
|
-
* webpack to ecma modules, bump types/node ([fc27beb](https://github.com/atls/raijin/commit/fc27beb5ea6ad5431fa335c294191e933392b6d6))
|
|
25
|
-
* **webpack:** add localtunnel & server starter plugin ([400a7d3](https://github.com/atls/raijin/commit/400a7d373261e12f6cd134ac5254b840af66351e))
|
|
26
|
-
* **webpack:** bump, andd proto loader ([#463](https://github.com/atls/raijin/issues/463)) ([d2ab540](https://github.com/atls/raijin/commit/d2ab540602c9009f42d15c7e9f0d48ce049d8ac1))
|
|
27
|
-
* yarn tests utils ([3e5d057](https://github.com/atls/raijin/commit/3e5d057d79b1967e20f51fec5a8ff650f2d7037b))
|
|
28
|
-
* **yarn:** essentials, renderer, tools, types, ui ([e683746](https://github.com/atls/raijin/commit/e683746e203e1d8486c1f4d92d9d9d8f785f84ee))
|
|
29
|
-
* **yarn:** workspace utils ([ffc200d](https://github.com/atls/raijin/commit/ffc200d0f0cf6444fe9053a7f046a5d039f79177))
|
|
24
|
+
- **common:** bump ([#494](https://github.com/atls/raijin/issues/494)) ([381d535](https://github.com/atls/raijin/commit/381d5357c2818e157330933edb9256936d251ca3))
|
|
30
25
|
|
|
26
|
+
## 1.0.2 (2025-01-30)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **common:** yarn check ([#485](https://github.com/atls/raijin/issues/485)) ([b0c3cfa](https://github.com/atls/raijin/commit/b0c3cfad8f559c55691ca733c7a3a7b3cd00c4d8))
|
|
31
|
+
- **plugin-service:** build and dev commands ([e4af7f4](https://github.com/atls/raijin/commit/e4af7f441c1b1e8c5bc6779c83b2ed44b21894c9))
|
|
32
|
+
- typecheck ([27ccb0e](https://github.com/atls/raijin/commit/27ccb0ef63898afd00b830952914e060b8dd5593))
|
|
33
|
+
|
|
34
|
+
### Features
|
|
31
35
|
|
|
36
|
+
- **common:** bump to minor ([775c630](https://github.com/atls/raijin/commit/775c630061f91970a65e34afabeea8d029e02176))
|
|
37
|
+
- **common:** finalize cli & webpack, update yarn workspace ([0f2736c](https://github.com/atls/raijin/commit/0f2736c6d37f8141a1a50c352bf80d7ffb2f4ea7))
|
|
38
|
+
- init code-runtime, WIP for yrnpkg 3v downgrading ([587d7dc](https://github.com/atls/raijin/commit/587d7dc75c6b08c2a4b0a0b4bf380939de83a6c3))
|
|
39
|
+
- remove @atls/builder, init cli-ui-schematics ([9a89280](https://github.com/atls/raijin/commit/9a892802fc3571f5ca46da67dcd10dcdc016e476))
|
|
40
|
+
- remove repository field, add cli & webpack utilities ([f47613e](https://github.com/atls/raijin/commit/f47613e9784e9eea86ed98e712198b000ca5766d))
|
|
41
|
+
- update common deps ([b5098e8](https://github.com/atls/raijin/commit/b5098e843c0153a476c16ae8607ba2b598accb60))
|
|
42
|
+
- update deps ([de29dbf](https://github.com/atls/raijin/commit/de29dbffcc0c1b9cf081825987e733352b1761a7))
|
|
43
|
+
- webpack ([5aa84f0](https://github.com/atls/raijin/commit/5aa84f00d53a91cf591afeba1176439fabe023ff))
|
|
44
|
+
- webpack to ecma modules, bump types/node ([fc27beb](https://github.com/atls/raijin/commit/fc27beb5ea6ad5431fa335c294191e933392b6d6))
|
|
45
|
+
- **webpack:** add localtunnel & server starter plugin ([400a7d3](https://github.com/atls/raijin/commit/400a7d373261e12f6cd134ac5254b840af66351e))
|
|
46
|
+
- **webpack:** bump, andd proto loader ([#463](https://github.com/atls/raijin/issues/463)) ([d2ab540](https://github.com/atls/raijin/commit/d2ab540602c9009f42d15c7e9f0d48ce049d8ac1))
|
|
47
|
+
- yarn tests utils ([3e5d057](https://github.com/atls/raijin/commit/3e5d057d79b1967e20f51fec5a8ff650f2d7037b))
|
|
48
|
+
- **yarn:** essentials, renderer, tools, types, ui ([e683746](https://github.com/atls/raijin/commit/e683746e203e1d8486c1f4d92d9d9d8f785f84ee))
|
|
49
|
+
- **yarn:** workspace utils ([ffc200d](https://github.com/atls/raijin/commit/ffc200d0f0cf6444fe9053a7f046a5d039f79177))
|
|
@@ -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.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"postpack": "rm -rf dist"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"webpack": "5.
|
|
24
|
+
"webpack": "5.98.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/node": "22.
|
|
27
|
+
"@types/node": "22.13.10"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public",
|
|
@@ -39,5 +39,6 @@
|
|
|
39
39
|
"main": "dist/index.js",
|
|
40
40
|
"types": "dist/index.d.ts"
|
|
41
41
|
},
|
|
42
|
+
"typecheckSkipLibCheck": true,
|
|
42
43
|
"types": "dist/index.d.ts"
|
|
43
44
|
}
|