Skip to content

fix(expo-ui-swift-ui): correct import path from @expo-ui/swift-ui to @expo/ui/swift-ui#50

Open
xiaolai wants to merge 1 commit into
expo:mainfrom
xiaolai:fix/nlpm-swift-ui-import-path
Open

fix(expo-ui-swift-ui): correct import path from @expo-ui/swift-ui to @expo/ui/swift-ui#50
xiaolai wants to merge 1 commit into
expo:mainfrom
xiaolai:fix/nlpm-swift-ui-import-path

Conversation

@xiaolai

@xiaolai xiaolai commented Apr 27, 2026

Copy link
Copy Markdown

Automated audit: This PR was generated by NLPM, a natural language programming linter, running via claude-code-action. Please evaluate the diff on its merits.

Bug

The code example in plugins/expo/skills/expo-ui-swift-ui/SKILL.md (line 27) imports from @expo-ui/swift-ui, but the frontmatter description and install instructions consistently reference @expo/ui/swift-ui. These are different package paths — @expo-ui/swift-ui does not exist as a published package, so any developer copying the example import verbatim will get a Cannot find module error at runtime.

Fix: Change the import path in the code example to match the correct package path used everywhere else in the file.

-import { Host, VStack, RNHostView } from "@expo-ui/swift-ui";
+import { Host, VStack, RNHostView } from "@expo/ui/swift-ui";

The import statement used '@expo-ui/swift-ui' which is a non-existent
package. The correct path is '@expo/ui/swift-ui', matching the install
command and frontmatter description.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@xiaolai xiaolai force-pushed the fix/nlpm-swift-ui-import-path branch from 6c3cbf3 to ed3fb41 Compare April 27, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant