chore: specify package type [skip-ci]#10849
Conversation
nicolo-ribaudo
left a comment
There was a problem hiding this comment.
I'm really looking forward to Yarn 2 when we'll be able to use https://next.yarnpkg.com/features/constraints
|
While this PR doesn't add any new feature, I would prefer to merge it in v7.8.0. Since it changes every package, it will cause every package of the monorepo to be published even if the code is the same. |
|
@nicolo-ribaudo I am also going to add |
|
Since this PR is quite simple, you push the |
|
I have added the |
This reverts commit e8dac62. Fixes installs when using npm <= 3.9.5 (Node.js <= 6.2.2)
Per Node.js ECMAScript Modules Docs, package should include "type" field and be explicit about it.