Skip to content

Javascript

languages.javascript.enable

Whether to enable tools for JavaScript development.

Type: boolean

Default: false

Example: true

languages.javascript.package

The Node.js package to use.

Type: package

Default: pkgs.nodejs-slim

languages.javascript.bun.enable

Whether to enable install bun.

Type: boolean

Default: false

Example: true

languages.javascript.bun.package

The bun package to use.

Type: package

Default: pkgs.bun

languages.javascript.bun.install.enable

Whether to enable bun install during devenv initialisation.

Type: boolean

Default: false

Example: true

languages.javascript.corepack.enable

Whether to enable wrappers for npm, pnpm and Yarn via Node.js Corepack.

Type: boolean

Default: false

Example: true

languages.javascript.directory

The JavaScript project’s root directory. Defaults to the root of the devenv project. Can be an absolute path or one relative to the root of the devenv project.

Type: string

Default: config.devenv.root

Example: "./directory"

languages.javascript.npm.enable

Whether to enable install npm.

Type: boolean

Default: false

Example: true

languages.javascript.npm.package

The Node.js package to use.

Type: package

Default: languages.javascript.package

languages.javascript.npm.install.enable

Whether to enable npm install during devenv initialisation.

Type: boolean

Default: false

Example: true

languages.javascript.pnpm.enable

Whether to enable install pnpm.

Type: boolean

Default: false

Example: true

languages.javascript.pnpm.package

The pnpm package to use.

Type: package

Default: pkgs.nodePackages.pnpm

languages.javascript.pnpm.install.enable

Whether to enable pnpm install during devenv initialisation.

Type: boolean

Default: false

Example: true

languages.javascript.yarn.enable

Whether to enable install yarn.

Type: boolean

Default: false

Example: true

languages.javascript.yarn.package

The yarn package to use.

Type: package

Default: pkgs.yarn

languages.javascript.yarn.install.enable

Whether to enable yarn install during devenv initialisation.

Type: boolean

Default: false

Example: true