Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#683] Convert commands/packageManager.ts to TS #692

Conversation

moriyuu
Copy link
Contributor

@moriyuu moriyuu commented Sep 10, 2019

Summary:

Part of #683
Converted commands/packageManager.ts to typescript

Test Plan:

yarn test

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Minor things to adjust

packages/cli/src/tools/packageManager.ts Outdated Show resolved Hide resolved
action: 'install' | 'installDev' | 'installAll' | 'uninstall',
options?: Options,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Esemesek you ok with that? Makes sense imho

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. It makes a lot of sense.

@thymikee
Copy link
Member

Please make sure lint passes

@moriyuu
Copy link
Contributor Author

moriyuu commented Sep 10, 2019

@thymikee Should I convert tools/__tests__/packageManager-test.js too?

@thymikee
Copy link
Member

yes please!

@Esemesek Esemesek merged commit 48626dd into react-native-community:master Sep 10, 2019
@moriyuu moriyuu deleted the feature/convert-packagemanager-ts branch December 16, 2020 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants