GithubHelp home page GithubHelp logo

Comments (6)

bitjson avatar bitjson commented on May 5, 2024

Sounds great – is there any downside to just replacing usages of npm install with npm ci in all the CI config? I don’t think think we need a conditional check.

I’d love to take a PR!

from typescript-starter.

cspotcode avatar cspotcode commented on May 5, 2024

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

Ah, you're right about npm ci being a little more complicated right now. I added caching to each of the configurations for now (07f7a36).

I'm hesitant to immediately switch to npm ci since we'd have to update npm on each CI environment before using npm ci. (Each is at 5.6.0 right now.)

It adds enough to the configuration complexity and build time that I think we're better off just waiting until npm 5.7.0 is available by default on each service before switching over. Leaving open for now.


If you're reading this issue in the future – and CircleCI, Travis CI, and/or Appveyor now ship with at least [email protected] by default – please send a PR!

from typescript-starter.

cspotcode avatar cspotcode commented on May 5, 2024

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

Also, an npm install fallback will always be necessary.

Good point. So once there's a CI environment which supports 5.7.0, we'll still want to use the conditional. 👍

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

Now that this is the default on any reasonably modern version of npm or yarn, I think it's safe for us to mark this as "done". 😅

Thanks again for opening the issue!

from typescript-starter.

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.