Commit Graph
76 Commits
Author SHA1 Message Date
Ben Newman 057c88ce52 s/jsxConfig/commonerConfig/g 2013-12-04 16:47:13 -05:00
Ben Newman 3527d9d91c Establish a convention for forcing jsx rebuilds.
Pull request #526 updated the behavior of vendor/constants.js without
changing any source files or the bin/jsx-internal script, so files that
should have been rebuilt (like utils/__tests__/ImmutableObject-test.js)
were not automatically rebuilt (unless you knew to do `grunt clean` or
`rm -rf .module-cache` manually).

This commit allows us to bump a version number when we know the transform
toolchain has been altered in a way that will not be visible to
commoner/jsx.

With this convention, if we reset to an older revision (e.g. during a git
bisect) and the appropriate cached module files are still in the
.module-cache/, they can be used without rebuilding. That's why I prefer
this approach to just deleting the .module-cache/.

Closes #104.
Closes #496.
Closes #530.
2013-12-04 16:36:59 -05:00
Thomas Aylott 5ae152cdcf simplified the sort function 2013-11-18 16:37:47 -05:00
Thomas Aylott 45063aed44 picked all the lint 2013-11-18 16:37:47 -05:00
Thomas Aylott 5feb745b02 fixes the case when coverage isn't turned on 2013-11-18 16:37:47 -05:00
Thomas Aylott eda56b7af2 new grunt test:coverage task 2013-11-18 16:37:47 -05:00
Thomas Aylott 8f96ec255b new grunt browserify:withCodeCoverageLogging task 2013-11-18 16:37:47 -05:00
Thomas Aylott ad0d9e4761 consoleLoggerMiddleware handles coverage logs 2013-11-18 16:37:47 -05:00
Thomas Aylott b5b60a6acf speed up server middleware slightly 2013-11-18 16:37:46 -05:00
Thomas Aylott cb6b7f37e7 fixes an issue where the list of files to test isn't complete 2013-11-18 16:37:46 -05:00
Thomas Aylott 61c1bf0a41 fixes browserify task transforms support 2013-11-18 16:37:46 -05:00
Paul O’Shannessy d1fa53ca03 Cleanup lint warnings from recent testing changes
Also, relaxed a rule for dot notation (and unrelaxed it in src).
2013-11-14 11:24:06 -08:00
Thomas Aylott 22829b5529 remove unnecessary task config 2013-11-13 16:49:08 -05:00
Thomas Aylott d1fd4058da sauce labs browser configs for running manually 2013-11-13 16:22:11 -05:00
Thomas Aylott 08bd1f98e5 wait a little longer for the page to load 2013-11-13 16:22:11 -05:00
Thomas Aylott 2d6eb3d8fc don't log your password to the console 2013-11-13 16:22:11 -05:00
Thomas Aylott 4daeda1490 log individual test results when in --debug mode 2013-11-13 16:22:11 -05:00
Thomas Aylott cd24cbdbf4 name local saucelabs tests too 2013-11-13 16:22:11 -05:00
Thomas Aylott d9b7e47824 sped up the webdriver tests 2013-11-13 16:22:11 -05:00
Thomas Aylott b845134151 user JSON encoding for browser logger
Fixes a strange issue in IE
2013-11-13 16:22:11 -05:00
Thomas Aylott e3ced21c9d postDataToURL using ajax instead of DOM 2013-11-13 16:22:10 -05:00
Thomas Aylott 66a0f2e7bd Suppress encoding warning in Firefox 2013-11-13 16:22:10 -05:00
Thomas Aylott 7c8b70eedb better error handling for jasmine task 2013-11-13 16:22:10 -05:00
Thomas Aylott f12c428c78 NEW saucelabs webdriver task 2013-11-13 16:22:10 -05:00
Thomas Aylott 6b1042a6f9 fixup sauce-tunnel 2013-11-13 16:22:10 -05:00
Thomas Aylott ff857efdd2 desiredCapabilities webdriver config 2013-11-13 16:22:10 -05:00
Thomas Aylott 0401a0a67c NEW sauce-tunnel grunt task 2013-11-13 16:22:10 -05:00
Thomas Aylott 241d57aa9e allow directory browsing 2013-11-07 13:12:31 -05:00
Thomas Aylott f289e9862a rename sauce-harness to index 2013-11-06 17:29:00 -05:00
Thomas Aylott c9401be38e replace phantom-harness runner with webdriver 2013-11-06 16:44:03 -05:00
Thomas Aylott 3e2d3e4837 add logging to webdriver config 2013-11-06 15:30:52 -05:00
Thomas Aylott 1368b29596 cleanup webdriver jasmine task 2013-11-06 15:30:52 -05:00
Thomas Aylott c780985d3e wait for all results to finish sending 2013-11-06 15:30:52 -05:00
Thomas Aylott 71772e763a grunt task launch phantomjs as a webdriver server 2013-11-06 15:30:52 -05:00
Thomas Aylott b725097409 log using grunt 2013-11-06 15:30:51 -05:00
Thomas Aylott 772af52f4a safer bind 2013-11-06 15:30:51 -05:00
Thomas Aylott db299ed761 remove sauce labs stuff for now 2013-11-06 15:30:51 -05:00
Thomas Aylott 0f274e5b22 new webdriver-jasmine task and config 2013-11-06 15:30:51 -05:00
Thomas Aylott 2cd663940a don't double-log test results 2013-11-06 15:30:51 -05:00
Thomas Aylott 465b8dc646 test server middleware for receiving test results 2013-11-06 15:30:50 -05:00
Thomas Aylott 3df6942cde SauceLabs Browser testing via Travis 2013-11-06 15:30:50 -05:00
Thomas Aylott 24ec78fd52 Testing-ci can't handle spaces in filenames? 2013-11-06 15:30:49 -05:00
Thomas Aylott 001bda28d9 Generate the browser test list at built time 2013-11-06 15:30:49 -05:00
Cheng Lou d6cbc710bd remove examples/wrapup
Apparently it's no longer relevant.
2013-11-03 15:41:40 -05:00
Paul O’Shannessy 820532b7aa Fix grunt npm:test 2013-10-16 11:42:02 -07:00
Paul O’Shannessy a151133161 Make sure react-with-addons ends up in bower 2013-10-08 16:49:11 -07:00
Paul O’Shannessy 2e6092b217 react-with-addons build
This creates a new standalone build which should have everything the
default build has, plus a little extra. This is not a sustainable long
term solution (we shouldn't make people choose like this) but it fixes
the problem we have in the short term.

This also removes the terrible react-transitions build. This is better
anway.

Fixes #369
2013-10-08 16:49:11 -07:00
Paul O’Shannessy f729a28f3c Delete version.js
This file is an artifact of a build process long abandoned.
2013-09-11 14:20:26 -07:00
Ben Alpert 5fd4467bf7 Add React.version
getConfig needs to be a function because grunt.config.data.pkg.version isn't available at the time that grunt/config/jsx/jsx.js is required.

Test Plan:
grunt build, grunt lint, grunt test all work. After building, both react.js and react.min.js contain the version number.
2013-09-09 17:01:06 -07:00
Paul O’Shannessy d704bc24f4 Initial build of ReactTransitionGroup
This builds `ReactTransitionGroup` with it's own copy of `React`, which
it total clownshoes. This should be technically usable, but definitely
should not be used in any production environment.
2013-09-07 16:18:14 -07:00