I've checked the reproduction repository provided at https://github.com/kysely-org/kysely-ctl/issues/26, and it appears to be that preventAwaiting AlterColumnBuilder outside of its own file was causing this issue in the given CommonJS setup.
I believe the preventAwait being in the wrong file was caused by an incomplete extraction refactor, and should be in AlterColumnBuilder's file anyway.
Hey 👋
I've checked the reproduction repository provided at https://github.com/kysely-org/kysely-ctl/issues/26, and it appears to be that
preventAwait
ingAlterColumnBuilder
outside of its own file was causing this issue in the given CommonJS setup.I believe the
preventAwait
being in the wrong file was caused by an incomplete extraction refactor, and should be inAlterColumnBuilder
's file anyway.