-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Switch Optimist with Minimalist -> Deprecation notice #441
Comments
I imagine a PR would be appreciated if you want to contribute one when you have time. |
There is also nomnom which we have been using for https://github.com/facebook/jscodeshift |
If no one is working on this, I'd be willing to do the migration. I guess the question is what would be the best library. Optimist specifically mentions yargs as it's replacement which I believe is 100% compatible, is active, and has a large following. If the argument is that Optimist is deprecated and Jest should be using a non-deprecated library then yargs may be the better solution as there would be code changes if we use Minimist. If we are going to spend any time changing code then we'd probably be better off as @cpojer says and use what the other FB projects are using. |
Sounds good, I'll keep my ear out for this. Tomorrow may be hard for me, but I'll get to it this week. |
Alright, the refactor from #800 has now landed! |
I'm gonna close this because I honestly don't really care much about it. It works just fine. @DmitriiAbramov is thinking of redoing some stuff here, so maybe he can consider to replace this module eventually. |
👍 |
I agree. The deprecation notice itself is not enough for anyone at FB to spend time working on this. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I was running through
bin/jest.js
and noticed that the Optimist plugin issued a deprecation notice and recommends changing to use minimist instead.I would be willing to make this conversion going ahead 👍
The text was updated successfully, but these errors were encountered: