Skip to content

Rename npm package to terra-rt (unscoped, org-team owned)#7

Merged
terra-alex merged 3 commits into
mainfrom
rename-npm-terra-rt
Jul 10, 2026
Merged

Rename npm package to terra-rt (unscoped, org-team owned)#7
terra-alex merged 3 commits into
mainfrom
rename-npm-terra-rt

Conversation

@terra-alex

@terra-alex terra-alex commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Renames the cursedly-named react-native-terra-rt-react (redundant, individually owned by elliottyu) to terra-rt.

Unscoped, to match the org's other SDK packages — terra-react, terra-api, terra-capacitor, terra-graphs, react-native-terra-apple are all unscoped names managed by the tryterra npm org team (only @tryterra/terra-ui is scoped). After the first publish, terra-rt is added to the same org team for parity.

  • package.json name → terra-rt, version 0.2.4 → 0.2.5 (continuity).
  • example imports updated.
  • Native module names (podspec s.name, android com.terrartreact) unchanged — RN autolinking is independent of the npm name, and the bump-terra-rt-react workflows reference the podspec by filename.
  • release_package.yml publishes via npm OIDC trusted publishing (no token) once configured.

First version bootstrap-published manually; thereafter GitHub Releases publish via OIDC.

The old name react-native-terra-rt-react is redundant + individually owned
(elliottyu). Republish as unscoped 'terra-rt' — matching the org's other SDK
packages (terra-react, terra-api, terra-capacitor, terra-graphs are all
unscoped names managed by the tryterra org team) rather than the scoped
@tryterra/terra-ui outlier. Version continues 0.2.4 -> 0.2.5. Native module
names (podspec s.name, android project) unchanged — RN autolinking is
independent of the npm name, and the bump workflows reference the podspec by
filename. Package added to the tryterra org team after first publish.
@terra-alex
terra-alex force-pushed the rename-npm-terra-rt branch from b9bc25f to 5816240 Compare July 10, 2026 16:14
@terra-alex terra-alex changed the title Rename npm package to @tryterra/terra-rt (org-scoped) Rename npm package to terra-rt (unscoped, org-team owned) Jul 10, 2026
'terra-rt' is shorter than the old name, so the named import now fits on one
line — prettier/eslint --fix.
tsconfig paths mapping is what typecheck resolves the local package through —
must match the new npm name. Also README title/install + the not-linked
error message shown to consumers. Native module name (podspec s.name,
CONTRIBUTING dev refs) intentionally unchanged.
@terra-alex
terra-alex merged commit d7edc72 into main Jul 10, 2026
3 checks passed
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