Skip to content

Commit

Permalink
Merge pull request #32 from AnthonyLzq/hotfix/ghaQuestion
Browse files Browse the repository at this point in the history
hotfix/ghaQuestion
  • Loading branch information
AnthonyLzq authored Jul 11, 2022
2 parents 7ba7e17 + 2a19379 commit 3ab39e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# TypeScript project generator

[![NPM version](https://img.shields.io/npm/v/typescript-project-generator.svg?style=flat)](https://www.npmjs.com/package/typescript-project-generator)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/AnthonyLzq/simba.js/blob/master/LICENSE)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://reactjs.org/docs/how-to-contribute.html#your-first-pull-request)
[![Lint](https://github.com/AnthonyLzq/typescript-project-generator/actions/workflows/lint.yml/badge.svg)](https://github.com/AnthonyLzq/typescript-project-generator/actions/workflows/lint.yml)

This project has the goal to create a basic setup for a `TypeScript` project. It will create many files that are usually created manually. Currently the following files are being created:

- `.env`
Expand Down Expand Up @@ -30,7 +36,7 @@ The following questions will be asked to the user:
- `License year (current year):`, the year where your license starts, current year as default.
- `Will this project be deployed with Heroku? [y/n]`:, yes or no question, only y or n is accepted. This is not case sensitive.
- `Would you want to have a basic suit of tests with Jest? [y/n]`.
- `Would you want to have a basic GitHub Action for the suit of tests? [y/n]`.
- `Would you want to have a basic GitHub Action for the suit of tests and linting?? [y/n]`.

## What is new?

Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ exports.tsInitialConfig = async () => {

if (config.tests)
config.ghat = readLineSync.keyInYNStrict(
'> Would you want to have a basic GitHub Action for the suit of tests? ',
'> Would you want to have a basic GitHub Action for the suit of tests and linting?? ',
{
caseSensitive: false
}
Expand Down

0 comments on commit 3ab39e4

Please sign in to comment.