File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11/* eslint-disable consistent-return */
22const chalk = require ( 'chalk' ) ;
33const AppGenerator = require ( 'generator-jhipster/generators/app' ) ;
4+ const { GENERATOR_CI_CD } = require ( 'generator-jhipster/generators/generator-list' ) ;
45const packagejs = require ( '../../package.json' ) ;
56const prompts = require ( './prompts' ) ;
67
@@ -117,7 +118,12 @@ module.exports = class extends AppGenerator {
117118 }
118119
119120 get composing ( ) {
120- return super . _composing ( ) ;
121+ return {
122+ ...super . _composing ( ) ,
123+ async composeWithCiCd ( ) {
124+ await this . composeWithJHipster ( GENERATOR_CI_CD , true ) ;
125+ }
126+ } ;
121127 }
122128
123129 get loading ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ export default class extends CiCdGenerator {
3030
3131 const ciTypeChoices = [
3232 { value : GITHUB , name : 'Github Action' , } ,
33- { value : GITLAB , name : 'Gitlab CI' , } ,
33+ { value : GITLAB , name : 'Gitlab CI' , } ,
34+ { value : 'noci' , name : 'No CI' , } ,
3435 ] ;
3536
3637 const answers = await this . prompt ( [
You can’t perform that action at this time.
0 commit comments