Commit Graph

84 Commits

Author SHA1 Message Date
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
Ben Newman 864366d082 Remove build/modules/ at beginning of `grunt` and `grunt test`.
Little-known fact: instead of writing copies of compiled module files to
build/modules/, the bin/jsx-internal script actually just makes hard links
to the master versions of files in the .module-cache/, so re-populating
build/modules/ is very inexpensive.

Closes #856.
2014-01-27 16:46:01 -08: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
Thomas Aylott 91821007ed benchmark runner 2014-01-06 12:26:40 -05:00
Paul O’Shannessy 6a8542a6e9 Fix npm-react build task, add to release 2013-12-19 13:21:27 -08:00
Paul O’Shannessy 54bac2f07f Move version-check task into own file
Gruntfile.js is really messy :(
2013-12-11 17:01:18 -08:00
Thomas Aylott 1b477fa40c move sauce labs config out of the Gruntfile 2013-12-09 14:55:21 -05:00
Thomas Aylott fe8008e67c PICK ALL THE NITS!!!1! 2013-12-09 14:55:20 -05:00
Thomas Aylott 4af362b751 combine iOS and IE matrix tests 2013-12-09 14:55:20 -05:00
Thomas Aylott 8e3cb7bd9d tests fail in Safai now. unblocking for now.
Add these back in as build blockers once those issues are fixed.
2013-12-09 14:55:20 -05:00
Thomas Aylott c6f99c3a84 iOS is failing again. Will debug separately 2013-12-09 14:55:20 -05:00
Thomas Aylott b8ee94d999 define public saucelabs info for everything to use 2013-12-09 14:55:20 -05:00
Thomas Aylott e944b68e8c new `grunt test:full` task tests in many browsers
Moved the travis specific stuff back into the travis file
2013-12-09 14:55:20 -05:00