Commit Graph

49 Commits

Author SHA1 Message Date
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
Thomas Aylott
18459deb77 enable IE browser testing in travis 2013-12-09 14:55:20 -05:00
Thomas Aylott
a13bd1e251 simplify travis script 2013-12-09 14:55:20 -05:00
Paul O’Shannessy
ce0f244c54 Move npm-react-core to npm-react, fix tasks accordingly 2013-12-06 15:10:15 -08:00
Paul O’Shannessy
9162cb8abe react-core npm module 2013-12-06 11:56:29 -08:00
Thomas Aylott
2b3e97b5a4 NEW grunt complexity reporting task 2013-12-05 16:27:10 -05:00
Thomas Aylott
c6f7fe00fa Lines too long; reformatted 2013-11-18 16:37:47 -05:00
Thomas Aylott
eda56b7af2 new grunt test:coverage task 2013-11-18 16:37:47 -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
Paul O’Shannessy
9cb3a3a182 Remove modules cache with grunt clean 2013-11-14 10:37:07 -08:00
Thomas Aylott
39ba5f90b1 no need to pass jasmine through jsx 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
3b8af033cd don't try to loadNpmTasks grunt-cli 2013-11-07 13:57:34 -05:00
Thomas Aylott
0a120bb5d0 cleanup loadNpmTasks 2013-11-06 17:12:20 -05:00
Thomas Aylott
c9401be38e replace phantom-harness runner with webdriver 2013-11-06 16:44:03 -05:00
Thomas Aylott
be7ee1ee65 start a local webdriver server before using it 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
2d979a9ce9 cleanup 2013-11-06 15:30:52 -05:00
Thomas Aylott
0f274e5b22 new webdriver-jasmine task and config 2013-11-06 15:30:51 -05:00
Thomas Aylott
e086cbb44b separate grunt task for saucelabs browser testing 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
Cheng Lou
d6cbc710bd remove examples/wrapup
Apparently it's no longer relevant.
2013-11-03 15:41:40 -05:00
Ben Newman
f8c5752472 Merge pull request #374 from spicyj/workers
Test that React loads properly in a web worker.

Most of this code is open source-only, so I think it's safe to merge without figuring out how to translate it upstream first.
2013-10-09 08:50:41 -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
Ben Alpert
3dc1074908 Test that React loads properly in a web worker
This should catch top-level uses of `window` and `document`, while lint rules catch `global`.
2013-09-27 14:38:11 -07:00
Ben Newman
133ea3df09 Use a regular expression to parse out React.version.
This fixes a silent failure of the test suite that appears to be due to
the call require('./build/modules/React').
2013-09-11 18:41:56 -04:00
Paul O’Shannessy
5ab68d9a0d Hard code version instead of doing constant replacement
This isn't really ideal, but it makes it so that people managing to
build with @providesModule still get a consistent experience (since this
is what gets packed client-side with react-page-middleware anyway).
2013-09-11 09:51:43 -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
Ben Newman
0827646695 Use populist for building jasmine test harness package.
We're using populist for building the bundle of test modules and their
dependencies, so it seems worthwhile for consistency to do the same for
the test harness.
2013-07-16 14:48:31 -04:00
Ben Newman
b763d7d029 Use a separate grunt/config/jsx config file for tests.
No longer injecting __MOCK__ as a global constant (it's just a config
property now).

Turns out the `grunt jsx:debug` task was never necessary for tests.
2013-07-15 19:41:40 -04:00
Ben Newman
c6c4657f83 Use populist v0.1.2 to bundle test modules instead of browserify.
This will allow full support for mocking, dumpCache, and correct line
numbers in error messages.
2013-07-15 18:10:49 -04:00
Ben Newman
f8af93237a Use bin/jsx and browserify to build a jasmine bundle. 2013-06-03 13:20:13 -04:00
Ben Newman
60a6665bbd Provide grunt npm:test for verifying NPM package functionality.
This basically calls `npm pack`, installs the resulting package in a temporary directory, then requires it and attempts to use the .transform method.

Closes #12.
2013-05-31 10:35:39 -04:00
Paul O’Shannessy
75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00