Skip to content

fix: sync package-lock.json with bumped devDependencies and add legacy-peer-deps#18

Merged
channel101 merged 2 commits intodependabot/npm_and_yarn/dev-deps-d010db5839from
copilot/sub-pr-16-again
Mar 6, 2026
Merged

fix: sync package-lock.json with bumped devDependencies and add legacy-peer-deps#18
channel101 merged 2 commits intodependabot/npm_and_yarn/dev-deps-d010db5839from
copilot/sub-pr-16-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 6, 2026

npm ci would fail after the dev-deps bump in #16 because package-lock.json was never regenerated to match the updated package.json versions.

Changes

  • .npmrc: Added legacy-peer-deps=true — required because @react-native/eslint-config@0.84.1 only declares peer support for eslint ^8‒9, while the bump targets eslint ^10.x
  • package-lock.json: Regenerated to reflect bumped versions (eslint ^10.0.2, @eslint/js ^10.0.1, @react-native/babel-preset 0.84.1, @react-native/eslint-config 0.84.1, react-native 0.84.1)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>
Copilot AI changed the title [WIP] Update to address feedback on dev-deps group fix: sync package-lock.json with bumped devDependencies and add legacy-peer-deps Mar 6, 2026
@channel101 channel101 marked this pull request as ready for review March 6, 2026 12:53
@channel101 channel101 added bug Something isn't working dependencies labels Mar 6, 2026
@channel101 channel101 merged commit aff655c into dependabot/npm_and_yarn/dev-deps-d010db5839 Mar 6, 2026
channel101 added a commit that referenced this pull request Mar 6, 2026
* chore(deps-dev): bump the dev-deps group with 5 updates

Bumps the dev-deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.39.3` | `10.0.1` |
| [@react-native/babel-preset](https://github.com/facebook/react-native) | `0.84.0` | `0.84.1` |
| [@react-native/eslint-config](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native) | `0.84.0` | `0.84.1` |
| [eslint](https://github.com/eslint/eslint) | `9.39.3` | `10.0.2` |
| [react-native](https://github.com/facebook/react-native/tree/HEAD/packages/react-native) | `0.84.0` | `0.84.1` |


Updates `@eslint/js` from 9.39.3 to 10.0.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v10.0.1/packages/js)

Updates `@react-native/babel-preset` from 0.84.0 to 0.84.1
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](facebook/react-native@v0.84.0...v0.84.1)

Updates `@react-native/eslint-config` from 0.84.0 to 0.84.1
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react-native/commits/v0.84.1/packages/eslint-config-react-native)

Updates `eslint` from 9.39.3 to 10.0.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.3...v10.0.2)

Updates `react-native` from 0.84.0 to 0.84.1
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react-native/commits/v0.84.1/packages/react-native)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-deps
- dependency-name: "@react-native/babel-preset"
  dependency-version: 0.84.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: "@react-native/eslint-config"
  dependency-version: 0.84.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: eslint
  dependency-version: 10.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-deps
- dependency-name: react-native
  dependency-version: 0.84.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps-dev): keep ESLint on ^9 for @react-native/eslint-config compatibility (#17)

* Initial plan

* fix(deps-dev): revert eslint and @eslint/js to ^9 for @react-native/eslint-config compatibility

Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>

* fix: sync package-lock.json with bumped devDependencies and add legacy-peer-deps (#18)

* Initial plan

* fix: regenerate package-lock.json and add .npmrc for legacy-peer-deps

Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>

* fix(dependencies): lock file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: channel101 <202932523+channel101@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants