forked from rnmapbox/maps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'react-native-mapbox-gl/master'
- Loading branch information
Showing
246 changed files
with
5,525 additions
and
2,771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
index.d.ts | ||
scripts/ | ||
/plugin/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: 2 | ||
updates: | ||
# root | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
labels: | ||
- "🤖 dependabot 🤖" | ||
open-pull-requests-limit: 99 | ||
pull-request-branch-name: | ||
separator: "-" | ||
ignore: # ignore updates for react-native deps, think about updating, once react-native is updated | ||
- dependency-name: "@babel/core" | ||
- dependency-name: "@babel/runtime" | ||
- dependency-name: "@react-native-community/eslint-config" | ||
- dependency-name: "eslint" | ||
- dependency-name: "jest" | ||
- dependency-name: "metro-react-native-babel-preset" | ||
- dependency-name: "react-test-renderer" | ||
- dependency-name: "react" | ||
- dependency-name: "react-native" | ||
- dependency-name: "jest-cli" | ||
# example | ||
- package-ecosystem: "npm" | ||
directory: "/example" | ||
schedule: | ||
interval: "monthly" | ||
labels: | ||
- "🤖 dependabot 🤖" | ||
open-pull-requests-limit: 99 | ||
pull-request-branch-name: | ||
separator: "-" | ||
# gh-actions workflow files | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
pull-request-branch-name: | ||
separator: "-" | ||
labels: | ||
- "🤖 dependabot 🤖" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# Configuration for Label Actions - https://github.com/dessant/label-actions | ||
"Needs: Issue Template": | ||
comment: > | ||
:wave: @{issue-author}, please respect our issue template<br>required fields are missing. | ||
# Close the issue | ||
close: true | ||
"question": | ||
comment: > | ||
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [discussions](https://github.com/react-native-mapbox-gl/maps/discussions) or [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this. | ||
# Close the issue | ||
close: true | ||
"stale": | ||
comment: > | ||
:thinking: @{issue-author}, closing the issue for lack of activity, if the issue still persist, pls open a new one with steps to reproduce on recent versions | ||
# Close the issue | ||
close: true | ||
|
||
issues: | ||
actions: | ||
# our issue template is not respected - required fields are missing | ||
"Needs: Issue Template": | ||
comment: > | ||
:wave: @{issue-author}, please respect our issue template<br>required fields are missing. | ||
# Close the issue | ||
close: true | ||
"question": | ||
comment: > | ||
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this. | ||
# Close the issue | ||
close: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- | ||
Hi there and thank you for your change proposal! | ||
Please fill out the following template to make the review process | ||
as quick and smooth as possible. | ||
--> | ||
|
||
## Description | ||
|
||
Fixes #<issue-number> | ||
|
||
<!-- OR, if you're implementing a new feature: --> | ||
|
||
Added `your feature` that allows ... | ||
|
||
## Checklist | ||
|
||
<!-- Check completed item: [X] --> | ||
|
||
- [ ] I have tested this on a device/simulator for each compatible OS | ||
- [ ] I formatted JS and TS files with running `yarn lint:fix` in the root folder | ||
- [ ] I updated the documentation with running `yarn generate` in the root folder | ||
- [ ] I mentioned this change in `CHANGELOG.md` | ||
- [ ] I updated the typings files (`index.d.ts`) | ||
- [ ] I added/ updated a sample (`/example`) | ||
|
||
## Screenshot OR Video | ||
|
||
<!-- If it's a visual PR, we appreciate a screenshot or video --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Android Build | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
NVMRC: | ||
required: true | ||
type: string | ||
secrets: | ||
MAPBOX_ACCESS_TOKEN: | ||
required: true | ||
|
||
jobs: | ||
build_example: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node ${{ inputs.NVMRC }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ inputs.NVMRC }} | ||
|
||
- name: Setup JDK zulu 11 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
|
||
- run: echo $MAPBOX_ACCESS_TOKEN > ./accesstoken | ||
working-directory: example | ||
env: | ||
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }} | ||
|
||
- run: yarn install --network-timeout 1000000 | ||
working-directory: example | ||
|
||
- run: ./gradlew assemble | ||
working-directory: example/android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: iOS Build & Detox | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
NVMRC: | ||
required: true | ||
type: string | ||
secrets: | ||
MAPBOX_ACCESS_TOKEN: | ||
required: true | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
timeout-minutes: 25 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./example | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Access Token | ||
run: echo $MAPBOX_ACCESS_TOKEN > ./accesstoken | ||
env: | ||
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }} | ||
|
||
- name: Setup node ${{ inputs.NVMRC }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ inputs.NVMRC }} | ||
|
||
- name: Install Yarn Dependencies | ||
run: yarn install --network-timeout 1000000 | ||
|
||
- name: Install Pod Dependencies | ||
run: cd ios && pod install | ||
|
||
- name: Install Detox Dependencies | ||
run: | | ||
brew tap wix/brew | ||
brew install applesimutils | ||
- name: Build for detox | ||
run: yarn detox build | ||
|
||
- name: Test with detox | ||
run: yarn detox test --debug-synchronization 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Configuration for Label Actions - https://github.com/dessant/label-actions | ||
|
||
name: "Label Actions" | ||
|
||
on: | ||
issues: | ||
types: labeled | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/label-actions@v2 |
Oops, something went wrong.