-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors loading CLI dependencies in nextjs project but they are not needed #677
Comments
Also the CLI dependencies has a big impact on loading time. On an app deployed on Google Cloud Run requiring Umzug takes ~700ms, ~650 of them are the require of Would you accept a PR that removes the cli from the default That would be a BC and would require a v4, but it would speed up bootstrap of all apps that use Umzug only through it's node API. |
I'm looking into moving to https://github.com/mmkal/trpc-cli instead. It has dependencies too, but none big. Hopefully that will be enough. |
👍 |
+1 I am working on adding umzug to Audiobookshelf and had an issue Please consider separating the CLI from the main umzug package. |
Hi I am using umzug
"umzug": "^3.8.1
in a nextjs project and run the migration programmatically.I was wondering if the dependencies for the CLI can be loaded dynamically as I have the impression they generate errors and are not needed.
This is what the error trace I have:
I am using the
MongoDBStorage
in my Umzug configuration.The text was updated successfully, but these errors were encountered: