Automating versioning / releasing / publishing libraries in CI
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 82
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 205
Description
Releasing all the stuff in this repo is quite a bit of work. It involves manually updating package.json and cargo.toml files, which is error-prone. I also need to run npm publish and cargo publish commands in the right order (starting with core libraries).
There is a publish-to-npm action that might prove useful and I'm also using a . Still, this requires manual updating of package.json files.
I'm also using publish-crates, but it's not reliable as it seems to compile atomic-server before atomic-lib, which leads to an error because server depends on lib.
There are some CLI tools that help publishing that I've used in the past:
cargo releaseupdatescargo.toml+ commits + tags- Some NPM tool... Forgot its name
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the package.json and cargo.toml files and the current release process. Compare the proposed publish-to-npm, publish-crates, and cargo release tools, paying attention to publishing core libraries before atomic-server. Done means CI can version, publish, commit, and tag the libraries reliably without manual ordering or file updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, typescript
- Domain
- build-system, ci-cd, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100