np
np copied to clipboard
yolo in package.json is ignored
Description
np
key is present in package.json
with yolo
set to true
"np": {
"yarn": false,
"contents": "dist",
"yolo": true
},
But when running the command np
, yolo
is ignored.
it only works cli: np --yolo
Steps to reproduce
as defined in my package: https://github.com/yairEO/color-picker
Expected behavior
yolo
should work and not install dependencies (which takes ~5 minutes on my small project!)
Environment
np - 7.0.0
Node.js - 15.4.0
npm - 7.0.15
Git - 2.27.0.windows.1
OS - Windows 10
I couldn't reproduce this bug on my windows 10 with np 7.0.0
. Yolo worked correctly when I tried in the cli and also in the package.
Your package.json
looks good. Any more information you have on how to reproduce this bug will be helpful.
Bummer, that's the worst...not able to reproduce a bug. Well, I don't know what more to tell you.. I don't have any np
configuration file which overrides package.json
, so at least that is out of the way.
This happens everywhere I use np
on actually. (np
installed globally)
Well, great package and thank you very much for creating it, regardless of my issue
This is still happening BTW. For years, (on my amazing super-better-than-shitty-mac Windows 10 machine)