File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " create-t3-app " : patch
3
+ ---
4
+
5
+ fix: update ` package.json->name ` before installing dependencies.
Original file line number Diff line number Diff line change @@ -45,12 +45,6 @@ const main = async () => {
45
45
noInstall,
46
46
} ) ;
47
47
48
- if ( ! noInstall ) {
49
- await installDependencies ( { projectDir } ) ;
50
- }
51
-
52
- logNextSteps ( { projectName : appDir , packages : usePackages , noInstall } ) ;
53
-
54
48
// Write name to package.json
55
49
const pkgJson = fs . readJSONSync (
56
50
path . join ( projectDir , "package.json" ) ,
@@ -65,6 +59,12 @@ const main = async () => {
65
59
await initializeGit ( projectDir ) ;
66
60
}
67
61
62
+ if ( ! noInstall ) {
63
+ await installDependencies ( { projectDir } ) ;
64
+ }
65
+
66
+ logNextSteps ( { projectName : appDir , packages : usePackages , noInstall } ) ;
67
+
68
68
process . exit ( 0 ) ;
69
69
} ;
70
70
You can’t perform that action at this time.
0 commit comments