@@ -13,40 +13,40 @@ export interface AngularProjectSettings {
13
13
/** ng Npm Version */
14
14
ngSemVer : SemVer ;
15
15
16
- /** default: "" */
16
+ /** default: '' */
17
17
root : string ;
18
18
19
- /** default: " src" */
19
+ /** default: ' src' */
20
20
sourceRoot : string ;
21
21
22
- /** default: " main" */
22
+ /** default: ' main' */
23
23
mainName : string ;
24
- /** default: " src/main.ts" */
24
+ /** default: ' src/main.ts' */
25
25
mainPath : string ;
26
- /** default: " app" */
26
+ /** default: ' app' */
27
27
prefix : string ;
28
- /** default: " src/tsconfig.json" */
28
+ /** default: ' src/tsconfig.json' */
29
29
tsConfig : string ;
30
30
31
- /** default: " AppModule" */
31
+ /** default: ' AppModule' */
32
32
entryModuleClassName : string ;
33
- /** default: " App" */
33
+ /** default: ' App' */
34
34
entryModuleName : string ;
35
- /** default: " src/app/app.module.ts" */
35
+ /** default: ' src/app/app.module.ts' */
36
36
entryModulePath : string ;
37
- /** default: " ./app/app.module" */
37
+ /** default: ' ./app/app.module' */
38
38
entryModuleImportPath : string ;
39
39
40
- /** default: " AppComponent" */
40
+ /** default: ' AppComponent' */
41
41
entryComponentClassName : string ;
42
- /** default: " App" */
42
+ /** default: ' App' */
43
43
entryComponentName : string ;
44
- /** default: " src/app/app.component.ts" */
44
+ /** default: ' src/app/app.component.ts' */
45
45
entryComponentPath : string ;
46
- /** default: " ./app.component" */
46
+ /** default: ' ./app.component' */
47
47
entryComponentImportPath : string ;
48
48
49
- /** default: " app-root" */
49
+ /** default: ' app-root' */
50
50
indexAppRootTag : string ;
51
51
}
52
52
@@ -173,7 +173,7 @@ export function getProjectObject(tree: Tree, projectName: string) {
173
173
174
174
// Step 2 - get entryModule and entryModulePath => open ${sourceRoot}/${main}.ts
175
175
// - get entryModule from .bootstrapModule(__value__)
176
- // - get entryModulePath from import { ${entryModule} } from " __value__" -- might need to remove ./
176
+ // - get entryModulePath from import { ${entryModule} } from ' __value__' -- might need to remove ./
177
177
function getEntryModuleMetadata ( tree : Tree , mainPath : string ) : ClassMetadata {
178
178
const source = getSourceFile ( tree , mainPath ) ;
179
179
@@ -197,7 +197,7 @@ function getEntryModuleMetadata(tree: Tree, mainPath: string): ClassMetadata {
197
197
198
198
// Step 3 - get appComponent and appComponentPath => open ${appRoot}/${entryModulePath}
199
199
// - get appComponent from bootstrap: [ __value__ ]
200
- // - get appComponentPath from import { ${appComponent} } from " __value__"
200
+ // - get appComponentPath from import { ${appComponent} } from ' __value__'
201
201
function getEntryComponentMetadata ( tree : Tree , entryModulePath : string ) : ClassMetadata {
202
202
const source = getSourceFile ( tree , entryModulePath ) ;
203
203
@@ -227,7 +227,7 @@ function getEntryComponentMetadata(tree: Tree, entryModulePath: string): ClassMe
227
227
} ;
228
228
}
229
229
230
- // Step 4 - get indexAppRootTag => open ${appRoot}/${appComponentPath} - get from selector: " __value__"
230
+ // Step 4 - get indexAppRootTag => open ${appRoot}/${appComponentPath} - get from selector: ' __value__'
231
231
function getAppRootTag ( tree : Tree , entryComponentPath : string ) : string {
232
232
const source = getSourceFile ( tree , entryComponentPath ) ;
233
233
0 commit comments