Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changesets

This directory contains changeset files that describe changes to the codebase.

## What is a changeset?

A changeset is a file that describes which packages should be released and how
(major, minor, or patch). When it's time to release, these changesets are
consumed to determine version bumps.

## Creating a changeset

Run:
```
changeset add
```

This will interactively create a changeset file.

## File format

```markdown
---
"package-name": minor
"other-package": patch
---

Description of the changes.
```
7 changes: 7 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"root": "github.com/gojekfarm/xtools",
"baseBranch": "main",
"ignore": null,
"ignorePaths": null,
"dependentBump": "patch"
}
6 changes: 6 additions & 0 deletions .changeset/proud-koala-glide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cmd/changeset": minor
---

**Changeset** is a CLI tool for managing versioning and releases in multi-module Go repositories. It is inspired by [changesets](https://github.com/changesets/changesets), the excellent versioning and changelog management tool for JavaScript monorepos.

14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,17 @@ jobs:
files: ./coverage.xml
fail_ci_if_error: true
verbose: true

e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.25.x
cache: true
- name: E2E Tests
run: go test -tags=e2e -v ./e2e/...
working-directory: cmd/changeset
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ go.work
go.work.sum

.envrc
.claude/
.claude/
.cursor/
.tasks/
Loading