Code Monkey home page Code Monkey logo

pipeline-npm-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pipeline-npm-plugin's Issues

Can we use blank config?

What feature do you want to see added?

if (StringUtils.isBlank(config.content)) {
throw new AbortException("Could not create NPM config file id:" + settingsConfigId + ". Content of the file is empty");
}

I just want to use the auth that is associated with the npmrc config, so my content is empty. Can you please allow for blank config files?

Upstream changes

No response

Add support for npm 9.x + legacy and web format

What feature do you want to see added?

When choosing to inject secret into .npmrc file, the _auth parameter format is not compatible with the default web format npm 9.x + expect.
More info can be found here:
https://jfrog.com/help/r/artifactory-changes-to-the-login-behavior-in-npm-v9/users-authenticating-with-the-npm-login-command

My suggestion would be to add an optional parameter to withNPM, where a user can supply the format of the _auth generated in the .npmrc file. Something along these lines:

withNPM(format: legacy/web/<other>) {   ///defaults to whatever
        sh 'npm install'
}

Upstream changes

No response

Are you interested in contributing this feature?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.