We recently realized (#383) that TypeScript fails to compile when including Unmock as a dependency if there are any imports from src/ directories.
In the case of #383 (fixed in #384), the src directory is not packaged (only the dist one is), unmock-node cannot find unmock-core/src. It'd be good to hoist all imports to a top-level namespace, and having a linting step to check for that would help catch any potential bugs.
We recently realized (#383) that TypeScript fails to compile when including Unmock as a dependency if there are any imports from
src/
directories.In the case of #383 (fixed in #384), the
src
directory is not packaged (only thedist
one is),unmock-node
cannot findunmock-core/src
. It'd be good to hoist all imports to a top-level namespace, and having a linting step to check for that would help catch any potential bugs.