Skip to content

Commit a477aec

Browse files
Martin KonicekFacebook Github Bot
authored andcommitted
Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support
Summary: This is the manually imported version of #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
1 parent eddc2c9 commit a477aec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+726
-1892
lines changed

.flowconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
; We fork some components by platform
33
.*/*[.]android.js
44

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

88
; Ignore the website subdir
99
<PROJECT_ROOT>/website/.*

local-cli/__tests__/generators-test.js

Lines changed: 0 additions & 268 deletions
This file was deleted.

local-cli/android/android.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

local-cli/commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export type Command = {
3636
};
3737

3838
const documentedCommands = [
39-
require('./android/android'),
4039
require('./server/server'),
4140
require('./runIOS/runIOS'),
4241
require('./runAndroid/runAndroid'),

local-cli/generate-android.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)