Skip to content

chore: rename package to react-native-better-maps#30

Closed
piotr-graczyk-dev wants to merge 4 commits into
mainfrom
codex/rename-better-maps
Closed

chore: rename package to react-native-better-maps#30
piotr-graczyk-dev wants to merge 4 commits into
mainfrom
codex/rename-better-maps

Conversation

@piotr-graczyk-dev

Copy link
Copy Markdown
Contributor

Summary

  • rename the public package, workspace, example, docs, and Expo plugin references from react-native-nitro-maps to react-native-better-maps
  • rename the CocoaPods podspec file and podspec package name
  • update Expo plugin source exports from withNitroMaps / NitroMapsPluginOptions to withBetterMaps / BetterMapsPluginOptions

Notes

  • internal native/codegen symbols such as NitroMaps and the example native target remain unchanged because they are tied to Nitrogen-generated native module names
  • example/assets.d.ts was already untracked locally and is intentionally not included

Validation

  • bun install
  • bun run typecheck
  • bun run typecheck:provider-types
  • bun x tsc --noEmit from example/
  • bun run --filter react-native-better-maps test --runInBand --watchman=false
  • git diff --check origin/main...HEAD

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@piotr-graczyk-dev, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 44 minutes and 52 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f760524d-1d08-47cc-b670-9d61ee586b7b

📥 Commits

Reviewing files that changed from the base of the PR and between 87a607e and 9ecd0e7.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • package/package.json
📝 Walkthrough

Walkthrough

The project is renamed from react-native-nitro-maps to react-native-better-maps across package metadata, plugin code, the example app, runtime error text, CI, and documentation. Plugin types and entrypoints also switch from NitroMaps* to BetterMaps*.

Changes

Package Rename: react-native-nitro-maps → react-native-better-maps

Layer / File(s) Summary
Plugin options type and helpers rename
package/plugin/src/types.ts, package/plugin/src/android.ts, package/plugin/src/ios.ts
NitroMapsPluginOptions becomes BetterMapsPluginOptions, and the Android and iOS plugin helper signatures and exported entrypoints use the new names.
Plugin entrypoint wiring
package/plugin/src/withBetterMaps.ts, package/plugin/src/withNitroMaps.ts, package/plugin/src/index.ts
The new withBetterMaps plugin is added, the old withNitroMaps module is removed, and the Expo plugin entrypoint export switches to the Better Maps wiring.
Package manifests and podspec
package/package.json, package.json, package/react-native-better-maps.podspec
Package names, published file lists, repository metadata, root scripts, and the CocoaPods podspec name are updated to the new Better Maps identity.
Example app
example/package.json, example/metro.config.js, example/app.config.js, example/app.json, example/App.tsx, example/examples/types.ts
The example app package name, dependency, Metro resolution key, Expo plugin name, app slug, and example imports switch to react-native-better-maps.
Runtime error strings
package/ios/GoogleMapsAPIKey.swift, package/src/providers.ts
The iOS Google Maps API key error and unsupported-platform provider error now mention react-native-better-maps.
Documentation
CONTEXT.md, CONTRIBUTING.md, README.md, docs/*, package/android/README.md, package/ios/README.md, package/src/native/README.md
Headings, install steps, plugin examples, issue links, architecture text, troubleshooting notes, and native setup docs all use the new project name.
CI test filter rename
.github/workflows/ci.yml
The CI workflow test step now filters Bun tests for react-native-better-maps.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, includes a PR type, and accurately summarizes the package rename to react-native-better-maps.
Description check ✅ Passed The description clearly matches the changes by explaining the package rename, podspec update, and Expo plugin export changes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@piotr-graczyk-dev
piotr-graczyk-dev marked this pull request as ready for review June 28, 2026 18:03
@piotr-graczyk-dev
piotr-graczyk-dev force-pushed the codex/rename-better-maps branch from d65828c to ea51931 Compare June 28, 2026 18:05

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CONTRIBUTING.md`:
- Line 73: The GitHub Issues link still uses the placeholder owner, so update
the CONTRIBUTING docs to replace YOUR_GITHUB with the actual repository owner in
the issues URL. Fix the link text where the issues destination is referenced so
it resolves correctly for readers.

In `@docs/expo-setup.md`:
- Line 44: The `googleMapsApiKey` description in `docs/expo-setup.md` is
inaccurate because it says iOS is a no-op, but the plugin actually uses this
shared key on both platforms when platform-specific keys are missing. Update the
documentation for `googleMapsApiKey` to match the real fallback behavior, and
make sure the wording aligns with the plugin contract alongside the related Expo
config fields.

In `@package/package.json`:
- Around line 57-62: The package metadata is still using the placeholder
repository value, which breaks the npm homepage/issues links and also propagates
into the podspec via repository.url in the react-native-better-maps.podspec
s.source configuration. Update the package.json repository, bugs, and homepage
fields to the real GitHub coordinates, and ensure the podspec reads from the
corrected repository metadata so publish/lint flows point to the actual remote.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8b0ff9e1-1a19-444b-a007-5e0c5df1bcc6

📥 Commits

Reviewing files that changed from the base of the PR and between 58847ed and d65828c.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (26)
  • CONTEXT.md
  • CONTRIBUTING.md
  • README.md
  • docs/adr/0002-google-maps-ios-via-podspec.md
  • docs/architecture.md
  • docs/expo-setup.md
  • example/App.tsx
  • example/app.config.js
  • example/app.json
  • example/examples/types.ts
  • example/metro.config.js
  • example/package.json
  • package.json
  • package/android/README.md
  • package/ios/GoogleMapsAPIKey.swift
  • package/ios/README.md
  • package/package.json
  • package/plugin/src/android.ts
  • package/plugin/src/index.ts
  • package/plugin/src/ios.ts
  • package/plugin/src/types.ts
  • package/plugin/src/withBetterMaps.ts
  • package/plugin/src/withNitroMaps.ts
  • package/react-native-better-maps.podspec
  • package/src/native/README.md
  • package/src/providers.ts
💤 Files with no reviewable changes (1)
  • package/plugin/src/withNitroMaps.ts

Comment thread CONTRIBUTING.md Outdated
Comment thread docs/expo-setup.md Outdated
Comment thread package/package.json Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package/package.json`:
- Around line 57-62: The package metadata still points to the old Nitro Maps
repository, so update the repository, bugs, and homepage URLs in
package/package.json to the new Better Maps project coordinates. Make the change
in the same metadata block so the published package identity matches the rename
and users are sent to the correct repo and issue tracker.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 636e0063-4a58-43bf-a0ce-604301968148

📥 Commits

Reviewing files that changed from the base of the PR and between ea51931 and 3b1fa4d.

📒 Files selected for processing (3)
  • CONTRIBUTING.md
  • docs/expo-setup.md
  • package/package.json
✅ Files skipped from review due to trivial changes (2)
  • CONTRIBUTING.md
  • docs/expo-setup.md

Comment thread package/package.json
@piotr-graczyk-dev piotr-graczyk-dev changed the title [codex] Rename package to react-native-better-maps chore: rename package to react-native-better-maps Jun 28, 2026
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