liftoff
liftoff copied to clipboard
modulePath is undefined when invoked from a namespaced npm module

When I invoke CLI on my namespaced package @capaj/knex it doesn't get any modulePath passed to it.
Perhaps you need to set '@capaj/knex' to opts.moduleName of Liftoff constructor.
@sttk if opts.moduleName were specified as the namespaced module, wouldn't the file need to be named something like @capaj/knexfile.js? That would be super weird. Can we add a test for this?