(guix build json-utils): should not be deprecating things that are to be
deprecated in (guix build node-build-system). For things now defined in (guix
build json-utils), opt to re-export rather than define a deprecation, as this
would otherwise cause warnings that cannot be resolved (due to the conflicting
definitions).
* guix/build/json-utils.scm: Export with-atomic-json-file-replacement*. Do not
define/export delete-fields, replace-fields and add-fields. Avoid double
definition of with-atomic-json-file-replacement and modify-json.
* guix/build/node-build-system.scm: Streamline imports/re-exports. Do not
deprecate things that were newly added to (guix build json-utils).
* tests/node.scm: Add (guix build json-utils) import.
This adds a more convenient means to filter out most, but not all, development
dependencies.
* guix/build/node-build-system.scm (%dependency-keys)
(%dev-dependency-keys): New variables.
(delete-dependencies) [#:negate?, #:dependency-keys]: New arguments. Log
removed dependencies.
(delete-dependencies/except, delete-dev-dependencies/except): New procedures.
* tests/node.scm: New test.
* Makefile.am (SCM_TESTS): Register it.