I've raised bugs on <yarn> and new <npm> repos reg...
# javascript
b
I've raised bugs on yarn and new npm repos regarding incorrect bundledDependencies resolution when installing packages. Can you guys vote on them to get it fixed, since bundled dependencies are pretty much required for publishing kotlin/js packages to npm given how many of kotlin/js libraries are not being published there.
👍 1
r
Shouldn't your
package.json
contain these deps only in
bundledDependencies
section, and not as standard
dependencies
as well?
b
According to the docs it has to be in dependencies as well. But I've tried both ways and neither works.
I've found a hack for this to make it work when installing via npm (using custom npm-shrinkwrap.json) but it still fails at all times with yarn.
r
https://github.com/yarnpkg/yarn/issues/5998 looks like this problem was reported long time ago
🤦‍♂️ 1
b
Found some dead similar issues on archived npm repo as well (still open ofc...)