@corva/create-app 0.20.0-rc.0 → 0.20.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.20.0-rc.1](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-1...v0.20.0-rc.1) (2022-02-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DC-2798:** add .env file ([42eb6fb](https://github.com/corva-ai/create-corva-app/commit/42eb6fb256c6b5238b449fa0d81bafa930dbbd91))
11
+ * **dc-2955:** get back -t option ([074d8ee](https://github.com/corva-ai/create-corva-app/commit/074d8ee8a629f211cd8991d71faf7ccbbeb1051e))
12
+
5
13
  ## [0.20.0-rc.0](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-2...v0.20.0-rc.0) (2022-01-18)
6
14
 
7
15
  ## [0.20.0-2](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-1...v0.20.0-2) (2022-01-17)
@@ -202,6 +202,7 @@ const manifestOptions = (projectName) => [
202
202
  {
203
203
  type: 'confirm',
204
204
  name: 'useTypescript',
205
+ alias: 't',
205
206
  message: 'Would you like to use TypesScript?',
206
207
  default: false,
207
208
  when: (answers) =>
package/index.js CHANGED
@@ -96,7 +96,7 @@ async function initialChecks() {
96
96
 
97
97
  manifestConstants.manifestOptions(projectName).forEach((value) => {
98
98
  const type = typeof value.default;
99
- const option = new commander.Option(`--${value.name} [${type !== 'undefined' && type || 'string'}]`, value.message);
99
+ const option = new commander.Option(`${value.alias ? `-${value.alias}, ` : ''}--${value.name} [${type !== 'undefined' && type || 'string'}]`, value.message);
100
100
 
101
101
  if (value.choices) {
102
102
  if (typeof value.choices === 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.20.0-rc.0",
3
+ "version": "0.20.0-rc.1",
4
4
  "private": false,
5
5
  "description": "Create app to use it in CORVA.AI",
6
6
  "keywords": [