Caporal.js icon indicating copy to clipboard operation
Caporal.js copied to clipboard

Is this project dead?

Open gilles-crealp opened this issue 3 years ago • 4 comments
trafficstars

No answers from @mattallty since 2020...

gilles-crealp avatar Jun 07 '22 11:06 gilles-crealp

My remarks:

  • I don't know if anyone else has write/merge permissions for this repo.
  • Most of the open PRs are either bots updating dependencies or minor typos. There costs of not merging those PRs aren't particularly high.
  • I personally wouldn't be opposed to being a maintainer of a living fork of this project if there was a need for changes to go ahead.

jhorbulyk avatar Jun 07 '22 16:06 jhorbulyk

Watching with interest, as we use this in a few projects and the warnings are becoming annoying. Would love to move over to a fork if somebody is going to pick it up

ryanrubleycoates avatar Jun 17 '22 02:06 ryanrubleycoates

Caporal.js is now the best solution I've seen. Would love to use a maintained fork.

cah4a avatar Jun 18 '22 05:06 cah4a

I'm using Caporal in my own project (github.com/donmccurdy/glTF-Transform/) and have gotten complaints from downstream users about the npm audit warnings from old dependencies. I have a pretty dim view of npm audit in general, but it would still be nice to keep these dependencies up to date, even if new feature development isn't planned.

After replacing GitHub's dependabot with Renovate (https://github.com/renovatebot/renovate) (free for open source) I've found that quite helpful. It can batch dependency updates into a single PR on a fixed schedule (weekly, monthly, ...) and merge the PR automatically if tests pass. I'd be willing to help set up something like that here if maintainers are interested.

donmccurdy avatar Sep 07 '22 21:09 donmccurdy

We gave up and migrated everything to Commander with minimal pain today, and realized that it shaved about 3MB from our compressed .deb distributions as a bonus. I guess there are a LOT of deps in Caporal for things we didn't even use.

ryanrubleycoates avatar Feb 01 '23 05:02 ryanrubleycoates

I've gone ahead with forking the project, updating dependencies, and publishing a new build on npm as @donmccurdy/caporal. Feel free to use my fork if you'd like:

https://github.com/donmccurdy/Caporal.js

Unless the situation changes on the upstream project, I'll plan to strip down the build system to something I'm more comfortable maintaining, add Renovate for automatic dependency updates, and leave things alone beyond that. I don't have any personal plans to add features or change the API — Caporal has worked really well for me, and migrating to other CLI generators didn't make sense in my project. If others are interested in getting involved within or beyond that scope, feel free to comment over there.

donmccurdy avatar Aug 21 '23 00:08 donmccurdy

Hey - mostly dead as you can see :( The good news is I can work on it again more easily since I just lost my job, but the best advice I could give for now is to use the fork of @donmccurdy: https://github.com/donmccurdy/Caporal.js

My plans are:

  • clean the repo of vulnerabilities
  • work on a v3, but be aware that it will be full of breaking changes since I've a totally different interface in mind.

mattallty avatar Aug 26 '23 23:08 mattallty

@gilles-crealp @cah4a @donmccurdy

I've spent the night re-looking at it. Not really sure it needs a V3 now. I've a PR here that fixes a lot but I'd be happy if some folks could test on some real use cases:

https://github.com/mattallty/Caporal.js/pull/253

mattallty avatar Aug 27 '23 03:08 mattallty

@gilles-crealp @cah4a @donmccurdy

You should be able to test it using npm install @caporal/core@next i've been able to successfully test it on my side

mattallty avatar Aug 27 '23 11:08 mattallty

3.0 has been released (major update because it requires Node 16+) Closing this issue

mattallty avatar Aug 28 '23 11:08 mattallty