Commit Graph

2239 Commits

Author SHA1 Message Date
Adam Miskiewicz
3d4f6a408e Tweak iOS animation easing, gesture tweaks 2017-05-16 23:04:33 -07:00
Adam Miskiewicz
873e23c37d Increase cache version for Circle 2017-05-15 21:53:50 -07:00
Adam Miskiewicz
49ef70db90 Increase cache key search for Circle 2017-05-15 21:51:51 -07:00
Adam Miskiewicz
4074a389f2 Disable Expo deploy for now -- cuz of watchman 2017-05-15 21:41:55 -07:00
Adam Miskiewicz
13782e19aa Try to up inotify watches 2017-05-15 20:20:14 -07:00
Adam Miskiewicz
0938ca7fa8 Add watchman to docker image 2017-05-15 20:07:37 -07:00
Adam Miskiewicz
228b800436 Change directory to proper place before exp publish 2017-05-15 19:56:58 -07:00
Adam Miskiewicz
837b38c39e Add icon for example 2017-05-15 19:45:27 -07:00
Adam Miskiewicz
59d81aa6d7 Clear CI caches 2017-05-15 19:41:19 -07:00
Adam Miskiewicz
ed0b6c0ecf Update docker image 2017-05-15 19:41:03 -07:00
Adam Miskiewicz
e5213a085e Fix tests in examples 2017-05-15 19:36:04 -07:00
Adam Miskiewicz
0a37d8c7f1 Don't use jest-setup on NavigationPlayground 2017-05-15 19:16:00 -07:00
Adam Miskiewicz
0bde1a4478 Install react-navigation in NavigationPlayground 2017-05-15 19:12:52 -07:00
Adam Miskiewicz
021bf0e757 Fix path to Jest in NavigationPlayground 2017-05-15 19:08:16 -07:00
Adam Miskiewicz
d1cfeec78f Don't run Jest watch in CI 2017-05-15 19:06:17 -07:00
Adam Miskiewicz
f816088a4c Restore jest-setup.js file 2017-05-15 19:02:46 -07:00
Adam Miskiewicz
58e81a911b Convert NavigationPlayground project to a CRNA project 2017-05-15 18:55:18 -07:00
Adam Miskiewicz
83fa3ac17a Remove old NavigationPlayground code (and ExpoNavigationPlayground) 2017-05-15 18:54:19 -07:00
Daniel Schmidt
b95509213e Add NavigationPlayground Expo Demo (#1523)
* use react-navigation as dependency
* add expo based playground app
* name expo playground demo in the docs
* add ci task to deploy playground demo
2017-05-16 01:55:10 +02:00
Miguel Oller
26133668c7 Exclude __tests__ from published files (#1525) 2017-05-15 13:33:14 -04:00
Adam Miskiewicz
b7bfbde1fc Make sure root deps are installed before running yarn in example folders 2017-05-14 23:16:02 -07:00
Adam Miskiewicz
fdedb6540c More CI parallelization optimizations 2017-05-14 23:14:22 -07:00
Adam Miskiewicz
fbbba58183 Migrate to CircleCI v2 (#1517)
Use the new Docker-based, beta version of CircleCI.

This adds a docker image that has the correct deps to run flow, and then migrates from the old circle.yml format to the new.

This gets test runs wayyyyy down. Earlier today, on the old stack, before optimizations, we were at > 9 min for PR builds (aka, CI runs without a website deploy). The build for this PR ran in 1 min 33 seconds. Woo!
2017-05-14 23:08:13 -07:00
Adam Miskiewicz
a3f47ad4be Split test commands into test.sh, respect CIRCLE_NODE_INDEX 2017-05-14 22:11:03 -07:00
Adam Miskiewicz
9a4499fd42 Paralellize tests 2017-05-14 22:04:50 -07:00
Adam Miskiewicz
d8574ce422 Hotfix website error (maximum callstack size exceeded 2017-05-14 21:54:56 -07:00
Adam Miskiewicz
5b05b15be9 Fix website build -- needs eslint 2017-05-14 21:42:02 -07:00
Adam Miskiewicz
ae0fbb6dfc Add codecov.io badge 2017-05-14 21:32:55 -07:00
Adam Miskiewicz
4f8fb6d24b Change react-navigation path in example package.json to relative 2017-05-14 15:14:57 -07:00
Adam Miskiewicz
06a58420b4 Update Circle.yml with more caching 2017-05-14 14:39:52 -07:00
Adam Miskiewicz
640a042d9d Add codecov.yml 2017-05-14 14:58:21 -07:00
Adam Miskiewicz
91fa0ab065 Add codecov.io support 2017-05-14 14:33:39 -07:00
Adam Miskiewicz
05ec36ad4d Run 'flow check' instead of 'flow' in CI 2017-05-14 14:24:20 -07:00
Adam Miskiewicz
e0c12b3529 Upgrade to React Native 0.44 + Flow 0.42 2017-05-14 13:48:25 -07:00
Adam Miskiewicz
f95c3c23ef Fix Flow and Tests (#1510)
* Navigation actions should be string literals to work properly with Flow

* Update StackRouter/TabRouter tests with eslint ignore rule

* Use `expect.objectContaining` so we don't rely on keys
2017-05-14 13:32:31 -07:00
Adam Miskiewicz
86b20f8017 Update/Fix Prettier + Eslint config for codebase
Run Prettier/Eslint on entire codebase, fix issues
2017-05-14 12:14:12 -07:00
Neo
e957187126 stop using Animated.spring (#1500)
* stop using Animated.spring

* use layout instead of window.size
2017-05-14 23:40:02 +08:00
Stephen J. Collings
c1a8e8e3ec Add testID to HeaderBackButton (#1397) 2017-05-12 23:28:32 +01:00
Kevin Cooper
2dc007a2fd [Minor] Update Stacks examples for better clarity (#1341)
* Update Stacks{In,Over}Tabs example for better clarity

* Remove redundant navigationOptions in stack examples

* Update text in ReduxExample to clarify which route is being used
2017-05-12 18:27:53 -04:00
Daniel Friesen
4ca64e180a Don’t use Init# keys for reset (#1320)
This Init{index} pattern guarantees that the same keys will always be re-used when doing a RESET.
This behaviour doesn’t match how the rest of the router works and causes bugs.

Namely if you are on `{ routeName: ‘Dashboard’, params: { user: ‘A’ } }` and use RESET to `{ routeName: ‘Dashboard’, params: { user: ‘B’ } }` when the user switches, it will act like a `setParams` action instead of a `RESET` action and the Dashboard will not be re-mounted.
2017-05-12 15:13:33 -07:00
HelloYou
229d41e7ce Init to Init-UUID (#1419) 2017-05-13 06:08:22 +08:00
Koen Punt
1e951fec69 allow uriPrefix to be a regular expression (#1431)
when accepting both a protocol url and a normal url, it's hard to define a static prefix.
2017-05-12 23:40:10 +02:00
Tim Liu
5216dda372 Variable name consistency (#1452) 2017-05-12 14:37:55 -07:00
kdenz
d0fde082c1 Minor update (#1491)
styles.tabIcon leads to nowhere, only has styles.icon
2017-05-13 05:37:15 +08:00
Kohki Makimoto
b2d4657bf9 Fix incorrect link (#1426) 2017-05-13 06:36:53 +09:00
Satyajit Sahoo
78884683a6 Update react-native-tab-view. Fixes #1248, #1163 (#1327) 2017-05-10 17:04:06 +05:30
Koen Punt
80bfdb3656 accept style prop on Header component
to allow composition of the Header component when using a custom header
component, styling is probably one of the options you want to have.

For example, I need to dynamicly change the height of the header based
on scroll position, and without this change I have to inherit from the
Header component and copy the render function, instead of composing the
Header component in my own component.
2017-04-28 11:59:18 +02:00
Luke Rhodes
af6f6d95e4 Pass tintColor to tabBarLabel within navigationOptions 2017-05-01 15:24:56 +10:00
Des Preston
3eaf19957c clarify title option
If you attempt to use something other than a string, it will throw an error in some situations. #1318 provides more details about the error. If it is expecting a certain type, the docs should clarify that.
2017-05-02 15:48:32 -04:00
ashoat
af2eab78af Fix type of Easing function to match type in react-native module 2017-05-03 14:28:48 -04:00