Some time ago we started migrating CLI to TS package by package. The infrastructure is already set up, so we can work with TS and Flow files without issues.
Currently all packages except for packages/cli are converted. We need your help in converting the rest of the codebase 馃挭.
If you'd like to help with migrating any of the packages mentioned below, please leave a comment and we'll assign it to you.
Commands live in separate directories. It makes sense to tackle them one by one.
Tools are helpers we use throughout the cli package. They have corresponding test files, which can be found in commands/tools/__tests__ directory. Those should also be converted.
src/Let's tackle this once we have all commands converted.
馃憢 Hey stranger ; D
I'm happy to give it a shot. I'd like to try to start with something small like commands/info. Could use some guidance about what to do about ConfigT from types which seems to be the only imported flow type.
Hey! You can find shared types like Config, Command etc in @react-native-community/cli-types package.
I would like to work in config if that's ok.
Would love to take the 藡doctor` command!
@netochaves @thib92 go for it!
I was pulling the thread on tools/releaseChecker so I can pull that and replacePathSepForRegex + walk + yarn in too.
I can tackle the commands/init 馃
I will like to tackle commands/install
I'd like to help with commands/tools/merge.js
I'd like to help with commands/tools/copyFiles.js 馃憤
I can help with link command
I'd like to work with commands/tools/copyAndReplace.js!
I'd like to help with command/tools/findSymlinkedModules.js 馃憢
I'd like to help with commands/tools/assertRequiredOptions.js馃挭
I'd like to help with commands/tools/packageManager.js !
I can do loadMetroConfig.js, isValidPackageName.js and assign.js
There's only 5 files/directories left unassigned. You are amazing! 馃挄
EDIT: Nothing left!
I'd like to help with commands/tools/generator/ 馃榿
Hey, I do like to start helping with
commands/tools/gracefulifyFs.js and then take something bigger. :D
Btw, it seems commands/tools/install.js is done
I'd like to help with commands/bundle 馃槃
I would like to help with commands/tools/config/
WIP MR https://github.com/react-native-community/cli/pull/710
I would like to help if there are any files left, not yet taken
@Noeza you could take a look at __e2e__ directory and convert tests. We would also use some help with reviewing PRs :)
I want to raise my hand for the next help!
I can also help with code review or for converting tests.
Anything else to grab? I helped migrate the Refined GitHub extension to TS. Happy to work on any part of this.
Looks like we're out of work that's not assigned to anybody. But maybe we missed something, so feel free to identify that. If not, code review is always welcome. Or PRs improving type coverage!
@nitaking @Sly777 @nickytonline
I am struggling with this PR https://github.com/react-native-community/cli/pull/710 . Can you help me with this ?
I'll take a peek tonight @ptrocki.
We have just replaced the remaining files as a part of #783.
Most helpful comment
Looks like we're out of work that's not assigned to anybody. But maybe we missed something, so feel free to identify that. If not, code review is always welcome. Or PRs improving type coverage!