Skip to content

Commit 09018fe

Browse files
2 parents 6f2cb49 + 305b66e commit 09018fe

28 files changed

+450
-705
lines changed

.eslintrc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
extends: ['universe/native'],
44
rules: {
55
'import/order': [
6-
'error',
6+
'warn',
77
{
88
groups: ['builtin', 'external', 'internal'],
99
pathGroups: [
@@ -12,6 +12,11 @@ module.exports = {
1212
group: 'external',
1313
position: 'before',
1414
},
15+
{
16+
pattern: '~/**',
17+
group: 'external',
18+
position: 'after',
19+
},
1520
],
1621
pathGroupsExcludedImportTypes: ['react'],
1722
'newlines-between': 'always',

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"editor.formatOnSave": true,
44
"editor.codeActionsOnSave": {
55
"source.fixAll": "explicit",
6-
"source.fixAll.eslint": "explicit"
6+
"source.fixAll.eslint": "explicit",
7+
"source.organizeImports": "always"
78
},
89
"[typescript]": {
910
"editor.defaultFormatter": "esbenp.prettier-vscode"
1011
}
11-
}
12+
}

App.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { GoogleSignin } from '@react-native-google-signin/google-signin';
22

3-
import App from './src';
4-
import { default as CustomThemeProvider } from './src/contexts/customTheme';
3+
import { App } from './src';
54

65
GoogleSignin.configure({
76
webClientId:
@@ -11,11 +10,7 @@ GoogleSignin.configure({
1110
});
1211

1312
function Main() {
14-
return (
15-
<CustomThemeProvider>
16-
<App />
17-
</CustomThemeProvider>
18-
);
13+
return <App />;
1914
}
2015

2116
export default Main;

assets/fonts/NunitoSansBold.ttf

-111 KB
Binary file not shown.

assets/fonts/NunitoSansExtraBold.ttf

-111 KB
Binary file not shown.

assets/fonts/NunitoSansLight.ttf

-111 KB
Binary file not shown.

assets/fonts/NunitoSansMedium.ttf

-111 KB
Binary file not shown.

assets/fonts/NunitoSansRegular.ttf

-111 KB
Binary file not shown.

babel.config.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,27 @@ module.exports = function (api) {
33
return {
44
presets: ['babel-preset-expo'],
55
plugins: [
6+
'nativewind/babel',
67
[
78
'module-resolver',
89
{
10+
root: ['./src'],
911
alias: {
10-
'@src': './src',
11-
'@hooks': './src/hooks',
12+
'~/@types': './src/types',
13+
'~/assets': './src/assets',
14+
'~/components': './src/components',
15+
'~/contexts': './src/contexts',
16+
'~/hooks': './src/hooks',
17+
'~/navigation': './src/navigation',
18+
'~/screens': './src/screens',
19+
'~/services': './src/services',
20+
'~/utils': './src/utils',
21+
'~/storage': './src/storage',
22+
'~/constants': './src/constants',
23+
'~/dtos': './src/dtos',
1224
},
1325
},
1426
],
15-
['babel-plugin-styled-components'],
1627
],
1728
};
1829
};

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"expo-updates": "~0.18.17",
2626
"jest": "^29.2.1",
2727
"jest-expo": "~49.0.0",
28+
"nativewind": "2.0.11",
2829
"react": "18.2.0",
2930
"react-native": "0.72.6",
3031
"react-native-mmkv": "^2.11.0",
3132
"react-native-safe-area-context": "4.6.3",
32-
"react-native-screens": "~3.22.0",
33-
"styled-components": "^6.1.1"
33+
"react-native-screens": "~3.22.0"
3434
},
3535
"devDependencies": {
3636
"@babel/core": "^7.20.0",
@@ -42,13 +42,13 @@
4242
"@typescript-eslint/eslint-plugin": "^6.13.1",
4343
"@typescript-eslint/parser": "^6.13.1",
4444
"babel-plugin-module-resolver": "^5.0.0",
45-
"babel-plugin-styled-components": "^2.1.4",
4645
"eslint": "^8.55.0",
4746
"eslint-config-universe": "^12.0.0",
4847
"git-commit-msg-linter": "^5.0.4",
4948
"husky": "^8.0.3",
5049
"lint-staged": "^15.2.0",
5150
"prettier": "^3.1.0",
51+
"tailwindcss": "3.3.2",
5252
"typescript": "^5.1.3"
5353
},
5454
"jest": {
@@ -60,8 +60,5 @@
6060
]
6161
},
6262
"license": "MIT",
63-
"private": true,
64-
"resolutions": {
65-
"styled-components": "^5"
66-
}
67-
}
63+
"private": true
64+
}

0 commit comments

Comments
 (0)