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
Paul O’Shannessy
8fda127748
Check src file for version-check task
...
This lets the task run stand-alone without building
2013-12-11 17:06:06 -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
0c366ce648
fix lint
2013-12-09 14:55:21 -05:00
Thomas Aylott
1b477fa40c
move sauce labs config out of the Gruntfile
2013-12-09 14:55:21 -05:00
Thomas Aylott
b8ee94d999
define public saucelabs info for everything to use
2013-12-09 14:55:20 -05:00
Thomas Aylott
e560229c83
secure tokens aren't available for pull requests
...
Now you can use the saucelabs jazz locally also.
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
petehunt
ef339c9cc4
Version bump, make tests work
2013-12-06 11:56:30 -08:00
petehunt
82f211f6b8
revert muffinize :(
2013-12-06 11:56:30 -08:00
petehunt
90e2258791
response to code review
2013-12-06 11:56:30 -08:00
Paul O’Shannessy
9162cb8abe
react-core npm module
2013-12-06 11:56:29 -08:00
petehunt
e839405202
muffinification
2013-12-06 11:56:29 -08:00
petehunt
5466d0a063
first work: __DEV__
...
fix invariant
Get browserify working
remove dead code elimination step since it is not needed due to minifier
use industry standard NODE_ENV
2013-12-06 11:56:29 -08:00
Thomas Aylott
55e3b64ff4
Merge pull request #635 from subtleGradient/subtlegradient/fixes-webdriver-test
...
fixes webdriver issues
2013-12-05 14:55:52 -08:00
Thomas Aylott
2807202ee7
bump webdriver timeouts
...
fixes #634
fixes #551
2013-12-05 16:27:26 -05:00
Thomas Aylott
c222c46146
filter out tests from complexity report
2013-12-05 16:27:10 -05:00
Thomas Aylott
2b3e97b5a4
NEW grunt complexity reporting task
2013-12-05 16:27:10 -05:00
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