This is an extension of #3473, which was closed during issue pruning. This is not the same issue.
Do you want to request a feature or report a bug?
It's a bug.
What is the current behavior?
Installs all package development dependencies when --prod flag set.
If the current behavior is a bug, please provide the steps to reproduce.
yarn add fetch-inject --prod && (cd node_modules && tree -h)
What is the expected behavior?
Only following output is printed to the output buffer when tree is run with -h flag:
fetch-inject
.
└── [ 442] fetch-injects
├── [ 758] LICENSE
├── [ 12K] README.md
├── [ 466] bower.json
├── [ 272] dist
│ ├── [2.5K] fetch-inject.es.js
│ ├── [ 868] fetch-inject.es.min.js
│ ├── [2.5K] fetch-inject.js
│ ├── [ 870] fetch-inject.min.js
│ ├── [2.7K] fetch-inject.umd.js
│ └── [1012] fetch-inject.umd.min.js
├── [ 136] docs
│ ├── [169K] fetch-inject-serviceworker-caching.png
│ └── [178K] fetch-inject-unprimed-cache.png
├── [1.3K] package.json
├── [1.0K] rollup.config.js
├── [ 136] src
│ ├── [1.5K] fetch-inject.js
│ └── [1.0K] injectors.js
└── [ 102] test
5 directories, 15 files
Please mention your node.js, yarn and operating system version.
node -v && yarn -v && system_profiler SPSoftwareDataType
v6.3.1
yarn install v0.24.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 10.63s.
Software:
System Software Overview:
System Version: macOS 10.12.4 (16E195)
Kernel Version: Darwin 16.5.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Josh’s MacBook Pro
User Name: Josh Habdas (jhabdas)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 26 days 1 minute
This is an extension of #3473, which was closed during issue pruning. This is not the same issue.
Do you want to request a feature or report a bug?
It's a bug.
What is the current behavior?
Installs all package development dependencies when
--prodflag set.If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Only following output is printed to the output buffer when
treeis run with-hflag:Please mention your node.js, yarn and operating system version.