54 Commits

Author SHA1 Message Date
Tadeu Zagallo
ae9e4089fc [ReactNative] Revert packager ignoring node_modules 2015-06-11 10:45:32 -08:00
Brent Vatne
57ce9fb11a [package.json] Leave the protocol choice for a Github repo to npm
Summary:
Fixes #1371
Closes https://github.com/facebook/react-native/pull/1447
Github Author: Brent Vatne <brent.vatne@madriska.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-06-01 09:36:18 -08:00
Leonardo YongUk Kim
7e0064f097 Add the license field on package.json
Summary:
Add the license field on package.json
Closes https://github.com/facebook/react-native/pull/1409
Github Author: Leonardo YongUk Kim <dalinaum@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-05-28 12:00:46 -08:00
Tadeu Zagallo
ebae151f24 [ReactNative] Update sane fork + FileWatcher config 2015-05-28 07:12:41 -08:00
Tadeu Zagallo
21b3304a95 [ReactNative] Add option to file watcher to ignore node_modules 2015-05-28 01:18:47 -08:00
Tadeu Zagallo
380ba2aab4 [ReactNative] Add babel to package.json 2015-05-27 17:00:14 -08:00
Jared Forsyth
52725437d4 Upgrating linting to use babel-eslint 2015-05-22 11:16:35 -08:00
Amjad Masad
eec67aff4d [react-packager] Update worker-farm to get custom error props
Summary:
@public
In my previous worker-farm update, the implementation wasn't complete.
Errors only passed the "data" property. This fixes the problem by passing all custom
props.

