gulpjs / liftoff

Launch your command line tool with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modulePath is undefined when invoked from a namespaced npm module

capaj opened this issue · comments

image

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?