Commit Graph
343 Commits
Author SHA1 Message Date
Dominic Gannaway 3ef295c1cf now compares against the last run branch built on 2017-04-04 15:14:11 +01:00
Dominic Gannaway 625419c05b added filesize dep 2017-04-04 15:01:06 +01:00
Dominic Gannaway cc6dba5ee0 fixed filesize difference reporting 2017-04-04 14:56:52 +01:00
Dominic Gannaway c102dfe782 improved how bundle output gets printed 2017-04-04 13:40:20 +01:00
Dominic Gannaway 11f02c5c15 fixed broken npm script 2017-03-31 16:11:17 +01:00
Dominic Gannaway 16fc8d24f4 removed gulp and grunt and moved tasks to standalone node script 2017-03-31 13:46:09 +01:00
Dominic Gannaway 221b611070 added basic mangle support (disbaled by default) 2017-03-30 17:26:52 +01:00
Dominic Gannaway 1ed2b030f2 Fixes Jest so it run tests correctly 2017-03-29 14:12:07 +01:00
Dominic Gannaway 607b021d49 added external babel helpers plugin 2017-03-29 11:42:07 +01:00
Brian Vaughn 71a87bcfee Updating packages for 16.0.0-alpha.6 release 2017-03-24 23:16:34 +00:00
Dominic Gannaway c81f2fbd7f added extract-errors support 2017-03-23 16:15:28 +00:00
Dominic Gannaway 373e15b4a7 fixed merge conflict 2017-03-22 19:14:19 +00:00
Brian Vaughn 8ce5fe97b5 Bumped React version to 16.0.0-alpha.5 2017-03-21 13:04:08 -07:00
Dominic Gannaway 0e2f67168b added NPM package creation and copying into build chain 2017-03-21 18:57:51 +00:00
Dominic Gannaway 4a578dbc65 Fixed merge conflicts in ReactNative.js and ReactMethodsMixin.js 2017-03-21 14:10:04 +00:00
Dominic Gannaway d5b91d36a2 further improved and tidied up build process 2017-03-18 21:04:08 +00:00
Brian Vaughn ad2b6545fe Upgraded Flow dev dependency to 41 for 'implements' support (#9196) 2017-03-16 17:12:50 -07:00
Dan Abramov 8fa5d94cd3 Merge branch 'master' into rollup 2017-03-16 19:44:14 +00:00
Andrew Clark f365e52dd7 Add prettier script
`scripts/prettier/index.js write` will run prettier on source files.
Run using `yarn prettier`.

`scripts/prettier/index.js` will throw if any source files are not
formatted with prettier. We'll use this to block CI.

Based on similar script in Jest repo.
2017-03-16 11:53:44 -07:00
Dan Abramov 2c9ea97f5e Merge branch 'master' into rollup 2017-03-15 20:09:13 +00:00
Sebastian Markbage b363803d26 Update to prettier 0.22 2017-03-13 17:02:21 -07:00
Sebastian Markbage 898ba574d6 Try 80-character line limit instead 2017-03-13 16:57:16 -07:00
Sebastian Markbage 9d34dd3c01 More options 2017-03-13 16:55:59 -07:00
Sebastian Markbage 4adad94eac Add prettier option in scripts 2017-03-13 16:55:58 -07:00
Ben Alpert 0d7b4d6dba 16.0.0-alpha.4 2017-03-13 08:54:41 -07:00
Dan Abramov 9ba6635370 Bump rollup-plugin-commonjs to include a fix for rollup/rollup-plugin-commonjs#176 2017-03-10 19:38:47 +00:00
Dan Abramov 3f89a779d5 Merge branch 'master' into rollup 2017-03-10 19:29:46 +00:00
Dan Abramov ef50945f20 Add a rollup npm script 2017-03-10 17:13:41 +00:00
Dominic Gannaway bd4d7ecb3e improved the build tool 2017-03-10 17:05:03 +00:00
Dan Abramov 73378c9293 [Fiber] Performance measurements (#9071)
* wip

* better

* better

* track commits

* better

* wip

* Fix

* Add some lifecycles

* wip

* Naming

* Moar emojis

* Remove stacks in favor of a flag

* Fix Flow

* Gate behind __DEV__

* Revert flag for testing

* Measure all lifecycles

* Push it to the limits

* Polish

* Indent

* Refactor and track cascading updates

* More prominent warnings

* Make mark names themselves readable

This is useful for RN Systrace which doesn't let us assign labels after the fact.

* Keep track of how many effects we call

* Fix typo

* Do less work to reduce the overhead

* Fix lint

* Remove closure

* Remove unintentional formatting changes

* Add tests

* Fix test regex and record tests

* Disable irrelevant tests needed for ReactPerf

* Fix typo

* Fix lint and flow

* Don't treat cWM or cWRP as cascading

* Whitespace

* Update tests

* Gate callComponentWillUnmountWithTimerInDev definition by DEV
2017-03-08 18:28:53 +00:00
Dominic Gannaway 15b13cd99c builds a cjs bundle 2017-03-08 14:51:16 +00:00
Dominic Gannaway 238dcf743d More WIP 2017-03-07 19:34:46 +00:00
Dominic Gannaway d00cf558dc dev/prod mode WIP 2017-03-07 17:42:00 +00:00
Dominic Gannaway 9d78fa8c1d fbjs support 2017-03-07 16:27:36 +00:00
Dominic Gannaway 30c8371cd5 WIP 2017-03-07 16:21:22 +00:00
Sasha Aickin fcf41e7ca2 Add async/await to unit tests; modify server rendering tests to use async/await. (#9089) 2017-03-03 10:34:14 -08:00
Andrew Clark 9c8547cc9f Add script to print out a list of warnings
We'll use this in the GH sync script to track which warnings have
changed since the last sync
2017-03-02 11:37:01 -08:00
Andrew Clark 6ac5fd3c2b Rename rule to no-primitive-constructors 2017-02-28 18:57:06 -08:00
Sebastian Markbåge e35724a03d Move webcomponents.js polyfill to mocks (#8993)
* Move webcomponents.js polyfill to mocks

I'd like to move it out of shared to make it easier to sync this to RN.
Since this is only used for testing and a polyfill is essentially a mock.
Maybe this makes sense?

Rename to camel case to be consistent with providesModule.

* Update path to ignore in configs
2017-02-27 18:35:05 -08:00
Andrew Clark ca4325e3ef 16.0.0-alpha.3 2017-02-23 15:36:08 -08:00
Michał Pierzchała 67c1fde70e Upgrade Jest to v19 (#9034) 2017-02-22 16:59:18 +00:00
Ben Alpert d20dea1de2 Update to babel-plugin-transform-es2015-block-scoping 6.23 (#9002)
Now we won't add closures unnecessarily. I verified that we have no code that throws -- adding some then running `grunt build:modules` correctly throws.
2017-02-14 11:24:01 -08:00
Dan Abramov c7ebe88c2a 16.0.0-alpha.2 2017-02-09 16:07:56 +00:00
Jon Bretman afdf47f425 Bump fbjs to 0.8.9 (#8910) 2017-02-06 19:02:17 +00:00
Brian Vaughn 88b6175cb1 Bumping package.json versions from 16.0.0-alpha.0 to 16.0.0-alpha.1 2017-01-25 12:14:00 -08:00
Dan Abramov c6a7dc7f24 Preserve license headers from dependencies in minified build (#8803)
* Preserve license headers from dependencies in minified build

Fixes #8789.

* Bump minimal object-assign version
2017-01-20 02:29:06 +01:00
Dustan Kasten 2da35fcae8 [Fiber] Implement test renderer (#8628)
* ReactTestRenderer move current impl to stack dir

* ReactTestRenderer on fiber: commence!

* ReactTestRenderer: most non-ref/non-public-instance tests are passing

* Move ReactTestFiberComponent functions from Renderer to Component file

* test renderer: get rid of private root containers and root Maps

* TestRenderer: switch impl based on ReactDOMFeatureFlag.useFiber

* ReactTestRenderer: inline component creation

* ReactTestRenderer: return to pristine original glory (+ Fiber for error order difference)

* TestRendererFiber: use a simple class as TestComponentInstances

* Add `getPublicInstance` to support TestRenderer `createNodeMock`

* Rename files to end. Update for `mountContainer->createContainer` change

* test renderer return same object to prevent unnecessary context pushing/popping

* Fiber HostConfig add getPublicInstance. This should be the identity fn everywhere except the test renderer

* appease flow

* Initial cleanup from sleepy work

* unstable_batchedUpdates

* Stack test renderer: cache nodeMock to not call on unmount

* add public instance type parameter to the reconciler

* test renderer: set _nodeMock when mounted

* More cleanup

* Add test cases for root fragments and (maybe?) root text nodes

* Fix the npm package build

Explicitly require the Stack version by default.
Add a separate entry point for Fiber.

We don't add fiber.js to the package yet since it's considered internal until React 16.

* Relax the ref type from Object to mixed

This seems like the most straightforward way to support getPublicInstance for test renderer.

* Remove accidental newline

* test renderer: unify TestComponent and TestContainer, handle root updates

* Remove string/number serialization attempts since Fiber ensures all textInstances are strings

* Return full fragments in toJSON

* Test Renderer remove TestComponent instances for simple objects

* Update babylon for exact object type syntax

* Use $$typeof because clarity > punching ducks.

* Minor Flow annotation tweaks

* Tweak style, types, and naming

* Fix typo
2017-01-11 11:19:32 -08:00
Brian Vaughn 378ef5e730 16.0.0-alpha.0 2017-01-09 16:45:56 -08:00
Dan Abramov 0e6f784259 Replace Starter Kit with doc link (#8682)
* Replace Starter Kit with doc link

* https in Babel link
2017-01-04 09:39:01 -08:00
Dan Abramov c79af45f1e Update to Jest 18 (#8621) 2016-12-21 19:28:27 -08:00