Skip to content

Commit dbc2058

Browse files
committed
chore: bump to latest, working well locally with yarn
1 parent c26264d commit dbc2058

8 files changed

Lines changed: 18963 additions & 27746 deletions

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
20

jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
// eslint-disable-next-line no-undef
44
module.exports = {
55
maxWorkers: '50%',
6-
preset: 'jest-expo',
6+
preset: 'jest-expo/universal',
77
// setupFilesAfterEnv: ['./jest.setup.ts'],
88
rootDir: 'src',
9+
// transformIgnorePatterns:
10+
// ['node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|@react-native/js-polyfills)'],
911
/* transformIgnorePatterns: [
1012
'node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@bugsnag|@react-native-community|localforage-expo-filesystem-driver|victory-.*|victory-shared-events|victory-area|victory-bar|victory-native|victory-core|@react-native-seoul|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|expo-modules-core|jest-runner|@react-native/normalize-color|native-base|@react-native/polyfills|@sentry/.*)',
1113
], */

metro.config.js

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
const { getDefaultConfig } = require('metro-config')
1+
// Learn more https://docs.expo.io/guides/customizing-metro
2+
const { getDefaultConfig } = require('expo/metro-config')
23

3-
const { resolver: defaultResolver } = getDefaultConfig.getDefaultValues()
4+
const config = getDefaultConfig(__dirname)
45

5-
module.exports = {
6-
resolver: {
7-
sourceExts: [
8-
...defaultResolver.sourceExts,
9-
'cjs',
10-
],
11-
},
12-
}
6+
// Remove all console logs in production...
7+
// config.transformer.minifierConfig.compress.drop_console = true
8+
/* config.watchFolders = [
9+
`${__dirname}/../../node_modules`,
10+
`${__dirname}/../../packages`,
11+
] */
12+
config.resolver.sourceExts = [...config.resolver.sourceExts, 'mjs', 'cjs']
13+
config.resolver.resolverMainFields = [...config.resolver.resolverMainFields]
14+
config.resolver.unstable_enableSymlinks = true
15+
16+
module.exports = config

package.json

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -40,81 +40,84 @@
4040
"registry": "https://registry.npmjs.org/"
4141
},
4242
"devDependencies": {
43-
"@babel/core": ">=7",
43+
"@babel/core": "^7.22.9",
4444
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
45-
"@babel/preset-env": "^7.18.6",
46-
"@commitlint/cli": "^17.0.3",
47-
"@commitlint/config-conventional": "^17.0.3",
48-
"@expo/webpack-config": "^0.17.2",
49-
"@graphql-eslint/eslint-plugin": ">=3",
50-
"@react-native-async-storage/async-storage": "^1.17.7",
51-
"@react-native-community/netinfo": "^9.3.0",
52-
"@react-navigation/native": "^6.0.12",
53-
"@react-navigation/native-stack": "^6.8.0",
54-
"@release-it/conventional-changelog": "^5.1.0",
55-
"@storybook/addon-actions": "^6.5.10",
56-
"@storybook/addon-essentials": "^6.5.10",
57-
"@storybook/addon-interactions": "^6.5.10",
58-
"@storybook/addon-links": "^6.5.10",
59-
"@storybook/builder-webpack4": "^6.5.10",
60-
"@storybook/manager-webpack4": "^6.5.10",
61-
"@storybook/react": "^6.5.10",
62-
"@storybook/testing-library": "^0.0.13",
45+
"@babel/preset-env": "^7.22.9",
46+
"@commitlint/cli": "^17.6.7",
47+
"@commitlint/config-conventional": "^17.6.7",
48+
"@expo/vector-icons": "^13.0.0",
49+
"@expo/webpack-config": "^18.1.1",
50+
"@graphql-eslint/eslint-plugin": "^3.20.1",
51+
"@react-native-async-storage/async-storage": "^1.19.1",
52+
"@react-native-community/netinfo": "^9.4.1",
53+
"@react-navigation/native": "^6.1.7",
54+
"@react-navigation/native-stack": "^6.9.13",
55+
"@release-it/conventional-changelog": "^7.0.0",
56+
"@storybook/addon-actions": "^7.1.0",
57+
"@storybook/addon-essentials": "^7.1.0",
58+
"@storybook/addon-interactions": "^7.1.0",
59+
"@storybook/addon-links": "^7.1.0",
60+
"@storybook/builder-webpack4": "^6.5.16",
61+
"@storybook/manager-webpack4": "^6.5.16",
62+
"@storybook/react": "^7.1.0",
63+
"@storybook/testing-library": "^0.2.0",
6364
"@testing-library/react-hooks": "^8.0.1",
64-
"@types/jest": "^28.1.4",
65-
"@types/node": "^18.7.8",
66-
"@types/react": "18",
67-
"@types/react-native": "0.69",
68-
"@typescript-eslint/eslint-plugin": ">=5",
69-
"@typescript-eslint/parser": ">=5",
70-
"babel-loader": "^8.2.5",
65+
"@types/jest": "^29.5.3",
66+
"@types/node": "^20.4.2",
67+
"@types/react": "^18.2.15",
68+
"@types/react-native": "~0.72.2",
69+
"@typescript-eslint/eslint-plugin": "^6.1.0",
70+
"@typescript-eslint/parser": "^6.1.0",
71+
"babel-loader": "^9.1.3",
7172
"babel-polyfill": "^6.26.0",
72-
"concurrently": "^7.3.0",
73-
"eslint": ">=8",
74-
"eslint-config-airbnb": ">=19",
75-
"eslint-config-airbnb-base": ">=15",
76-
"eslint-config-kingstinct": "^5.0.23",
77-
"eslint-import-resolver-typescript": ">=3",
78-
"eslint-plugin-comment-length": "^0.6.2",
79-
"eslint-plugin-functional": ">=4",
80-
"eslint-plugin-import": ">=2",
81-
"eslint-plugin-jest": ">=26",
82-
"eslint-plugin-jsonc": ">=2",
83-
"eslint-plugin-jsx-a11y": ">=6",
84-
"eslint-plugin-react": ">=7",
85-
"eslint-plugin-react-hooks": ">=4",
86-
"eslint-plugin-react-native": ">=4",
87-
"eslint-plugin-react-native-a11y": ">=3",
88-
"eslint-plugin-sort-keys-fix": ">=1",
89-
"eslint-plugin-unicorn": "^43.0.2",
90-
"eslint-plugin-yml": ">=1",
91-
"expo": ">=45",
92-
"expo-application": "^4.1.0",
93-
"expo-device": "^4.2.0",
94-
"expo-haptics": "^11.2.0",
95-
"expo-status-bar": "^1.4.0",
96-
"expo-system-ui": "^1.2.0",
97-
"graphql": ">=16",
98-
"husky": "^8.0.1",
99-
"jest": "27",
100-
"jest-expo": "^45.0.1",
73+
"concurrently": "^8.2.0",
74+
"eslint": "^8.45.0",
75+
"eslint-config-airbnb": "^19.0.4",
76+
"eslint-config-airbnb-base": "^15.0.0",
77+
"eslint-config-kingstinct": "^5.1.1",
78+
"eslint-import-resolver-typescript": "^3.5.5",
79+
"eslint-plugin-comment-length": "^1.4.4",
80+
"eslint-plugin-functional": "^5.0.8",
81+
"eslint-plugin-import": "^2.27.5",
82+
"eslint-plugin-jest": "^27.2.3",
83+
"eslint-plugin-jsonc": "^2.9.0",
84+
"eslint-plugin-jsx-a11y": "^6.7.1",
85+
"eslint-plugin-react": "^7.33.0",
86+
"eslint-plugin-react-hooks": "^4.6.0",
87+
"eslint-plugin-react-native": "^4.0.0",
88+
"eslint-plugin-react-native-a11y": "^3.3.0",
89+
"eslint-plugin-sort-keys-fix": "^1.1.2",
90+
"eslint-plugin-unicorn": "^48.0.0",
91+
"eslint-plugin-yml": "^1.8.0",
92+
"expo": "^49.0.3",
93+
"expo-application": "^5.3.0",
94+
"expo-device": "^5.4.0",
95+
"expo-haptics": "^12.4.0",
96+
"expo-status-bar": "^1.6.0",
97+
"expo-system-ui": "^2.4.0",
98+
"graphql": "^16.7.1",
99+
"husky": "^8.0.3",
100+
"jest": "^29.6.1",
101+
"jest-expo": "^49.0.0",
101102
"jwt-decode": "^3.1.2",
102103
"lint-staged": "^13.2.3",
103104
"lodash": "^4.17.21",
104-
"react": "17",
105-
"react-dom": "17",
106-
"react-native": "0.68",
107-
"react-native-gesture-handler": "^2.5.0",
108-
"react-native-paper": "^4.12.4",
109-
"react-native-reanimated": "2.6.0",
110-
"react-native-safe-area-context": "^4.3.3",
111-
"react-native-web": "^0.18.7",
112-
"react-test-renderer": "17",
113-
"release-it": "^15.3.0",
105+
"metro-config": "^0.77.0",
106+
"react": "^18.2.0",
107+
"react-dom": "^18.2.0",
108+
"react-native": "~0.72.3",
109+
"react-native-gesture-handler": "^2.12.0",
110+
"react-native-paper": "^5.9.1",
111+
"react-native-reanimated": "3.3.0",
112+
"react-native-safe-area-context": "^4.7.1",
113+
"react-native-screens": "^3.22.1",
114+
"react-native-web": "^0.19.7",
115+
"react-test-renderer": "^18.2.0",
116+
"release-it": "^16.1.3",
114117
"require-from-string": "^2.0.2",
115-
"rimraf": "^3.0.2",
116-
"ts-jest": "27",
117-
"typescript": ">=4"
118+
"rimraf": "^5.0.1",
119+
"ts-jest": "^29.1.1",
120+
"typescript": "^5.1.6"
118121
},
119122
"release-it": {
120123
"git": {
@@ -127,18 +130,15 @@
127130
}
128131
}
129132
},
130-
"engines": {
131-
"node": ">=10"
132-
},
133133
"peerDependencies": {
134134
"@types/react": ">=16",
135135
"react": ">=16",
136136
"react-native-reanimated": ">=2"
137137
},
138138
"dependencies": {
139139
"@gorhom/portal": "^1.0.14",
140-
"ts-pattern": "^4.0.5",
141-
"urql": ">=2",
142-
"zustand": "^4.3.6"
140+
"ts-pattern": "^5.0.4",
141+
"urql": "^4.0.4",
142+
"zustand": "^4.3.9"
143143
}
144144
}

0 commit comments

Comments
 (0)