generated from victorbalssa/expo-ticket-app
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from victorbalssa/updates
merge master
- Loading branch information
Showing
95 changed files
with
31,511 additions
and
45,166 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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
/** @type {Detox.DetoxConfig} */ | ||
module.exports = { | ||
logger: { | ||
level: process.env.CI ? 'debug' : undefined, | ||
}, | ||
testRunner: { | ||
args: { | ||
'$0': 'jest', | ||
config: 'e2e/jest.config.js' | ||
}, | ||
jest: { | ||
setupTimeout: 120000 | ||
} | ||
}, | ||
artifacts: { | ||
rootDir: '.artifacts', | ||
plugins: { | ||
log: { enabled: true }, | ||
screenshot: { | ||
shouldTakeAutomaticSnapshots: true, | ||
keepOnlyFailedTestsArtifacts: true, | ||
takeWhen: { | ||
testStart: false, | ||
testDone: true, | ||
} | ||
}, | ||
video: { | ||
enabled: true, | ||
android: { | ||
bitRate: 4000000, | ||
}, | ||
simulator: { | ||
codec: 'hevc', | ||
} | ||
} | ||
} | ||
}, | ||
apps: { | ||
'ios.debug': { | ||
type: 'ios.app', | ||
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/Abacus.app', | ||
build: 'xcodebuild -workspace ios/Abacus.xcworkspace -scheme Abacus -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build' | ||
}, | ||
'ios.release': { | ||
type: 'ios.app', | ||
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/Abacus.app', | ||
build: 'xcodebuild -workspace ios/Abacus.xcworkspace -scheme Abacus -configuration Release -sdk iphonesimulator -derivedDataPath ios/build' | ||
}, | ||
'android.debug': { | ||
type: 'android.apk', | ||
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk', | ||
build: 'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug', | ||
reversePorts: [ | ||
8081 | ||
] | ||
}, | ||
'android.release': { | ||
type: 'android.apk', | ||
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', | ||
build: 'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release' | ||
} | ||
}, | ||
devices: { | ||
iPhone14: { | ||
type: 'ios.simulator', | ||
device: { | ||
type: 'iPhone 14' | ||
} | ||
}, | ||
iPadmini: { | ||
type: 'ios.simulator', | ||
device: { | ||
type: 'iPad mini (6th generation)' | ||
} | ||
}, | ||
attached: { | ||
type: 'android.attached', | ||
device: { | ||
adbName: '.*' | ||
} | ||
}, | ||
emulator: { | ||
type: 'android.emulator', | ||
device: { | ||
avdName: 'Pixel_3a_API_33_arm64-v8a' | ||
} | ||
} | ||
}, | ||
configurations: { | ||
'ios.sim.debug': { | ||
device: 'simulator', | ||
app: 'ios.debug' | ||
}, | ||
'ios.sim.release.iPhone14': { | ||
device: 'iPhone14', | ||
app: 'ios.release' | ||
}, | ||
'ios.sim.release.iPadmini': { | ||
device: 'iPadmini', | ||
app: 'ios.release' | ||
}, | ||
'android.att.debug': { | ||
device: 'attached', | ||
app: 'android.debug' | ||
}, | ||
'android.att.release': { | ||
device: 'attached', | ||
app: 'android.release' | ||
}, | ||
'android.emu.debug': { | ||
device: 'emulator', | ||
app: 'android.debug' | ||
}, | ||
'android.emu.release': { | ||
device: 'emulator', | ||
app: 'android.release' | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
/node_modules | ||
/dist | ||
/e2e/*.test.js |
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,96 @@ | ||
{ | ||
"extends": [ | ||
"airbnb", | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:import/errors", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"tsx": true, | ||
"modules": true | ||
}, | ||
"ecmaVersion": 6, | ||
"project": "./tsconfig.json", | ||
"sourceType": "module" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.ts", | ||
"**/*.tsx" | ||
], | ||
"rules": { | ||
"no-unused-vars": [ | ||
"off" | ||
], | ||
"no-undef": [ | ||
"off" | ||
] | ||
} | ||
} | ||
], | ||
"rules": { | ||
"react/jsx-filename-extension": [ | ||
"error", | ||
{ | ||
"extensions": [ | ||
".js", | ||
".jsx", | ||
".ts", | ||
".tsx" | ||
] | ||
} | ||
], | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"vars": "all", | ||
"args": "all" | ||
} | ||
], | ||
"global-require": "warn", | ||
"no-console": "warn", | ||
"import/no-extraneous-dependencies": "off", | ||
"import/extensions": "off", | ||
"import/no-unresolved": "off", | ||
"jsx-a11y/anchor-is-valid": "off", | ||
"no-underscore-dangle": "off", | ||
"prefer-promise-reject-errors": "off", | ||
"no-nested-ternary": "off", | ||
"react/no-multi-comp": "off", | ||
"react/no-unescaped-entities": "off", | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
"jsx-a11y/no-static-element-interactions": "off", | ||
"react/require-default-props": "off", | ||
"react/prop-types": "off", | ||
"max-len": "off", | ||
"react/style-prop-object": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"no-use-before-define": "off", | ||
"@typescript-eslint/no-use-before-define": [ | ||
"error" | ||
], | ||
"no-param-reassign": [ | ||
"error", | ||
{ | ||
"props": true, | ||
"ignorePropertyModificationsFor": [ | ||
"acc" | ||
] | ||
} | ||
] | ||
} | ||
} |
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,13 @@ | ||
# File structure | ||
|
||
- `/src` | ||
- `/components`- All react native components. | ||
- `/constants` - App-wide constant variables. | ||
- `/fonts` - All fonts assets. | ||
- `/i18n` - All translations. | ||
- `/images` - All images assets. | ||
- `/lib` - Common function & react native hooks. | ||
- `/models` - Rematch Models combining actions, reducers and state. [Read More →](https://github.com/rematch/rematch#step-2-models) | ||
- `/routes`- ReactNavigation V6 Stack, Tabs & Screens. [Read More →](https://reactnavigation.org/docs/getting-started/) | ||
- `/store`- Rematch (Redux) Store definition - hooks up the stores [Read More →](https://redux.js.org/docs/basics/Store.html) | ||
- `index.tsx` - The starting place. |
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,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: victorbalssa |
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,10 @@ | ||
--- | ||
name: Custom issue template | ||
about: Describe this issue template's purpose here. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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
Oops, something went wrong.