-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
chore(deps): Upgrade umzug to v3 #742
Conversation
packages/migrations/package.json
Outdated
}, | ||
"devDependencies": { | ||
"@mikro-orm/core": "^4.0.0-rc.1" | ||
"@mikro-orm/core": "^4.0.0-rc.1", | ||
"@types/validator": "^13.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else tests failed 🤷
packages/migrations/package.json
Outdated
"@mikro-orm/core": "^4.0.0-rc.1" | ||
"@mikro-orm/core": "^4.0.0-rc.1", | ||
"@types/validator": "^13.1.0", | ||
"sequelize": "^6.3.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else tests failed 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh jeez, and i though they will make it right when migrating to TS 🤷. nope, i dont want sequalize as dependency, not even dev one.
what were the failures? this sounds like something to report to their project
will try the upgrade myself too to see it in action, if its just about those tiny changes
@B4nan Okay I am sorry I will stop with the upgrade then. There are some unit tests failing and I'd have to do some deeper digging. |
no need to be sorry, its not even your project :] i will take a look, maybe it could work just by having |
What were the issues without having
And that is caused by this line in the tests:
Which was working fine with umzug 2. |
I tried only importing the typing but that doesn't work either because it requires sequelize ^5 for the storage adapter. |
They have two undeclared dependencies right here https://github.com/sequelize/umzug/blob/493e4e8d803b327655ec4b0322bf47cd248b747a/src/storage/sequelize.ts#L2-L3 granted they're only used for types so runtime should work |
Let's close this now, as #741 is working without the need to ugprade, so better to wait for stable release (that will hopefully have that hidden dependency fixed). |
No description provided.