Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4584 commits
Select commit Hold shift + click to select a range
0d5e4c7
Remove coverage badge from README (#15216)
bvaughn Mar 26, 2019
d03ac4b
Fix tracing fixture
gaearon Mar 26, 2019
80f8b0d
Add part of the event responder system for experimental event API (#1…
trueadm Mar 26, 2019
d8cb10f
Enabled warnAboutDeprecatedLifecycles flag by default (#15186)
bvaughn Mar 27, 2019
669cafb
Adds experimental event component responder surfaces (#15228)
trueadm Mar 27, 2019
1cfd256
Fix circular module imports causing file size increase (#15231)
trueadm Mar 28, 2019
4148b05
Changelog
gaearon Mar 27, 2019
fb6b508
Update versions for 16.8.6
gaearon Mar 28, 2019
c7a2dce
Disable JS urls at build level for www (#15230)
sebmarkbage Mar 28, 2019
c6f3524
Adds React event component and React event target support to SSR rend…
trueadm Mar 28, 2019
5d336df
Allow for null targetFiber for root event handling (#15247)
trueadm Mar 29, 2019
700f17b
Fix longpress in experimental Press event module (#15246)
necolas Mar 29, 2019
a41b217
Add additional event API responder surfaces (#15248)
trueadm Mar 29, 2019
f4625f5
Fix on(Long)PressChange events in experimental press event API (#15256)
necolas Mar 29, 2019
08055a6
Fix Press module in experimental event API (#15262)
necolas Mar 29, 2019
1b94fd2
Make setNativeProps a no-op with Fabric renderer (#15094)
elicwhite Mar 29, 2019
2e02469
ReactNative's ref.measureLayout now takes a ref (#15126)
elicwhite Mar 29, 2019
7f1f5dd
Rename press props in experimental event API (#15263)
necolas Mar 30, 2019
a050f3d
Delete Suspense Fixture (#15273)
sebmarkbage Mar 30, 2019
9444a54
Warn on nested EventTragets in experimental event API (#15287)
trueadm Apr 1, 2019
5ef0d1d
Rename hover props in experimental event API and write unit tests (#1…
behzad888 Apr 1, 2019
4482fdd
Fix host context issues around EventComponents and EventTargets (#15284)
trueadm Apr 1, 2019
296c439
Add Press event prop types and fix a check in Safari (#15288)
necolas Apr 2, 2019
f243dea
Add tests for Press responder event module (#15290)
necolas Apr 2, 2019
6a1e6b2
Experimental event API: loosen EventTarget constraints and warnings (…
trueadm Apr 2, 2019
9307932
Refactor event object creation for the experimental event API (#15295)
trueadm Apr 2, 2019
4c75881
Remove maxDuration from tests (#15272)
sebmarkbage Apr 2, 2019
aed0e1c
await act(async () => ...) (#14853)
Apr 2, 2019
4d5cb64
Rewrite ReactFiberScheduler for better integration with Scheduler pac…
acdlite Apr 2, 2019
38fa840
Experiemental event API - wrap async dispatched events (#15299)
trueadm Apr 3, 2019
fc6a9f1
Add test for async event dispatching (#15300)
necolas Apr 3, 2019
89064fe
Adds displayName to EventComponent and EventTarget (#15268)
trueadm Apr 3, 2019
7318723
writing unit tests in experimental event Drag API (#15297)
behzad888 Apr 3, 2019
e5c5935
Prevent bundling of Node polyfills when importing TestUtils/TestRende…
gaearon Apr 3, 2019
92a1d8f
mark react-events as private so we publish script skips it for now (#…
Apr 3, 2019
3a44cce
Fix feature flags react-dom/unstable-new-scheduler (#15309)
acdlite Apr 3, 2019
6d0effa
Expose extra internals in FB build of react-dom/unstable-new-schedule…
acdlite Apr 3, 2019
41aa345
Fix a crash in Suspense with findDOMNode
gaearon Apr 3, 2019
43b1f74
Alternate fix for #14198
acdlite Apr 3, 2019
1dcab97
Store entire build directory as CI artifacts (#15310)
acdlite Apr 4, 2019
e221972
update gcc version (#15034)
kunukn Apr 4, 2019
7a2dc48
Allow DevTools to toggle Suspense fallbacks (#15232)
gaearon Apr 4, 2019
937d262
React events: keyboard press, types, tests (#15314)
necolas Apr 4, 2019
b93a8a9
Experimental event API: refactor responder modules for lifecycle incl…
trueadm Apr 4, 2019
49595e9
[New Scheduler] Fix: Suspending an expired update (#15326)
acdlite Apr 4, 2019
c3cc936
Add Hover,Focus,Press docs to REAMDE (#15328)
necolas Apr 5, 2019
958b617
Add delay props to Hover event module (#15325)
necolas Apr 5, 2019
4fbbae8
Add full TouchHitTarget hit slop (experimental event API) to ReactDOM…
trueadm Apr 6, 2019
4064ea9
Experimental event API: Support EventComponent onUnmount responder ca…
trueadm Apr 6, 2019
81a61b1
React events: add delay props to Press module (#15340)
necolas Apr 6, 2019
745baf2
Provide new jsx transform target for reactjs/rfcs#107 (#15141)
rickyvetter Apr 7, 2019
29fb586
Move EventComponent state creation to complete phase + tests (#15352)
trueadm Apr 8, 2019
b4bc33a
Fix areHookInputsEqual method warning params order (#15345)
brickspert Apr 8, 2019
183d1f4
Fix: Measure expiration times relative to module initialization (#15357)
acdlite Apr 9, 2019
aece811
Refactor EventComponent logic + add onOwnershipChange callback (#15354)
trueadm Apr 9, 2019
c7a9599
[React Native] Add tests to paper renderer for measure, measureLayout…
elicwhite Apr 9, 2019
1b2159a
[React Native] measure calls will now call FabricUIManager (#15324)
elicwhite Apr 9, 2019
875d05d
Include full error messages in React Native build (#15363)
acdlite Apr 9, 2019
4c78ac0
Track Event Time as the Start Time for Suspense (#15358)
sebmarkbage Apr 10, 2019
c64b330
Move EventTypes to ReactTypes (#15364)
trueadm Apr 10, 2019
dd9cef9
Experimental Event API: Add targets and responder utility method for …
trueadm Apr 10, 2019
7fc91f1
React events: add onPressMove and pressRetentionOffset to Press (#15374)
necolas Apr 10, 2019
3e2e930
Fixes a Flow type merge conflict (#15378)
trueadm Apr 10, 2019
c25c59c
Apply the Just Noticeable Difference to suspense timeouts (#15367)
sebmarkbage Apr 11, 2019
c984100
Experimental Event API: preventDefault handling for anchors (#15383)
trueadm Apr 11, 2019
a9eff32
Remove TouchHitTarget SSR logic to prevent issues with mouse events (…
trueadm Apr 11, 2019
9672cf6
Experimental Event API: adds `stopPropagation` by default to Press (#…
trueadm Apr 11, 2019
45473c9
React events: Press event fixes (#15386)
necolas Apr 11, 2019
687e4fb
Bump scheduler version to 0.14.0
acdlite Apr 11, 2019
de75903
Fix CI (#15393)
acdlite Apr 11, 2019
cdfb06e
Fix path to results.json
acdlite Apr 12, 2019
4e59d4f
React events: add onHoverMove support (#15388)
necolas Apr 12, 2019
9055e31
Replace old Fiber Scheduler with new one (#15387)
acdlite Apr 12, 2019
ed67984
Better message when CI for base commit is pending
acdlite Apr 12, 2019
543353a
Experimental Event API: Remove "listener" from event objects (#15391)
trueadm Apr 12, 2019
805e7f8
React events: add unmounting to Focus (#15396)
necolas Apr 12, 2019
3438e5c
Experimental Event API: Add Hover onUnmount support (#15394)
trueadm Apr 12, 2019
38bd570
Stop tracking bundle sizes (#15404)
acdlite Apr 12, 2019
8cf963c
React events: ignore device buttons that aren't for primary interacti…
necolas Apr 12, 2019
a30e7d9
act() tests - Reuse and properly unmount containers (#14974)
philipp-spiess Apr 12, 2019
9ebe176
Experimental Event API: Redesign event responder propagation (#15408)
trueadm Apr 13, 2019
4221565
Cancel pending commit before starting on root
acdlite Apr 15, 2019
c73ab39
React events: make nested Focus work as expected (#15421)
necolas Apr 16, 2019
1ae409d
React events: fix nested Hover components error (#15428)
necolas Apr 17, 2019
0b50fb2
Include rootEventTypes in DOMEventResponderSystem stopPropagation tes…
necolas Apr 17, 2019
5857c89
React events: extract common helper functions (#15449)
necolas Apr 19, 2019
cdfce1a
React events: consolidate logic of Hover event component (#15450)
necolas Apr 19, 2019
051513b
React Events: consolidate logic for Press event component (#15451)
necolas Apr 19, 2019
d584fcd
React events: use passive events where possible (#15454)
necolas Apr 19, 2019
0a8da33
React events: README update types and remove stopPropagation prop (#1…
necolas Apr 22, 2019
59c7aef
React events: add a test for focusable descendants (#15457)
necolas Apr 22, 2019
5876769
React events: initial implementation of disabled prop (#15458)
necolas Apr 22, 2019
784ebd8
Experimental event API: rework the propagation system for event compo…
trueadm Apr 23, 2019
017d6f1
Experimental Event API: add `rootEventTypes` support to event respond…
trueadm Apr 23, 2019
299a271
Use stricter equality check (#15474)
gaearon Apr 23, 2019
9c6ff13
Remove timeout from performance flamegraph (#15477)
acdlite Apr 23, 2019
71c8759
Measure callback timeout relative to current time (#15479)
acdlite Apr 23, 2019
ce126fb
Fix priority inference of next level of work (#15478)
acdlite Apr 23, 2019
d3af2f2
Experimental Event API: add event component mount phase callback (#15…
trueadm Apr 24, 2019
fa2fa35
Experimental event API: adds context.isTargetDirectlyWithinEventCompo…
trueadm Apr 24, 2019
fb28e90
Add missing word to code comment for clarity (#15443)
bmac Apr 24, 2019
3f058de
Event API: various bug fixes (#15485)
trueadm Apr 24, 2019
64e3da2
Event API: Add `FocusScope` surface (#15487)
trueadm Apr 25, 2019
de26d6d
typo fix (#15493)
shubhamgautam Apr 25, 2019
1eb2b89
give `canUseDOM` with a possibility to be a constant (#14194)
gfx Apr 25, 2019
f85aade
ADD: disablePictureInPicture attribute for HTML5 videos (#15334)
eek Apr 25, 2019
a187e9b
React Native: Allow Views to be nested inside of Text (#15464)
rigdern Apr 25, 2019
d61da93
test(accumulate): add test suite for accumulate function (#15159)
jberry93 Apr 25, 2019
793ef9b
test(eslint-plugin-react-hooks): add coverage for unused custom hook …
RedTn Apr 25, 2019
ed36df4
add --watch mode to "yarn build" (#15116)
aleclarson Apr 25, 2019
c530639
Minor code structure adjustments to the bundles.js file (#15079)
kunukn Apr 25, 2019
d1f667a
Event API: follow up fixes for FocusScope + context changes (#15496)
trueadm Apr 25, 2019
0b34311
React events: fix press end event dispatching (#15500)
Apr 25, 2019
d983974
React events: remove unused types (#15503)
Apr 25, 2019
8658611
Event API: ensure event keys are unique + add validation (#15501)
trueadm Apr 26, 2019
a14e24e
React Events: core API documentation (#15505)
Apr 26, 2019
7a482af
Event API: Fix bug where Press root events were not being cleared (#1…
trueadm Apr 26, 2019
41ef196
Update TopLevelEventTypes.js (#15511)
danpatnate Apr 26, 2019
c4d1dcb
React Events: core API documentation followup (#15506)
trueadm Apr 26, 2019
796c67a
Event API: responder event types should not re-register on EventCompo…
trueadm Apr 26, 2019
cc5a493
React Events: FocusScope tweaks and docs (#15515)
Apr 26, 2019
2cca187
React Events: add onFocusVisibleChange to Focus (#15516)
Apr 29, 2019
12e5a13
[React Native] Inline calls to FabricUIManager in shared code (#15490)
elicwhite Apr 29, 2019
1b752f1
Fixed potential interaction tracing leak in Suspense thennable memoiz…
Apr 29, 2019
43c4e5f
Add method for forcing a lower framerate
n8schloss Jan 31, 2019
7882c41
Use lowercase entry points for event modules (#15535)
acdlite Apr 29, 2019
72ca3c6
Bump scheduler version to 0.14.0 (#15395)
acdlite Apr 30, 2019
bd88982
Event API: use `capture` for all event listeners using experimental r…
trueadm Apr 30, 2019
379515e
Follow up to 15535 (#15536)
trueadm Apr 30, 2019
377846f
Delete duplicate Press.js (#15538)
trueadm Apr 30, 2019
494716c
Delete duplicate Drag.js (#15537)
trueadm Apr 30, 2019
c8ee100
Delete duplicate Swipe.js (#15541)
trueadm Apr 30, 2019
f7993d5
Delete duplicate Hover.js (#15539)
trueadm Apr 30, 2019
a6e3000
Delete duplicate Focus.js (#15540)
trueadm Apr 30, 2019
ec6691a
Event API: remove isTargetDirectlyWithinEventComponent (#15546)
trueadm Apr 30, 2019
339366c
Event API: Support press reentry for pointer events (#15560)
trueadm May 3, 2019
307e0a7
React Events: cancel onLongPress for large enough moves (#15562)
May 3, 2019
2e5d1a8
React Events: fix cancel events for Press (#15563)
May 3, 2019
d38cfd4
Ensure TouchHitTarget element is server side rendered with hit slop (…
trueadm May 6, 2019
6da04b5
Fix interaction tracing for batched update mounts (#15567)
May 6, 2019
89d8d14
Add React.unstable_createEventComponent (#15580)
May 7, 2019
f9e60c8
Warn when suspending at wrong priority (#15492)
acdlite May 7, 2019
c7398f3
Add Suspense Boundary Context (and unstable_avoidThisFallback) (#15578)
sebmarkbage May 8, 2019
8abf243
Ensure touch events are properly handled for pageX and pageY (#15587)
trueadm May 8, 2019
51e66cf
Experimental Event API: reduce code size of event modules (#15590)
trueadm May 8, 2019
05d0850
Experimental Event API: Press event properties (#15586)
trueadm May 8, 2019
3669b90
Event API: add more warnings for responder based events (#15597)
trueadm May 9, 2019
e33e32d
Event API: normalize event timeStamp property to be in event system (…
trueadm May 9, 2019
3d8b836
Event API: ensure we pop context for event system fibers (#15599)
trueadm May 9, 2019
91a044e
Event API: add key modifiers to Press events (#15611)
trueadm May 10, 2019
90f54d7
Event API: add follow up event unwind test (#15612)
trueadm May 10, 2019
0803d22
Don't consider "Never" expiration as part of most recent event time (…
sebmarkbage May 10, 2019
5b6eb55
Remove scheduler from React package dependencies (#15616)
acdlite May 10, 2019
39ef609
Update test to fix CI
acdlite May 10, 2019
edfedf3
Fork ReactSharedInternals for UMD builds (#15617)
acdlite May 10, 2019
fec74f9
Event API: ensure preventDefault works for nested targets (#15633)
trueadm May 13, 2019
862f499
Add Batched Mode (#15502)
acdlite May 13, 2019
283ce53
Add ReactDOM.unstable_createSyncRoot (#15504)
acdlite May 13, 2019
83fc258
Remove <ConcurrentMode /> (#15532)
acdlite May 13, 2019
cc24d0e
Invariant that throws when committing wrong tree (#15517)
acdlite May 13, 2019
af19e2e
Event API: adds pointerType to Focus events (#15645)
trueadm May 14, 2019
8af90c8
Add test for nested avoided boundaries (#15636)
sebmarkbage May 14, 2019
b0657fd
Event API: ensure getFocusableElementsInScope handles suspended trees…
trueadm May 15, 2019
668fbd6
Fix serial passive effects (#15650)
acdlite May 15, 2019
d34b457
Feature flag to revert #15650 (#15659)
acdlite May 15, 2019
b899819
Use dynamic flag in test renderer in www (#15662)
acdlite May 15, 2019
f961050
Always flushPassiveEffects before rendering
acdlite May 16, 2019
4bf88dd
Fix <embed> not triggering onLoad (#15614)
cherniavskii May 16, 2019
bb89b4e
Bail out of updates in offscreen trees (#15666)
gaearon May 16, 2019
aad5a26
Event API: ensure calculateResponderRegion accounts for page offset (…
trueadm May 16, 2019
d278a3f
`act()` - s / flushPassiveEffects / Scheduler.unstable_flushWithoutYi…
May 16, 2019
95e06ac
Event API: isTargetWithinEventResponderScope on unmounted event compo…
trueadm May 16, 2019
1160b37
Event API: Add responder allowMultipleHostChildren flag (#15646)
trueadm May 16, 2019
9c6de71
Add withSuspenseConfig API (#15593)
sebmarkbage May 16, 2019
31487dd
[Fresh] Set up initial scaffolding (#15619)
gaearon May 18, 2019
5731e52
[Fresh] Support lazy() and add Suspense tests (#15681)
gaearon May 20, 2019
ec38def
[Fresh] Don't traverse remounted trees (#15685)
gaearon May 20, 2019
0bd9b5d
[Fresh] Support re-rendering lazy() without losing state (#15686)
gaearon May 20, 2019
50b50c2
Inform DevTools of commit priority level (#15664)
May 20, 2019
9c9ea94
flush only on exiting outermost act() (#15682)
May 21, 2019
a398cbd
Flare: update invalid accessor warnings + add no-ops (#15693)
trueadm May 21, 2019
121acae
Flare: simplify dispatchEvent discrete argument (#15694)
trueadm May 21, 2019
6d4f85b
[Fresh] Set up infra for runtime and Babel plugin (#15698)
gaearon May 21, 2019
ef4ac42
[Flare] Update interactiveUpdates flushing heuristics (#15687)
trueadm May 21, 2019
d7afe23
Rename "loading" to "busy" in SuspenseConfig API (#15699)
sebmarkbage May 21, 2019
7829d8c
Fix missing return pointer assignment (#15700)
acdlite May 21, 2019
e180f65
Flare: change flushDiscreteUpdates invariant to warning (#15702)
trueadm May 22, 2019
f50f9ba
Fix ReactFiberNewContext spelling (#15692)
mmarkelov May 22, 2019
f3109ad
Parallelize CircleCI jobs using workflows (#15704)
acdlite May 22, 2019
b5dff62
[Flare] Account for fixed elements in getAbsoluteBoundingClientRect (…
trueadm May 22, 2019
a25a793
[Flare] update getEventCurrentTarget to use fiber tree (#15708)
trueadm May 22, 2019
b9ebc37
Fix Flow (#15710)
trueadm May 22, 2019
1c0bdb7
Always run yarn after restoring modules cache (#15712)
acdlite May 22, 2019
101901d
Remove redundant test run (#15713)
acdlite May 22, 2019
5c2124f
[Fresh] Initial Babel plugin implementation (#15711)
gaearon May 22, 2019
d66c8f2
Update sizebot to match name of CircleCI build job (#15714)
acdlite May 22, 2019
b962adf
[Flare] event component displayName is now mandatory (#15717)
trueadm May 23, 2019
61f6224
[react-native] Use path-based imports instead of Haste for the RN ren…
ide May 23, 2019
025b07b
[Flare] Ensure getAbsoluteBoundingClientRect aligns with offsetParent…
trueadm May 23, 2019
399cd0d
Set up cron job to run fuzz tester (#15718)
acdlite May 23, 2019
8af1f87
Rename ReactFiberScheduler -> ReactFiberWorkLoop and extract throwExc…
sebmarkbage May 23, 2019
2b58797
Typo in CircleCI config
acdlite May 23, 2019
3939248
[Fresh] Babel plugin now handles HOCs + add integration tests (#15724)
gaearon May 24, 2019
5fe97db
Remove sizebot race condition (#15735)
acdlite May 25, 2019
a97b5c0
[Flare] More fixes for getAbsoluteBoundingClientRect (#15746)
trueadm May 27, 2019
287ef30
[Flare] Deeply prevent default on anchor elements (#15750)
trueadm May 28, 2019
401065f
Adds test for #15732. (#15747)
calebmer May 28, 2019
7c5645d
Fix double spaces. (#15641)
owenconti May 28, 2019
d915a4c
[Suspense] Add Batched Mode variant to fuzz tester (#15734)
acdlite May 28, 2019
b74fa98
Clean up (#15755)
sebmarkbage May 28, 2019
556cc6f
[Fresh] Generate signatures for Hooks (#15733)
gaearon May 29, 2019
142cf56
[Flare] Adds onContextMenu and fixes some contextmenu related issues …
trueadm May 29, 2019
112168f
Lint rule for unminified errors (#15757)
acdlite May 29, 2019
30b1a80
Don't extract errors in CI (#15758)
acdlite May 29, 2019
1cc3bba
Parallelizes the build script across multiple processes (#15716)
acdlite May 29, 2019
8ce8b9a
Update name of CI job in sizebot (#15767)
acdlite May 29, 2019
9aad17d
using the wrong renderer's act() should warn (#15756)
May 29, 2019
2670bc3
React Events: support legacy browser Spacebar key value (#15766)
May 29, 2019
ad9a6df
Move fixtures test to its own CI job
acdlite May 29, 2019
0f7cc2b
React Events: check window before using navigator (#15768)
May 30, 2019
3b23022
Fix sizebot (#15771)
acdlite May 30, 2019
113497c
[Suspense] Change Suspending and Restarting Heuristics (#15769)
sebmarkbage May 30, 2019
63fe08e
React Events: allow Tab+Alt on Mac in Focus responder (#15679)
Andarist May 31, 2019
88b3963
[Flare] Remove deprecated keypress event (#15795)
May 31, 2019
73c380f
WorkPhase -> ExecutionContext
acdlite May 31, 2019
91635dd
Switch to "discrete" and "continuous" terminology
acdlite May 30, 2019
7aa35ce
Fix casing of shouldflushDiscreteUpdates
acdlite May 30, 2019
5763f1d
[Events] Nested discrete events across systems
acdlite May 31, 2019
a383c46
[ESLint] don't warn for Flow type variables (#15804)
jordalgo Jun 3, 2019
07da821
[react-native] Rewrite Haste imports in RN shims and add .fb.js exten…
ide Jun 3, 2019
fa1e8df
chore: use jest-serializer-raw for react-fresh snapshots (#15806)
SimenB Jun 3, 2019
4f6cab5
[Flare] Ignore keyboard interactions on text input children (#15810)
Jun 3, 2019
dd43cb5
[Flare] Fix isPressWithinResponderRegion logic (#15808)
Jun 3, 2019
b63a41d
Updated release script to be Workflow aware (#15809)
Jun 4, 2019
2534c0c
[Flare] Add event position properties to Hover responder (#15819)
trueadm Jun 4, 2019
8d4fb13
[Flare] Fix nativeEvent.x/y for older browsers (#15820)
trueadm Jun 4, 2019
7fa5a71
Use Circle CI API v2 to get artifacts job ID (#15821)
Jun 4, 2019
6b5deee
[Events] Add support for events that are both user-blocking and conti…
acdlite Jun 4, 2019
cfb79ee
[Flare] Fix isTouchEvent (#15824)
trueadm Jun 4, 2019
d707a75
nit: a quick copy edit for an act() message/comment (#15805)
Jun 4, 2019
7b28ad1
[Flare] EventPriority enum (#15823)
acdlite Jun 5, 2019
843a59a
[React Native] Remove eventTypes from ReactNativeBridgeEventPlugin (#…
rickhanlonii Jun 5, 2019
6aaa437
Rename ReactFeatureFlags to remove the `.fb` suffix. (#15826)
cpojer Jun 5, 2019
c72dcef
[Flare] Small Swipe/Drag fixes (#15825)
trueadm Jun 5, 2019
73c27d8
[Flare] Add basic Scroll event responder module (#15827)
trueadm Jun 5, 2019
d0e041a
[Fresh] Support classes by force-remounting them on edit (#15801)
gaearon Jun 5, 2019
8cfcfe0
[Flare] Fix ES6 issues with IE11 (#15834)
trueadm Jun 6, 2019
def56c9
[Fresh] Capture Hook signatures lazily on first render (#15832)
gaearon Jun 6, 2019
425473f
[Flare] Improve runtime performance of hit target intersection (#15836)
trueadm Jun 7, 2019
e432906
Delete .babelrc
ELOHIMSUPREMES Jun 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 0 additions & 26 deletions .babelrc

This file was deleted.

278 changes: 278 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
version: 2

aliases:
- &docker
- image: circleci/openjdk:8-jdk-node-browsers

- &environment
TZ: /usr/share/zoneinfo/America/Los_Angeles

- &restore_yarn_cache
restore_cache:
name: Restore node_modules cache
keys:
- v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-node-{{ arch }}-{{ .Branch }}-
- v1-node-{{ arch }}-
- &run_yarn
run:
name: Install Packages
command: yarn --frozen-lockfile

- &attach_workspace
at: build

jobs:
setup:
docker: *docker
environment: *environment

steps:
- checkout
- run:
name: Nodejs Version
command: node --version
- *restore_yarn_cache
- *run_yarn
- save_cache:
name: Save node_modules cache
key: v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn

lint:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: node ./scripts/prettier/index
- run: node ./scripts/tasks/eslint
- run: ./scripts/circleci/check_license.sh
- run: ./scripts/circleci/check_modules.sh
- run: ./scripts/circleci/test_print_warnings.sh

flow:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: node ./scripts/tasks/flow-ci

test_source:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: yarn test --maxWorkers=2

test_source_persistent:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: yarn test-persistent --maxWorkers=2

test_source_prod:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: yarn test-prod --maxWorkers=2

test_source_fire:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: yarn test-fire --maxWorkers=2
- run: yarn test-fire-prod --maxWorkers=2

test_coverage:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: ./scripts/circleci/test_coverage.sh

build:
docker: *docker
environment: *environment
parallelism: 20
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run: ./scripts/circleci/add_build_info_json.sh
- run: ./scripts/circleci/update_package_versions.sh
- run: yarn build
- persist_to_workspace:
root: build
paths:
- facebook-www
- node_modules
- react-native
- dist
- sizes/*.json

process_artifacts:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- run: node ./scripts/rollup/consolidateBundleSizes.js
- run: node ./scripts/tasks/danger
- run: ./scripts/circleci/upload_build.sh
- run: ./scripts/circleci/pack_and_store_artifact.sh
- store_artifacts:
path: ./node_modules.tgz
- store_artifacts:
path: ./build.tgz
- store_artifacts:
path: ./build/bundle-sizes.json
- store_artifacts:
# TODO: Update release script to use local file instead of pulling
# from artifacts.
path: ./scripts/error-codes/codes.json

lint_build:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- run: yarn lint-build
- run: scripts/circleci/check_minified_errors.sh

test_build:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- run: yarn test-build --maxWorkers=2

test_dom_fixtures:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- run:
name: Run DOM fixture tests
command: |
cd fixtures/dom
yarn --frozen-lockfile
yarn prestart
yarn test --maxWorkers=2

test_fuzz:
docker: *docker
environment: *environment
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- run:
name: Run fuzz tests
command: |
FUZZ_TEST_SEED=$RANDOM
echo $FUZZ_TEST_SEED
yarn test fuzz --maxWorkers=2
yarn test-prod fuzz --maxWorkers=2

test_build_prod:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- run: yarn test-build-prod --maxWorkers=2

workflows:
version: 2
commit:
jobs:
- setup
- lint:
requires:
- setup
- flow:
requires:
- setup
- test_source:
requires:
- setup
- test_source_prod:
requires:
- setup
- test_source_persistent:
requires:
- setup
- test_source_fire:
requires:
- setup
- build:
requires:
- setup
- process_artifacts:
requires:
- build
- lint_build:
requires:
- build
- test_build:
requires:
- build
- test_build_prod:
requires:
- build
- test_dom_fixtures:
requires:
- build
hourly:
triggers:
- schedule:
cron: "0 * * * *"
filters:
branches:
only:
- master
jobs:
- setup
- test_fuzz:
requires:
- setup
- test_coverage:
requires:
- setup
26 changes: 12 additions & 14 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# We can probably lint these later but not important at this point
src/shared/vendor
# But not in docs/_js/examples/*
docs/_js/*.js
docs/js/
docs/_site/
# gems
docs/vendor/bundle/
# This should be more like examples/**/thirdparty/** but
# we should fix https://github.com/facebook/esprima/pull/85 first
examples/
# Ignore built files.
# Third party
**/node_modules

# Not written by hand
packages/react-art/npm/lib

# Build products
build/
coverage/
scripts/bench/bench-*.js
vendor/*
fixtures/
scripts/bench/benchmarks/**/*.js

# React repository clone
scripts/bench/remote-repo/
Loading