Skip to content

API Reference / @gtkx/config / @gtkx/config / DeployNodeOptions

Type Alias: DeployNodeOptions ​

DeployNodeOptions = object

Defined in: packages/config/src/deploy.ts:309

The deploy.node options: where the Node.js runtime bundled with the application comes from, the version it is expected to be, whether its binary is stripped, and whether the launcher enables the compile cache.

Properties ​

path? ​

optional path?: string

Defined in: packages/config/src/deploy.ts:327

Node.js executable path relative to the project root, required when source is path.

Default Value ​

None; required when source is "path"


shouldStrip? ​

optional shouldStrip?: boolean

Defined in: packages/config/src/deploy.ts:333

Strip the runtime when its architecture matches the host and strip is available.

Default Value ​

true


shouldUseCompileCache? ​

optional shouldUseCompileCache?: boolean

Defined in: packages/config/src/deploy.ts:339

Enable Node.js compile caching in the generated launcher.

Default Value ​

true


source? ​

optional source?: "download" | "host" | "path"

Defined in: packages/config/src/deploy.ts:315

Runtime source: an official download, the running Node.js executable, or path.

Default Value ​

"download"


version? ​

optional version?: string

Defined in: packages/config/src/deploy.ts:321

Expected Node.js version. Only a downloaded runtime uses it.

Default Value ​

"26.13.1" for a downloaded runtime