Skip to content

Commit 1f3cafa

Browse files
authored
Split ama (#125)
1 parent b7dbed0 commit 1f3cafa

File tree

443 files changed

+21803
-48754
lines changed

Some content is hidden

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

443 files changed

+21803
-48754
lines changed

.eslintrc.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ module.exports = {
66
},
77
rules: {
88
'@typescript-eslint/no-unused-vars': 'off',
9+
'react-hooks/rules-of-hooks': 'off',
910
},
10-
extends: ['@react-native-community'],
11+
parserOptions: {
12+
project: ['./tsconfig.json'],
13+
},
14+
extends: ['@react-native'],
1115
plugins: ['jest', 'import'],
1216
ignorePatterns: [
13-
'metro.config.js',
14-
'dist/**/*',
15-
'website/**/*',
16-
'coverage/**/*',
17-
'__mocks__/**/*',
17+
'**/**/metro.config.js',
18+
'**/dist/**/*',
19+
'**/website/**/*',
20+
'**/coverage/**/*',
21+
'**/__mocks__/**/*',
1822
],
1923
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.excalidraw filter=lfs diff=lfs merge=lfs -text

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
${{ runner.os }}-yarn-
3232
3333
- name: Install Dependencies
34-
run: yarn install && yarn run example
34+
run: yarn install && yarn run example:bare
3535

3636
- name: Build library
3737
run: yarn run build

.github/workflows/run-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,5 @@ jobs:
3333
- name: TypeScript Check
3434
run: yarn ts:check
3535

36-
- name: TypeScript Example Check
37-
run: |
38-
yarn example
39-
yarn example ts:check
40-
41-
- name: Tests
42-
run: yarn test
36+
# - name: Core Tests
37+
# run: yarn test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ DerivedData
3737
*.xcuserstate
3838
/coverage/
3939
.vscode
40+
coverage
41+
.expo

.husky/commit-msg

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

.husky/post-checkout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-checkout'.\n"; exit 2; }
3+
git lfs post-checkout "$@"

.husky/post-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-commit'.\n"; exit 2; }
3+
git lfs post-commit "$@"

.husky/post-merge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-merge'.\n"; exit 2; }
3+
git lfs post-merge "$@"

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
yarn lint && yarn ts:check && yarn example ts:check
4+
# TODO: Restore
5+
#yarn lint && yarn ts:check && yarn example ts:check

0 commit comments

Comments
 (0)