https://bugzilla.redhat.com/show_bug.cgi?id=2383787



--- Comment #5 from Mikel Olasagasti Uranga <[email protected]> ---
Spec URL: https://mikel.olasagasti.info/tmp/fedora/prometheus.spec
SRPM URL:
https://mikel.olasagasti.info/tmp/fedora/prometheus-2.55.1-1.fc43.src.rpm

I created a small bash script that would be added to the git repo that reads
packages.json and prints the bundled npm modules.

The script: https://mikel.olasagasti.info/tmp/fedora/npm-prometheus.sh

$ ./npm-prometheus.sh prometheus-2.55.1/web/ui/package.json
prometheus-2.55.1/web/ui/react-app/package.json
Provides: bundled(nodejs-bootstrap) = 4.6.2
Provides: bundled(nodejs-codemirror-autocomplete) = 6.17.0
Provides: bundled(nodejs-codemirror-commands) = 6.6.0
Provides: bundled(nodejs-codemirror-language) = 6.10.2
Provides: bundled(nodejs-codemirror-lint) = 6.8.1
Provides: bundled(nodejs-codemirror-search) = 6.5.6
Provides: bundled(nodejs-codemirror-state) = 6.3.3
Provides: bundled(nodejs-codemirror-view) = 6.29.1
Provides: bundled(nodejs-css.escape) = 1.5.1
Provides: bundled(nodejs-downshift) = 9.0.6
Provides: bundled(nodejs-forevolve-bootstrap-dark) = 4.0.2
Provides: bundled(nodejs-fortawesome-fontawesome-svg-core) = 6.5.2
Provides: bundled(nodejs-fortawesome-free-solid-svg-icons) = 6.5.2
Provides: bundled(nodejs-fortawesome-react-fontawesome) = 0.2.0
Provides: bundled(nodejs-fsevents) = 2.3.3
Provides: bundled(nodejs-http-proxy-middleware) = 3.0.0
Provides: bundled(nodejs-jquery) = 3.7.1
Provides: bundled(nodejs-jquery.flot.tooltip) = 0.9.0
Provides: bundled(nodejs-lezer-common) = 1.2.1
Provides: bundled(nodejs-lezer-highlight) = 1.2.0
Provides: bundled(nodejs-lezer-lr) = 1.4.2
Provides: bundled(nodejs-moment) = 2.30.1
Provides: bundled(nodejs-moment-timezone) = 0.5.45
Provides: bundled(nodejs-nexucis-fuzzy) = 0.4.1
Provides: bundled(nodejs-nexucis-kvsearch) = 0.8.1
Provides: bundled(nodejs-popper.js) = 1.14.3
Provides: bundled(nodejs-prometheus-io-codemirror-promql) = 0.55.1
Provides: bundled(nodejs-react) = 17.0.2
Provides: bundled(nodejs-react-copy-to-clipboard) = 5.1.0
Provides: bundled(nodejs-react-dom) = 17.0.2
Provides: bundled(nodejs-react-infinite-scroll-component) = 6.1.0
Provides: bundled(nodejs-react-resize-detector) = 7.1.2
Provides: bundled(nodejs-react-router-dom) = 5.3.4
Provides: bundled(nodejs-reactstrap) = 8.10.1
Provides: bundled(nodejs-react-test-renderer) = 17.0.2
Provides: bundled(nodejs-sanitize-html) = 2.13.0
Provides: bundled(nodejs-sass) = 1.77.6
Provides: bundled(nodejs-tempusdominus-bootstrap-4) = 5.39.2
Provides: bundled(nodejs-tempusdominus-core) = 5.19.3
Provides: npm(prometheus-io) = 0.55.1
Provides: npm(prometheus-io-app) = 0.55.1

The script is inspired from /usr/lib/rpm/nodejs.prov

As npm modules are not bundled I didn't manage to make nodejs-packaging work
autodetecting the used modules.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2383787

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202383787%23c5

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to