Proposal: Move out DoneJS Dependencys to Generator

Open
#63 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
cli

Research direction

Start by reviewing how the DoneJS CLI handles donejs add app and donejs add plugin, then compare that with the generator responsibilities described in the issue. Done would mean moving the dependency and generator-related responsibilities into the generator while preserving the donejs add workflow and leaving room for alternative installers such as Yarn.

Written by the indexing model from the issue text.

Description

enhancement

I Engineered a lot on new versions of the donejs cli and donejs. As a passionated developer, I determined that the dependencies for donejs add app shouldn't be in this project at all. They should get added to the generator. This way projects are easy updatable and all that via installing a new generator.

This way we could move out all the code to other generators. For example, parts like donejs add app, donejs add plugin and that to the generator we give it a bin "add". This way we can strip out all parts from donejs cli that have to do with the generator and can then do donejs add and it will run the add binary from the generator-donejs.
This way we are more cool more stable and easyer update able.
We can also then implement other alternative installers like Yarn as well.

greetings.

Hope that makes sense :D

Dominant language
JavaScript
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from donejs/cli

All issues in donejs/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.