Commit Graph

79 Commits

Author SHA1 Message Date
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 9558285f09 Update other dependencies 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
cpojer 8dbc530d1c Add --harmony option to jsx. 2014-01-09 15:21:48 -08:00
Pete Hunt 57f208e402 Merge pull request #821 from subtleGradient/subtlegradient/perf-task
benchmark runner & comparison tool with grunt commands and travis integration
2014-01-06 18:32:51 -08:00
Ben Alpert 5968571952 Bump jstransform version to 2.0.2
Necessary for JSXTransformer.js to work after 7675611.
2014-01-06 16:25:05 -08:00
Thomas Aylott 91821007ed benchmark runner 2014-01-06 12:26:40 -05:00
Ben Newman 1755d43add Upgrade commoner build tool to v0.8.12.
Fixes #394.
Fixes #615.
2014-01-02 14:54:13 -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
Ben Newman 9da3f92853 Upgrade envify dependency to v1.0.1.
This version uses Recast for source transformation:
https://github.com/hughsk/envify/pull/4
2013-12-22 11:58:56 -05:00
Ben Newman b805eff032 Upgrade populist dependency to v0.1.6.
This reduces the time taken by `grunt populist:test` from 7s to 550ms,
which should make @spicyj especially happy.

Relevant commits from the `populist` and `ast-types` repositories:
https://github.com/benjamn/populist/commit/9863ad16c0753f714fdb83007515637511c346d6
https://github.com/benjamn/ast-types/commit/dabef2a4ac48ebdb5c76baf1fb94f4997b6484ac
2013-12-17 16:26:51 -05:00
Ben Newman f3a6775098 Upgrade recast dev dependency to v0.5.6.
Paving the way for source maps.
2013-12-17 14:50:36 -05:00
Paul O’Shannessy 153b75f186 Bump version to 0.9.0-alpha
This is trunk, which will be 0.9. We'll have to cherry-pick this whole
thing into a 0.8 branch.
2013-12-06 15:11:25 -08:00
Paul O’Shannessy a42b61fa85 Fix botched rebase 2013-12-06 15:10:57 -08:00
petehunt ef339c9cc4 Version bump, make tests work 2013-12-06 11:56:30 -08:00
petehunt 036e621467 version bump to 0.8 to get on top of react.js 2013-12-06 11:56:30 -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
Ben Alpert 1be9a9e986 Bump version of wd
wd 0.2.2 gives `TypeError: Cannot call method 'jsCondition' of undefined` since #551; 0.2.6 is the latest and works so switch to that.
2013-12-05 17:13:52 -08:00
Thomas Aylott 2b3e97b5a4 NEW grunt complexity reporting task 2013-12-05 16:27:10 -05:00
Paul O’Shannessy 2bbc42ce41 Update package devDependencies 2013-12-04 21:07:16 -08: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
Paul O’Shannessy 126ef094fc Merge pull request #593 from spicyj/run-lint
Run lint on Travis in a matrix
2013-11-27 14:14:33 -08:00
Ben Alpert 2104327ba1 Run lint automatically on Travis (in a matrix) 2013-11-27 16:53:57 -05:00
Ben Alpert 0e2840abce Update commoner to 0.8.8 for Windows support
benjamn/commoner#44 fixed commoner to work on Windows when module path relativization isn't used; with this, the `jsx` binary should work properly on Windows (though `jsx-internal` still won't).

Fixes #316, fixes #391, fixes #567.
2013-11-24 16:02:01 -05:00
Thomas Aylott 4c881d8487 require coverify 2013-11-18 16:37:46 -05:00
Ben Newman f9423241d9 Merge pull request #510 from subtleGradient/subtlegradient/run-the-browser-tests-on-saucelabs
Make it easy to run the browser tests on saucelabs.
2013-11-14 10:08:51 -08:00
Ben Newman d44c07b9a7 Upgrade populist version to v0.1.5 for better error reporting. 2013-11-13 17:42:17 -05:00
Thomas Aylott 0401a0a67c NEW sauce-tunnel grunt task 2013-11-13 16:22:10 -05:00
Ben Newman 2b763fc452 Rewrite vendor/constants.js to use require("ast-types").traverse.
Most notably, this new style of transformation gives us access to
this.parent.node, which allows us to avoid replacing identifiers that are
not actually free variables, such as member expression properties.

Closes #496.
2013-11-13 15:33:10 -05:00
Andreas Svensson 595b482478 JSXTransformer now supports IE8 2013-11-08 23:04:43 +01:00
Ben Newman b3c87ea017 Merge pull request #451 from subtleGradient/subtlegradient/browser-testing
Browser testing.
2013-11-07 10:20:58 -08:00
Ben Newman c2ef6e343d Make bin/jsx --version output the React version according to package.json.
Closes #329.
2013-11-07 10:52:02 -05:00
Thomas Aylott 19a5505c50 making phantomjs version less specific 2013-11-06 17:00:25 -05:00
Thomas Aylott 2b273d8568 remove saucelabs 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 694cd6e9e8 test runner requires es5-shim 2013-11-06 15:30:50 -05:00
Thomas Aylott 6a7a15cf30 disable testling 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 ecd847cad7 enable testling-ci browser testing 2013-11-06 15:30:49 -05:00
Thomas Aylott b867aa0410 Format test results as TAP 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
Ben Newman d1ad4a3ff0 Bump populist version to v0.1.4.
The new version includes a fix for this IE8 issue reported by
@subtleGradient: https://github.com/benjamn/populist/issues/4

Closes #456.
2013-10-31 13:03:31 -04:00
Paul O’Shannessy 48281a17e4 bump version to 0.6.0-alpha 2013-10-15 22:39:28 -07:00
Paul O’Shannessy d8c949e4d8 Update browserify 2013-10-15 21:27:26 -07:00
JeffMo 243a2b816e bump baseline jstransform and esprima dependency versions 2013-10-15 18:54:01 -07:00
Ben Newman adda400602 Make constant propagation smarter about pruning if statements. 2013-09-18 13:33:45 -04:00
Ben Newman 658f41cb30 Simplify bin/jsx to perform just the JSX transform.
We will continue using `bin/jsx-internal`, well, internally.

Note that this version no longer respects `@providesModule`, and it
doesn't do anything special with constants like `__DEV__`, so we can no
longer get to claim that `bin/jsx` can be used to build the core.

I'm happy about this, personally, because it demonstrates the flexibility
of Commoner.
2013-09-06 16:20:25 -04:00
Paul O’Shannessy 553ed1416c Update package dependencies
Sometimes I look at https://david-dm.org/facebook/react
2013-08-27 14:46:06 -07:00