Commit Graph
163 Commits
Author SHA1 Message Date
Ben Alpert b7ab05b438 Use local grunt executable on Travis
Builds have been flaky lately. Maybe this will help?
2015-04-28 14:45:55 -07:00
Reed Loden 0ea3f80728 SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.

NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.

Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.

Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
2015-04-18 16:49:32 -07:00
Paul O’Shannessy 252ba0d8de Update uglify dependency
Apparently we needed to get to v2.4.17 to get the fix for #2247. We
shrinkwrapped on the same day but the timing didn't work out so we missed it.
2015-04-13 12:49:45 -07:00
Ben Alpert 781fa91eef Keep docs/js/{react,JSXTransformer}.js in repo
This way we don't need to rebuild them each time for the website.
2015-03-28 14:56:54 -07:00
Ben Alpert 795c7284b1 Only run src/ and vendor/fbtransform/ tests in jest
Test Plan: jest
2015-03-25 16:49:01 -07:00
Paul O’Shannessy aff4512d3f Bump version so we can get back to work 2015-03-10 15:06:35 -07:00
Paul O’Shannessy 6cb7464849 Merge pull request #3345 from zertosh/update-derequire
Update derequire (and greatly improve build speed)
2015-03-09 13:46:49 -07:00
Andres Suarez 119372ae02 Update to derequire@^2.0.0 2015-03-08 23:43:47 -04:00
Gabe Levi d85c0cd52c Update jstransform and esprima-fb dependencies 2015-03-06 18:31:29 -05:00
Paul O’Shannessy bb67bd3f40 v0.13.0-rc2 2015-03-03 11:46:01 -08:00
Paul O’Shannessy 4c0bfdfae8 Upgrade package dependencies for new esprima/jstransform 2015-03-01 11:25:16 -08:00
Paul O’Shannessy 5135ac0ea8 v0.13.0-rc1 2015-02-22 13:26:13 -08:00
Paul O’Shannessy 4923ab1197 Update dependencies 2015-02-22 13:26:13 -08:00
Artem Nezvigin 86fef4bbcb Add vendor/inline-source-map.js to package.json 2015-02-22 11:11:48 -08:00
fisherwebdev 3ced6363fe Remove lodash devDependency 2015-02-18 22:41:58 -08:00
Paul O’Shannessy e1c1c3b4dc v0.13.0-beta.2 2015-02-13 18:28:03 -08:00
jeffmo 286ca6403e Bump jstransform version to 9.1.0 to include new flow updates 2015-02-13 17:40:52 -05:00
Paul O’Shannessy 0746aaddad Upgrade to newer eslint, use esprima-fb
Eslint now allows us to use a different parser, which allows us to use
esprima-fb explicitly. This means we don't have to wait for espree to add
things like rest-param parsing. Though we do need eslint to upgrade its rules
to handle that AST.

I had hoped to enable parsing of our tests but we can't do that until we
change esprima-fb's XJS nodes to JSX.

While I was here, I also enabled the no-unused-vars rule since eslint
understands template strings. I also made the single quote enforcement
actually fail instead of just warn.
2015-02-09 14:27:28 -08:00
Sebastian Markbage 6c590cd572 Use TypeScript Compiler API Directly
In 1.4.0 we can use the TypeScript API directly to preprocess our files.
This lets us get rid of a dependency.

https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API

We can also use this to provide our default libraries so that we don't
need to keep the references in the test file.
2015-02-01 22:41:00 -08:00
Paul O’Shannessy 27cfc78376 v0.13.0-beta.1 2015-01-27 21:13:35 -08:00
Paul O’Shannessy b490724733 Merge pull request #2967 from zpao/jest-match-internal
[jest] Use persistModuleRegistryBetweenSpecs
2015-01-27 20:54:19 -08:00
Paul O’Shannessy efb2432a55 [jest] Use persistModuleRegistryBetweenSpecs
This more closely matches how we have jest configured at FB, so when we
pull in and run internally we will have fewer things to waste time on.
2015-01-27 19:17:31 -08:00
Paul O’Shannessy 7fe7f2602f Run jest with grunt, add to travis
This is to make sure we don't end up with differences in our different
testing methods. We may switch out the failure allowances later (maybe
just jest will be good enough and we can let phantom fail for a little
bit).
2015-01-27 18:04:58 -08:00
Sebastian Markbage 495091ce68 Add Basic TypeScript Class Test
As part of the new class effort it is now possible to define React
Components using any type of generic JavaScript class syntax.

This includes TypeScript classes. This test ensures that we don't regress
that support, and also serves as an example for using React in TypeScript.
TypeScript provides a good demo of where we think property initializers
are going.

We don't have any official *type* support for TypeScript yet.

