guides/releasing/Versions Endpoint.md
The versions endpoint (staging) returns a JSON object containing information that is useful primarily in expo-cli for installing simulator builds, validating package versions, ejecting, and upgrading packages. It can also be used for any other purposes where similar information is required, for example linking to release notes from the website.
To update a key on staging, run et update-versions-endpoint --sdkVersion=35.0.0 --key="myKey" --value="myValue". You will then be shown a diff of your change, which you can approve or reject before the change is commit to staging. To apply this change to production, run et promote-versions-to-production.
As of SDK 34, each SDK version should include a relatedPackages key with at least the following packages:
@types/react@types/react-nativetypescriptreact-native-webbabel-preset-exporeact-native-unimodulesYou can set these using the same update-versions-endpoint script using the dot notation, eg: et update-versions-endpoint --sdkVersion=35.0.0 --key="relatedPackages.@types/react-native" --value="^0.57.65".