@@ -113,22 +113,22 @@ async function main() {
113
113
console . log ( `README.md created` ) ;
114
114
115
115
await command ( "git add LICENSE.md" ) ;
116
- await command ( " git commit -m ' docs(LICENSE): ISC'" ) ;
116
+ await command ( ` git commit -m " docs(LICENSE): ISC"` ) ;
117
117
118
118
await command ( "git add CODE_OF_CONDUCT.md" ) ;
119
119
await command (
120
- " git commit -m ' docs(CODE_OF_CONDUCT): Contributor Covenant'"
120
+ ` git commit -m " docs(CODE_OF_CONDUCT): Contributor Covenant"`
121
121
) ;
122
122
123
123
await command ( "git add CONTRIBUTING.md" ) ;
124
- await command ( " git commit -m ' docs(CONTRIBUTING): initial version'" ) ;
124
+ await command ( ` git commit -m " docs(CONTRIBUTING): initial version"` ) ;
125
125
126
126
await command ( "git add README.md" ) ;
127
- await command ( " git commit -m ' docs(README): initial version'" ) ;
127
+ await command ( ` git commit -m " docs(README): initial version"` ) ;
128
128
129
129
await createIssueTemplates ( answers . packageName ) ;
130
130
await command ( "git add .github/ISSUE_TEMPLATE" ) ;
131
- await command ( " git commit -m ' docs(ISSUE_TEMPLATES): initial version'" ) ;
131
+ await command ( ` git commit -m " docs(ISSUE_TEMPLATES): initial version"` ) ;
132
132
133
133
const {
134
134
data : { id : repositoryId } ,
@@ -151,7 +151,7 @@ async function main() {
151
151
description : answers . description ,
152
152
} ) ;
153
153
154
- await command ( `git commit README.md -m ' docs(README): remove WIP note' ` ) ;
154
+ await command ( `git commit README.md -m " docs(README): remove WIP note" ` ) ;
155
155
await command ( `git push -u origin HEAD` ) ;
156
156
157
157
let ownerId = userId ;
@@ -176,9 +176,9 @@ async function main() {
176
176
await command ( `npm install ${ dependencies . join ( " " ) } ` ) ;
177
177
178
178
await command ( `git add package.json` ) ;
179
- await command ( `git commit -m ' build(package): initial version' ` ) ;
179
+ await command ( `git commit -m " build(package): initial version" ` ) ;
180
180
await command ( `git add package-lock.json` ) ;
181
- await command ( `git commit -m ' build(package): lock file' ` ) ;
181
+ await command ( `git commit -m " build(package): lock file" ` ) ;
182
182
183
183
console . log ( "Create branch protection for main" ) ;
184
184
try {
@@ -195,7 +195,7 @@ async function main() {
195
195
await writePrettyFile ( ".gitignore" , ignorePaths . join ( "\n" ) ) ;
196
196
await command ( `git add .gitignore` ) ;
197
197
await command (
198
- `git commit -m ' build(gitignore): ${ ignorePaths . join ( ", " ) } ' `
198
+ `git commit -m " build(gitignore): ${ ignorePaths . join ( ", " ) } " `
199
199
) ;
200
200
201
201
console . log ( "create script.js and cli.js" ) ;
@@ -213,7 +213,7 @@ run(script);
213
213
) ;
214
214
215
215
await command ( `git add script.js cli.js` ) ;
216
- await command ( `git commit -m ' feat: initial version' ` ) ;
216
+ await command ( `git commit -m " feat: initial version" ` ) ;
217
217
218
218
await createReadme ( {
219
219
addBadges : true ,
@@ -222,7 +222,7 @@ run(script);
222
222
packageName : answers . packageName ,
223
223
repository : answers . repository ,
224
224
} ) ;
225
- await command ( `git commit README.md -m ' docs(README): badges' ` ) ;
225
+ await command ( `git commit README.md -m " docs(README): badges" ` ) ;
226
226
227
227
await createReadme ( {
228
228
addBadges : true ,
@@ -234,21 +234,21 @@ run(script);
234
234
repository : answers . repository ,
235
235
scriptOptions : answers . scriptOptions ,
236
236
} ) ;
237
- await command ( `git commit README.md -m ' docs(README): usage' ` ) ;
237
+ await command ( `git commit README.md -m " docs(README): usage" ` ) ;
238
238
239
239
console . log ( "Create actions" ) ;
240
240
await createReleaseAction ( { owner } ) ;
241
241
await command ( `git add .github/workflows/release.yml` ) ;
242
- await command ( `git commit -m ' ci(release): initial version' ` ) ;
242
+ await command ( `git commit -m " ci(release): initial version" ` ) ;
243
243
244
244
await createTestAction ( ) ;
245
245
await command ( `git add .github/workflows/test.yml` ) ;
246
- await command ( `git commit -m ' ci(test): initial version' ` ) ;
246
+ await command ( `git commit -m " ci(test): initial version" ` ) ;
247
247
248
248
if ( owner === "octoherd" ) {
249
249
await createRenovateConfig ( ) ;
250
250
await command ( `git add .github/renovate.json` ) ;
251
- await command ( `git commit -m ' build(renovate): create renovate setup' ` ) ;
251
+ await command ( `git commit -m " build(renovate): create renovate setup" ` ) ;
252
252
}
253
253
254
254
await command ( `git push` ) ;
0 commit comments