Skip to content

Commit 9506af4

Browse files
authored
Merge pull request #134 from jhuleatt/v2
Reactfire v2! Hooks, Suspense, Context
2 parents 3e1e779 + e15c0fb commit 9506af4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+14718
-3188
lines changed

.eslintrc

Lines changed: 0 additions & 153 deletions
This file was deleted.

.gitignore

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
npm-debug.log
33

44
dist/
5-
coverage/
65
node_modules/
7-
bower_components/
6+
7+
.vscode/*
8+
reactfire/**/*.js
9+
!reactfire/babel.config.js
10+
11+
reactfire/**/*.jsx
12+
reactfire/**/*.js.map
13+
reactfire/**/*.jsx.map
14+
reactfire/**/*.d.ts
15+
reactfire/pub/reactfire/package.json
16+
reactfire/docs/reactfire-metadata.json
17+
sample-complex/.cache/**
18+
sample-complex/src/firebase-key.json

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 80
4+
}

.travis.yml

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,44 @@
11
language: node_js
2-
node_js:
3-
- '0.10'
4-
- '0.12'
5-
# - stable
62
sudo: false
3+
node_js:
4+
- 'lts/*'
5+
6+
addons:
7+
chrome: stable
8+
9+
cache:
10+
yarn: true
11+
12+
env:
13+
- CANARY=false
14+
- CANARY=true
15+
16+
matrix:
17+
fast_finish: true
18+
allow_failures:
19+
- env: CANARY=true
20+
21+
branches:
22+
only:
23+
- master # otherwise pull requests get built twice
24+
25+
before_install:
26+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
27+
- export PATH=$HOME/.yarn/bin:$PATH
28+
- cd reactfire
29+
730
install:
8-
- npm install
9-
before_script:
10-
- export DISPLAY=:99.0
11-
- sh -e /etc/init.d/xvfb start
31+
- |
32+
if $CANARY; then
33+
yarn upgrade && yarn add firebase@canary && yarn add rxfire@canary
34+
else
35+
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
36+
yarn upgrade
37+
else
38+
yarn install --frozen-lockfile
39+
fi
40+
fi
41+
1242
script:
13-
- npm run travis
14-
after_script:
15-
- cat ./tests/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
43+
- yarn build
44+
- yarn test

0 commit comments

Comments
 (0)