Skip to content

Commit

Permalink
Rewrite 'react-native init' and 'react-native upgrade' without using …
Browse files Browse the repository at this point in the history
…Yeoman in preparation for templates support

Summary:
This is the manually imported version of facebook#10786

This was mostly straigthforward by replacing the local-cli folder with the version I had in my local git checkout,
plus a few other files I listed with git diff --name-only.

Reviewed By: hramos

Differential Revision: D4201118

fbshipit-source-id: 4d0fb54b0edda9de1abba427958e420fd2ac105c
  • Loading branch information
Martin Konicek authored and Facebook Github Bot committed Nov 19, 2016
1 parent eddc2c9 commit a477aec
Show file tree
Hide file tree
Showing 69 changed files with 726 additions and 1,892 deletions.
4 changes: 2 additions & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
; We fork some components by platform
.*/*[.]android.js

; Ignore generators because they are not real JS files
.*/local-cli/generator/templates/.*
; Ignore templates for 'react-native init'
.*/local-cli/templates/.*

; Ignore the website subdir
<PROJECT_ROOT>/website/.*
Expand Down
268 changes: 0 additions & 268 deletions local-cli/__tests__/generators-test.js

This file was deleted.

38 changes: 0 additions & 38 deletions local-cli/android/android.js

This file was deleted.

1 change: 0 additions & 1 deletion local-cli/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export type Command = {
};

const documentedCommands = [
require('./android/android'),
require('./server/server'),
require('./runIOS/runIOS'),
require('./runAndroid/runAndroid'),
Expand Down
31 changes: 0 additions & 31 deletions local-cli/generate-android.js

This file was deleted.

Loading

0 comments on commit a477aec

Please sign in to comment.