MCPcopy Index your code
hub / github.com/craftreactnative/ui / isNativeDependency

Function isNativeDependency

cli/src/commands/init.ts:348–354  ·  view source on GitHub ↗
(packageName: string)

Source from the content-addressed store, hash-verified

346}
347
348function isNativeDependency(packageName: string): boolean {
349 return (
350 packageName.includes("react-native-svg") ||
351 packageName.includes("react-native-reanimated") ||
352 packageName.includes("react-native-gesture-handler")
353 );
354}
355
356async function showSetupInstructions(installedDeps: string[]): Promise<void> {
357 const installedReanimated = installedDeps.some((dep) =>

Callers 2

initCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected