forked from react-native-community/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate upgrade command to TS and remove legacy implementation (…
…react-native-community#684) * chore: migrate upgrade command to TS * fixup semver.coerce
- Loading branch information
Showing
29 changed files
with
291 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import {Command} from '@react-native-community/cli-types'; | ||
|
||
// @ts-ignore - JS file | ||
import server from './server/server'; | ||
// @ts-ignore - JS file | ||
import bundle from './bundle/bundle'; | ||
// @ts-ignore - JS file | ||
import ramBundle from './bundle/ramBundle'; | ||
// @ts-ignore - JS file | ||
import link from './link/link'; // eslint-disable-line | ||
// @ts-ignore - JS file | ||
import unlink from './link/unlink'; // eslint-disable-line | ||
// @ts-ignore - JS file | ||
import install from './install/install'; // eslint-disable-line | ||
// @ts-ignore - JS file | ||
import uninstall from './install/uninstall'; // eslint-disable-line | ||
import upgrade from './upgrade/upgrade'; | ||
// @ts-ignore - JS file | ||
import info from './info/info'; // eslint-disable-line | ||
// @ts-ignore - JS file | ||
import config from './config/config'; // eslint-disable-line | ||
// @ts-ignore - JS file | ||
import init from './init'; | ||
// @ts-ignore - JS file | ||
import doctor from './doctor'; | ||
|
||
export default [ | ||
server, | ||
bundle, | ||
ramBundle, | ||
link, | ||
unlink, | ||
install, | ||
uninstall, | ||
upgrade, | ||
info, | ||
config, | ||
init, | ||
doctor, | ||
] as Command[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.