File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ function finalize() {
146146 [ 'colors' , 'prompt' , 'replace-in-file' , 'ts-node' ] . forEach ( ( dep ) => {
147147 delete pkg . devDependencies [ dep ] ;
148148 } ) ;
149-
150- pkg . version = " 0.1.0" ;
149+
150+ pkg . version = ' 0.1.0' ;
151151
152152 writeFileSync ( jsonPackage , JSON . stringify ( pkg , null , 2 ) ) ;
153153 console . log ( green ( 'Postinstall script has been removed' ) ) ;
@@ -178,7 +178,7 @@ function setupLibrary(libraryName: string, generateExample = false) {
178178
179179 if ( generateExample ) {
180180 yellow ( 'Installing the test application into example/ directory...' ) ;
181- execSync ( 'npx create- react-app example' ) ;
181+ execSync ( 'yarn create react-app --template=typescript example' ) ;
182182 execSync ( 'echo "SKIP_PREFLIGHT_CHECK=true" >> example/.env' ) ;
183183 }
184184 execSync ( 'mv tools/README.md README.md' ) ;
You can’t perform that action at this time.
0 commit comments