Skip to content

Commit 5b6080e

Browse files
committed
build: Expo 44
BREAKING CHANGE: Updated project setup to Expo 44
1 parent 5985442 commit 5b6080e

69 files changed

Lines changed: 13490 additions & 4870 deletions

Some content is hidden

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

.editorconfig

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

.eslintrc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-len */
12
const configs = require('@bluebase/code-standards/.eslintrc');
23

34
module.exports = {
@@ -6,8 +7,12 @@ module.exports = {
67
...configs.env,
78
jest: true,
89
},
10+
settings: {
11+
react: {
12+
version: 'detect',
13+
},
14+
},
915
rules: {
1016
...configs.rules,
11-
'@typescript-eslint/interface-name-prefix': 0,
1217
},
1318
};
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
<!--- Provide a general summary of the issue in the Title above -->
11+
12+
## Description
13+
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->
14+
15+
## Expected Behavior
16+
<!--- Tell us what should happen -->
17+
18+
## Actual Behavior
19+
<!--- Tell us what happens instead -->
20+
21+
## Possible Fix
22+
<!--- Not obligatory, but suggest a fix or reason for the bug -->
23+
24+
## Steps to Reproduce
25+
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
26+
<!--- reproduce this bug. Include code to reproduce, if relevant -->
27+
1.
28+
2.
29+
3.
30+
4.
31+
32+
## Context
33+
<!--- How has this bug affected you? What were you trying to accomplish? -->
34+
35+
## Screenshots
36+
<!--- If applicable, add screenshots to help explain your problem. -->
37+
38+
## Your Environment
39+
<!--- Include as many relevant details about the environment you experienced the bug in -->
40+
* Version used:
41+
* Environment name and version (e.g. Chrome 39, node.js 5.4):
42+
* Operating System and version (desktop or mobile):
43+
* Link to your project:
44+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Component
3+
about: Suggest an idea for a new component
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
<!--- Provide a general summary of the issue in the Title above -->
10+
11+
## Detailed Description
12+
13+
<!--- Provide a detailed description of the change or addition you are proposing -->
14+
15+
## UI Design
16+
17+
<!--- Add design screenshots or wireframes here -->
18+
19+
## Context
20+
21+
<!--- Why is this change important to you? How would you use it? -->
22+
<!--- How can it benefit other users? -->
23+
24+
## Props
25+
26+
<!--- Add proposed component props here -->
27+
28+
| Name | Type | Default | Description |
29+
| :--: | :--: | :-----: | :---------: |
30+
| | | | |
31+
32+
## Style Classes
33+
34+
<!--- Add proposed component style classes here -->
35+
36+
| Name | Type | Default | Description |
37+
| :--: | :--: | :-----: | :---------: |
38+
| | || |
39+
40+
## User Stories
41+
42+
<!--- Add proposed user stories here -->
43+
44+
| Story | In Storybook | Has Unit Test |
45+
| :---: | :----------: | :-----------: |
46+
| |||
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!--- Provide a general summary of the issue in the Title above -->
11+
12+
## Detailed Description
13+
<!--- Provide a detailed description of the change or addition you are proposing -->
14+
15+
## Context
16+
<!--- Why is this change important to you? How would you use it? -->
17+
<!--- How can it benefit other users? -->
18+
19+
## Possible Implementation
20+
<!--- Not obligatory, but suggest an idea for implementing addition or change -->
21+
22+
## Your Environment
23+
<!--- Include as many relevant details about the environment you experienced the bug in -->
24+
* Version used:
25+
* Environment name and version (e.g. Chrome 39, node.js 5.4):
26+
* Operating System and version (desktop or mobile):
27+
* Link to your project:
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
name: Stateful Component
3+
about: Suggest an idea for a new stateful component (a component that has multiple states, i.e. loading, empty, etc)
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
<!--- Provide a general summary of the issue in the Title above -->
10+
11+
## Detailed Description
12+
13+
<!--- Provide a detailed description of the change or addition you are proposing -->
14+
15+
## UI Design
16+
17+
<!--- Add design screenshots or wireframes here -->
18+
19+
| State | Wireframe |
20+
| :-------: | :-------: |
21+
| With Data | |
22+
| Loading | |
23+
| Empty | |
24+
| Error | |
25+
26+
27+
## Context
28+
29+
<!--- Why is this change important to you? How would you use it? -->
30+
<!--- How can it benefit other users? -->
31+
32+
## Props
33+
34+
<!--- Add proposed component props here -->
35+
36+
| Name | Type | Default | Description |
37+
| :--: | :--: | :-----: | :---------: |
38+
| | | | |
39+
40+
## Style Classes
41+
42+
<!--- Add proposed component style classes here -->
43+
44+
| Name | Type | Default | Description |
45+
| :--: | :--: | :-----: | :---------: |
46+
| | || |
47+
48+
## User Stories
49+
50+
<!--- Add proposed user stories here -->
51+
52+
| Story | In Storybook | Has Unit Test |
53+
| :---: | :----------: | :-----------: |
54+
| |||
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Default Pull Request Template
3+
about: Create a Pull Request
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!--- Provide a general summary of your changes in the Title above -->
11+
12+
## Description
13+
<!--- Describe your changes in detail -->
14+
15+
## Related Issue
16+
<!--- This project only accepts pull requests related to open issues -->
17+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
18+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
19+
<!--- Please link to the issue here: -->
20+
21+
## Motivation and Context
22+
<!--- Why is this change required? What problem does it solve? -->
23+
24+
## How Has This Been Tested?
25+
<!--- Please describe in detail how you tested your changes. -->
26+
<!--- Include details of your testing environment, and the tests you ran to -->
27+
<!--- see how your change affects other areas of the code, etc. -->
28+
29+
## Screenshots (if appropriate):
30+
31+
## Types of changes
32+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
33+
- [ ] Bug fix (non-breaking change which fixes an issue)
34+
- [ ] New feature (non-breaking change which adds functionality)
35+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
36+
37+
## Checklist:
38+
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
39+
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
40+
- [ ] My code follows the code style of this project.
41+
- [ ] My change requires a change to the documentation.
42+
- [ ] I have updated the documentation accordingly.
43+
- [ ] I have added tests to cover my changes.
44+
- [ ] All new and existing tests passed.

