maoberlehner / storyblok-migrate

Storyblok schema migrations
MIT License
30 stars 7 forks source link

upgrade dependencies to allow use in projects using corejs 3 #10

Closed heresandyboy closed 4 years ago

heresandyboy commented 4 years ago

storyblok-migrate is currently incompatible when used in any projects with dependencies on versions of corejs3. I recently submitted changes that were merged in https://github.com/storyblok/gatsby-source-storyblok/issues/27 to fix the same issues with using that package, this project needs to be updated to use the latest version of storyblok-js-client which has support for corejs3 so I've upgraded the dependencies here too.

Errors like Cannot find module core-js/modules/es6.regexp.split occur unless all upstream dependencies are using corejs3+ This was a breaking change in corejs3 where all modules were moved to 'es. . ' instead of the es version number.

I have successfully been able to run migrations and backups in my project using this branch when yarn linked to it.

maoberlehner commented 4 years ago

Thanks!