Commit Graph

110 Commits

Author SHA1 Message Date
Paul O’Shannessy 7f757347bc Update many npm dependencies
Sauce/connect related things need some more work and I didn't want to
figure those out right now.

Fixes #1701
2014-06-17 14:21:24 -07:00
Ben Alpert e60a893d2f Bump esprima-fb and jstransform versions
Fixes #1584, fixes #1475.
2014-05-22 20:16:37 -07:00
Ben Alpert 2d26451821 Add configuration for running tests with Jest
Can be run with `node_modules/.bin/jest` for now; didn't want to disturb the grunt setup.

Right now one test fails with:

```
 FAIL  browser/ui/__tests__/ReactDOMComponent-test.js (1.423s)
● ReactDOMComponent › updateDOM › it should update styles when mutating style object
  - Expected: '0' toEqual: '0.5'
        at Spec.<anonymous> (src/browser/ui/__tests__/ReactDOMComponent-test.js:99:33)
```

which I can only assume is a jsdom problem -- no other asserts fail.
2014-05-19 16:58:33 -07:00
jeffmo a7c3dc8b08 Bump jstransform dependency to point at 4.0.1 or higher 2014-04-26 15:34:40 -07:00
Paul O’Shannessy 4ed9e22a44 Upgrade jstransform to 4.0
Also enables the object-concise-method transform for --harmony

closes #1438
2014-04-23 16:36:45 -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
Paul O’Shannessy f0eae5086b version bump for 0.11 development 2014-03-21 14:58:52 -07:00
Ben Newman 7807413256 Upgrade Commoner to v0.9.2 to silence deprecation warnings.
Closes #1278.
2014-03-20 14:43:47 -04:00
Paul O’Shannessy 7f24943e5a update version for 0.10rc 2014-03-18 22:09:32 -07:00
Paul O’Shannessy 55b0222596 Upgrade browserify 2014-03-18 21:33:39 -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 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
Ingvar Stepanyan 3171436d97 Switched from browserify to pure-cjs bundler.
Optimizations and fix for JSXTransformer build.
Dropped dependency on emulation of Node.js native modules.
Added deamdify step for JSXTransformer build.
2014-03-08 16:33:58 +02:00
jeffmo a4d6796705 Add support for `npm test` 2014-02-20 13:10:05 -08:00
Paul O’Shannessy 95edc396df version bump to 0.10.0-alpha 2014-02-19 22:53:29 -08:00
Paul O’Shannessy e59daa8ed8 Add descriptions to package.jsons
Otherwise, npm just reads the first non-header of our readmes, which doesn't
match up accurately or cleanly (no markdown parsing).
2014-02-19 11:35:11 -08:00
Paul O’Shannessy c79974db3a Merge pull request #1122 from spicyj/gh-1120
Strip calls to warning() in __DEV__
2014-02-17 19:44:53 -08:00
Ben Alpert 5795376961 Strip calls to warning() in __DEV__
Fixes #1120.
2014-02-17 19:01:45 -08:00
Andrey Popp 39c9b539e9 Update envify to 1.2.0 2014-02-18 03:38:58 +04:00
Paul O’Shannessy 9125f68194 0.9.0-rc1 2014-02-16 17:38:52 -08:00
Paul O’Shannessy 3e77f64141 Merge pull request #1097 from spicyj/es3ify
Run es3ify over unminified builds
2014-02-16 12:49:16 -08:00
Ben Newman 1e7bdc79e1 Upgrade Commoner dependency to v0.9.1 to fix mkdirP bug. 2014-02-15 20:49:17 -05:00
Ben Alpert e87c8a2aa4 Run es3ify over unminified builds
Makes no difference to react.js and react-with-addons.js; quotes .static in four
places for JSXTransformer.js:

https://gist.github.com/spicyj/aada5352e813752a4667
2014-02-15 16:32:36 -08:00
JeffMo adcbf0806c Sync out transforms from fb internal 2014-02-15 12:35:32 -08:00
Paul O’Shannessy d00b11ef03 Remove React from react-tools package
All of this is provided by the react package now, so there's no point in having
it available in multiple places. We *may* go back on that in the future for
shipping test utils, but for the time being, this is better for all.
2014-02-07 13:59:19 -08:00
Ben Newman 9f1ed709d0 Revert "Switched from browserify to pure-cjs bundler."
This reverts commit bff9731b66.
2014-02-03 19:05:22 -05:00
Ben Newman 77c53dd5d4 Revert "More optimizations and fix for JSXTransformer build"
This reverts commit f1b7db9aef.
2014-02-03 19:05:15 -05:00
Ingvar Stepanyan f1b7db9aef More optimizations and fix for JSXTransformer build
* Dropped dependency on emulation of Node.js native modules.
* Added deamdify step for JSXTransformer build.
2014-01-31 21:53:08 +02:00
Ingvar Stepanyan bff9731b66 Switched from browserify to pure-cjs bundler. 2014-01-31 18:25:09 +02:00
Ben Newman 933681b42c Upgrade Commoner to v0.9.0 to get rid of output directory locking.
Closes #957.
2014-01-27 19:07:00 -08:00
Ben Newman 1e702f7258 Upgrade Commoner to v0.8.14 for multiple file support.
See [Commoner's README.md](
https://github.com/benjamn/commoner#generating-multiple-files-from-one-source-module)
for further explanation of the new functionality.

Among other potential benefits, this upgrade allows us to generate source
maps as standalone files rather than appending them inline to every
compiled module file under `build/modules/` (see #833).
2014-01-23 15:25:20 -05: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 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:
9863ad16c0
dabef2a4ac
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