Commit Graph

96 Commits

Author SHA1 Message Date
Paul O’Shannessy f3dbc40261 Split jest task into two
This ensures that we don't make jest do the additional tracking it needs to make coverage work.
2015-12-22 10:25:34 -08:00
zwhitchcox c77f0b2fc5 Change release to multi task
More concise and consistent with the other multitasks
2015-12-04 13:29:58 -05:00
Paul O’Shannessy 5a80b20017 Make sure react-dom-server is shipped in release process
Also removed some duplicated code to simplify a bit
2015-11-18 13:08:44 -08:00
Paul O’Shannessy c07b304c76 Merge pull request #5381 from kevinrobinson/react-dom-server-package
Add additional secret property to build artifact for react-dom-server
2015-11-17 16:48:08 -08:00
chico 4a7456a136 review fixes 2015-11-05 05:11:39 +03:00
chico 8987522a2a remove eslint-disable when possible and update eslint version 2015-11-05 05:11:39 +03:00
Kevin Robinson 45c612ed7a Add additional secret property and build for react-dom-server
Update eslintrc, travis build and add task to Gruntfile
2015-11-03 16:39:58 -05:00
Paul O’Shannessy 227ba42f81 Use the right gulp executable on Windows 2015-10-12 10:01:23 -07:00
Paul O’Shannessy ff542de59d Build ReactDOM browser builds into react-dom/dist 2015-09-18 14:02:31 -07:00
Paul O’Shannessy 31f25255b9 Stop building JSXTransformer
Pick of/closes #4148.
2015-09-10 08:45:04 -07:00
Paul O’Shannessy b2ca3349c2 Actually build react-dom file with the build 2015-09-08 22:18:44 -07:00
Leon Yip e99e8b66b2 Update Gruntfile.js
Added punctuation to make the comment consistent with other comments.
2015-08-21 18:06:55 -07:00
Toru Kobayashi 656c2ef173 Remove fasttest task. fasttest is not fast 2015-08-05 19:00:23 +09:00
Paul O’Shannessy 94bc29b400 Remove react-tools completely 2015-07-30 10:15:36 -07:00
Paul O’Shannessy 7b37f8ac36 Fix gulp 2015-07-24 14:41:34 -07:00
Paul O’Shannessy 83c88578e9 Replace grunt-jest with our own runner
This gives us more control
2015-07-23 17:52:58 -07:00
Paul O’Shannessy 1d0c1b1817 Use fbjs package from npm, gulp
This reworks a few things in building and distributing React. The biggest change is using fbjs to share dependencies with other libraries. We're also using Gulp for some build steps.
2015-07-23 15:48:02 -07:00
Paul O’Shannessy 3ca5c15c1e Merge pull request #4092 from mking/remove-react-source-gem
Stop building react-source gem
2015-07-20 15:18:26 -07:00
Paul O’Shannessy 5da408297f Remove in-browser unit testing
Rely on jest for now until we get a better and less hacky solution to running tests in the browser, probably a totally different test suite with different behavior/goals.
2015-07-17 00:13:16 -07:00
Benjamin Woodruff fc0b42dc07 Run eslint tests with jest
Turns out eslint-tester works with jest (!)

We take advantage of this internally at FB, so we'll do it here too.

Fixes #4328
2015-07-09 15:59:59 -07:00
Matthew King fc63cebd29 Stop building react-source gem
fixes #4069
2015-06-27 13:44:08 -07:00
Paul O’Shannessy 79561342c3 Build standalone react-addons packages 2015-06-21 20:01:21 +08:00
Paul O’Shannessy 3bae8f5f35 Build react-dom package 2015-06-15 11:01:39 -07:00
Ben Alpert 67a98468b2 Inline requires in Gruntfile
I think this makes it quite a bit easier to understand.
2015-06-11 15:00:30 -07:00
Paul O’Shannessy 6b79977c31 Merge pull request #3416 from koba04/remove-jshint
Remove the codes relating to jshint
2015-06-03 19:45:51 -07:00
Toru Kobayashi ce46068def Remove the codes relating to jshint 2015-06-04 09:32:37 +09:00
Benjamin Woodruff 17e7046754 Add custom eslint rule for warning and invariant
See #2869

Checks that the *second* argument of warning and invariant are a literal
string, or a concatination of literal strings, and that the number of
arguments is correct based on the number of %s substrings.

This commit also fixes a few places where the existing code had broken
error messages!

The rule itself is pretty straightforward, although adding the tests
ended up being a bit painful, as eslint-tester depends on mocha, and
therefore needs to be run in a separate grunt task.
2015-06-03 17:19:32 -07:00
Benjamin Woodruff c089eece50 Switch to using comma-dangle: always-multiline
This is a machine-generated codemod, but it's pretty safe since it was
generated by hooking into eslint's own report.

A few files had to be touched up by hand because there were existing
formatting issues with nested arrays/objects:

src/shared/utils/__tests__/OrderedMap-test.js
src/shared/utils/__tests__/Transaction-test.js
src/shared/utils/__tests__/traverseAllChildren-test.js
src/isomorphic/children/__tests__/ReactChildren-test.js
2015-06-02 16:57:26 -07:00
Ben Alpert 12ea09a03c Remove web worker test 2015-05-27 10:52:32 -07:00
Jack Zhang f7a9a6c480 Missing punctuations in comments.
Added periods to two comment lines to ensure uniform format.
2015-04-25 20:50:30 -07:00
Ben Alpert 0b6c7c29fe Keep docs/js/{react,JSXTransformer}.js in repo
This way we don't need to rebuild them each time for the website.
2015-03-28 14:56:54 -07:00
PNikray e931aaab4a Removed build:test from test:coverage.
This was a duplicate task for build:withCodeCoverageLogging.
It should now properly output the lines which are not covered.
2015-03-23 21:32:49 +01:00
cpojer 7291942550 Remove perf folder 2015-03-17 13:40:11 -07:00
chico 1511fff598 eslint 2015-02-13 02:43:42 +03:00
Paul O’Shannessy 892f0a59fe Fix lint on travis
PR #2852 was not quite correct
2015-01-13 16:55:10 -08:00
Paul O’Shannessy 84c83dca2d Add eslint grunt task, fail travis for it
This is it...
2015-01-13 16:11:42 -08:00
Martin Jul 70fdd5a287 Added missing semicolon after statement. 2014-10-22 23:46:54 +02: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
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
Paul O’Shannessy 17aef05d75 Stop running so many things in travis
We're not actively looking at most of these and they take up valuable
job time.
2014-07-01 18:11:34 -07:00
Ben Alpert 8db8e60a38 Don't fail Travis on sauce failures
Fixes #1496.
2014-05-19 13:23:07 -07: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 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 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
Ben Alpert 9766ed5797 Bring back `grunt test --debug` 2014-03-06 22:11:55 -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