I’m using yarn workspace to develop a library that will be published on NPM. The library is dependent on a private core package in the same workspace. My understanding is that the workspace should bundle the dependency from the workspace into the library. The core package is listed as a devDependency
of the library
I think I have up the workspace and packages correctly according to the yarn workspaces docs
I’ve recreated my issue as an example. Here is my repo, and here’s the package on the NPM registry
When I install the library in an application I get Error: Module not found: Error: Can't resolve 'jakelo123-core' in '/Users/jakeloew/chalk/fusionauth/angular-quickstart/complete-application/node_modules/jakelo123-user-lib/dist'
— the module containing the internal dependency is not found.