flow-upgrade 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A utility for upgrading your codebase to the latest version of Flow.
|
|
4
4
|
|
|
5
|
-
To run this utility to upgrade your codebase you can use
|
|
5
|
+
To run this utility to upgrade your codebase you can use `yarn create`:
|
|
6
6
|
|
|
7
7
|
[`yarn create`]: https://yarnpkg.com/en/docs/cli/create#search
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ yarn global add flow-upgrade
|
|
|
17
17
|
flow-upgrade
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
You may also use
|
|
20
|
+
You may also use `npx`:
|
|
21
21
|
|
|
22
22
|
[`npx`]: https://www.npmjs.com/package/npx
|
|
23
23
|
|
|
@@ -25,6 +25,8 @@ You may also use [`npx`][]:
|
|
|
25
25
|
npx flow-upgrade
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
We expect `prettier` to be installed as a [peer dependency](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependencies) wherever you are running `flow-upgrade`.
|
|
29
|
+
|
|
28
30
|
## Options
|
|
29
31
|
|
|
30
32
|
### `all`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flow-upgrade",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A utility for upgrading your codebase to the latest version of Flow.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"bin": {
|
|
13
|
-
"flow-upgrade": "./dist/bin/
|
|
13
|
+
"flow-upgrade": "./dist/bin/upgrade.js",
|
|
14
14
|
"flow-codemod": "./dist/bin/runSpecificCodemod.js"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|