To convert a Config type to a Config.Internal type, use the internal.internalConfig function.
ReadonlyclrDefault output colour to the terminal.
ReadonlycompilerOptional arguments to use when constructing Stage.Compiler.
ReadonlyconsoleOptional arguments to use when constructing Logger.
ReadonlyfsOptional arguments to use when constructing FileSystem.
ReadonlylaunchA four-digit year string representing the launch date of the project.
ReadonlypathsPaths to files or directories.
Absolute or relative to node’s cwd.
ReadonlyreplacePlaceholders to be replaced during the build processes.
ReadonlystagesAll build stages and whether or not they run, including custom implementations.
If true, the default class is run. If false, it is not run at all.
ReadonlytitleProject’s human-friendly name in title case.
Protected StaticdefaultA “local” “cache” of default config values, used primarily for ProjectConfig.export.
Used to export the default config to write a config file when one did not exist.
Gets a path to the Config.Paths.dist directories.
Instance used to work with paths and files.
OptionalsubDir: DistDirectorySub-path to get.
Optional additional subpaths.
Relative path.
0.1.0-alpha — Previously defined in ProjectConfig class.
Gets a path to the Config.Paths.scripts directories.
Instance used to work with paths and files.
OptionalsubDir: "logs"Sub-path to get.
Optional additional subpaths.
Relative path.
0.1.0-alpha — Previously defined in ProjectConfig class.
Gets a path to the Config.Paths.src directories.
Overloaded for more accurate typing:
Instance used to work with paths and files.
Sub-path to get.
Optional additional subpaths.
Relative path.
0.1.0-alpha — Previously defined in ProjectConfig class.
InternalOptionalsubDir: SourceDirectoryGets the instance for the given stage.
An array with first the stage’s class and then the configured arguments for that class, or undefined if that class is disabled by the config.
0.1.0-alpha — Previously defined in ProjectConfig class.
Returns the minimum required properties of this config.
Useful for creating stripped-down or default configuration objects.
The minimum required properties for this config.
0.1.0-alpha — Previously defined in ProjectConfig class.
The object shape used when converting to JSON.
0.1.0-alpha — Previously defined in ProjectConfig class.
Overrides the default function to return a string representation of this object.
0.1.0-alpha — Previously defined in ProjectConfig class.
A super-simple class just for the configuration of the project.
Since
0.1.0-alpha
Since
0.1.0-alpha.1 — Now implements Config.Class instead of Config.Internal.