├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE │ └── pull_request_template.md └── workflows │ └── nodejs.yml ├── .gitignore ├── .mocharc.js ├── .npmignore ├── .npmrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin └── cgx ├── cgx-demo-license.gif ├── cgx-demo.gif ├── community-score.png ├── package.json ├── src ├── actions │ ├── bitbucket.actions.spec.ts │ ├── bitbucket.actions.ts │ ├── codecommit.actions.spec.ts │ ├── codecommit.actions.ts │ ├── github.actions.spec.ts │ ├── github.actions.ts │ ├── gitlab.actions.spec.ts │ ├── gitlab.actions.ts │ └── index.ts ├── cgx.spec.ts ├── cgx.ts ├── index.ts ├── models │ ├── choice.ts │ ├── commit-data.ts │ ├── console-message.ts │ ├── file.ts │ └── path.ts ├── questions │ ├── bitbucket-file.question.ts │ ├── codecommit-file.question.ts │ ├── github-file.question.ts │ ├── gitlab-file.question.ts │ ├── index.ts │ ├── license.question.ts │ ├── overwrite-file.question.ts │ ├── provider.question.ts │ └── username.question.ts ├── templates │ ├── codecommit │ │ ├── appspec.template.ts │ │ ├── buildspec.template.ts │ │ └── index.ts │ ├── default │ │ ├── default.template.spec.ts │ │ └── default.template.ts │ ├── github │ │ ├── bug-report.template.ts │ │ ├── codeql-analysis.template.ts │ │ ├── feature-request.template.ts │ │ ├── index.ts │ │ ├── node-ci.template.ts │ │ ├── pull-request.template.ts │ │ └── security.template.ts │ ├── gitlab │ │ ├── bug.template.ts │ │ ├── ci.template.ts │ │ ├── feature-proposal.template.ts │ │ ├── index.ts │ │ └── merge-request.template.ts │ └── universal │ │ ├── changelog.template.ts │ │ ├── code-of-conduct.template.ts │ │ ├── contributing.template.ts │ │ ├── docker-file.template.ts │ │ ├── index.ts │ │ ├── license.template.ts │ │ ├── readme.template.ts │ │ └── todo.template.ts └── utils │ ├── checker.util.spec.ts │ ├── checker.util.ts │ └── logger.util.ts ├── test └── mocha.require.ts ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.mocharc.js -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | https://registry.npmjs.org 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/README.md -------------------------------------------------------------------------------- /bin/cgx: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require("../lib/index.js"); 3 | -------------------------------------------------------------------------------- /cgx-demo-license.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/cgx-demo-license.gif -------------------------------------------------------------------------------- /cgx-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/cgx-demo.gif -------------------------------------------------------------------------------- /community-score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/community-score.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/package.json -------------------------------------------------------------------------------- /src/actions/bitbucket.actions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/bitbucket.actions.spec.ts -------------------------------------------------------------------------------- /src/actions/bitbucket.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/bitbucket.actions.ts -------------------------------------------------------------------------------- /src/actions/codecommit.actions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/codecommit.actions.spec.ts -------------------------------------------------------------------------------- /src/actions/codecommit.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/codecommit.actions.ts -------------------------------------------------------------------------------- /src/actions/github.actions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/github.actions.spec.ts -------------------------------------------------------------------------------- /src/actions/github.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/github.actions.ts -------------------------------------------------------------------------------- /src/actions/gitlab.actions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/gitlab.actions.spec.ts -------------------------------------------------------------------------------- /src/actions/gitlab.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/gitlab.actions.ts -------------------------------------------------------------------------------- /src/actions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/actions/index.ts -------------------------------------------------------------------------------- /src/cgx.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/cgx.spec.ts -------------------------------------------------------------------------------- /src/cgx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/cgx.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/choice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/models/choice.ts -------------------------------------------------------------------------------- /src/models/commit-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/models/commit-data.ts -------------------------------------------------------------------------------- /src/models/console-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/models/console-message.ts -------------------------------------------------------------------------------- /src/models/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/models/file.ts -------------------------------------------------------------------------------- /src/models/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/models/path.ts -------------------------------------------------------------------------------- /src/questions/bitbucket-file.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/bitbucket-file.question.ts -------------------------------------------------------------------------------- /src/questions/codecommit-file.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/codecommit-file.question.ts -------------------------------------------------------------------------------- /src/questions/github-file.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/github-file.question.ts -------------------------------------------------------------------------------- /src/questions/gitlab-file.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/gitlab-file.question.ts -------------------------------------------------------------------------------- /src/questions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/index.ts -------------------------------------------------------------------------------- /src/questions/license.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/license.question.ts -------------------------------------------------------------------------------- /src/questions/overwrite-file.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/overwrite-file.question.ts -------------------------------------------------------------------------------- /src/questions/provider.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/provider.question.ts -------------------------------------------------------------------------------- /src/questions/username.question.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/questions/username.question.ts -------------------------------------------------------------------------------- /src/templates/codecommit/appspec.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/codecommit/appspec.template.ts -------------------------------------------------------------------------------- /src/templates/codecommit/buildspec.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/codecommit/buildspec.template.ts -------------------------------------------------------------------------------- /src/templates/codecommit/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/codecommit/index.ts -------------------------------------------------------------------------------- /src/templates/default/default.template.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/default/default.template.spec.ts -------------------------------------------------------------------------------- /src/templates/default/default.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/default/default.template.ts -------------------------------------------------------------------------------- /src/templates/github/bug-report.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/bug-report.template.ts -------------------------------------------------------------------------------- /src/templates/github/codeql-analysis.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/codeql-analysis.template.ts -------------------------------------------------------------------------------- /src/templates/github/feature-request.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/feature-request.template.ts -------------------------------------------------------------------------------- /src/templates/github/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/index.ts -------------------------------------------------------------------------------- /src/templates/github/node-ci.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/node-ci.template.ts -------------------------------------------------------------------------------- /src/templates/github/pull-request.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/pull-request.template.ts -------------------------------------------------------------------------------- /src/templates/github/security.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/github/security.template.ts -------------------------------------------------------------------------------- /src/templates/gitlab/bug.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/gitlab/bug.template.ts -------------------------------------------------------------------------------- /src/templates/gitlab/ci.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/gitlab/ci.template.ts -------------------------------------------------------------------------------- /src/templates/gitlab/feature-proposal.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/gitlab/feature-proposal.template.ts -------------------------------------------------------------------------------- /src/templates/gitlab/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/gitlab/index.ts -------------------------------------------------------------------------------- /src/templates/gitlab/merge-request.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/gitlab/merge-request.template.ts -------------------------------------------------------------------------------- /src/templates/universal/changelog.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/changelog.template.ts -------------------------------------------------------------------------------- /src/templates/universal/code-of-conduct.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/code-of-conduct.template.ts -------------------------------------------------------------------------------- /src/templates/universal/contributing.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/contributing.template.ts -------------------------------------------------------------------------------- /src/templates/universal/docker-file.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/docker-file.template.ts -------------------------------------------------------------------------------- /src/templates/universal/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/index.ts -------------------------------------------------------------------------------- /src/templates/universal/license.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/license.template.ts -------------------------------------------------------------------------------- /src/templates/universal/readme.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/readme.template.ts -------------------------------------------------------------------------------- /src/templates/universal/todo.template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/templates/universal/todo.template.ts -------------------------------------------------------------------------------- /src/utils/checker.util.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/utils/checker.util.spec.ts -------------------------------------------------------------------------------- /src/utils/checker.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/utils/checker.util.ts -------------------------------------------------------------------------------- /src/utils/logger.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/src/utils/logger.util.ts -------------------------------------------------------------------------------- /test/mocha.require.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/test/mocha.require.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeroenouw/cgx/HEAD/tslint.json --------------------------------------------------------------------------------