Felix Oghina
f6ec854e23
[cli] spawn xterm on linux to run the packager
...
Also use ANDROID_HOME env var when running adb.
2015-09-28 20:14:07 +01:00
Felix Oghină
5cd64a658d
[cli] merge yeoman tests into one file to avoid concurrenct issues with jest
2015-09-24 17:02:43 +01:00
Felix Oghină
2dcb06949a
[cli] use different names in generator tests
2015-09-24 13:54:01 +01:00
Jan Kassens
c6a9d0e69f
Update cacheVersion in bundle.js
...
As requested by @vjeux, this moves the change to this file to a separate PR.
For more info see #2905 .
2015-09-23 15:24:54 -07:00
Aaron Chiu
2566ed8089
merge the root .flowconfig and local-cli/generator/templates/_flowconfig
...
Test Plan: flow check && scripts/e2e-tests.sh
2015-09-23 21:47:43 +01:00
Pieter De Baets
64eb8741ee
Bump flow version
2015-09-18 19:28:38 -07:00
DengYun
9e60d5788c
Merge branch 'master' of github.com:facebook/react-native into master-pr-6
2015-09-18 01:02:56 +08:00
DengYun
302c89f912
let 'react-native bundle' support platform option.
...
react-native bundle --platform android --minify
2015-09-18 00:58:50 +08:00
Kyle Corbitt
88add08c2e
handle back button press in JS
2015-09-17 12:09:19 +01:00
Christopher Chedeau
36a8358ae7
Fix more tests
...
Summary: beeper node modules has a `return` statement outside of a function which doesn't parse. To fix it, we mock it. Also, setupEnvPolyfills is no longer being used.
Closes https://github.com/facebook/react-native/pull/2770
Reviewed By: @svcscm
Differential Revision: D2448882
Pulled By: @vjeux
2015-09-16 13:05:30 -07:00
Felix Oghină
f775bb0e05
[cli] update appcompat and gradle tools versions in the template
2015-09-16 16:30:31 +01:00
Christopher Chedeau
3f86d42b81
Merge pull request #2725 from javache/fix-flow-config
...
Update generator's flow config
2015-09-15 21:08:55 -07:00
Pieter De Baets
81c81501d5
Update generator's flow config
2015-09-15 11:20:24 -07:00
Pieter De Baets
e7d833f2d9
Disable code stripping for DEBUG builds
2015-09-15 09:44:15 -07:00
Martin Konicek
42eb5464fd
Release React Native for Android
...
This is an early release and there are several things that are known
not to work if you're porting your iOS app to Android.
See the Known Issues guide on the website.
We will work with the community to reach platform parity with iOS.
2015-09-14 18:13:39 +01:00
Christopher Chedeau
e2ffac28e4
A deep dependency of yeoman just spams the console.log with giant json. This diff silences console.log around the require to kill them
2015-09-10 09:48:15 -07:00
Pieter De Baets
bc69787576
Use new packager URL in e2e test
2015-09-10 14:41:16 +01:00
Rishab U Hegde
326768a949
Changing Linked Libraries URI to point to the right page
2015-08-26 18:47:03 -07:00
Martin Konicek
19f922aa80
[cli] Fix iOS app template
2015-08-25 19:25:17 +01:00
Felix Oghină
3b7bffa2a1
[e2e] fix e2e tests
...
* use new _flowconfig in generator template
* increase sinopia max_body_size
* remove breaking `cd` command from e2e-test.sh
2015-08-18 11:51:03 +01:00
Felix Oghină
f83675d191
[cli] convert project generation to use yeoman
2015-08-12 12:04:27 +01:00
Isken Huang
6357931b61
add cli bundle url params
2015-07-14 10:40:39 +08:00
Spencer Ahrens
233f80d6c2
Fix tests
...
e2e flowconfig needed update, plus tweaks
2015-07-09 14:12:56 +02:00
Christopher Chedeau
a6b6f97ba1
Merge pull request #1428 from JohnyDays/master
...
[CLI][Bundle][Packager] Implement --root --assetRoot and --out for consistency with packager and more flexibility
2015-06-19 11:56:02 +01:00
John Days
a877c6bc68
Fix syntax error (missing ')')
2015-06-12 14:03:28 +01:00
John Days
fcc4e4f8de
[Bundler] Support multiple asset roots, for consistency with the packager
2015-06-12 13:06:31 +01:00
Tadeu Zagallo
7c49d293f1
Merge pull request #727 from TomMcHugh/master
...
[CLI] Adds Testing to CLI
2015-06-11 22:23:47 +01:00
John Days
34546e3bc8
Spaces before and after if conditions
2015-06-02 23:32:49 +01:00
John Days
169af1fb58
Add similar options from packager.sh to bundle.js, so we can develop and package with the same functionality
2015-05-27 19:02:26 +01:00
Joe Stanton
857c30b502
Stylistic cleanup
2015-05-15 17:08:21 +01:00
Joe Stanton
396439bf86
Added react-native new-library command
2015-05-15 09:17:27 +01:00
Joe Stanton
04832e5aa4
Fixed stylistic issues
2015-05-14 20:19:29 +01:00
Joe Stanton
29325d7cb3
Move init into local-cli
2015-05-14 18:08:56 +01:00
Joe Stanton
9caee3248b
Linked with new local-cli, refactored
2015-05-14 16:11:05 +01:00
Alex Kotliarskyi
4933034334
Warn if `init` is called from existing project
2015-05-04 12:19:48 -07:00
Arthur Lee
c13646fce1
Added bundle command using ReactPackager
...
Added bundle script
Pipe http response straight to file
Used ReactPackager directly, minor fixes
Added error handling to fs.writeFile
Changed .then to .done
2015-04-20 20:01:03 -04:00
Christopher Chedeau
0a5967dbfe
Warn when installing globally react-native instead of react-native-cli
...
This adds a react-native binary that just output some instructions.
2015-04-08 11:15:56 -07:00
Thomas Mchugh
800502f2a0
Updates tests to work with new install output
2015-04-08 07:12:12 -05:00
Vinnie Garcia
2740e08ef7
Fix packager script breakage when running `npm start`
2015-04-08 01:21:30 -07:00
Christopher Chedeau
d91d28a2a6
Unbreak npm publish
...
See https://github.com/facebook/react-native/pull/706#issuecomment-90799052
2015-04-07 21:30:46 -07:00
Thomas Mchugh
2efce394f5
Merge remote-tracking branch 'upstream/master'
2015-04-07 15:18:07 -05:00
Thomas Mchugh
10ca07840c
added tests to cli
2015-04-07 15:16:33 -05:00
Alex Kotliarskyi
1dba7e0a5a
Allow running local cli from terminal
2015-04-07 12:33:41 -07:00
Thomas Mchugh
6bc78b1d66
created install command and moved cli to local-cli directory
2015-04-06 12:58:03 -05:00