Giter Site home page Giter Site logo

Comments (4)

stefanprobst avatar stefanprobst commented on September 26, 2024

I can take a look this week, yes

from dariah-campus.

stefanprobst avatar stefanprobst commented on September 26, 2024

pushed the lock file from master - seems to work ok - people need to (i) use yarn not npm and (ii) not change deps/push a modified yarn.lock

from dariah-campus.

ttasovac avatar ttasovac commented on September 26, 2024

ok, just to clarify this. we changed the instructions to use only yarn, that's clear. but:

  • we currently haver package.json and package-lock.json in the master branch. should i remove package-lock.json ? if i understand things correctly, we don't need it if we're sticking with yarn.

  • yarn.lock should be committed to git, but we, on the editorial side, should make sure that we don't accept any changes to yarn.lock. when new contributors do yarn install, that will basically install all the dependencies etc. which are in yarn.lock. is this correct?

  • if the above is correct, when do we (on the editorial side of D-C), if ever, need to do yarn upgrade?

I haven't merged the pull request yet, but the netlify link looks good now.

from dariah-campus.

stefanprobst avatar stefanprobst commented on September 26, 2024
  • i have removed package-lock.json in my commit to #43, see 9c601ad
    this is the lock file created by npm (similar to yarn.lock)

  • we definitely want to keep package.json

  • yes yarn.lock should be commited to git, and yes it defines what people will get with yarn install. it gives us at least a little bit control over people's build environment

  • except for security fixes for specific packages, we do not want to yarn upgrade

  • that said, if we find the time it would still make sense to figure out what exactly broke with the changed deps in #43

from dariah-campus.

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.