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
142 changes: 67 additions & 75 deletions bun.lock

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions common/styleguide.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import * as HtmlElements from '@expo/html-elements';
import { type TextProps } from '@expo/html-elements/build/primitives/Text';
import Link from 'next/link';
import { type ComponentType, type PropsWithChildren, useContext, useState } from 'react';
import {
type ComponentType,
type CSSProperties,
type PropsWithChildren,
useContext,
useState,
} from 'react';
import {
StyleSheet,
type TextStyle,
View,
useWindowDimensions,
type ViewStyle,
type StyleProp,
} from 'react-native';

Expand Down Expand Up @@ -121,6 +126,7 @@ export const H2 = createTextComponent(HtmlElements.H2, textStyles.h2);
export const H3 = createTextComponent(HtmlElements.H3, textStyles.h3);
export const H4 = createTextComponent(HtmlElements.H4, textStyles.h4);
export const H5 = createTextComponent(HtmlElements.H5, textStyles.h5);
export const H6 = createTextComponent(HtmlElements.H6, textStyles.h6);
export const P = createTextComponent(HtmlElements.P, textStyles.p);
export const Headline = createTextComponent(HtmlElements.P, textStyles.headline);
export const Caption = createTextComponent(HtmlElements.P, textStyles.caption);
Expand All @@ -131,7 +137,7 @@ type AProps = PropsWithChildren<{
target?: string;
href: string;
hoverStyle?: StyleProp<TextStyle>;
containerStyle?: StyleProp<ViewStyle>;
containerStyle?: CSSProperties | undefined;
}>;

