@@ -33,27 +33,27 @@ const LANGUAGE_CHOICES: {
33
33
value : ProjectLanguages ;
34
34
types : ProjectType [ ] ;
35
35
} [ ] = [
36
- {
37
- title : 'Kotlin & Swift' ,
38
- value : 'kotlin-swift' ,
39
- types : [ 'nitro-module' , 'legacy-module' , 'legacy-view' ] ,
40
- } ,
41
- {
42
- title : 'Kotlin & Objective-C' ,
43
- value : 'kotlin-objc' ,
44
- types : [ 'turbo-module' , 'fabric-view' , 'legacy-module' , 'legacy-view' ] ,
45
- } ,
46
- {
47
- title : 'C++ for Android & iOS' ,
48
- value : 'cpp' ,
49
- types : [ 'turbo-module' , 'legacy-module' ] ,
50
- } ,
51
- {
52
- title : 'JavaScript for Android, iOS & Web' ,
53
- value : 'js' ,
54
- types : [ 'library' ] ,
55
- } ,
56
- ] ;
36
+ {
37
+ title : 'Kotlin & Swift' ,
38
+ value : 'kotlin-swift' ,
39
+ types : [ 'nitro-module' , 'legacy-module' , 'legacy-view' ] ,
40
+ } ,
41
+ {
42
+ title : 'Kotlin & Objective-C' ,
43
+ value : 'kotlin-objc' ,
44
+ types : [ 'turbo-module' , 'fabric-view' , 'legacy-module' , 'legacy-view' ] ,
45
+ } ,
46
+ {
47
+ title : 'C++ for Android & iOS' ,
48
+ value : 'cpp' ,
49
+ types : [ 'turbo-module' , 'legacy-module' ] ,
50
+ } ,
51
+ {
52
+ title : 'JavaScript for Android, iOS & Web' ,
53
+ value : 'js' ,
54
+ types : [ 'library' ] ,
55
+ } ,
56
+ ] ;
57
57
58
58
const EXAMPLE_CHOICES = (
59
59
[
@@ -85,37 +85,37 @@ const TYPE_CHOICES: {
85
85
value : ProjectType ;
86
86
description : string ;
87
87
} [ ] = [
88
- {
89
- title : 'Nitro module' ,
90
- value : 'nitro-module' ,
91
- description : 'nitro for faster modules ' ,
92
- } ,
93
- {
94
- title : 'Turbo module' ,
95
- value : 'turbo-module' ,
96
- description : 'integration for native APIs to JS' ,
97
- } ,
98
- {
99
- title : 'Fabric view' ,
100
- value : 'fabric-view' ,
101
- description : 'integration for native views to JS' ,
102
- } ,
103
- {
104
- title : 'Legacy Native module' ,
105
- value : 'legacy-module' ,
106
- description : 'bridge for native APIs to JS (old architecture)' ,
107
- } ,
108
- {
109
- title : 'Legacy Native view' ,
110
- value : 'legacy-view' ,
111
- description : 'bridge for native views to JS (old architecture)' ,
112
- } ,
113
- {
114
- title : 'JavaScript library' ,
115
- value : 'library' ,
116
- description : 'supports Expo Go and Web' ,
117
- } ,
118
- ] ;
88
+ {
89
+ title : 'Nitro module' ,
90
+ value : 'nitro-module' ,
91
+ description : 'type-safe and fast integration for native APIs to JS ' ,
92
+ } ,
93
+ {
94
+ title : 'Turbo module' ,
95
+ value : 'turbo-module' ,
96
+ description : 'integration for native APIs to JS' ,
97
+ } ,
98
+ {
99
+ title : 'Fabric view' ,
100
+ value : 'fabric-view' ,
101
+ description : 'integration for native views to JS' ,
102
+ } ,
103
+ {
104
+ title : 'Legacy Native module' ,
105
+ value : 'legacy-module' ,
106
+ description : 'bridge for native APIs to JS (old architecture)' ,
107
+ } ,
108
+ {
109
+ title : 'Legacy Native view' ,
110
+ value : 'legacy-view' ,
111
+ description : 'bridge for native views to JS (old architecture)' ,
112
+ } ,
113
+ {
114
+ title : 'JavaScript library' ,
115
+ value : 'library' ,
116
+ description : 'supports Expo Go and Web' ,
117
+ } ,
118
+ ] ;
119
119
120
120
export const acceptedArgs : Record < ArgName , yargs . Options > = {
121
121
slug : {
0 commit comments