GithubHelp home page GithubHelp logo

Comments (5)

boennemann avatar boennemann commented on May 18, 2024

Pinging a few people that I think could be interested (also feedback would be cool :))
@christophwitzko @janl @gr2m @othiym23 @rmehner @remy @tlvince

from semantic-release.

rmehner avatar rmehner commented on May 18, 2024

The Travis deploy integration with npm is so bad, that we need to do it ourselves anyways. Namely auth, where it still uses the old base64 encoded username and password, but also one can't pass arguments to the publish command itself.

I'm a bit undecided on that. My first thought about this was: Why not fix the npm integration of Travis so that all other unrelated projects can benefit from that? I know that Travis is essentially a product that we'd improve there, but they're good citizens and so is npm inc. You know better than I do what's wrong with the integration, but happy to discuss that and help out with some of my Ruby skills if needed.

from semantic-release.

gr2m avatar gr2m commented on May 18, 2024

I had the same thought as @rmehner: any chance we could help fix travis instead? Or is it a conceptual issue?

from semantic-release.

boennemann avatar boennemann commented on May 18, 2024

@rmehner @gr2m This sounded way to bold. Doing it on our own essentially means setting an encrypted env var with the npm token, creating an ~/.npmrc and running npm publish on after_success. (npm@^2.0.0 required)

The ~/.npmrc

registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

I want to build this for semantic-release first, so there are no blockers. I am more than happy to bring this back to Travis then. (Same goes for the npm team, as they want to get rid of the old token). The dpl tool is open source anyway: https://github.com/travis-ci/dpl/blob/master/lib/dpl/provider/npm.rb

from semantic-release.

janl avatar janl commented on May 18, 2024

Iā€™m generally +1 on all of this :)

from semantic-release.

Related Issues (20)

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.