File tree Expand file tree Collapse file tree
packages/create-react-admin/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const StepAuthProvider = ({
2525 return (
2626 < Stack >
2727 < Text >
28- Select the auth provider you want to use and validate with
28+ Select the auth provider you want to use, and validate with
2929 Enter:
3030 </ Text >
3131 < SelectInput
Original file line number Diff line number Diff line change @@ -9,25 +9,25 @@ const SupportedDataProviders: ChoiceType[] = [
99 label : 'Fakerest' ,
1010 value : 'ra-data-fakerest' ,
1111 description :
12- 'A client-side in memory data provider that use a JSON object as its initial data.' ,
12+ 'A client-side, in- memory data provider that use a JSON object as its initial data.' ,
1313 } ,
1414 {
1515 label : 'JSON Server' ,
1616 value : 'ra-data-json-server' ,
1717 description :
18- 'A dataProvider based on JSON Server dialect (https://github.com/typicode/json-server)' ,
18+ 'A data provider based on a JSON Server API (https://github.com/typicode/json-server)' ,
1919 } ,
2020 {
2121 label : 'Simple REST' ,
2222 value : 'ra-data-simple-rest' ,
2323 description :
24- 'A Simple REST Data Provider (https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest)' ,
24+ 'A Simple REST data drovider (https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest)' ,
2525 } ,
2626 {
2727 label : 'None' ,
2828 value : 'none' ,
2929 description :
30- 'Choose this if the dataProvider you want to use is not supported by this tool yet.' ,
30+ "I'll configure the data provider myself." ,
3131 } ,
3232] ;
3333
@@ -43,7 +43,7 @@ export const StepDataProvider = ({
4343 return (
4444 < Stack >
4545 < Text >
46- Select the data provider you want to use and validate with
46+ Select the data provider you want to use, and validate with
4747 Enter:
4848 </ Text >
4949 < SelectInput < string >
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ import { Stack } from './Stack.js';
66
77const choices : ChoiceType [ ] = [
88 {
9- label : 'Install dependencies with npm' ,
9+ label : 'Using npm' ,
1010 value : 'npm' ,
1111 } ,
1212 {
13- label : 'Install dependencies with yarn' ,
13+ label : 'Using yarn' ,
1414 value : 'yarn' ,
1515 } ,
1616 {
17- label : "Don't install dependencies" ,
17+ label : "Don't install dependencies, I'll do it myself. " ,
1818 value : '' ,
1919 } ,
2020] ;
@@ -29,7 +29,7 @@ export const StepInstall = ({
2929 } ;
3030 return (
3131 < Stack >
32- < Text > Should we install the dependencies for you ?</ Text >
32+ < Text > How do you want to install the dependencies?</ Text >
3333 < SelectInput < string >
3434 items = { choices }
3535 itemComponent = { SelectInputChoice }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export const StepName = ({
2121 return (
2222 < Stack >
2323 < Text >
24- Enter the name of your application and validate with Enter:
24+ Enter the name of your application, and validate with Enter:
2525 </ Text >
2626 < TextInput
2727 value = { value }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const StepResources = ({
2828 : 'No resource yet' }
2929 </ Text >
3030 < Text >
31- Enter the name of a resource you want to add and validate with
31+ Enter the name of a resource you want to add, and validate with
3232 Enter (leave empty to finish):
3333 </ Text >
3434 < TextInput
Original file line number Diff line number Diff line change 11import React , { useReducer , useRef } from 'react' ;
2- import { Box , Text } from 'ink' ;
2+ import { Box , Text , Newline } from 'ink' ;
33import {
44 InitialProjectConfiguration ,
55 ProjectConfiguration ,
@@ -135,18 +135,15 @@ export default function App({ name = 'my-admin' }: Props) {
135135 </ Text >
136136 ) : (
137137 < Box >
138- < Box >
139- < Text >
140- Install the dependencies using your favorite package
141- manager.
142- </ Text >
143- </ Box >
144- < Box >
145- < Text >
146- Run the < Text bold > dev</ Text > command to start the
147- app.
148- </ Text >
149- </ Box >
138+ < Text >
139+ Install the dependencies using your favorite package
140+ manager.
141+ </ Text >
142+ < Newline />
143+ < Text >
144+ Run the < Text bold > dev</ Text > command to start the
145+ app.
146+ </ Text >
150147 </ Box >
151148 ) }
152149 < Box marginBottom = { 1 } >
You can’t perform that action at this time.
0 commit comments