#1370 Node.js: permit pre-minified JS
Merged 4 months ago by james. Opened 4 months ago by sgallagh.
sgallagh/packaging-committee js_recompile  into  master

@@ -2,6 +2,8 @@ 

  

  The upstream Node.js stance on https://nodejs.org/en/blog/npm/npm-1-0-global-vs-local-installation/[global library packages] is that they are ".. best avoided if not needed."  In Fedora, we take the same stance with our nodejs packages.  You can provide a package that uses nodejs, but you should bundle all the nodejs libraries that are needed.

  

+ Packages containing JavaScript should make the best effort to regenerate any precompiled/pre-minimized JS wherever possible, as this leads to more maintainable packages. Where this would result in a significant hardship, the bundled pregenerated JS may be shipped with a specfile comment explaining the decision. This does not eliminate the requirement to validate licenses of bundled code. See <<Bundled Licenses>> below.

+ 

  == What to Package

  

  * The interpreter, development headers/libraries, and the assorted tools to manage project-level installations.

Commit b4c34ea fixes this pull-request

Pull-Request has been merged by james

4 months ago

Pull-Request has been merged by james

4 months ago

For future, it's somewhat easier to read the addition patches and esp. easier to make small change patches if you use semantic line breaks.

Metadata