-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(generators): allow --framework for Nx consistency
- Loading branch information
1 parent
5536604
commit bb79c28
Showing
5 changed files
with
190 additions
and
57 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
import { Framework } from "../utils"; | ||
|
||
export interface Schema { | ||
name: string; | ||
skipFormat?: boolean; | ||
inlineStyle?: boolean; | ||
inlineTemplate?: boolean; | ||
viewEncapsulation?: 'Emulated' | 'Native' | 'None'; | ||
routing?: boolean; | ||
prefix?: string; | ||
style?: string; | ||
skipTests?: boolean; | ||
directory?: string; | ||
tags?: string; | ||
unitTestRunner?: any; | ||
e2eTestRunner?: any; | ||
framework?: Framework; | ||
name: string; | ||
skipFormat?: boolean; | ||
inlineStyle?: boolean; | ||
inlineTemplate?: boolean; | ||
viewEncapsulation?: "Emulated" | "Native" | "None"; | ||
routing?: boolean; | ||
prefix?: string; | ||
style?: string; | ||
skipTests?: boolean; | ||
directory?: string; | ||
tags?: string; | ||
unitTestRunner?: any; | ||
e2eTestRunner?: any; | ||
|
||
// xplat additional options | ||
sample?: boolean; | ||
/** | ||
* Group by app name (appname-platform) instead of the default (platform-appname) | ||
*/ | ||
groupByName?: boolean; | ||
/** | ||
* Add headless e2e configuration suitable for CI | ||
*/ | ||
addHeadlessE2e?: boolean; | ||
} | ||
// xplat additional options | ||
sample?: boolean; | ||
/** | ||
* Group by app name (appname-platform) instead of the default (platform-appname) | ||
*/ | ||
groupByName?: boolean; | ||
/** | ||
* Add headless e2e configuration suitable for CI | ||
*/ | ||
addHeadlessE2e?: 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