Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 48 additions & 46 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/ErrorState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ErrorState = ({ statusCode }) => {
<H2 style={styles.text}>Uh oh, something went wrong ({statusCode})</H2>
<P style={[styles.text, styles.secondLine]}>
Help fix it? Submit a PR to the{' '}
<A href="https://github.com/react-native-directory/website">Github Repo</A>.
<A href="https://github.com/react-native-community/directory">GitHub repository</A>.
</P>
</View>
</>
Expand Down
16 changes: 16 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ const withBundleAnalyzer = BundleAnalyzer({

export default withPlugins([withExpo, withImages, withFonts, withBundleAnalyzer], {
productionBrowserSourceMaps: true,
reactStrictMode: true,
poweredByHeader: false,
devIndicators: {
enabled: false,
},
eslint: {
ignoreDuringBuilds: true,
},
Expand All @@ -28,6 +33,17 @@ export default withPlugins([withExpo, withImages, withFonts, withBundleAnalyzer]
],
experimental: {
forceSwcTransforms: true,
webpackBuildWorker: true,
optimizePackageImports: [
'@expo/html-elements',
'@react-native-picker/picker',
'@sentry/react',
'react-native-safe-area-context',
'react-native-svg',
'react-native-web',
'react-native-web-hooks',
'react-native',
],
},
async headers() {
return [
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@
"@react-native-picker/picker": "^2.11.0",
"@sentry/react": "^8.46.0",
"@vercel/blob": "^0.27.3",
"expo": "^52.0.39",
"expo": "^52.0.41",
"expo-font": "~13.0.4",
"lodash": "^4.17.21",
"next": "^15.2.2",
"next": "^15.2.4",
"node-emoji": "^2.2.0",
"react": "^18.3.1",
"react-content-loader": "^7.0.2",
"react-dom": "^18.3.1",
"react-easy-linkify": "^1.0.8",
"react-native": "^0.78.0",
"react-native": "^0.78.1",
"react-native-safe-area-context": "^5.3.0",
"react-native-svg": "15.4.0",
"react-native-svg": "^15.11.2",
"react-native-web": "^0.19.13",
"react-native-web-hooks": "^3.0.2",
"use-debounce": "^10.0.4"
},
"devDependencies": {
"@expo/next-adapter": "^6.0.0",
"@next/bundle-analyzer": "^15.2.2",
"@types/bun": "^1.2.5",
"@next/bundle-analyzer": "^15.2.4",
"@types/bun": "^1.2.8",
"@types/lodash": "^4.17.16",
"@types/react": "^18.3.12",
"ajv-cli": "^5.0.0",
Expand All @@ -57,15 +57,15 @@
"cross-fetch": "^4.1.0",
"dotenv": "^16.4.7",
"eslint": "^8.57.0",
"eslint-config-next": "^15.2.2",
"eslint-config-universe": "14.0.0",
"eslint-config-next": "^15.2.4",
"eslint-config-universe": "canary",
"lint-staged": "^15.5.0",
"next-compose-plugins": "^2.2.1",
"next-fonts": "^1.5.1",
"next-images": "^1.8.5",
"prettier": "^3.5.3",
"simple-git-hooks": "^2.11.1",
"typescript": "5.6.3",
"simple-git-hooks": "^2.12.1",
"typescript": "^5.8.2",
"user-agent-data-types": "^0.4.2"
},
"private": true,
Expand Down
12 changes: 5 additions & 7 deletions react-native-libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -6821,7 +6821,6 @@
"examples": ["https://github.com/xmartlabs/react-native-line/tree/main/example"],
"ios": true,
"android": true,
"expoGo": false,
"newArchitecture": true
},
{
Expand Down Expand Up @@ -14202,11 +14201,10 @@
"ios": true,
"newArchitecture": true
},
{
"githubUrl": "https://github.com/getsettalk/rn-build-version",
"npmPkg": "rn-build-version",
"android": true,
"dev": true,
"newArchitecture": true
{
"githubUrl": "https://github.com/getsettalk/rn-build-version",
"android": true,
"dev": true,
"newArchitecture": true
}
]
84 changes: 47 additions & 37 deletions react-native-libraries.schema.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"$id": "https://github.com/react-native-community/directory/blob/main/react-native-libraries.schema.json",
"type": "array",
"title": "The Root Schema",
"title": "React Native Directory entries",
"items": {
"$id": "#/items",
"type": "object",
"title": "The Items Schema",
"title": "React Native Directory package entry",
"required": [
"githubUrl"
],
"properties": {
"githubUrl": {
"$id": "#/items/properties/githubUrl",
"type": "string",
"title": "The GitHub URL Schema",
"title": "Package GitHub repository URL",
"default": "",
"examples": [
"https://github.com/joshswan/react-native-autolink"
Expand All @@ -25,7 +25,7 @@
"ios": {
"$id": "#/items/properties/ios",
"type": "boolean",
"title": "The iOS Schema",
"title": "Package supports iOS",
"default": false,
"examples": [
true
Expand All @@ -34,7 +34,7 @@
"android": {
"$id": "#/items/properties/android",
"type": "boolean",
"title": "The Android Schema",
"title": "Package supports Android",
"default": false,
"examples": [
true
Expand All @@ -43,7 +43,7 @@
"windows": {
"$id": "#/items/properties/windows",
"type": "boolean",
"title": "The Windows Schema",
"title": "Package supports Windows (react-native-windows)",
"default": false,
"examples": [
true
Expand All @@ -52,7 +52,16 @@
"macos": {
"$id": "#/items/properties/macos",
"type": "boolean",
"title": "The macOS Schema",
"title": "Package supports macOS (react-native-macos)",
"default": false,
"examples": [
true
]
},
"tvos": {
"$id": "#/items/properties/tvos",
"type": "boolean",
"title": "Package supports tvOS (react-native-tvos)",
"default": false,
"examples": [
true
Expand All @@ -61,7 +70,7 @@
"fireos": {
"$id": "#/items/properties/fireos",
"type": "boolean",
"title": "The Fire OS Schema",
"title": "Package is compatible with Fire OS",
"default": false,
"examples": [
true
Expand All @@ -70,7 +79,7 @@
"expoGo": {
"$id": "#/items/properties/expo",
"type": "boolean",
"title": "The Expo Go Schema",
"title": "Package is compatible with Expo Go",
"default": false,
"examples": [
true
Expand All @@ -79,23 +88,43 @@
"examples": {
"$id": "#/items/properties/examples",
"type": "array",
"title": "The Examples Schema",
"title": "List of example projects or Snacks URLs",
"default": null,
"items": {
"$id": "#/items/properties/examples/items",
"type": "string",
"title": "The Items Schema",
"title": "Example entry URL",
"default": "",
"examples": [
"https://github.com/expo/examples/tree/master/with-video-background",
"https://snack.expo.io/SkRP2Ehrb"
],
"pattern": "^(.*)$"
}
},
"images": {
"$id": "#/items/properties/images",
"type": "array",
"title": "List of image URLs demonstrating package functionality",
"default": [
null
],
"items": {
"$id": "#/items/properties/images/items",
"type": "string",
"title": "Image entry URL",
"default": "",
"examples": [
"https://reactnative.dev/img/homepage/phones.png",
"https://github.com/mattermost/react-native-paste-input/blob/master/example/gifs/iOSPasteInput.gif?raw=true"
],
"pattern": "^(http(s?):)(\\w|\\/|\\.|:|-|%|\\+|\\*)+\\.(?:jp(e?)g|gif|png|webp|JP(E?)G|GIF|PNG|WEBP)(\\?\\S*)?$"
}
},
"npmPkg": {
"$id": "#/items/properties/npmPkg",
"type": "string",
"title": "The NPM Package Name Schema",
"title": "npm package name in the registry (mostly for scoped packages)",
"default": "",
"examples": [
"@expo/ex-navigation"
Expand All @@ -108,36 +137,17 @@
"boolean",
"string"
],
"title": "The Unmaintained Schema",
"title": "Package is unmaintained or archived",
"default": false,
"examples": [
true,
"expo-image"
]
},
"images": {
"$id": "#/items/properties/images",
"type": "array",
"title": "The Images Schema",
"default": [
null
],
"items": {
"$id": "#/items/properties/images/items",
"type": "string",
"title": "The Image Schema",
"default": "",
"examples": [
"https://reactnative.dev/img/homepage/phones.png",
"https://github.com/mattermost/react-native-paste-input/blob/master/example/gifs/iOSPasteInput.gif?raw=true"
],
"pattern": "^(http(s?):)(\\w|\\/|\\.|:|-|%|\\+|\\*)+\\.(?:jp(e?)g|gif|png|webp|JP(E?)G|GIF|PNG|WEBP)(\\?\\S*)?$"
}
},
"dev": {
"$id": "#/items/properties/dev",
"type": "boolean",
"title": "The Development Tool Schema",
"title": "Package is a Development Tool (should be installed as 'devDependency')",
"default": false,
"examples": [
true
Expand All @@ -146,7 +156,7 @@
"template": {
"$id": "#/items/properties/template",
"type": "boolean",
"title": "The Template Schema",
"title": "Package is a project template",
"default": false,
"examples": [
true
Expand All @@ -158,7 +168,7 @@
"boolean",
"string"
],
"title": "The New Architecture Support Schema",
"title": "Package supports New Architecture",
"default": false,
"examples": [
true,
Expand All @@ -184,7 +194,7 @@
"items": {
"$id": "#/items/properties/alternatives/items",
"type": "string",
"title": "Alternative library",
"title": "Alternative library npm package name",
"default": "",
"examples": [
"expo-image"
Expand Down