Git Product home page Git Product logo

Comments (8)

timostamm avatar timostamm commented on June 15, 2024

The readme says renovate supports lerna monorepos, which sounds like a good fit.

Do you have experience using renovate for a github project?

from protobuf-ts.

vicb avatar vicb commented on June 15, 2024

I have never used renovate on one of my repo but I see it used on a few repos.

One of the gotcha is that if you don't throttle it (i.e. once a week / a month) it could generate a lot of noise. See skylines.

from protobuf-ts.

timostamm avatar timostamm commented on June 15, 2024

I've had a quick look at the vulnerabilities:

npx lerna exec npm audit

Looks like all are dev dependencies. Which isn't surprising because we only have typescript as dependency, with the exception of @protobuf-ts/runtime-angular, which has some peer deps.

Keeping dev-deps up-to-date is very low priority for me. 99% of dependencies are related to building and testing, and I would prefer to move them as seldom as possible to keep the project maintainable.

Keeping on top of security updates is a different story. If, for example, lerna would get compromised, all packages published through lerna could become compromised.

TLDR: contributions for semi-automated security updates / notifications are welcome.

from protobuf-ts.

vicb avatar vicb commented on June 15, 2024

Not sure to get what you mean by

TLDR: contributions for semi-automated security updates / notifications are welcome.

but

I would prefer to move them as seldom as possible

I could probably take a look if you clarify this point.

Does it means that you would upgrade the deps ONLY for security reason ?

Thanks.

from protobuf-ts.

timostamm avatar timostamm commented on June 15, 2024

Does it means that you would upgrade the deps ONLY for security reason ?

Yes. I don't trust all those deps to be stable over updates. Have been burned by the fragile node eco-system too many times.

from protobuf-ts.

vicb avatar vicb commented on June 15, 2024

Then using dependabot is probably enough ? (it should be activated for public repository by default).

from protobuf-ts.

timostamm avatar timostamm commented on June 15, 2024

Possibly! Thanks for the hint. Giving it a try for some weeks...

from protobuf-ts.

timostamm avatar timostamm commented on June 15, 2024

Finally got to merging the first dependabot security PRs. npm audit still shows warnings, though.

To be clear, these were vulnerabilities in dev-dependencies, not in the published packages.

Closing this and letting dependabot do its thing.

from protobuf-ts.

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.