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