Npm-check-updates: v3 ROADMAP

Created on 10 Jan 2019  路  8Comments  路  Source: raineorshine/npm-check-updates

This issue track progress towards a v3 release. Comments related to individual items should go in their respective issues.

The most important is #440 (es6) and #350 (switching to system npm). The conversion to es6 needs to happen before any other changes can really be made to the codebase.

All 8 comments

I'm interested in doing #440. Would it be preferable to do the rewrite with Typescript?

Hey @raineorshine! Just wanted to drop in and say that there was some work regarding #440 that I did which can be tracked here: https://github.com/tjunnone/npm-check-updates/tree/es6 It was branched off of v3. All the changes have been done using codemods. The commit log should be helpful to see which ones. However, I don't think I will have the bandwidth to take it forward anytime soon. So feel free to use that as the base to build towards complete es6 support. The branch won't be useful if rewriting in Typescript is something that is planned.

@j0nas Thanks! I would prefer not to do this project in Typescript though. Just updating the code to es6 will be a nice improvement.

@karanjthakkar Thanks for the followup and the work you did so far!

I can merge karan's branch onto v3 when I get the chance. You are welcome to as well @j0nas just not sure how bad the merge conflicts will be. If they are bad, might be worth running the codemods again from scratch.

Yes, please merge the branch. I can start looking at the remaining ES6 migrations once we have a common point of reference.

  • [x] Merged
  • [x] All tests pass

I think @karanjthakkar's es6 modifications via js-codemod accomplish the major goal of upgrading to more modern syntax. The exact transformations were:

  • use-strict
  • unquote-properties
  • template-literals
  • object-shorthand
  • no-vars
  • arrow-function (I did this earlier in the v3 branch)

Take a look at the code (e.g. lib/versionmanager.js) and if there is something I am missing please mention it! Otherwise we may be ready to get into functional v3 milestones.

@raineorshine Checked out the code, raised https://github.com/tjunnone/npm-check-updates/pull/473 to address couple of minor things.

@kibertoad I cleaned up the v3 milestone and added some comments for clarification. All that is left for a v3 release are two issues: #368 and #438!

Would love the help in getting those resolved! If you have any questions, please post in the respective issues. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fatso83 picture fatso83  路  3Comments

evgenyrodionov picture evgenyrodionov  路  4Comments

ibc picture ibc  路  7Comments

dereklin picture dereklin  路  6Comments

nicksarafa picture nicksarafa  路  6Comments