-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(new): include app level import paths for style preprocessors
- fixed linter errors - re-run build-config-interface - refactored variable names to preprocessors instead of style - use cliConfig to determine preprocessor for project
- Loading branch information
Showing
5 changed files
with
157 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
export interface CliConfig { | ||
/** | ||
* The global configuration of the project. | ||
*/ | ||
project?: { | ||
version?: string; | ||
name?: string; | ||
}; | ||
/** | ||
* Properties of the different applications in this project. | ||
*/ | ||
apps?: { | ||
root?: string; | ||
outDir?: string; | ||
assets?: string | string[]; | ||
deployUrl?: string; | ||
index?: string; | ||
main?: string; | ||
test?: string; | ||
tsconfig?: string; | ||
prefix?: string; | ||
mobile?: boolean; | ||
/** | ||
* Global styles to be included in the build. | ||
*/ | ||
styles?: (string | { | ||
[name: string]: any; | ||
input?: string; | ||
})[]; | ||
/** | ||
* Global scripts to be included in the build. | ||
*/ | ||
scripts?: (string | { | ||
[name: string]: any; | ||
input?: string; | ||
})[]; | ||
/** | ||
* Name and corresponding file for environment config. | ||
*/ | ||
environments?: { | ||
[name: string]: any; | ||
}; | ||
/** | ||
* Options to pass to style loaders in webpack. | ||
*/ | ||
webpackStyleLoaderOptions?: { | ||
/** | ||
* Paths to include. Paths will be resolved to project root. | ||
*/ | ||
includePaths?: string[]; | ||
}; | ||
}[]; | ||
/** | ||
* Configuration reserved for installed third party addons. | ||
*/ | ||
addons?: { | ||
[name: string]: any; | ||
}[]; | ||
/** | ||
* Configuration reserved for installed third party packages. | ||
*/ | ||
packages?: { | ||
[name: string]: any; | ||
}[]; | ||
e2e?: { | ||
protractor?: { | ||
config?: string; | ||
}; | ||
}; | ||
test?: { | ||
karma?: { | ||
config?: string; | ||
}; | ||
}; | ||
defaults?: { | ||
styleExt?: string; | ||
prefixInterfaces?: boolean; | ||
poll?: number; | ||
viewEncapsulation?: string; | ||
changeDetection?: string; | ||
inline?: { | ||
style?: boolean; | ||
template?: boolean; | ||
}; | ||
spec?: { | ||
class?: boolean; | ||
component?: boolean; | ||
directive?: boolean; | ||
module?: boolean; | ||
pipe?: boolean; | ||
service?: boolean; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters