Tim Yung
d135da9193
React Native: Add String.prototyp.es6 Polyfill
2015-04-13 13:25:35 -08:00
Amjad Masad
21f45e8899
[react-packager] Correct module extension regexp
2015-04-09 12:07:23 -08:00
Amjad Masad
e3ce3d0d84
[react-packager] Implement the browser field package.json spec
2015-04-09 11:59:48 -08:00
Amjad Masad
bd7b9da64a
[react-packager] Implement new style asset packaging (with dimensions)
2015-04-08 13:11:21 -08:00
Amjad Masad
b6eeb61024
[react-packager] Deprecate global image namespace in favor of CommonJS resolution
2015-04-03 17:19:10 -08:00
Pilwon Huh
a9af05f8ac
react-packager: Add ES6 import statement support to DependencyGraph.
...
Summary:
This PR teaches packager's `DependencyGraph` how to extract dependencies written with ES6 `import` statements.
It fixes the issue where you are not able to write your app with ES6 `import` statements when your custom transformer (replacing the default [JSTransform](https://github.com/facebook/jstransform ), for example, [babel](http://babeljs.io/ )) already supports the ES6 `import` syntax.
It will also be useful for [JSTransform](https://github.com/facebook/jstransform ) later on once it implements `import` feature too.
Closes https://github.com/facebook/react-native/pull/386
Github Author: Pilwon Huh <pilwon@gmail.com >
Test Plan: runJestTests.sh
2015-04-03 11:40:54 -08:00
Jacob Gable
63c2f80a7c
Do not expose define references in require polyfill
...
Summary:
See #406
Made sure the jest tests pass but didn't know a good unit test to add for this.
Closes https://github.com/facebook/react-native/pull/427
Github Author: Jacob Gable <jacob.gable@gmail.com >
Test Plan:
* ./runJestTests
* start app and click around
2015-03-31 22:32:39 -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
daviskoh
0ca3136371
Bugfix/require module regexp
...
Summary:
Resolves https://github.com/facebook/react-native/issues/316 . Also updated the spec for the Haste Dependency Resolver. Not sure if these changes are the ones desired so feedback would be welcome!
Closes https://github.com/facebook/react-native/pull/368
Github Author: daviskoh <koh.davis.0@gmail.com >
Test Plan: ./runJestTests
2015-03-31 17:37:39 -08:00
Amjad Masad
c2b2d45b79
[react-packager] Inherit from Error correctly
2015-03-27 21:47:19 -08:00
Amjad Masad
a925082d2e
[react-packager] Watch asset roots for changes to update dependency graph
2015-03-27 09:18:00 -08:00
Amjad Masad
031adabd18
[react-packager] better error when main file not found
2015-03-26 10:38:50 -08:00
Amjad Masad
8b79808a90
[react-packager] Fix more issues with node modules
2015-03-24 16:07:56 -08:00
Alex Kotliarskyi
463a5bc9a4
[ReactNative] Remove arc build instructions from require
2015-03-23 17:18:19 -08:00
Amjad Masad
540cb4bb8e
[react-packager] Default to index.js from main if it's a dir
2015-03-23 14:55:52 -08:00
Christopher Chedeau
f67a36733f
[ReactNative] Expanded license on js packager files
2015-03-23 11:28:51 -08:00
Amjad Masad
a6b154332b
[react-packager] Pick up package changes while running
2015-03-23 11:15:52 -08:00
Amjad Masad
319ea3242a
[react-packager] Add assetRoots option
2015-03-18 18:26:35 -08:00
Martin Kosiba
8b2e79dc68
[react_native] JS files from D1919491: Improve JS logging
2015-03-18 07:30:18 -08:00
Amjad Masad
d3054788da
[react-packager] small fixes to image loader
2015-03-16 14:45:40 -08:00
Amjad Masad
9249545047
[react-packager] Implement image loading i.e. ix('img') -> require('image!img');
2015-03-13 16:10:58 -08:00
Amjad Masad
78d03b89b7
[react-packager] Make dev a query param option
2015-03-04 21:24:08 -08:00
Amjad Masad
a9c8b13e6e
[React Native][react-packager] Fix test runner and fialing tests
2015-02-28 14:55:00 -08:00
Amjad Masad
96312af117
[react-packager] Fix lint errors
2015-02-25 20:29:42 -08:00
Chengyin Liu
929cfc9dd5
[react-packager] fix a typo s/pacakge/package
...
Summary:
Closes https://github.com/facebook/react-native/pull/83
Github Author: Chengyin Liu <chengyin.liu@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-25 16:07:13 -08:00
Amjad Masad
f426ec8d7d
[react-packager] Cleanup option passing and validation
2015-02-24 15:17:40 -08:00
Spencer Ahrens
efae175a8e
[react-packager][streamline oss] Move open sourced JS source to react-native-github
2015-02-19 21:25:11 -08:00