Currently, prisma-multi-tenant is a single package composed of the CLI and the lib. Side effect of this, is that by adding prisma-multi-tenant into your project, many unnecessary sub-dependencies would be bundled too. (chalk, inquirer, etc..)
Here is the proposed new packages:
@prisma-multi-tenant/shared is the package that contains some code shared between prisma-multi-tenant related packages. It will not have any dependencies.
@prisma-multi-tenant/client is the package that will be added to your project. It will only have one dependency. (@prisma-multi-tenant/shared)
prisma-multi-tenant will be used only for the CLI. It has some dependencies used for a better user experience using the CLI, but it will not be bundled with your project.
Note: All of theses packages will be in this repository.
Using scoped @prisma-multi-tenant packages, it will also help us make new packages for other usages:
@prisma-multi-tenant/nexus for a Nexus Framework plugin
Currently, prisma-multi-tenant is a single package composed of the CLI and the lib. Side effect of this, is that by adding prisma-multi-tenant into your project, many unnecessary sub-dependencies would be bundled too. (chalk, inquirer, etc..)
Here is the proposed new packages:
@prisma-multi-tenant/shared
is the package that contains some code shared between prisma-multi-tenant related packages. It will not have any dependencies.@prisma-multi-tenant/client
is the package that will be added to your project. It will only have one dependency. (@prisma-multi-tenant/shared)prisma-multi-tenant
will be used only for the CLI. It has some dependencies used for a better user experience using the CLI, but it will not be bundled with your project.Using scoped
@prisma-multi-tenant
packages, it will also help us make new packages for other usages:@prisma-multi-tenant/nexus
for a Nexus Framework plugin@prisma-multi-tenant/redwood
for a Redwood plugin@prisma-multi-tenant/blitz
for a Blitz plugin