@@ -22,7 +22,7 @@ import { assertNotUsingTsSolutionSetup } from '@nx/js/src/utils/typescript/ts-so
22
22
23
23
function normalize (
24
24
host : Tree ,
25
- options : MakeLibBuildableSchema ,
25
+ options : MakeLibBuildableSchema
26
26
) : MakeLibBuildableSchema {
27
27
options . projectRoot = readProjectConfiguration ( host , options . name ) . root ;
28
28
@@ -37,7 +37,7 @@ function createFiles(host: Tree, options: MakeLibBuildableSchema) {
37
37
host ,
38
38
joinPathFragments ( __dirname , './files/lib' ) ,
39
39
options . projectRoot ,
40
- options ,
40
+ options
41
41
) ;
42
42
}
43
43
@@ -50,15 +50,15 @@ function updateProjectConfig(host: Tree, options: MakeLibBuildableSchema) {
50
50
projectConfig . targets . e2e = getE2eTarget ( AppType . library , options ) ;
51
51
projectConfig . targets . lint = getLintTarget (
52
52
AppType . library ,
53
- options . projectRoot ,
53
+ options . projectRoot
54
54
) ;
55
55
56
56
updateProjectConfiguration ( host , options . name , projectConfig ) ;
57
57
}
58
58
59
59
export async function makeLibBuildableGenerator (
60
60
host : Tree ,
61
- schema : MakeLibBuildableSchema ,
61
+ schema : MakeLibBuildableSchema
62
62
) {
63
63
assertNotUsingTsSolutionSetup ( host , '@nxext/stencil' , 'make-lib-buildable' ) ;
64
64
@@ -69,7 +69,7 @@ export async function makeLibBuildableGenerator(
69
69
addStylePluginToConfig (
70
70
host ,
71
71
joinPathFragments ( options . projectRoot , 'stencil.config.ts' ) ,
72
- options . style ,
72
+ options . style
73
73
) ;
74
74
addToOutputTargets (
75
75
host ,
@@ -98,7 +98,7 @@ export async function makeLibBuildableGenerator(
98
98
includeGlobalScripts: false,
99
99
}` ,
100
100
] ,
101
- joinPathFragments ( options . projectRoot , 'stencil.config.ts' ) ,
101
+ joinPathFragments ( options . projectRoot , 'stencil.config.ts' )
102
102
) ;
103
103
updateTsConfig ( host , options ) ;
104
104
0 commit comments