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

[DRAFT] TypeScript Vorpal #328

Open
wants to merge 3 commits into
base: 2.0-ts
Choose a base branch
from
Open

[DRAFT] TypeScript Vorpal #328

wants to merge 3 commits into from

Conversation

Ore4444
Copy link

@Ore4444 Ore4444 commented Oct 28, 2018

As discussed in #272:

The focus of this PR will be on re-writing Vorpal in TypeScript without adding/changing any functionality.

@milesj:

Would also make sure the deps are up to date, and probably replace minimist with yargs.

@milesj
Copy link
Contributor

milesj commented Oct 28, 2018

The flow types here might be useful in typing some of the TS stuff: https://github.com/dthree/vorpal/pull/272/files#diff-3a699a0719518f967e9b2df3f5549e02

// "noEmit": true, /* Do not emit outputs. */

/* Strict mode */
"strict": false, /* Enable all strict type-checking options. */
Copy link
Contributor

Choose a reason for hiding this comment

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

Strict mode is preferred.

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I'll change it once TSC gives no errors for strict false.

@OzairP
Copy link

OzairP commented Dec 11, 2018

Any movement on this? I don't mind helping out 😄

@Ore4444
Copy link
Author

Ore4444 commented Dec 12, 2018

@OzairP i added you as a collaborator to my fork. Feel free to add commits. I might have time soon to continue developing it. Meanwhile, I will for sure be able to review your code

@milesj milesj mentioned this pull request Jan 29, 2019
@slinkardbrandon
Copy link

Do you need help getting this fork rolling? I'd be glad to hop on board with it as well. I've noticed the
Vorpal Gitter is pretty active and we could probably get a few other folks from there who may be interested in a maintained version.

@Ore4444
Copy link
Author

Ore4444 commented Feb 21, 2019

@slinkardbrandon any help is welcome. I won't have time to write code soon, but I will be able to review commits and help with what I can. Added you as a collaborator

@hongaar
Copy link

hongaar commented Feb 25, 2019

@OzairP cross posting this from #334 (comment):

Quick update: there's an effort over at https://github.com/vorpaljs-reforged to reforge vorpal by first porting it to TypeScript, update dependencies and maybe fix some bugs in the process.

There's also a Slack community for further discussion about this, feel free to join!

@slinkardbrandon
Copy link

slinkardbrandon commented Feb 25, 2019

Yep and so anyone reading this doesn’t think we’re splitting the effort unintentionally, we’ve pulled in Ore’s work into that org for now while we work. This gives us proper git control and allows us to review all changes before merging into the fork directly.

@b4dnewz
Copy link

b4dnewz commented Apr 5, 2019

is anybody still interested to do this.. I mean contribute to this project?

I've made (not published yet) a complete remake of vorpal (changing also the name) made in typescript, with less code, less buggy, less and up-to-date properties and more features such as project generator (as in oclif), etc...

It has been a long work, I re-wrote the whole code few times before deciding to keep this version, so I'm also kind of jealous and protective about my work.

If anyone is interested to actively help me send a DM on twitter and I can share you permissions for accessing the code.

It's not published yet because I want to avoid the waterfall effect of potential many people switching from vorpal to this new version without being fully tested.

Edit: Btw, vorpal was a great project but it's clearly dead, also the code is a mess, that's why I didn't bother to fork and make a PR.

@huan
Copy link

huan commented Jul 2, 2020

Hi! I'm a TypeScript fan and recently I'm falling in love with vorpal too.

This PR seems a good start of upgrading vorpal to be easy to maintain and use, would love to see it to be merged!

@huan huan mentioned this pull request Jul 2, 2020
11 tasks
@sweethuman
Copy link

Hi! I'm a TypeScript fan and recently I'm falling in love with vorpal too.

This PR seems a good start of upgrading vorpal to be easy to maintain and use, would love to see it to be merged!

As this repo seems to no longer be maintained some folks started work on that right here: https://github.com/vorpaljs-reforged/vorpal

@huan
Copy link

huan commented Jul 4, 2020

@sweethuman Thank you very much for telling me that our community has a TypeScript-ed version of the Vorpal, it looks great!

However, I can not find the NPM module for the vorpaljs-reforged, so how can I install that module, do we need to install it from the GitHub?

Do we have any plan to publish it as a fork version on NPM or our plan is to merge it back to the official vorpal in the future?

@sweethuman
Copy link

It will be published in npm at one point, just use it from github

@hongaar
Copy link

hongaar commented Jul 7, 2020

@huan I'm one of the contributors to the vorpaljs-reforged project, but unfortunately, work on it has slowed down quite a bit in the last 6 months. The vorpal source code is also a bit hard to work with, which is the main reason I decided to create a new project using a similar API to vorpal, maybe you find it useful: https://github.com/hongaar/bandersnatch. Would love to hear what you think!

@huan
Copy link

huan commented Jul 7, 2020

@hongaar Your project looks great, a very nice typing system with a clearer code base!

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.

None yet

8 participants