Giter Club home page Giter Club logo

Comments (3)

JamieMason avatar JamieMason commented on May 31, 2024

Thanks for the question Duytan.

I think this falls just slightly outside the scope of syncpack. It's not common to change lots of npm dependencies and then cut a release for publishing immediately, usually syncpack would be run as part of general housekeeping or linting then committed as a change on its own.

This would be tested and then other commits might accumulate such as features or bug fixes etc which are also tested, then once everything passes you would then cut a release – it's at that time that the version number of your own packages would tend to be bumped.

(The Syncpack project uses release-it for this by the way, which is excellent. There are other similar tools too.)

It's possible to create an npm script/build step/workflow/etc of your own which runs syncpack and cuts a release if anything changed, if that's what you wanted to do, but I don't think it is something that should be made part of syncpack itself.

The principle behind my thinking is that syncpack should focus on doing one thing well, then people can slot that in wherever they want to as one step of a bigger workflow.

Sound fair? Let me know what you think, thanks.

from syncpack.

duytan-hoang-eurostar avatar duytan-hoang-eurostar commented on May 31, 2024

Hi Jamie, thanks for getting to me. Yeah, I see your point. Was thinking it would've been nice to be able to piggy back off the looping that syncpack has already done. Or even better, are there any plans to provide an API so the output could be used?

I'll close this nonetheless. Thanks!

from syncpack.

JamieMason avatar JamieMason commented on May 31, 2024

There is #48 which discusses a Node API, but FYI it's pretty much blocked at the moment, until I hear a good mix of use cases and when and how it would be used. I don't know what the requirements are for it so right now there's not a good justification for doing it. Plus the codebase of syncpack has been changing a lot as people have reported new feature requests or use cases etc. so I'd like it to have stabilised before having to support a Node API.

from syncpack.

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.