export function A({ href, target, children, style, hoverStyle, containerStyle, ...rest }: AProps) {
Expand Down Expand Up @@ -160,10 +166,10 @@ export function A({ href, target, children, style, hoverStyle, containerStyle, .
}

return (
<View
<span
onPointerEnter={() => setIsHovered(true)}
onPointerLeave={() => setIsHovered(false)}
style={containerStyle}>
style={{ display: 'contents', ...containerStyle }}>
<HtmlElements.A
{...rest}
href={href}
Expand All @@ -173,7 +179,7 @@ export function A({ href, target, children, style, hoverStyle, containerStyle, .
style={[linkStyles, isHovered && linkHoverStyles, style, isHovered && hoverStyle]}>
{children}
</HtmlElements.A>
</View>
</span>
);
}

Expand Down
1 change: 0 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export default withPlugins([withExpo, withImages, withFonts, withBundleAnalyzer]
forceSwcTransforms: true,
webpackBuildWorker: true,
browserDebugInfoInTerminal: true,
clientSegmentCache: true,
useLightningcss: true,
optimizePackageImports: PACKAGES_TO_OPTIMIZE,
},
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,37 +25,37 @@
"@radix-ui/react-tooltip": "^1.2.8",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-picker/picker": "^2.11.4",
"@sentry/react": "^10.25.0",
"es-toolkit": "^1.41.0",
"expo": "54.0.23",
"@sentry/react": "^10.26.0",
"es-toolkit": "^1.42.0",
"expo": "54.0.25",
"expo-font": "^14.0.9",
"next": "^16.0.1",
"next": "^16.0.3",
"node-emoji": "^2.2.0",
"react": "19.2.0",
"react-content-loader": "^7.1.1",
"react-dom": "19.2.0",
"react-easy-linkify": "^1.0.8",
"react-native": "0.82.1",
"react-native-safe-area-context": "^5.6.2",
"react-native-svg": "^15.14.0",
"react-native-svg": "^15.15.0",
"react-native-web": "^0.21.2",
"use-debounce": "^10.0.6"
},
"devDependencies": {
"@expo/next-adapter": "^6.0.0",
"@next/bundle-analyzer": "^16.0.1",
"@prettier/plugin-oxc": "^0.0.4",
"@next/bundle-analyzer": "^16.0.3",
"@prettier/plugin-oxc": "^0.0.5",
"@types/bun": "^1.3.2",
"@types/react": "^19.2.3",
"@types/react": "^19.2.6",
"@vercel/blob": "^0.27.3",
"ajv-cli": "^5.0.0",
"browserslist": "^4.28.0",
"cheerio": "^1.1.2",
"dotenv": "^17.2.3",
"eslint": "^9.39.1",
"eslint-config-next": "^16.0.1",
"eslint-config-next": "^16.0.3",
"eslint-config-universe": "^15.0.3",
"lint-staged": "^16.2.6",
"lint-staged": "^16.2.7",
"next-compose-plugins": "^2.2.1",
"next-fonts": "^1.5.1",
"next-images": "^1.8.5",
Expand Down
68 changes: 32 additions & 36 deletions pages/tools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ import CustomAppearanceContext from '~/context/CustomAppearanceContext';

export default function Tools() {
const { isDark } = useContext(CustomAppearanceContext);

const textColorStyle = {
color: isDark ? colors.gray2 : colors.black,
};

const primaryButtonColorStyle = {
backgroundColor: isDark ? darkColors.primaryDark : colors.primary,
};
const buttonColorStyle = {
backgroundColor: isDark ? darkColors.border : colors.gray3,
color: isDark ? colors.white : colors.black,
Expand All @@ -41,12 +38,7 @@ export default function Tools() {
package inside the built-in editor Command Palette.
</P>
<View style={styles.buttonsContainer}>
<Button
openInNewTab
href="https://github.com/react-native-community/vscode-react-native-directory"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} /> <span>GitHub</span>
</Button>
<GitHubButton href="https://github.com/react-native-community/vscode-react-native-directory" />
<Button
openInNewTab
href="https://marketplace.visualstudio.com/items?itemName=react-native-directory.vscode-react-native-directory"
Expand All @@ -65,12 +57,7 @@ export default function Tools() {
A searchable and filterable list of React Native libraries inside Raycast.
</P>
<View style={styles.buttonsContainer}>
<Button
openInNewTab
href="https://github.com/raycast/extensions/tree/main/extensions/react-native-directory"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} /> <span>GitHub</span>
</Button>
<GitHubButton href="https://github.com/raycast/extensions/tree/main/extensions/react-native-directory" />
<Button
openInNewTab
href="https://www.raycast.com/shubh_porwal/react-native-directory"
Expand All @@ -83,12 +70,7 @@ export default function Tools() {
CLI to check your Expo project for known issues and used libraries compatibility.
</P>
<View style={styles.buttonsContainer}>
<Button
openInNewTab
href="https://github.com/expo/expo/tree/main/packages/expo-doctor"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} /> <span>GitHub</span>
</Button>
<GitHubButton href="https://github.com/expo/expo/tree/main/packages/expo-doctor" />
<Button
openInNewTab
href="https://www.npmjs.com/package/expo-doctor"
Expand All @@ -102,19 +84,14 @@ export default function Tools() {
at once, get detailed insights, and export reports.
</P>
<View style={styles.buttonsContainer}>
<Button
openInNewTab
href="https://github.com/sandipshiwakoti/react-native-package-checker"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} /> <span>GitHub</span>
</Button>
<GitHubButton href="https://github.com/sandipshiwakoti/react-native-package-checker" />
<Button
openInNewTab
href="https://react-native-package-checker.vercel.app/"
style={[styles.button, buttonColorStyle]}>
<span>Website</span>
</Button>
</View>{' '}
</View>
<H3 style={[styles.subHeader, textColorStyle]}>
React Native Package Checker VS Code Extension
</H3>
Expand All @@ -123,12 +100,7 @@ export default function Tools() {
inside VS Code.
</P>
<View style={styles.buttonsContainer}>
<Button
openInNewTab
href="https://github.com/sandipshiwakoti/vscode-react-native-package-checker"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} /> <span>GitHub</span>
</Button>
<GitHubButton href="https://github.com/sandipshiwakoti/vscode-react-native-package-checker" />
<Button
openInNewTab
href="https://marketplace.visualstudio.com/items?itemName=sandipshiwakoti.vscode-react-native-package-checker"
Expand All @@ -149,6 +121,26 @@ export default function Tools() {
);
}

type GitHubButtonProps = {
href: string;
};

function GitHubButton({ href }: GitHubButtonProps) {
const { isDark } = useContext(CustomAppearanceContext);
const primaryButtonColorStyle = {
backgroundColor: isDark ? darkColors.primaryDark : colors.primary,
};
return (
<Button
openInNewTab
href="https://github.com/raycast/extensions/tree/main/extensions/react-native-directory"
style={[styles.button, primaryButtonColorStyle]}>
<GitHub width={16} />
<P style={styles.githubButtonLabel}>GitHub</P>
</Button>
);
}

const styles = StyleSheet.create({
container: {
marginTop: 32,
Expand Down Expand Up @@ -176,6 +168,10 @@ const styles = StyleSheet.create({
paddingHorizontal: 12,
minHeight: 32,
fontSize: 14,
gap: 2,
gap: 6,
},
githubButtonLabel: {
color: 'inherit',
fontSize: 14,
},
});
29 changes: 7 additions & 22 deletions react-native-libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -14580,9 +14580,9 @@
"newArchitecture": true
},
{
"githubUrl": "https://github.com/litecoin-foundation/react-native-turbo-scrypt",
"githubUrl": "https://github.com/litecoin-foundation/react-native-nitro-scrypt",
"examples": [
"https://github.com/litecoin-foundation/react-native-turbo-scrypt/tree/master/example"
"https://github.com/litecoin-foundation/react-native-nitro-scrypt/tree/master/example"
],
"android": true,
"ios": true
Expand Down Expand Up @@ -17455,11 +17455,6 @@
"android": true,
"ios": true
},
{
"githubUrl": "https://github.com/GG11HEDR/react-native-google-places-textinput",
"android": true,
"ios": true
},
{
"githubUrl": "https://github.com/DanielAraldi/react-native-blur-view",
"npmPkg": "@danielsaraldi/react-native-blur-view",
Expand Down Expand Up @@ -18331,9 +18326,7 @@
{
"githubUrl": "https://github.com/BANG88/react-native-markdown/tree/main/packages/react-native-markdown",
"npmPkg": "@hake/react-native-markdown",
"examples": [
"https://github.com/BANG88/react-native-markdown/tree/main/apps/example"
],
"examples": ["https://github.com/BANG88/react-native-markdown/tree/main/apps/example"],
"images": [
"https://raw.githubusercontent.com/BANG88/react-native-markdown/main/screenshots/1.png",
"https://raw.githubusercontent.com/BANG88/react-native-markdown/main/screenshots/2.png",
Expand All @@ -18345,22 +18338,17 @@
"web": true,
"expoGo": true,
"newArchitecture": true
},
{
},
{
"githubUrl": "https://github.com/arbazz/react-native-ocr-fast",
"npmPkg": "react-native-ocr-fast",
"ios": true,
"android": true,
"newArchitecture": true
},
{
"githubUrl": "https://github.com/oblador/react-native-variable-blur",
"npmPkg": "react-native-variable-blur",
"examples": [
"https://github.com/oblador/react-native-variable-blur/tree/master/example"
],
"examples": ["https://github.com/oblador/react-native-variable-blur/tree/master/example"],
"ios": true,
"android": false,
"newArchitecture": true
},
{
Expand All @@ -18373,10 +18361,7 @@
},
{
"githubUrl": "https://github.com/Fiyaz6772/react-native-fn-forms",
"npmPkg": "react-native-fn-forms",
"examples": [
"https://github.com/Fiyaz6772/react-native-fn-forms/tree/main/example"
],
"examples": ["https://github.com/Fiyaz6772/react-native-fn-forms/tree/main/example"],
"ios": true,
"android": true,
"web": true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/queries/GitHubRepositoryQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const GitHubRepositoryQuery = `
url
id
}
repositoryTopics(first: 10) {
repositoryTopics(first: 15) {
nodes {
topic {
name
Expand Down
7 changes: 0 additions & 7 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ export type LibraryType = LibraryDataEntryType & {
dependencies?: number;
};
license: LibraryLicenseType;
lastRelease?: {
name: string;
tagName: string;
createdAt: Date | string;
publishedAt: Date | string;
isPrerelease: boolean;
};
};
npm?: {
downloads?: number;
Expand Down