mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
guix: node-build-system: Delete from peerDependencies too.
The current version of npm in Guix installs peerDependencies by default, whereas previously it would just warn about missing/wrong packages. Fixes <https://issues.guix.gnu.org/issue/64203>. * guix/build/node-build-system.scm (delete-dependencies): Remove supplied dependencies from peerDependencies field too.
This commit is contained in:
parent
7f3c6d3b3b
commit
37c2e94cec
1 changed files with 2 additions and 1 deletions
|
@ -208,7 +208,8 @@ (define delete-from-jsobject
|
|||
(jsobject-update*
|
||||
pkg-meta
|
||||
`("devDependencies" ,delete-from-jsobject (@))
|
||||
`("dependencies" ,delete-from-jsobject (@))))))
|
||||
`("dependencies" ,delete-from-jsobject (@))
|
||||
`("peerDependencies" ,delete-from-jsobject (@))))))
|
||||
|
||||
(define* (delete-lockfiles #:key inputs #:allow-other-keys)
|
||||
"Delete 'package-lock.json', 'yarn.lock', and 'npm-shrinkwrap.json', if they
|
||||
|
|
Loading…
Reference in a new issue