Skip to content

Commit 72f32dd

Browse files
committed
feat: change nitro description
1 parent 547f268 commit 72f32dd

File tree

1 file changed

+52
-52
lines changed
  • packages/create-react-native-library/src

1 file changed

+52
-52
lines changed

packages/create-react-native-library/src/input.ts

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,27 @@ const LANGUAGE_CHOICES: {
3333
value: ProjectLanguages;
3434
types: ProjectType[];
3535
}[] = [
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+
];
5757

5858
const EXAMPLE_CHOICES = (
5959
[
@@ -85,37 +85,37 @@ const TYPE_CHOICES: {
8585
value: ProjectType;
8686
description: string;
8787
}[] = [
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+
];
119119

120120
export const acceptedArgs: Record<ArgName, yargs.Options> = {
121121
slug: {

0 commit comments

Comments
 (0)