Commit c6a9f87
chore(runway): cherry-pick chore(deps): ramps-controller preview for MetaMask/core#8251 -> cp-7.71.0 (#27823)
- chore(deps): ramps-controller preview for MetaMask/core#8251 ->
cp-7.71.0 (#27709)
## **Description**
Integration PR to validate **MetaMask/core** changes in mobile CI/E2E by
resolving `@metamask/ramps-controller` from a **preview** npm package
(`previewBuilds` in `package.json` + updated `yarn.lock`). No
application code changes.
**Core PR:** MetaMask/core#8251
After core merges and a **released** version is published, this PR
should be updated to remove `previewBuilds` and bump `dependencies` to
the real version before merge.
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes: N/A (validation / dependency preview only)
## **Manual testing steps**
```gherkin
Feature: ramps-controller preview validation
Scenario: app resolves preview package
Given a clean install from this branch
When the app bundles and runs
Then @metamask/ramps-controller resolves to the preview version from previewBuilds
Scenario: ramps flows still work
Given the app is built from this branch
When user exercises on-ramp flows that use ramps-controller
Then no regressions vs main (same UX; underlying package is preview)
```
## **Screenshots/Recordings**
N/A — dependency-only change.
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [ ] I've included tests if applicable
- [ ] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
---
<!-- Optional: paste below into GitHub if you use Cursor Bugbot summary
-->
> [!NOTE]
> **Low Risk**
> Low risk because this is a dependency source/version switch for
`@metamask/ramps-controller` with no application code changes; main risk
is behavior changes introduced by the preview package at runtime.
>
> **Overview**
> Switches `@metamask/ramps-controller` to a **preview build** via
`previewBuilds` in `package.json` and `yarn.lock` (e.g.
`@metamask-previews/ramps-controller@12.0.0-preview-434bd0c`). Update
the preview version string if the bot publishes a newer build for
core#8251.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk patch-level dependency update; main risk is any runtime
behavior changes in `@metamask/ramps-controller` affecting ramp flows,
plus potential test fixture mismatches if state shape changes again.
>
> **Overview**
> Updates `@metamask/ramps-controller` from `12.0.0` to `12.0.1`
(including lockfile resolution changes).
>
> Aligns the default E2E/unit fixture (`default-fixture.json`) with the
newer `RampsController` state shape by adding persisted sub-state for
countries, providers/payment methods/tokens, native provider (Transak)
auth/kyc/user details, requests, and orders.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0b2fc2f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
[4a4f0ae](4a4f0ae)
Co-authored-by: Yu-Gi-Oh! <54774811+imyugioh@users.noreply.github.com>1 parent 8d1b7c0 commit c6a9f87
3 files changed
Lines changed: 55 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
483 | 532 | | |
484 | 533 | | |
485 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9387 | 9387 | | |
9388 | 9388 | | |
9389 | 9389 | | |
9390 | | - | |
9391 | | - | |
9392 | | - | |
| 9390 | + | |
| 9391 | + | |
| 9392 | + | |
9393 | 9393 | | |
9394 | 9394 | | |
9395 | 9395 | | |
9396 | 9396 | | |
9397 | | - | |
| 9397 | + | |
9398 | 9398 | | |
9399 | 9399 | | |
9400 | 9400 | | |
| |||
35597 | 35597 | | |
35598 | 35598 | | |
35599 | 35599 | | |
35600 | | - | |
| 35600 | + | |
35601 | 35601 | | |
35602 | 35602 | | |
35603 | 35603 | | |
| |||
0 commit comments