Skip to content

Commit abf7cd9

Browse files
authored
update dependencies, update schema, cleanup data (#1560)
1 parent 34b343a commit abf7cd9

File tree

6 files changed

+127
-101
lines changed

6 files changed

+127
-101
lines changed

bun.lock

Lines changed: 48 additions & 46 deletions
Large diffs are not rendered by default.

components/ErrorState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const ErrorState = ({ statusCode }) => {
1515
<H2 style={styles.text}>Uh oh, something went wrong ({statusCode})</H2>
1616
<P style={[styles.text, styles.secondLine]}>
1717
Help fix it? Submit a PR to the{' '}
18-
<A href="https://github.com/react-native-directory/website">Github Repo</A>.
18+
<A href="https://github.com/react-native-community/directory">GitHub repository</A>.
1919
</P>
2020
</View>
2121
</>

next.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ const withBundleAnalyzer = BundleAnalyzer({
1010

1111
export default withPlugins([withExpo, withImages, withFonts, withBundleAnalyzer], {
1212
productionBrowserSourceMaps: true,
13+
reactStrictMode: true,
14+
poweredByHeader: false,
15+
devIndicators: {
16+
enabled: false,
17+
},
1318
eslint: {
1419
ignoreDuringBuilds: true,
1520
},
@@ -28,6 +33,17 @@ export default withPlugins([withExpo, withImages, withFonts, withBundleAnalyzer]
2833
],
2934
experimental: {
3035
forceSwcTransforms: true,
36+
webpackBuildWorker: true,
37+
optimizePackageImports: [
38+
'@expo/html-elements',
39+
'@react-native-picker/picker',
40+
'@sentry/react',
41+
'react-native-safe-area-context',
42+
'react-native-svg',
43+
'react-native-web',
44+
'react-native-web-hooks',
45+
'react-native',
46+
],
3147
},
3248
async headers() {
3349
return [

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
"@react-native-picker/picker": "^2.11.0",
3030
"@sentry/react": "^8.46.0",
3131
"@vercel/blob": "^0.27.3",
32-
"expo": "^52.0.39",
32+
"expo": "^52.0.41",
3333
"expo-font": "~13.0.4",
3434
"lodash": "^4.17.21",
35-
"next": "^15.2.2",
35+
"next": "^15.2.4",
3636
"node-emoji": "^2.2.0",
3737
"react": "^18.3.1",
3838
"react-content-loader": "^7.0.2",
3939
"react-dom": "^18.3.1",
4040
"react-easy-linkify": "^1.0.8",
41-
"react-native": "^0.78.0",
41+
"react-native": "^0.78.1",
4242
"react-native-safe-area-context": "^5.3.0",
43-
"react-native-svg": "15.4.0",
43+
"react-native-svg": "^15.11.2",
4444
"react-native-web": "^0.19.13",
4545
"react-native-web-hooks": "^3.0.2",
4646
"use-debounce": "^10.0.4"
4747
},
4848
"devDependencies": {
4949
"@expo/next-adapter": "^6.0.0",
50-
"@next/bundle-analyzer": "^15.2.2",
51-
"@types/bun": "^1.2.5",
50+
"@next/bundle-analyzer": "^15.2.4",
51+
"@types/bun": "^1.2.8",
5252
"@types/lodash": "^4.17.16",
5353
"@types/react": "^18.3.12",
5454
"ajv-cli": "^5.0.0",
@@ -57,15 +57,15 @@
5757
"cross-fetch": "^4.1.0",
5858
"dotenv": "^16.4.7",
5959
"eslint": "^8.57.0",
60-
"eslint-config-next": "^15.2.2",
61-
"eslint-config-universe": "14.0.0",
60+
"eslint-config-next": "^15.2.4",
61+
"eslint-config-universe": "canary",
6262
"lint-staged": "^15.5.0",
6363
"next-compose-plugins": "^2.2.1",
6464
"next-fonts": "^1.5.1",
6565
"next-images": "^1.8.5",
6666
"prettier": "^3.5.3",
67-
"simple-git-hooks": "^2.11.1",
68-
"typescript": "5.6.3",
67+
"simple-git-hooks": "^2.12.1",
68+
"typescript": "^5.8.2",
6969
"user-agent-data-types": "^0.4.2"
7070
},
7171
"private": true,

react-native-libraries.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6821,7 +6821,6 @@
68216821
"examples": ["https://github.com/xmartlabs/react-native-line/tree/main/example"],
68226822
"ios": true,
68236823
"android": true,
6824-
"expoGo": false,
68256824
"newArchitecture": true
68266825
},
68276826
{
@@ -14202,11 +14201,10 @@
1420214201
"ios": true,
1420314202
"newArchitecture": true
1420414203
},
14205-
{
14206-
"githubUrl": "https://github.com/getsettalk/rn-build-version",
14207-
"npmPkg": "rn-build-version",
14208-
"android": true,
14209-
"dev": true,
14210-
"newArchitecture": true
14204+
{
14205+
"githubUrl": "https://github.com/getsettalk/rn-build-version",
14206+
"android": true,
14207+
"dev": true,
14208+
"newArchitecture": true
1421114209
}
1421214210
]

react-native-libraries.schema.json

Lines changed: 47 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"definitions": {},
33
"$schema": "http://json-schema.org/draft-07/schema#",
4-
"$id": "http://example.com/root.json",
4+
"$id": "https://github.com/react-native-community/directory/blob/main/react-native-libraries.schema.json",
55
"type": "array",
6-
"title": "The Root Schema",
6+
"title": "React Native Directory entries",
77
"items": {
88
"$id": "#/items",
99
"type": "object",
10-
"title": "The Items Schema",
10+
"title": "React Native Directory package entry",
1111
"required": [
1212
"githubUrl"
1313
],
1414
"properties": {
1515
"githubUrl": {
1616
"$id": "#/items/properties/githubUrl",
1717
"type": "string",
18-
"title": "The GitHub URL Schema",
18+
"title": "Package GitHub repository URL",
1919
"default": "",
2020
"examples": [
2121
"https://github.com/joshswan/react-native-autolink"
@@ -25,7 +25,7 @@
2525
"ios": {
2626
"$id": "#/items/properties/ios",
2727
"type": "boolean",
28-
"title": "The iOS Schema",
28+
"title": "Package supports iOS",
2929
"default": false,
3030
"examples": [
3131
true
@@ -34,7 +34,7 @@
3434
"android": {
3535
"$id": "#/items/properties/android",
3636
"type": "boolean",
37-
"title": "The Android Schema",
37+
"title": "Package supports Android",
3838
"default": false,
3939
"examples": [
4040
true
@@ -43,7 +43,7 @@
4343
"windows": {
4444
"$id": "#/items/properties/windows",
4545
"type": "boolean",
46-
"title": "The Windows Schema",
46+
"title": "Package supports Windows (react-native-windows)",
4747
"default": false,
4848
"examples": [
4949
true
@@ -52,7 +52,16 @@
5252
"macos": {
5353
"$id": "#/items/properties/macos",
5454
"type": "boolean",
55-
"title": "The macOS Schema",
55+
"title": "Package supports macOS (react-native-macos)",
56+
"default": false,
57+
"examples": [
58+
true
59+
]
60+
},
61+
"tvos": {
62+
"$id": "#/items/properties/tvos",
63+
"type": "boolean",
64+
"title": "Package supports tvOS (react-native-tvos)",
5665
"default": false,
5766
"examples": [
5867
true
@@ -61,7 +70,7 @@
6170
"fireos": {
6271
"$id": "#/items/properties/fireos",
6372
"type": "boolean",
64-
"title": "The Fire OS Schema",
73+
"title": "Package is compatible with Fire OS",
6574
"default": false,
6675
"examples": [
6776
true
@@ -70,7 +79,7 @@
7079
"expoGo": {
7180
"$id": "#/items/properties/expo",
7281
"type": "boolean",
73-
"title": "The Expo Go Schema",
82+
"title": "Package is compatible with Expo Go",
7483
"default": false,
7584
"examples": [
7685
true
@@ -79,23 +88,43 @@
7988
"examples": {
8089
"$id": "#/items/properties/examples",
8190
"type": "array",
82-
"title": "The Examples Schema",
91+
"title": "List of example projects or Snacks URLs",
8392
"default": null,
8493
"items": {
8594
"$id": "#/items/properties/examples/items",
8695
"type": "string",
87-
"title": "The Items Schema",
96+
"title": "Example entry URL",
8897
"default": "",
8998
"examples": [
99+
"https://github.com/expo/examples/tree/master/with-video-background",
90100
"https://snack.expo.io/SkRP2Ehrb"
91101
],
92102
"pattern": "^(.*)$"
93103
}
94104
},
105+
"images": {
106+
"$id": "#/items/properties/images",
107+
"type": "array",
108+
"title": "List of image URLs demonstrating package functionality",
109+
"default": [
110+
null
111+
],
112+
"items": {
113+
"$id": "#/items/properties/images/items",
114+
"type": "string",
115+
"title": "Image entry URL",
116+
"default": "",
117+
"examples": [
118+
"https://reactnative.dev/img/homepage/phones.png",
119+
"https://github.com/mattermost/react-native-paste-input/blob/master/example/gifs/iOSPasteInput.gif?raw=true"
120+
],
121+
"pattern": "^(http(s?):)(\\w|\\/|\\.|:|-|%|\\+|\\*)+\\.(?:jp(e?)g|gif|png|webp|JP(E?)G|GIF|PNG|WEBP)(\\?\\S*)?$"
122+
}
123+
},
95124
"npmPkg": {
96125
"$id": "#/items/properties/npmPkg",
97126
"type": "string",
98-
"title": "The NPM Package Name Schema",
127+
"title": "npm package name in the registry (mostly for scoped packages)",
99128
"default": "",
100129
"examples": [
101130
"@expo/ex-navigation"
@@ -108,36 +137,17 @@
108137
"boolean",
109138
"string"
110139
],
111-
"title": "The Unmaintained Schema",
140+
"title": "Package is unmaintained or archived",
112141
"default": false,
113142
"examples": [
114143
true,
115144
"expo-image"
116145
]
117146
},
118-
"images": {
119-
"$id": "#/items/properties/images",
120-
"type": "array",
121-
"title": "The Images Schema",
122-
"default": [
123-
null
124-
],
125-
"items": {
126-
"$id": "#/items/properties/images/items",
127-
"type": "string",
128-
"title": "The Image Schema",
129-
"default": "",
130-
"examples": [
131-
"https://reactnative.dev/img/homepage/phones.png",
132-
"https://github.com/mattermost/react-native-paste-input/blob/master/example/gifs/iOSPasteInput.gif?raw=true"
133-
],
134-
"pattern": "^(http(s?):)(\\w|\\/|\\.|:|-|%|\\+|\\*)+\\.(?:jp(e?)g|gif|png|webp|JP(E?)G|GIF|PNG|WEBP)(\\?\\S*)?$"
135-
}
136-
},
137147
"dev": {
138148
"$id": "#/items/properties/dev",
139149
"type": "boolean",
140-
"title": "The Development Tool Schema",
150+
"title": "Package is a Development Tool (should be installed as 'devDependency')",
141151
"default": false,
142152
"examples": [
143153
true
@@ -146,7 +156,7 @@
146156
"template": {
147157
"$id": "#/items/properties/template",
148158
"type": "boolean",
149-
"title": "The Template Schema",
159+
"title": "Package is a project template",
150160
"default": false,
151161
"examples": [
152162
true
@@ -158,7 +168,7 @@
158168
"boolean",
159169
"string"
160170
],
161-
"title": "The New Architecture Support Schema",
171+
"title": "Package supports New Architecture",
162172
"default": false,
163173
"examples": [
164174
true,
@@ -184,7 +194,7 @@
184194
"items": {
185195
"$id": "#/items/properties/alternatives/items",
186196
"type": "string",
187-
"title": "Alternative library",
197+
"title": "Alternative library npm package name",
188198
"default": "",
189199
"examples": [
190200
"expo-image"

0 commit comments

Comments
 (0)