File tree Expand file tree Collapse file tree 18 files changed +1865
-1750
lines changed Expand file tree Collapse file tree 18 files changed +1865
-1750
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @modern-js/codesmith-api-app ' : minor
3
+ ---
4
+
5
+ feat: no run ` git commit ` when the repo is already a git repo
Original file line number Diff line number Diff line change 64
64
},
65
65
//
66
66
"editor.codeActionsOnSave" : {
67
- "source.fixAll.eslint" : true
67
+ "source.fixAll.eslint" : " explicit "
68
68
},
69
69
"editor.defaultFormatter" : " esbenp.prettier-vscode" ,
70
70
"javascript.format.enable" : false ,
Original file line number Diff line number Diff line change 27
27
},
28
28
"engines" : {
29
29
"node" : " >=14.17.6" ,
30
- "pnpm" : " >=8.0.0 <=8.6.1 "
30
+ "pnpm" : " >=8.0.0 <=9.0.0 "
31
31
},
32
- "packageManager" : " pnpm@8.6.1 " ,
32
+ "packageManager" : " pnpm@8.15.8 " ,
33
33
"husky" : {
34
34
"hooks" : {
35
35
"pre-commit" : " lint-staged" ,
72
72
]
73
73
},
74
74
"devDependencies" : {
75
- "@modern-js/monorepo-tools" : " 2.37.2 " ,
76
- "@modern-js/tsconfig" : " 2.37.2 " ,
77
- "@modern-js-app/eslint-config" : " 2.37.2 " ,
78
- "@modern-js/eslint-config" : " 2.37.2 "
75
+ "@modern-js/monorepo-tools" : " 2.58.0 " ,
76
+ "@modern-js/tsconfig" : " 2.58.0 " ,
77
+ "@modern-js-app/eslint-config" : " 2.58.0 " ,
78
+ "@modern-js/eslint-config" : " 2.58.0 "
79
79
}
80
80
}
Original file line number Diff line number Diff line change 36
36
"@modern-js/codesmith-api-handlebars" : " workspace:*" ,
37
37
"@modern-js/codesmith-api-npm" : " workspace:*" ,
38
38
"@modern-js/codesmith-formily" : " workspace:*" ,
39
- "@modern-js/plugin-i18n" : " ^2.37.2 " ,
40
- "@modern-js/utils" : " ^2.37.2 " ,
39
+ "@modern-js/plugin-i18n" : " ^2.58.0 " ,
40
+ "@modern-js/utils" : " ^2.58.0 " ,
41
41
"comment-json" : " ^4.2.3" ,
42
42
"extra" : " ^0.2.1" ,
43
43
"inquirer" : " 8.1.3"
47
47
},
48
48
"devDependencies" : {
49
49
"@modern-js/codesmith" : " workspace:*" ,
50
- "@modern-js/module-tools" : " ^2.37.2 " ,
51
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
50
+ "@modern-js/module-tools" : " ^2.58.0 " ,
51
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
52
52
"@types/inquirer" : " ^7.3.3" ,
53
53
"@types/jest" : " ^26.0.24" ,
54
54
"@types/node" : " ^14.18.42" ,
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ export class AppAPI {
156
156
}
157
157
158
158
try {
159
- if ( ! isMonorepoSubProject && ! customNoNeedGit ) {
159
+ if ( ! isMonorepoSubProject && ! customNoNeedGit && ! inGitRepo ) {
160
160
await this . gitApi . addAndCommit ( commitMessage || 'feat: init' ) ;
161
161
this . generatorCore . logger . info ( i18n . t ( localeKeys . git . success ) ) ;
162
162
}
Original file line number Diff line number Diff line change 37
37
},
38
38
"devDependencies" : {
39
39
"@modern-js/codesmith" : " workspace:*" ,
40
- "@modern-js/module-tools" : " ^2.37.2 " ,
41
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
40
+ "@modern-js/module-tools" : " ^2.58.0 " ,
41
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
42
42
"@types/ejs" : " ^3.1.2" ,
43
43
"@types/jest" : " ^26.0.24" ,
44
44
"@types/node" : " ^14.18.42" ,
Original file line number Diff line number Diff line change 30
30
},
31
31
"dependencies" : {
32
32
"@swc/helpers" : " 0.5.1" ,
33
- "@modern-js/utils" : " ^2.37.2 "
33
+ "@modern-js/utils" : " ^2.58.0 "
34
34
},
35
35
"peerDependencies" : {
36
36
"@modern-js/codesmith" : " workspace:^2.3.6"
37
37
},
38
38
"devDependencies" : {
39
39
"@modern-js/codesmith" : " workspace:*" ,
40
- "@modern-js/module-tools" : " ^2.37.2 " ,
41
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
40
+ "@modern-js/module-tools" : " ^2.58.0 " ,
41
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
42
42
"@types/jest" : " ^26.0.24" ,
43
43
"@types/node" : " ^14.18.42" ,
44
44
"typescript" : " ^4.9.5"
Original file line number Diff line number Diff line change 30
30
},
31
31
"dependencies" : {
32
32
"@swc/helpers" : " 0.5.1" ,
33
- "@modern-js/utils" : " ^2.37.2 "
33
+ "@modern-js/utils" : " ^2.58.0 "
34
34
},
35
35
"peerDependencies" : {
36
36
"@modern-js/codesmith" : " workspace:^2.3.6"
37
37
},
38
38
"devDependencies" : {
39
39
"@modern-js/codesmith" : " workspace:*" ,
40
- "@modern-js/module-tools" : " ^2.37.2 " ,
41
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
40
+ "@modern-js/module-tools" : " ^2.58.0 " ,
41
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
42
42
"@types/jest" : " ^26.0.24" ,
43
43
"@types/node" : " ^14.18.42" ,
44
44
"typescript" : " ^4.9.5"
Original file line number Diff line number Diff line change 37
37
},
38
38
"devDependencies" : {
39
39
"@modern-js/codesmith" : " workspace:*" ,
40
- "@modern-js/module-tools" : " ^2.37.2 " ,
41
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
40
+ "@modern-js/module-tools" : " ^2.58.0 " ,
41
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
42
42
"@types/jest" : " ^26.0.24" ,
43
43
"@types/node" : " ^14.18.42" ,
44
44
"typescript" : " ^4.9.5"
Original file line number Diff line number Diff line change 35
35
"declaration-update" : " ^0.0.2"
36
36
},
37
37
"devDependencies" : {
38
- "@modern-js/module-tools" : " ^2.37.2 " ,
39
- "@modern-js/plugin-testing" : " ^2.37.2 " ,
38
+ "@modern-js/module-tools" : " ^2.58.0 " ,
39
+ "@modern-js/plugin-testing" : " ^2.58.0 " ,
40
40
"@types/jest" : " ^26.0.24" ,
41
41
"@types/node" : " ^14.18.42" ,
42
42
"typescript" : " ^4.9.5"
You can’t perform that action at this time.
0 commit comments