File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import createPullRequest from "./lib/create-pull-request.js";
19
19
import createReadme from "./lib/create-readme.js" ;
20
20
import createReleaseAction from "./lib/create-release-action.js" ;
21
21
import createTestAction from "./lib/create-test-action.js" ;
22
+ import createRenovateConfig from "./lib/create-renovate-config.js" ;
22
23
import createRepository from "./lib/create-repository.js" ;
23
24
import createScript from "./lib/create-script.js" ;
24
25
import prompts from "./lib/prompts.js" ;
@@ -245,6 +246,12 @@ run(script);
245
246
await command ( `git add .github/workflows/test.yml` ) ;
246
247
await command ( `git commit -m 'ci(test): initial version'` ) ;
247
248
249
+ if ( owner === "octoherd" ) {
250
+ await createRenovateConfig ( ) ;
251
+ await command ( `git add .github/renovate.json` ) ;
252
+ await command ( `git commit -m 'build(renovate): create renovate setup'` ) ;
253
+ }
254
+
248
255
await command ( `git push` ) ;
249
256
250
257
console . log ( `Your new repository is here:
Original file line number Diff line number Diff line change
1
+ import writePrettyFile from "./write-pretty-file.js" ;
2
+ import getTemplateFileContent from "./get-template-file-content.js" ;
3
+
4
+ export default async function createRenovateConfig ( ) {
5
+ const renovateFileName = "renovate.json" ;
6
+ let fileContent = getTemplateFileContent ( renovateFileName ) ;
7
+
8
+ await writePrettyFile ( `.github/${ renovateFileName } ` , fileContent ) ;
9
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : [" github>octoherd/.github" ]
3
+ }
You can’t perform that action at this time.
0 commit comments