frontend: add zustand for small/ephemeral stores
Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago
0becef8f9fb9cc83d187be45bec57f72d97fe36e Browse filesParents
abb3e29Changed files
2
Additions
+33
Deletions
-2
frontend/package-lock.json
1 1
{
2 2
"name": "orbit",
3 3
"version": "0.0.0",
4 4
"lockfileVersion": 3,
5 5
"requires": true,
38 38
"react-native-reanimated": "~4.1.1",
39 39
"react-native-safe-area-context": "~5.6.0",
40 40
"react-native-screens": "~4.16.0",
41 41
"react-native-teleport": "^1.1.2",
42 42
"react-native-web": "~0.21.0",
43 -
"react-native-worklets": "0.5.1"
43 +
"react-native-worklets": "0.5.1",
44 +
"zustand": "^5.0.13"
44 45
},
45 46
"devDependencies": {
46 47
"@types/react": "~19.1.0",
47 48
"eslint": "^9.25.0",
48 49
"eslint-config-expo": "~10.0.0",
13075 13076
"engines": {
13076 13077
"node": ">=10"
13077 13078
},
13078 13079
"funding": {
13079 13080
"url": "https://github.com/sponsors/sindresorhus"
13081 +
}
13082 +
},
13083 +
"node_modules/zustand": {
13084 +
"version": "5.0.13",
13085 +
"resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.13.tgz",
13086 +
"integrity": "sha512-efI2tVaVQPqtOh114loML/Z80Y4NP3yc+Ff0fYiZJPauNeWZeIp/bRFD7I9bfmCOYBh/PHxlglQ9+wvlwnPikQ==",
13087 +
"license": "MIT",
13088 +
"engines": {
13089 +
"node": ">=12.20.0"
13090 +
},
13091 +
"peerDependencies": {
13092 +
"@types/react": ">=18.0.0",
13093 +
"immer": ">=9.0.6",
13094 +
"react": ">=18.0.0",
13095 +
"use-sync-external-store": ">=1.2.0"
13096 +
},
13097 +
"peerDependenciesMeta": {
13098 +
"@types/react": {
13099 +
"optional": true
13100 +
},
13101 +
"immer": {
13102 +
"optional": true
13103 +
},
13104 +
"react": {
13105 +
"optional": true
13106 +
},
13107 +
"use-sync-external-store": {
13108 +
"optional": true
13109 +
}
13080 13110
}
13081 13111
}
13082 13112
}
13083 13113
}
frontend/package.json
1 1
{
2 2
"name": "orbit",
3 3
"main": "expo-router/entry",
4 4
"version": "0.0.0",
5 5
"scripts": {
40 40
"react-native-reanimated": "~4.1.1",
41 41
"react-native-safe-area-context": "~5.6.0",
42 42
"react-native-screens": "~4.16.0",
43 43
"react-native-teleport": "^1.1.2",
44 44
"react-native-web": "~0.21.0",
45 -
"react-native-worklets": "0.5.1"
45 +
"react-native-worklets": "0.5.1",
46 +
"zustand": "^5.0.13"
46 47
},
47 48
"devDependencies": {
48 49
"@types/react": "~19.1.0",
49 50
"eslint": "^9.25.0",
50 51
"eslint-config-expo": "~10.0.0",
51 52
"typescript": "~5.9.2"
52 53
},
53 54
"private": true
54 55
}