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
9 changes: 9 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changesets

A changeset records a package release: which packages, which bump, and the changelog text.

- `pnpm changeset` writes one; commit it with the change it describes.
- Without one, the release job writes a patch changeset for every package whose published contents
changed (a minor, on 0.x, when a dependency moved to another breaking line).
- On `main`, pending changesets become the "chore: version packages" pull request; merging it
publishes the packages to npm.
6 changes: 5 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"$schema": "https://unpkg.com/@changesets/config@4.0.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"privatePackages": {
"version": false,
"tag": false
},
"ignore": []
}
32 changes: 13 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,19 @@ on:
push:
branches: [main]
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint:check
- run: pnpm run format:check
- run: pnpm run build
- run: pnpm run typecheck
- run: pnpm run test
uses: statewalker/.github/.github/workflows/ci.yml@main

# Releases to npm: a version pull request while changes are unreleased, publishing once it is
# merged. npm's trusted publishers for these packages name this file (ci.yml).
release:
needs: ci
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: statewalker/.github/.github/workflows/release.yml@main
permissions:
contents: write
pull-requests: write
id-token: write
secrets: inherit
38 changes: 0 additions & 38 deletions .github/workflows/release.yml

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"lint:check": "biome check .",
"format": "biome format --write .",
"format:check": "biome format .",
"publish-all": "pnpm run build && pnpm -r publish --access public --no-git-checks",
"changeset": "changeset",
"version-packages": "changeset version",
"release-packages": "changeset publish"
"changeset": "changeset"
},
"devDependencies": {
"@biomejs/biome": "catalog:",
Expand Down
4 changes: 4 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>statewalker/.github"]
}
Loading