Class: DeploymentConfig

DeploymentConfig(registries, production, includePeerDependencies, flatten, nodePackage, outputDir, bypassCache, stripOptionalDependencies)

Stores all global deployment configuration properties

Constructor

new DeploymentConfig(registries, production, includePeerDependencies, flatten, nodePackage, outputDir, bypassCache, stripOptionalDependencies)

Construct a new deployment config instance.
Parameters:
Name Type Description
registries Array.<Registry> An array of alternative registries for scoped packages
production Boolean Indicates whether we deploy in production mode or development mode. In development mode, also the development dependencies will be included.
includePeerDependencies Boolean Indicates whether to include peer dependencies with the package
flatten Boolean Indicates whether to create a flat dependency structure in which dependencies are as high as possible in the graph
nodePackage String Name of the Node.js package to use from Nixpkgs
outputDir String Directory in which the nix expression will be written
bypassCache Boolean Indicates that the content addressable cache should be bypassed
stripOptionalDependencies Boolean When enabled, the optional dependencies are stripped from the regular dependencies in the NPM registry
Source: