Skip to content

Commit ec78864

Browse files
authored
migrate from dep-check to align-deps (#331)
1 parent 340c602 commit ec78864

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/common/DepCheckAlert.js renamed to src/components/common/AlignDepsAlert.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import React from 'react'
22
import Markdown from './Markdown'
33

4-
const DepCheckAlert = () => (
4+
const AlignDepsAlert = () => (
55
<>
66
<Markdown>
77
You can use the following command to kick off the upgrade: `npx
8-
@rnx-kit/dep-check --set-version [major.minor]`.
8+
@rnx-kit/align-deps --requirements react-native@[major.minor]`.
99
</Markdown>
1010
<br />
1111
<Markdown>
12-
`dep-check` is an OSS tool from Microsoft that automates dependency
12+
`align-deps` is an OSS tool from Microsoft that automates dependency
1313
management. It knows which packages\* versions are compatible with your
1414
specific version of RN, and it uses that knowledge to align dependencies,
1515
keeping your app healthy and up-to-date\*\*. [Find out more
@@ -25,4 +25,4 @@ const DepCheckAlert = () => (
2525
</>
2626
)
2727

28-
export default DepCheckAlert
28+
export default AlignDepsAlert

src/components/common/UsefulContentSection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
import UpgradeSupportAlert from './UpgradeSupportAlert'
1313
import AppNameWarning from './AppNameWarning'
1414
import UsefulLinks from './UsefulLinks'
15-
import DepCheckAlert from './DepCheckAlert'
15+
import AlignDepsAlert from './AlignDepsAlert'
1616

1717
import { PACKAGE_NAMES } from '../../constants'
1818

@@ -212,7 +212,7 @@ class UsefulContentSection extends Component {
212212
<UsefulLinks packageName={packageName} versions={versions} />
213213
) : null}
214214

215-
<DepCheckAlert />
215+
<AlignDepsAlert />
216216

217217
<Separator />
218218

0 commit comments

Comments
 (0)