Skip to content

Commit

Permalink
Merge pull request #133 from victorbalssa/updates
Browse files Browse the repository at this point in the history
merge master
  • Loading branch information
victorbalssa authored Sep 5, 2023
2 parents 10b7657 + 02aafa1 commit 5b2540b
Show file tree
Hide file tree
Showing 95 changed files with 31,511 additions and 45,166 deletions.
119 changes: 119 additions & 0 deletions .detoxrc.js
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'
}
}
};
10 changes: 0 additions & 10 deletions .editorconfig

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/dist
/e2e/*.test.js
66 changes: 0 additions & 66 deletions .eslintrc

This file was deleted.

96 changes: 96 additions & 0 deletions .eslintrc.json
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"
]
}
]
}
}
13 changes: 13 additions & 0 deletions .github/FILE.md
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.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: victorbalssa
15 changes: 15 additions & 0 deletions .github/HELP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## How to log and connect to your Firefly III instance?

### If you're using an external authentication provider like Authelia, OAuth Clients will not work. You can use Personal Access Tokens only.

![img_1.png](img_1.png)
1. Go to `/profile`
Expand All @@ -12,3 +13,17 @@
4. No need to use the secret client but if you do so copy and paste it in the `Oauth Client Secret` field.

<img alt="img_2.png" height="670" src="img_2.png" width="300"/>

### Personal Access Token

create:

<img width="840" alt="image" src="https://github.com/victorbalssa/abacus/assets/12813321/f92c8bba-5c48-4b5c-b2be-5eddfb53e6f2">

copy:

<img width="823" alt="image" src="https://github.com/victorbalssa/abacus/assets/12813321/ae91cb88-b994-48ab-87b6-f77d11a99cbd">

paste:

<img width="390" alt="image" src="https://github.com/victorbalssa/abacus/assets/12813321/f8ea01bd-40c2-4f1f-ac95-6be4f2ae9a47">
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
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: ''

---


20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
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.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Pull request
about: Suggest an idea for this project
title: FEATURE_
labels: enhancement
labels: feature
assignees: victorbalssa

---
Expand Down
Loading

0 comments on commit 5b2540b

Please sign in to comment.