nodejs-packaging/test/bundled_namespace/nodejs.req.err.exp
Stephen Gallagher 2e5760403e Fix incorrect flag for fedpkg scratch-build
bundler: Handle deprecated license metadata

Adds support for archaic forms of the license metadata in
package.json where the license field is an object rather than a
string.

Also removes the need to post-process the 'null' entries.

Resolves: rhbz#1920206

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

bundler: Add warning for deps missing license tag

Resolves: rhbz#1920223

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

Spec: fix line-length for rpmlint

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

Update to 2021.06

bundler: Handle archaic license metadata
bundler: Warn about bundled dependencies with no license metadata

Actually use the value of OUTPUT_DIR when copying bundled sources in nodejs-packaging-bundler

In nodejs-packaging-bundler, use %{_sourcedir} for output

Fixes RHBZ#1974709

Fix hard-coded output directory in the bundler

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>

fix typos

nodejs.prov: find namespaced bundled dependencies

The previous behaviour assumed that in a bundled package path,
there is always `node_modules` directory on each other spot – i.e.:

npm/node_modules/<dep1>/node_modules/<subdep>
    ^                   ^

With namespaced bundled packages, this is no longer necessary the truth:

npm/node_modules/@nmcli/<dep1>/node_modules/…
    ^                   ! – expected node_modules

NPM bundler: also find namespaced bundled dependencies

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

Related: #1990096
Related RHELPLAN-119396
2022-06-28 17:01:06 +02:00

0 lines
Plaintext