Pre-defined ENV for static websites

By default, we are using a set to most stable tools and packages but you can always override them. Below is the list of ENVs you can pass in configuration to override the default values.

  • NODE_VERSION: ex - 18 or 18.x

  • NODE_ENV: nodejs environment ( development, production)

  • NPM_VERSION: value that sets the npm version.

  • NPM_FLAGS: value passed as when running npm install.

  • NPM_TOKEN: used for fetching private npm modules.

  • USE_YARN : Force the use of yarn to install build dependencies instead of npm

  • YARN_VERSION: yarn version

  • YARN_FLAGS: value passed as when running yarn install.

  • YARN_NPM_AUTH_TOKEN: used for fetching private npm modules with Yarn.

  • BUN_FLAGS: passed as flags on the bun install command.

  • RUBY_VERSION: used to set the Ruby version.

  • PHP_VERSION: value that sets the PHP version. Default and available values are determined by the site build-image.

  • PNPM_FLAGS: passed as flags on the pnpm install command.

  • PYTHON_VERSION: value that sets the Python version.

  • HUGO_VERSION: value that sets the Hugo version.

  • SWIFT_VERSION: value that sets the Swift version.

  • GO_VERSION: value that sets the Go version. Default and available values are determined by the site build-image.

  • PANDA_PREVIEW : coming soon

Last updated