import {ProjectConfiguration} from 'projext/src/services/configurations/projectConfiguration.js'
ProjectConfiguration
Extends:
Here's the configuration with all the 'magic defaults' the app uses. This service generates the project configuration with all settings and features projext uses. This configuration is ALWAYS overwritten and extended in order to define the targets.
Constructor Summary
Public Constructor | ||
public |
constructor(pathUtils: PathUtils, plugins: Plugins, targetsFinder: find) |
Member Summary
Public Members | ||
public |
A local reference for the |
|
public |
A local reference for the |
Method Summary
Public Methods | ||
public |
Create the project configuration with all its 'smart defaults'. |
Inherited Summary
From class ConfigurationFile | ||
public |
Whether the configuration should be created every time |
|
public |
A list of paths that can overwrite the configuration. |
|
public |
A parent configuration to extend. |
|
public |
A local reference for the |
|
public abstract |
This method will be called the first time |
|
public |
This is the public method all other services uses to obtain the configuration. |
Public Constructors
public constructor(pathUtils: PathUtils, plugins: Plugins, targetsFinder: find) source
Class constructor.
Override:
ConfigurationFile#constructorParams:
Name | Type | Attribute | Description |
pathUtils | PathUtils | Because |
|
plugins | Plugins | To get the list of loaded plugins and decide the default build engine. |
|
targetsFinder | find | If the configuration is not overwritten, the service will use this to look for existing targets based on the files andor folders on the source directory. |
Public Members
Public Methods
public createConfig(): ProjectConfigurationSettings source
Create the project configuration with all its 'smart defaults'.