@corva/create-app 0.21.0-0 → 0.21.0
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 +39 -0
- package/constants/manifest.js +2 -0
- package/helpers/manifest.js +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/scripts/ui/zipAppSource.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,42 @@
|
|
|
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.21.0](https://github.com/corva-ai/create-corva-app/compare/v0.20.0...v0.21.0) (2022-02-16)
|
|
6
|
+
|
|
7
|
+
## [0.21.0-rc.0](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-rc.1...v0.21.0-rc.0) (2022-02-01)
|
|
8
|
+
|
|
9
|
+
## [0.21.0-2](https://github.com/corva-ai/create-corva-app/compare/v0.21.0-1...v0.21.0-2) (2022-01-26)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **dc-2955:** get back -t option ([b6ffc5f](https://github.com/corva-ai/create-corva-app/commit/b6ffc5f38e818d038bf8c7346fa7183a18d97fa6))
|
|
15
|
+
|
|
16
|
+
## [0.21.0-1](https://github.com/corva-ai/create-corva-app/compare/v0.19.0...v0.21.0-1) (2022-01-21)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **dc-2760:** pass depth milestone option ([#146](https://corvaqa.atlassian.net/browse/146)) ([bda6824](https://github.com/corva-ai/create-corva-app/commit/bda68248461484c53221ed2ea43c313362d5b9d3))
|
|
22
|
+
|
|
23
|
+
## [0.21.0-0](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-rc.0...v0.21.0-0) (2022-01-18)
|
|
24
|
+
|
|
25
|
+
## [0.21.0-rc.0](https://github.com/corva-ai/create-corva-app/compare/v0.21.0-2...v0.21.0-rc.0) (2022-02-01)
|
|
26
|
+
|
|
27
|
+
## [0.21.0-2](https://github.com/corva-ai/create-corva-app/compare/v0.21.0-1...v0.21.0-2) (2022-01-25)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **dc-2955:** get back -t option ([b6ffc5f](https://github.com/corva-ai/create-corva-app/commit/b6ffc5f38e818d038bf8c7346fa7183a18d97fa6))
|
|
33
|
+
|
|
34
|
+
## [0.21.0-1](https://github.com/corva-ai/create-corva-app/compare/v0.21.0-0...v0.21.0-1) (2022-01-21)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* pass depth milestone ([abab200](https://github.com/corva-ai/create-corva-app/commit/abab20069f41bda35c2059102f1629a35575042f))
|
|
40
|
+
|
|
5
41
|
## [0.20.0-2](https://github.com/corva-ai/create-corva-app/compare/v0.20.0-1...v0.20.0-2) (2022-01-17)
|
|
6
42
|
|
|
7
43
|
|
|
@@ -213,6 +249,9 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
213
249
|
## [0.6.0-0](https://github.com/facebook/create-react-app/compare/v0.5.0-0...v0.6.0-0) (2021-06-16)
|
|
214
250
|
|
|
215
251
|
## [0.5.0-0](https://github.com/facebook/create-react-app/compare/v0.2.29...v0.5.0-0) (2021-06-02)
|
|
252
|
+
## [0.4.0](https://github.com/facebook/create-react-app/compare/v0.4.0-rc.0...v0.4.0) (2021-06-16)
|
|
253
|
+
|
|
254
|
+
## [0.4.0-rc.0](https://github.com/facebook/create-react-app/compare/v0.2.29...v0.4.0-rc.0) (2021-06-02)
|
|
216
255
|
|
|
217
256
|
### [0.4.3](https://github.com/facebook/create-react-app/compare/v0.4.0...v0.4.3) (2021-05-26)
|
|
218
257
|
|
package/constants/manifest.js
CHANGED
|
@@ -141,6 +141,7 @@ const manifestOptions = (projectName) => [
|
|
|
141
141
|
message: 'Provide depth milestone for the scheduler',
|
|
142
142
|
default: 1,
|
|
143
143
|
when: (answers) => answers.schedulerType === SCHEDULER_TYPE_DEPTH.value,
|
|
144
|
+
filter: (value) => (isNaN(value) ? value : Number(value))
|
|
144
145
|
},
|
|
145
146
|
{
|
|
146
147
|
name: 'appKey',
|
|
@@ -202,6 +203,7 @@ const manifestOptions = (projectName) => [
|
|
|
202
203
|
{
|
|
203
204
|
type: 'confirm',
|
|
204
205
|
name: 'useTypescript',
|
|
206
|
+
alias: 't',
|
|
205
207
|
message: 'Would you like to use TypesScript?',
|
|
206
208
|
default: false,
|
|
207
209
|
when: (answers) =>
|
package/helpers/manifest.js
CHANGED
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(
|
|
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