.github/workflows/develop.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Used on master and staging branches
2+
name: Development CI
3+
4+
on:
5+
push:
6+
# Sequence of patterns matched against refs/heads
7+
branches:
8+
- '*' # Push events on all branchs
9+
- '*/*'
10+
- '!master' # Exclude master
11+
- '!next' # Exclude next
12+
- '!alpha' # Exclude alpha
13+
- '!beta' # Exclude beta
14+
15+
jobs:
16+
test:
17+
name: Test, Build & Release
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
matrix:
22+
node: ['14']
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
27+
- name: Setup node
28+
uses: actions/setup-node@v2
29+
with:
30+
node-version: ${{ matrix.node }}
31+
cache: 'yarn'
32+
33+
- name: Install Dependencies
34+
run: yarn install
35+
36+
- name: Tests
37+
run: yarn test:lint
38+
39+
- name: Build
40+
run: yarn build

.github/workflows/production.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Used on master and staging branches
2+
name: Production CI
3+
4+
on:
5+
push:
6+
# Sequence of patterns matched against refs/heads
7+
branches:
8+
- 'master' # Push events on master branch
9+
- 'next' # Push events on staging branch
10+
- 'alpha' # Push events on alpha branch
11+
- 'beta' # Push events on beta branch
12+
13+
jobs:
14+
test:
15+
name: Test, Build & Release
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
node: ['14']
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- name: Setup node
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node }}
29+
cache: 'yarn'
30+
31+
- name: Install Dependencies
32+
run: yarn install
33+
34+
- name: Tests
35+
run: yarn test:lint
36+
37+
- name: Build
38+
run: yarn build
39+
40+
- name: Semantic Release
41+
run: npx semantic-release@16
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
44+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

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

0 commit comments

Comments
 (0)