@fluojs/platform-nodejs 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/README.ko.md CHANGED
@@ -65,6 +65,8 @@ const adapter = createNodejsAdapter({
65
65
 
66
66
  시그널 기반 종료가 run-helper `forceExitTimeoutMs`를 넘기거나 실패하면 헬퍼는 해당 상태를 로그와 `process.exitCode`로 보고하지만, 최종 프로세스 종료는 호스트 프로세스 소유자에게 맡깁니다. Connection drain bound에는 adapter-level `shutdownTimeoutMs`를, signal handler completion bound에는 run-helper `forceExitTimeoutMs`를 사용하세요.
67
67
 
68
+ `bootstrapNodejsApplication(...)`과 `runNodejsApplication(...)`은 framework console logger를 기본으로 사용합니다. host나 portability test가 startup/shutdown diagnostics를 주입된 `ApplicationLogger`로 캡처해야 할 때는 `logger`를 전달하세요.
69
+
68
70
  ```typescript
69
71
  import { runNodejsApplication } from '@fluojs/platform-nodejs';
70
72
  import { AppModule } from './app.module';
package/README.md CHANGED
@@ -65,6 +65,8 @@ You can use `runNodejsApplication` for a zero-boilerplate startup that includes
65
65
 
66
66
  When signal-driven shutdown exceeds the run-helper `forceExitTimeoutMs` or fails, the helper logs the condition and sets `process.exitCode`, but leaves final process termination to the host process owner. Use adapter-level `shutdownTimeoutMs` for connection drain bounds and run-helper `forceExitTimeoutMs` for signal handler completion bounds.
67
67
 
68
+ `bootstrapNodejsApplication(...)` and `runNodejsApplication(...)` use the framework console logger by default. Pass `logger` when a host or portability test needs startup/shutdown diagnostics captured through an injected `ApplicationLogger`.
69
+
68
70
  ```typescript
69
71
  import { runNodejsApplication } from '@fluojs/platform-nodejs';
70
72
  import { AppModule } from './app.module';
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "platform",
10
10
  "server"
11
11
  ],
12
- "version": "1.0.4",
12
+ "version": "1.0.5",
13
13
  "private": false,
14
14
  "license": "MIT",
15
15
  "repository": {
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@fluojs/http": "^1.1.0",
40
- "@fluojs/runtime": "^1.1.5"
40
+ "@fluojs/runtime": "^1.1.6"
41
41
  },
42
42
  "devDependencies": {
43
43
  "vitest": "^3.2.4"