Git Product home page Git Product logo

Comments (8)

JohanObrink avatar JohanObrink commented on September 22, 2024 1

Nice

from spark-packages.

believer avatar believer commented on September 22, 2024

Maybe changesets could be something to look at? It's focused on creating releases from monorepo repositories.

from spark-packages.

JohanObrink avatar JohanObrink commented on September 22, 2024

@believer Sure! Have never used it but I also never saw a good setup for working with releases in a package based monorepo so let's do it 😄

from spark-packages.

believer avatar believer commented on September 22, 2024

@JohanObrink I'll see what I can do! Do we need an organization on npm for it? Should they be published as private packages?

from spark-packages.

JohanObrink avatar JohanObrink commented on September 22, 2024

@believer

Image

from spark-packages.

believer avatar believer commented on September 22, 2024

This process with Changesets is semi-automatic.

  • You create "changesets" locally using yarn changeset. It opens a guide where you specify which package to update and what the change is. This gives us control of when a new release should be created as all changes, like minor updates or documentation changes, probably don't require a release.
  • Once the change is pushed, a release PR is created using a GitHub action when unprocessed changesets exist in the repository. The PR is created only if lint and tests pass. If a PR already exists, it is updated with the new changes.
  • Upon merging the PR, the changesets are consumed.

Next up, I'll add automatic publishing to npm when the PR is merged.

from spark-packages.

JohanObrink avatar JohanObrink commented on September 22, 2024

@believer How do you specify which package is changed?

from spark-packages.

believer avatar believer commented on September 22, 2024

@JohanObrink it shows a wizard where you can select one or more packages that should be updated. Here's an example screenshot:
Screenshot 2023-06-09 at 08 50 06

from spark-packages.

Related Issues (8)

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.