Skip to content

Is directus necessary as a dependency? #9

@aurelsziebert

Description

@aurelsziebert

The directus package is installed as a dependency, but I am not sure why. As I ran over the source code I saw imports only from @directus/shared package what can be installed separately - it is not necessary to install the whole ecosystem for this subpackage. In my opinion, this practice is problematic on conceptual level anyway, because it is an extension of a system, so it shouldn't contain the whole system again.

Actually it cases a problem for us, because we use an own forked version of Directus API, and Directus App, but the original versions of these packages come with this extension, and these original codes start to work on startup instead of our forked versions.

Is it possible to uninstall directus, and install @directus/shared package directly instead?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions