Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40364

Support npm configuration file

XMLWordPrintable

      Hi, to make easier configure nodejs installations across multiple node and setup them to an internal nodejs.org repository would be great add support to the npm config file.
      The npm config file is an ini file but with only one single section.
      https://docs.npmjs.com/files/npmrc

      This config file will take advantage of credential support to configure authentication in case of internal npm repository.

      That I know, npm does not have an option where you could specify in the CLI the npmrc file, but
      there are four relevant places where this file is lookup. It's also possible transform each settings into enviroment variable or in a CLI option.

      https://docs.npmjs.com/misc/config

        1. build-step.png
          18 kB
          Nikolas Falco
        2. config-file-validation.png
          33 kB
          Nikolas Falco
        3. config page.png
          33 kB
          Nikolas Falco
        4. Screen Shot 2017-01-21 at 20.28.14.png
          34 kB
          Dominik Bartholdi

            nfalco Nikolas Falco
            nfalco Nikolas Falco
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: