Turbopack react-refresh: compare boundary signatures, not exports (#7401)
This:
- Moves `@next/react-refresh-utils` to `devDependencies`, as it is not
used at runtime.
- Updates the version of `@next/react-refresh-utils` to reflect what the
latest Next.js exposes.
- Applies `helpers.getRefreshBoundarySignature` to compare boundary
signatures for determining whether the react refresh boundary should be
invalidated, not exports.
Test Plan: `test/development/acceptance-app/ReactRefreshLogBox.test.ts -
ReactRefreshLogBox app turbo conversion to class component (1)` in
Next.js + Turbopack
Closes PACK-2517