The NPM package name might contain invalid characters, e.g. `@bitwarden/cli`. Normalize the generated bundles by converting `/` to `-`. ``` specs/nodejs on master ❯ ~/src/fedora/pkgs-others/nodejs-packaging/nodejs-packaging-bundler @bitwarden/cli ... Successful dev dependences download '@bitwarden-cli-1.13.3-bundled-licenses.txt' -> '/home/michel/rpmbuild/SOURCES/@bitwarden-cli-1.13.3-bundled-licenses.txt' '@bitwarden-cli-1.13.3-nm-dev.tgz' -> '/home/michel/rpmbuild/SOURCES/@bitwarden-cli-1.13.3-nm-dev.tgz' '@bitwarden-cli-1.13.3-nm-prod.tgz' -> '/home/michel/rpmbuild/SOURCES/@bitwarden-cli-1.13.3-nm-prod.tgz' ``` Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
Signed-off-by: Troy Dawson <tdawson@redhat.com>
Add nodejs-packaging-bundler subpackage in spec file Update README.md with comments about nodejs-packaging-bundler and an example spec file that uses bundling Signed-off-by: Troy Dawson <tdawson@redhat.com>