Skip to content

Commit dd210c2

Browse files
Merge pull request #1 from idehub/master
Merge master
2 parents 8a42c3c + 03c74c9 commit dd210c2

File tree

19 files changed

+959
-159
lines changed

19 files changed

+959
-159
lines changed

.github/lock.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Number of days of inactivity before a closed issue or pull request is locked
2+
daysUntilLock: 365
3+
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
4+
exemptLabels: []
5+
# Label to add before locking, such as `outdated`. Set to `false` to disable
6+
lockLabel: false
7+
# Comment to post before locking. Set to `false` to disable
8+
lockComment: >
9+
This thread has been automatically locked since there has not been
10+
any recent activity after it was closed. Please open a new issue for
11+
related bugs.
12+
# Assign `resolved` as the reason for locking. Set to `false` to disable
13+
setLockReason: true
14+
15+
# Limit to only `issues` or `pulls`
16+
# only: issues
17+
18+
# Optionally, specify configuration settings just for `issues` or `pulls`
19+
# issues:
20+
# exemptLabels:
21+
# - help-wanted
22+
# lockLabel: outdated
23+
24+
# pulls:
25+
# daysUntilLock: 30
26+
27+
# Repository to extend settings from
28+
# _extends: repo

.github/reaction.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Issues and pull requests with these labels accept reaction comments.
2+
# Set to `[]` to disable
3+
exemptLabels: []
4+
5+
# Replace matching comments with this message, `{comment-author}` is an
6+
# optional placeholder. Set to `false` to disable
7+
reactionComment: >
8+
:wave: @{comment-author}, did you mean to use
9+
a [reaction](https://git.io/vhzhC) instead?
10+
11+
# Limit to only `issues` or `pulls`
12+
# only: issues
13+
14+
# Optionally, specify configuration settings just for `issues` or `pulls`
15+
# issues:
16+
# exemptLabels:
17+
# - party-parrot
18+
19+
# pulls:
20+
# reactionComment: false
21+
22+
# Repository to extend settings from
23+
# _extends: repo

.github/release-drafter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
template: |
2+
## What’s Changed
3+
4+
$CHANGES

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: wontfix
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
# example project
12
example
3+
4+
# build
5+
.travis
6+
.travis.yml
7+
8+
types/tsconfig.json
9+
types/tslint.json
10+
types/type-tests.ts

.travis.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
before_install:
2+
- curl -o- -L https://yarnpkg.com/install.sh | bash
3+
- export PATH="$HOME/.yarn/bin:$PATH"
4+
5+
matrix:
6+
include:
7+
- language: node_js
8+
node_js: 8
9+
env: LANE='node'
10+
cache:
11+
yarn: true
12+
script: .travis/run.sh
13+
- language: android
14+
sudo: required
15+
jdk: oraclejdk8
16+
before_cache:
17+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
18+
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
19+
cache:
20+
directories:
21+
- $HOME/.yarn-cache
22+
- $HOME/.gradle/caches/
23+
- $HOME/.gradle/wrapper/
24+
before_install:
25+
- nvm install 8
26+
- .travis/before_install.sh
27+
android:
28+
components:
29+
- build-tools-23.0.1
30+
- android-23
31+
- extra-android-m2repository
32+
- extra-google-google_play_services
33+
- extra-google-m2repository
34+
- addon-google_apis-google-16
35+
env: LANE='android'
36+
script: .travis/run.sh
37+
38+
notifications:
39+
slack:
40+
secure: qYpqErlZSfd5a88azsJqRkR0dKGXJknLoNsB/MuutbMbsX2HZzRfee9pDR1CDfcLlyBInRoN2lzv2B6xfrRDFnXWB/K9sRjTmzwXVPZbI1KDIi0CpQpgioZeNu2vaqJroX++1RdBCqUE9cHPRUmgo5/SqS4Qnl13uGTyGX4rYHrRK6HC1mXZ7/rVvLg6UnXn6Mb46DSRnFEmGRNlHbw/TmaYDZpFtjxqI9UyTfgrTNaMpXkSrfXlQzYwAfJUaWNClXtk87SFx54UIeu2elCwoPYZozeGDQMi1evPnGUFXwQ+vfnJTFzwt4klr6cdZ1/spmzxzewGheG3pmUnYaKxf3QTD3ppOyE+A44/9eEMib7qUxo2cIv2KOyYLE/pAu3293GhvP4SEdBELLzVHDh4brc6nNndNetJ+GKHeXqIOx48fe3hwfZ+UDCV3KzjUbeiSfh45eEUqEGRRkRLgkB3vC8sKx101vQj2N990h50/CW0+F0nz0S7sDEVfbN9M3RuCtDmpUikTlYCEb1Y6k2uCNbgLuhV99VBVWOrUSB8aBhLPui+xYd+tSUD476mjqqowxYy5O0fbTouf2VzKgGmpyZ3DFvRgG1jbLKKBJxIQJcGq9fITTlh/BouoCAt2BK0JPG1rd+T91lovyqfMrnzrgiGrVIBHzpbh8i3V1H/vN0=

.travis/before_install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set -e
2+
if [ "$LANE" = "android" ]; then
3+
node --version
4+
npm install -g yarn
5+
fi

.travis/run.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
set -e
3+
if [ "$LANE" = "node" ]; then
4+
yarn install
5+
npm run test
6+
else
7+
npm install -g react-native-cli
8+
react-native -v
9+
10+
cd example
11+
yarn install
12+
rm -rf node_modules/react-native-billing/example
13+
14+
cd android && ./gradlew assembleRelease
15+
fi

0 commit comments

Comments
 (0)