Test Plan:
1. `./Libraries/FBReactKit/runJestTests.sh`
2. `./Libraries/FBReactKit/runJestTests.sh PackagerIntegration`
2015-05-22 08:51:11 -08:00
Spencer Ahrens
11b515b1b0 [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Spencer Ahrens
1c70f33511 [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00
Tadeu Zagallo
eedb880f6e [ReactNative] Bump package.json version to 0.4.4 2015-05-17 19:05:14 -08:00
Amjad Masad
407d8d4cf6 [react-native] Update jest to get perf bugfix 2015-05-17 02:51:35 -08:00
Dmitry Soshnikov
545edba913 [jest] Update to v0.4.4 2015-05-17 00:20:42 -08:00
Christopher Chedeau
766983f69b [react native] Bump jest-cli version to 0.4.3 in RN packages 2015-05-14 10:32:44 -08:00
Amjad Masad
a6b29a0b1a [react-packager] Update worker farm 2015-05-13 17:54:19 -08:00
Philipp von Weitershausen
b47e89a397 Back out D2063283: [react-packager] Update worker farm 2015-05-13 12:41:47 -08:00
Gabe Levi
1e42fea0af Bump the react-native .flowconfig Flow version to v0.11.0 2015-05-13 13:38:54 -07:00
Amjad Masad
4a137aa840 [react-packager] Update worker farm
Summary:
@public
Adds a couple of things:
* `autoStart` option, which warms up the worker farm as opposed to spin up children on demand
* worker-farm now passes properties on errors from children to parent (for line/col number in errors without resorting to hacks)

Test Plan:
* Run the server with --reset-cache
* things work
2015-05-13 13:24:36 -07:00
Alex Kotliarskyi
41612f37b0 0.4.2 2015-05-08 13:37:49 -07:00
Gabe Levi
e433b6a57e Bump jstransform version for react-native 2015-05-07 18:45:56 -08:00
Amjad Masad
7362f11c22 [react-packager] Use gracful-fs to avoid EMFILE errors
Summary:
@public
Currently, every time we call into the packager we have to change the ulimit to make sure
we don't hit the EMFILE error (the packager uses as much concurrency as possible).

Using graceful-fs, the fs module -- with monkey patching -- becomes intelligent enough to recover
from EMFILE errors.

Test Plan:
* set `ulimit -n 256*
* start server
* request from your browser: http://localhost:8081/RKJSModules/MainBundle/CatalystBundle.includeRequire.bundle
* it works
2015-05-05 14:30:43 -08:00
Amjad Masad
bd591505f1 [react-packager] update sane 2015-05-05 10:37:59 -08:00
Amjad Masad
b532ec000f [react-packager] Update sane to use watch-project 2015-05-04 10:36:07 -08:00
James Ide
1cff06dca3 [podspec] Include podspec in npm distribution
Summary:
The way RCT_EXPORT_MODULE currently works, any module that is included as a pod also needs react itself to be included as a pod.

npm seems to be the preferred way to get the latest copy of react (compared to github directly or the cocoapods repo) so what this diff enables is including react as a pod if it was installed via npm.
Closes https://github.com/facebook/react-native/pull/1057
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-29 08:14:24 -08:00
Ben Alpert
1f98c843b0 [react-native] Update react-tools to 0.13.2* 2015-04-24 10:58:28 -08:00
Alex Kotliarskyi
aaaa9a98ef [ReactNative] Update stacktrace-parser 2015-04-17 15:39:24 -08:00
Amjad Masad
320605e5af [react-packager] Update sane to get windows fixes (and others) 2015-04-14 09:56:32 -08:00
Forbes Lindesay
96c47cd2e5 Add the promise library as a dependency 2015-04-10 16:25:10 -08:00
Amjad Masad
bd7b9da64a [react-packager] Implement new style asset packaging (with dimensions) 2015-04-08 13:11:21 -08:00
Christopher Chedeau
21a054e9fc [ReactNative] Update package.json 2015-04-07 22:16:30 -08:00
Alex Kotliarskyi
645f2a73bc [ReactNative] npm install --save chalk 2015-04-07 15:39:35 -08:00
Ben Alpert
f66c1643f5 [react-native] Update react to 0.13.1, jstransform alongside 2015-04-02 10:58:51 -08:00
Pilwon Huh
87599bfcd1 [react-packager] Switch from Q to Bluebird as promises library
Summary:
This PR improves performance of `react-packager` by switching the promises library from the [Q](https://github.com/kriskowal/q) to [Bluebird](https://github.com/petkaantonov/bluebird).

[Here is the test result](https://github.com/facebook/react-native/issues/361#issuecomment-87829808) showing a noticeable difference. (2x speed improvement)

Please refer to [this issue](https://github.com/facebook/react-native/issues/361) for more details.
Closes https://github.com/facebook/react-native/pull/516
Github Author: Pilwon Huh <pilwon@gmail.com>

Test Plan:
./runJestTests
start app and click around
2015-03-31 21:24:13 -08:00
Amjad Masad
c9d4dd3695 [react-native] v0.3.1 2015-03-31 13:28:44 -08:00
Amjad Masad
c94f7c3656 [React Native] Sync from github 2015-03-27 22:09:11 -08:00
Amjad Masad
35589d6f09 [react-packager] move dependencies to root package.json 2015-03-26 21:45:55 -08:00
Tadeu Zagallo
20291a02df [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
Alex Kotliarskyi
0fe0af2048 [ReactNative] Add react-native-start bin to react-native packge 2015-03-25 18:14:29 -08:00
Christopher Chedeau
546d03d8ed [ReactNative] Update package.json to be npm-ready 2015-03-25 18:08:07 -08:00
Eric Vicenti
eb16bb4dfd [ReactNative] Fix OSS Dependency Issues 2015-03-24 16:15:23 -08:00
Tadeu Zagallo
57ee9e7dc0 [ReactNative] Use oss TimerMixin 2015-03-24 10:46:05 -08:00
Christopher Chedeau
87f42ab450 [ReactNative] Remove react-native/package.json 2015-03-22 20:17:01 -08:00
Tadeu Zagallo
b881028494 [ReactNative] Add root package.json name back 2015-03-20 17:38:23 -08:00
Alex Kotliarskyi
0c5f9e3662 [ReactNative] Add missing websocket dependency 2015-03-20 15:29:56 -08:00
Christopher Chedeau
737cae8f19 [ReactNative] Remove duplicate package.json with the same name 2015-03-19 09:04:39 -08:00
Amjad Masad
eabe9f43c8 [react-packager] package.json cleanup (seperate packager into it's own package) 2015-03-11 17:42:46 -08:00
Alex Kotliarskyi
378e59b90a [ReactNative] Make tests run on TravisCI 2015-03-10 18:33:20 -08:00
Ben Alpert
582c05f4a0 [React Native] Update React to v0.13.0-rc2 2015-03-06 17:12:53 -08:00
Amjad Masad
668c53ab9c [react-packager] Cleanup package.json 2015-03-03 00:30:06 -08:00
Amjad Masad
bb7040808e [react-packager] Add uglify-js library 2015-03-02 21:10:01 -08:00