Skip to content

Move all stuff to monorepo? #3169

@dafanasiev

Description

@dafanasiev

Is your feature request related to a problem? Please describe.
Feature request

Describe the solution you'd like
haraka/Haraka depends on many other haraka/* packages (plugins, core...). Its not easy to maintain all of them (and packages deps).
I thinks that monorepo can help with that. Using this solution plugins will be easy to debug and develop.

Describe alternatives you've considered

  • npm workspaces
  • yarn workspaces
  • lerna

Additional context
For example: I try to make PoC (I use master for all haraka/* packages):

$> npm --version
9.6.4
$> node --version
v20.0.0
$> npm i

added 86 packages, and audited 925 packages in 6s

74 packages are looking for funding
  run `npm fund` for details

13 vulnerabilities (6 moderate, 5 high, 2 critical)

$> npm outdated
Package                 Current  Wanted  Latest  Location                                                    Depended by
@elastic/elasticsearch   7.17.0  7.17.0   8.7.0  node_modules/@elastic/elasticsearch                         [email protected]
ldapjs                    1.0.2   1.0.2   3.0.2  node_modules/ldapjs                                         [email protected]
ldapjs                    1.0.2   1.0.2   3.0.2  node_modules/ldapjs                                         [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-net-utils/node_modules/mocha                [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-aliases/node_modules/mocha           [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-karma/node_modules/mocha             [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-limit/node_modules/mocha             [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-recipient-routes/node_modules/mocha  [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-redis/node_modules/mocha             [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-spf/node_modules/mocha               [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-watch/node_modules/mocha             [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-plugin-uribl/node_modules/mocha             [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-tld/node_modules/mocha                      [email protected]
mocha                     9.2.2   9.2.2  10.2.0  packages/haraka-utils/node_modules/mocha                    [email protected]
nodeunit-x               0.15.0  0.15.0  0.16.0  node_modules/nodeunit-x                                     haraka@npm:[email protected]
nopt                      7.0.0   7.0.0   7.1.0  node_modules/nopt                                           haraka@npm:[email protected]
nopt                      7.0.0   7.1.0   7.1.0  node_modules/nopt                                           [email protected]
redis                     4.5.1   4.5.1   4.6.5  node_modules/redis                                          haraka@npm:[email protected]
redis                     4.1.1   4.1.1   4.6.5  packages/haraka-plugin-karma/node_modules/redis             [email protected]
redis                     4.5.1   4.6.5   4.6.5  node_modules/redis                                          [email protected]
redis                     4.5.1   4.6.5   4.6.5  node_modules/redis                                          [email protected]
redis                     4.5.1   4.6.5   4.6.5  node_modules/redis                                          [email protected]
redis                     4.5.1   4.6.5   4.6.5  node_modules/redis                                          [email protected]
redis                     4.5.1   4.6.5   4.6.5  node_modules/redis                                          [email protected]
semver                    7.3.8   7.3.8   7.5.0  node_modules/semver                                         haraka@npm:[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions