Cheng Lou
51d74ca36c
Temporarily comment out bundle-collapser for JSXTransformer
...
This will at least make the examples run while we fix the issue.
2015-01-20 20:27:59 -05:00
ShihChi Huang
9bc1961936
apply browserify bundle collapser to all build type
2015-01-05 13:15:16 -08:00
ShihChi Huang
f214776a97
use bundle-collapser to reduce browserified file size
2014-12-30 23:16:04 -08:00
Dennis Johnson
5216460246
Fix version typo in grunt task
2014-12-20 12:29:06 -07:00
Paul O’Shannessy
d03d49101b
browserify update
2014-10-14 22:40:28 -07:00
Paul O’Shannessy
b227837b0c
Ship merge to npm
...
People may have a bad time if they're depending on these but we can
delay that a little bit. Unless they're using directly and not
polyfilling Object.assign.
2014-10-13 14:07:39 -07:00
Paul O’Shannessy
dcf415c2b9
BSD + PATENTS
2014-10-10 13:34:07 -07:00
Paul O’Shannessy
32d3f79dc5
Upgrade Commoner
...
It no longer parses @providesModule directives by default.
Fixes #1145
2014-08-18 15:12:39 -07:00
Paul O’Shannessy
1033c4805f
Remove TodoMVC flux example
...
It lives at https://github.com/facebook/flux/tree/master/examples/flux-todomvc now.
2014-08-11 13:02:12 -07:00
Paul O’Shannessy
520c4f96d4
Move react-source gem out of project root
...
Now it requires a build step. At least the confusing lib directory is
gone though.
2014-07-21 22:56:32 -07:00
Ben Alpert
47d3339e1b
Don't copy todomvc-flux into starter kit
...
Test Plan: Ran `grunt release:starter` and looked in build/starter/ to see all the examples but not todomvc-flux.
2014-07-11 14:35:10 -07:00
Paul O’Shannessy
9d5ab297d2
Merge pull request #1784 from wvl/package-built-source-with-npm
...
Add the built source to npm package. See #1699
2014-07-08 19:22:53 -07:00
Paul O’Shannessy
5c85f33184
Custom readme for react-tools
...
Of course this means I can no longer just npm publish from the project
root, but I haven't been anyway.
2014-07-03 17:39:33 -07:00
Wayne Larsen
c1c8ad8e53
Add the built source to npm package. See #1699
2014-07-03 18:21:22 -04:00
jbrantly
9e60afdc31
Fixing grunt jsx task in Windows
...
Spawning node directly instead of relying on shebang in the jsx-internal script
Fixes #1292
2014-07-02 17:26:40 -04:00
Cheng Lou
e9c00b1bae
Remove grunt-complexity
...
The report itself is more or less useful because it detects stuff like
big objects (e.g. CSSProperty) as being too complicated. Furthermore, afaik
nobody refactors the code based on what the report says =).
2014-04-16 11:52:25 -07:00
petehunt
2220f0478c
Drastically improve test performance
2014-04-14 11:32:36 -07:00
Paul O’Shannessy
7f9ab471ac
Merge pull request #1365 from akre54/unminified-docs-js
...
Serve unminified react.js on docs site
2014-04-07 15:42:50 -07:00
Adam Krebs
a6211a0fd8
Serve unminified react on docs site. Fixes #1359
2014-04-07 02:13:59 -04:00
Ben Alpert
42e20a1488
Fix jshint warnings in grunt/
...
Fixes #1052 .
Test Plan:
jshint grunt
2014-03-30 16:09:08 -07:00
Paul O’Shannessy
8d495f3b6e
Revert "Merge pull request #1234 from RReverser/pure-cjs"
...
This reverts commit 7987e6a51d , reversing
changes made to d88d479685 .
2014-03-18 11:25:21 -07:00
Ingvar Stepanyan
3f3187c14f
Renamed commojs task to bundle, added failing build if bundler failed.
2014-03-17 16:53:02 +02:00
Ingvar Stepanyan
25773ed1b3
CommonJS builder config to Grunt style for easier handling and readability.
2014-03-11 13:40:38 +00:00
Ingvar Stepanyan
9e224e615f
Renamed browserify tasks/configs to cjs, updated pure-cjs to 1.9.0 for better build speed.
2014-03-11 13:26:36 +02:00
Ingvar Stepanyan
3171436d97
Switched from browserify to pure-cjs bundler.
...
Optimizations and fix for JSXTransformer build.
Dropped dependency on emulation of Node.js native modules.
Added deamdify step for JSXTransformer build.
2014-03-08 16:33:58 +02:00
Ben Alpert
1d209248ef
Remove obsolete __VERSION__ references
2014-03-06 20:33:06 -08:00
Paul O’Shannessy
1d27770b40
Fix verion-check to look in right place for React.js
2014-03-03 15:35:10 -08:00
Paul O’Shannessy
3e77f64141
Merge pull request #1097 from spicyj/es3ify
...
Run es3ify over unminified builds
2014-02-16 12:49:16 -08:00
Ben Alpert
e87c8a2aa4
Run es3ify over unminified builds
...
Makes no difference to react.js and react-with-addons.js; quotes .static in four
places for JSXTransformer.js:
https://gist.github.com/spicyj/aada5352e813752a4667
2014-02-15 16:32:36 -08:00
Paul O’Shannessy
d3c12487fd
Update copyright header in browserify config
...
Part of #1006 , but sooner.
2014-02-15 16:24:13 -08:00
Paul O’Shannessy
463f940c7f
Build react-tools package on build, upload to builds site
2014-02-07 13:59:18 -08:00
Paul O’Shannessy
b199de29a0
Cleanup jsx tasks
...
debug and release are now identical, so there's no need to have both.
2014-02-07 10:21:19 -08:00
Paul O’Shannessy
94d11ecf05
build npm-react module, upload to builds page
2014-02-06 15:06:10 -08:00
Paul O’Shannessy
2435b66840
Fix version check test
2014-02-04 19:49:58 -08:00
Ben Newman
9f1ed709d0
Revert "Switched from browserify to pure-cjs bundler."
...
This reverts commit bff9731b66 .
2014-02-03 19:05:22 -05:00
Ben Newman
77c53dd5d4
Revert "More optimizations and fix for JSXTransformer build"
...
This reverts commit f1b7db9aef .
2014-02-03 19:05:15 -05:00
Ben Newman
e994e06c54
Revert "Removed redundant uglification"
...
This reverts commit 86373d924c .
2014-02-03 19:05:09 -05:00
azure provisioned user
86373d924c
Removed redundant uglification
...
Removed uglification for separate files since it significantly slowed down build (browserify:min became 26 sec instead of 110, same for :addonsMin) while gave economy in ~70 bytes for min+gz version.
2014-02-03 22:06:38 +00:00
Ingvar Stepanyan
f1b7db9aef
More optimizations and fix for JSXTransformer build
...
* Dropped dependency on emulation of Node.js native modules.
* Added deamdify step for JSXTransformer build.
2014-01-31 21:53:08 +02:00
Ingvar Stepanyan
bff9731b66
Switched from browserify to pure-cjs bundler.
2014-01-31 18:25:09 +02:00
Ben Newman
36fd1def84
Move grunt/config/jsx/jsx.js to grunt/config/jsx.js.
...
There used to be more files in that subdirectory.
2014-01-27 12:09:55 -08:00
Paul O’Shannessy
9c91546451
Merge pull request #918 from spicyj/npm-react-rec
...
Fix copying files to build/npm-react recursively
2014-01-21 13:03:57 -08:00
Paul O’Shannessy
494f6e9c34
Merge pull request #921 from spicyj/grunt-jsx-no-dev
...
Remove unused grunt jsx config options
2014-01-21 11:40:43 -08:00
Paul O’Shannessy
ca930efa7c
Upgrade (explicitly) grunt
...
They deprecated the use of some packaged modules and suggest using those modules
directly. http://gruntjs.com/blog/2013-11-21-grunt-0.4.2-released
Lodash was the only use we had.
2014-01-17 18:00:40 -08:00
Paul O’Shannessy
c5f0e14985
Update browserify
...
Also update bundle.transform call site, which now takes options
2014-01-17 18:00:40 -08:00
Ben Alpert
703a29c0b2
Remove unused grunt jsx config options
...
Since 5466d0a063 , the `__DEV__` isn't used any more. I can't find anything that uses the `debug` flag either.
2014-01-17 02:02:47 -08:00
Ben Alpert
76a7e2de75
Fix copying files to build/npm-react recursively
...
The intention of the `npm-react/**/*` rule was to copy recursively but it would have flattened any nested directory structure. I changed the `build/modules` rule to copy recursively as well, which is necessary for `ReactTestUtils` to be able to require `test/mock-modules.js` successfully. (`ReactTestUtils` isn't included in a clean `npm-react` build currently but it will be in the future.)
This also makes running ART tests more practical.
2014-01-17 01:15:15 -08:00
Thomas Aylott
91821007ed
benchmark runner
2014-01-06 12:26:40 -05:00
Ben Alpert
76c9d8465e
Switch to using uglifyify
2013-12-29 00:03:26 -07:00
Ben Alpert
abee8b0476
Minify both before and after browserify
2013-12-28 23:41:54 -07:00