From 15086af148eeb3925e319b26702e89af596ecc94 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Tue, 21 Apr 2026 15:44:42 +0200 Subject: [PATCH] docs(react-native): Use scoped @sentry/cli in sourcemap upload examples The unscoped `sentry-cli` name on npm is held by a personal account that is no longer under Sentry's governance. Route the documented commands through the scope-locked `@sentry/cli` so the registry fallback path cannot resolve to a third-party-maintained package. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../react-native/sourcemaps/uploading/codepush.mdx | 2 +- .../react-native/sourcemaps/uploading/expo-advanced.mdx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/platforms/react-native/sourcemaps/uploading/codepush.mdx b/docs/platforms/react-native/sourcemaps/uploading/codepush.mdx index eebff6885c271..fae0f207751b2 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/codepush.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/codepush.mdx @@ -94,7 +94,7 @@ export SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ To upload source maps for your CodePush release, use the `sourcemaps upload` command. ```bash {tabTitle:Sentry CLI} -npx sentry-cli sourcemaps upload \ +npx @sentry/cli sourcemaps upload \ --debug-id-reference \ --strip-prefix /path/to/project/root \ ./sourcemaps diff --git a/docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx b/docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx index 8004758f27f54..bb8d95229c47d 100644 --- a/docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx +++ b/docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx @@ -139,14 +139,14 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ Upload the bundle and source maps to Sentry: ```bash {tabTitle:Android} -npx sentry-cli sourcemaps upload \ +npx @sentry/cli sourcemaps upload \ --debug-id-reference \ --strip-prefix /path/to/project/root \ index.android.bundle index.android.bundle.map ``` ```bash {tabTitle:iOS} -npx sentry-cli sourcemaps upload \ +npx @sentry/cli sourcemaps upload \ --debug-id-reference \ --strip-prefix /path/to/project/root \ main.jsbundle main.jsbundle.map @@ -203,13 +203,13 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___ Upload the bundle and source map to Sentry: ```bash {tabTitle:Android} -npx sentry-cli sourcemaps upload \ +npx @sentry/cli sourcemaps upload \ --strip-prefix /path/to/project/root \ index.android.bundle index.android.bundle.map ``` ```bash {tabTitle:iOS} -npx sentry-cli sourcemaps upload \ +npx @sentry/cli sourcemaps upload \ --strip-prefix /path/to/project/root \ main.jsbundle main.jsbundle.map ```