-
Notifications
You must be signed in to change notification settings - Fork 280
Split Dredd into multiple projects #704
Comments
When this happens, investigate whether lerna wouldn't help with managing. (Thanks @XVincentX for the tip.) |
When you say multiple projects, do you mean multiple repos? |
That is an implementation detail to be decided. I mean multiple packages in the first place. |
I'm going to make this a ticket tracking our "monorepo" efforts, which are currently under-documented and scattered all over our repositories. I think the initial ideas were formulated around this conversation #600 (comment), then it was further discussed in Apiary internally (Slack link to the initial message, for employees) and also externally with the original Dredd author @netmilk. This issue was created to make the intention public, but I'm not sure it sums up all the reasoning sufficiently. Issues apiaryio/gavel.js#126 and apiaryio/dredd-transactions#252 were created, but unlinked from any other mentions of the decisions behind. There are additional mentions of the "future monorepo" in https://github.com/apiaryio/dredd-transactions/issues/105#issuecomment-346317514 or in #1186. The v7 of Dredd Transactions is one of the first steps in the effort, splitting parsing and compilation into two distinct modules (packages, if you want). Reasons for the monorepo and additional notes
Plan
|
For Dredd it would make sense to split into multiple projects:
dredd
- command line tooldredd-core
- the core functionality of Dredd, without the command-line interfacedredd-hooks
- support for hooks, communication with hook handlersdredd-transactions
- parses API description and outputs a list of HTTP transactions to executeThis would make easier to use Dredd also in other environments than CLI (imagine all kinds of integrations, such as the one @XVincentX did for Visual Studio Code).
The text was updated successfully, but these errors were encountered: