Commit Graph

16 Commits

Author SHA1 Message Date
Dave Sibiski eb3bdd997e Fixes typo 2015-05-23 18:59:33 -04:00
Dave Sibiski 90f15940fa Adds validation check for "React" package name
- "React" is a reserve word and cannot be used as a project name since it will break the Sample app when generated
2015-05-23 16:28:04 -04:00
Alex Kotliarskyi 214ae2062c Fix react-native-cli code formatting 2015-05-18 10:25:17 -07:00
Alexander Kotliarskyi f2b76566f3 Merge pull request #1293 from skv-headless/confirm-init-overwrite
Ask confirmation on init command
2015-05-18 10:24:19 -07:00
skv 5a83ffab94 ask confirmation on init command
if directory already exist
2015-05-16 22:23:19 +03:00
Joe Stanton 0312c30a73 Duplicate the name validation for now 2015-05-15 09:21:38 +01:00
Joe Stanton 396439bf86 Added react-native new-library command 2015-05-15 09:17:27 +01:00
Thomas Mchugh 6bc78b1d66 created install command and moved cli to local-cli directory 2015-04-06 12:58:03 -05:00
Pedro Gaspar 90954096c4 Adds missing space character to CLI error message
Before:
> Command `foo` unrecognized.Did you mean to run this inside a react-native project?

After:
> Command `foo` unrecognized. Did you mean to run this inside a react-native project?
2015-03-27 04:12:18 +00:00
Ben Alpert 5e7df58197 Bump react-native-cli version actually 2015-03-26 12:13:29 -07:00
Amjad Masad 5ce9ab143a Only allow valid identifier names as project names. Fixes #213 2015-03-26 11:19:39 -07:00
Steve Lacy 093b6269c2 Lint code - change double to single quotes to keep code style 2015-03-26 10:47:05 -07:00
Alexander Kotliarskyi d6c9648aea Use full path to packager for generated project
This way people without react-native-cli can still do `npm start`
2015-03-26 08:59:10 -04:00
Alex Kotliarskyi 4d077f4ee8 Fix few paths for react-native cli scripts 2015-03-22 14:04:55 -07:00
Alex Kotliarskyi df73a485cc Allow react-native init <project-or-dir-name> 2015-03-22 13:27:32 -07:00
Amjad Masad 98097caa6f react-native-cli initial commit
A cli package that is responsible for:
* starting a new react-native project
* forwarding all other commands to a cli module in react-native
* currently cli.js knows how to start the webserver, in the future it may do things like build the app etc.
2015-03-19 17:48:23 -07:00