Skip to content

Commit

Permalink
fix: include all dep types when building for prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 18, 2021
1 parent 745265a commit b76f51a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/fetcher.js
Expand Up @@ -119,6 +119,10 @@ class FetcherBase {
'--no-progress',
'--no-save',
'--no-audit',
// override any omit settings from the environment
'--include=dev',
'--include=peer',
'--include=optional',
]
}

Expand Down
6 changes: 6 additions & 0 deletions tap-snapshots/test/fetcher.js-fake-sudo.test.cjs
Expand Up @@ -43,6 +43,9 @@ Array [
"--no-progress",
"--no-save",
"--no-audit",
"--include=dev",
"--include=peer",
"--include=optional",
]
`

Expand All @@ -56,6 +59,9 @@ Array [
"--no-progress",
"--no-save",
"--no-audit",
"--include=dev",
"--include=peer",
"--include=optional",
]
`

Expand Down
6 changes: 6 additions & 0 deletions tap-snapshots/test/fetcher.js.test.cjs
Expand Up @@ -43,6 +43,9 @@ Array [
"--no-progress",
"--no-save",
"--no-audit",
"--include=dev",
"--include=peer",
"--include=optional",
]
`

Expand All @@ -56,6 +59,9 @@ Array [
"--no-progress",
"--no-save",
"--no-audit",
"--include=dev",
"--include=peer",
"--include=optional",
]
`

Expand Down

0 comments on commit b76f51a

Please sign in to comment.