Skip to content

Commit 0a69e89

Browse files
committed
refactor(app): move to RN stylesheet
1 parent 2c02003 commit 0a69e89

File tree

106 files changed

+2207
-2627
lines changed

Some content is hidden

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

106 files changed

+2207
-2627
lines changed

__mocks__/react-native-unistyles.ts

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

babel.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ module.exports = api => {
44
const isTest = process.env.NODE_ENV === 'test';
55

66
const plugins = [
7-
[
8-
'react-native-unistyles/plugin',
9-
{
10-
root: 'src',
11-
},
12-
],
137
// Don't inline env vars in tests so they can be mocked
148
!isTest && 'transform-inline-environment-variables',
159
[

bun.lock

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { registerRootComponent } from 'expo';
22
import App from './src/App';
33

4-
import './src/styles/unistyles';
5-
64
const originalWarn = console.warn;
75
console.warn = (...args: unknown[]) => {
86
const message = args[0];

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
"react-native-svg": "15.12.1",
178178
"react-native-tab-view": "^4.2.2",
179179
"react-native-toast-message": "^2.3.3",
180-
"react-native-unistyles": "^3.0.10",
181180
"react-native-vector-icons": "^10.3.0",
182181
"react-native-video": "^6.19.0",
183182
"react-native-web": "^0.21.0",
@@ -310,16 +309,14 @@
310309
"protobufjs"
311310
],
312311
"patchedDependencies": {
313-
"expo-file-system@19.0.21": "patches/expo-file-system@19.0.21.patch",
314-
"react-native-unistyles@3.0.10": "patches/react-native-unistyles@3.0.10.patch"
312+
"expo-file-system@19.0.21": "patches/expo-file-system@19.0.21.patch"
315313
},
316314
"expo": {
317315
"install": {
318316
"exclude": [
319317
"react-native-screens",
320318
"react-native-pager-view",
321-
"expo-file-system",
322-
"react-native-unistyles"
319+
"expo-file-system"
323320
]
324321
}
325322
},

0 commit comments

Comments
 (0)