Closed
Description
Currently the resolveAdapterPath
uses Node's path.parse
method, and examines the dir
property to determine if the adapter path is an npm module name, or a path.
// Check if inboundAdapterPath is a path or node module name
let parsed = path.parse(inboundAdapterPath);
let isPath = parsed.dir.length > 0;
However, this will incorrectly assign scoped packages as paths (e.g. inboundAdapterPath === '@foo/bar'
).
Is there a plan to support scoped packages?