fix(deps): declare invariant devDependency for pnpm nodeLinker
The `scripts/releases/__tests__/snapshot-utils.js` helper does
`require('invariant')`, but `invariant` was never declared in the root
workspace manifest. Under the old `nodeLinker: node-modules` (hoisted)
layout it resolved transitively, so the gap was invisible. After the
0.83 merge brought in `nodeLinker: pnpm` (#3010), the strict `.store/`
layout no longer hoists it, so Jest fails with "Cannot find module
'invariant'" and takes down the dotslash release-asset test suites
(12 tests across 2 suites).
Add `invariant@^2.2.4` (the version already used elsewhere in the tree)
to the root devDependencies and refresh the lockfile.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> S
Saad Najmi committed
9fbf44079eef89be5d73459b87b048dad7d8bd25
Parent: 9d5ccba