adonisjs/lucid

`@adonisjs/lucid/migration` is not exported

Closed this issue · 0 comments

Package version

20.0.0

Describe the bug

In the documentation has an explanation to how run a migration programmatically: https://lucid.adonisjs.com/docs/migrations#running-migrations-programmatically

But the path @adonisjs/lucid/migration is not exposed in package.json. So is not possible to do this import, to resolve this problem is just add the migration folder to exports in package.json.

e.g: I added the steps to reproduce in README on Reproduction repo

Reproduction repo

https://github.com/vianaz/migration-folder-bug