This test trails the ReactES6Class-test file. Some manual tweaking is
required when converting tests.
2015-01-26 16:59:11 -08:00
Sebastian Markbage 9ee7cdcfc2 Add CoffeeScript Class Test
As part of the new class effort it is now possible to define React
Components using any type of generic JavaScript class syntax.

This includes CoffeeScript. This test ensures that we don't regress that
support, and also serves as an example for using React in CoffeeScript.

This test fail trails the ReactES6Class-test file. Some manual tweaking is
required when converting tests.
2015-01-26 02:19:35 -08:00
Paul O’Shannessy 8d4ce339d9 Add npm run build
It's a "shortcut" to `grunt build`
2015-01-21 17:23:36 -08:00
Paul O’Shannessy 2ec407c0e2 v0.13.0-alpha.2 2015-01-16 10:33:42 -08:00
Paul O’Shannessy 3c991ec3bd Update package deps 2015-01-16 10:33:42 -08:00
Paul O’Shannessy 0b60865a47 Use eslint
These rules are very close to what we have internally. We may still miss
a couple things (jsdoc params being a big one) but it's good enough.
This is also more restrictive than what we enforce internally, but it's
for the best.
2015-01-13 14:01:34 -08:00
ShihChi Huang 560553eda6 use bundle-collapser to reduce browserified file size 2014-12-30 23:16:04 -08:00
Paul O’Shannessy ac6fdccff4 v0.13.0-alpha.1
Bumping version numbers so we can push to npm.
2014-12-23 12:04:23 -08:00
Paul O’Shannessy 608d393292 Update NPM dependencies
This was mostly to update Jest, but the others were the safe ones from
`npm outdated --depth=0`
2014-12-16 14:17:10 -08:00
Paul O’Shannessy dd7feb68a0 Use jest for npm test
I've given in and this is easier than `npm run jest`. `grunt test` still
exists and is used by Travis so this has no CI implications.
2014-11-25 15:07:46 -08:00
Gabe Levi deddc662bc Update stripTypes transform to use fixed up jstransform transform 2014-11-14 18:25:11 -08:00
Andres Suarez bf821afde0 Remove esprima-fb and use Syntax from jstransform 2014-11-04 17:10:12 -05:00
Zacharias 75fcfa22ba Update jstransform version to ^7.0.0 2014-10-28 13:48:48 +01:00
Paul O’Shannessy c9b0997024 Bump version to 0.13.0-alpha 2014-10-22 14:19:54 -07:00
Paul O’Shannessy 2b4e35870b v0.12.0-rc1 2014-10-16 14:56:50 -07:00
Paul O’Shannessy d03d49101b browserify update 2014-10-14 22:40:28 -07:00
Paul O’Shannessy 67307ce850 Update dependencies, removed unused ones
Also picked up a bit of JSON reformatting, presumably from npm >= 2

Test plan: build, run tests
2014-10-14 16:18:20 -07:00
Paul O’Shannessy dcf415c2b9 BSD + PATENTS 2014-10-10 13:34:07 -07:00
Paul O’Shannessy 584e6bd648 Ignore .module-cache from jest [skip ci]
I hit a case where running jest was including files from the module
cache. I don't think that should have happened, but this works.
2014-09-11 15:28:20 -07:00
jeffmo bcc291b591 Bump esprima + jstransform versions 2014-09-05 15:42:07 -04:00
Ben Alpert 1ba022b1ea Include vendor/ when running jest tests
Now the two transform tests get run alongside the React core tests.

Test Plan: jest
2014-08-30 01:08:57 -07:00
Paul O’Shannessy 4d9a2c4a29 Make npm run-script jest available
This is slightly shorter than typing `./node_modules/.bin/jest`.
2014-08-20 11:48:01 -07:00
Paul O’Shannessy 32d3f79dc5 Upgrade Commoner
It no longer parses @providesModule directives by default.

Fixes #1145
2014-08-18 15:12:39 -07:00
Paul O’Shannessy d7f21d760b Update recast to 0.6, update constants.js
I dropped the part of constants.js that we weren't using (namely the
part where we insert constants) but left it open to do that. It should
be trivial, we just aren't using it.

Fixes #1824
2014-08-14 11:14:20 -07:00
Paul O’Shannessy 5bfee601ce Bump version for 0.12.0-alpha
[skip ci]
2014-07-17 14:22:50 -07:00
Paul O’Shannessy 5f77e6dc51 Upgrade commoner dependency
0.9.5 depended on Node 0.11+, so make sure we don't ever get that.
See https://github.com/reactjs/commoner/pull/65
2014-07-17 12:59:53 -07:00
Paul O’Shannessy 0f9cec2e78 0.11.0-rc1 2014-07-12 19:50:45 -07:00