Skip to content

Commit 67377a7

Browse files
authored
chore: keep changeset releases in alpha prerelease mode (#51)
1 parent 73ab269 commit 67377a7

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.changeset/pre.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"mode": "pre",
3+
"tag": "alpha",
4+
"initialVersions": {
5+
"web-basic": "0.0.0",
6+
"@intent-framework/core": "0.1.0-alpha.0",
7+
"@intent-framework/dom": "0.1.0-alpha.0",
8+
"@intent-framework/router": "0.1.0-alpha.0",
9+
"@intent-framework/server": "0.1.0",
10+
"@intent-framework/testing": "0.1.0-alpha.0"
11+
},
12+
"changesets": []
13+
}

docs/Release-Readiness.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,21 @@ A [publish-alpha.yml](../.github/workflows/publish-alpha.yml) workflow exists fo
211211
- Use `Changesets` pre-release mode for alpha/beta
212212
- Graduate to stable after API surface is settled and real-world usage begins
213213

214+
### Prerelease mode requirement
215+
216+
Changesets must remain in alpha prerelease mode for the duration of the alpha phase. This is controlled by the `.changeset/pre.json` file, which is created by running:
217+
218+
```sh
219+
pnpm changeset pre enter alpha
220+
```
221+
222+
Key rules:
223+
224+
- During alpha, Changesets must stay in alpha prerelease mode.
225+
- Version Packages PRs must not bump packages to stable versions.
226+
- Stable versions are only allowed after intentionally exiting prerelease mode via `pnpm changeset pre exit`.
227+
- The GitHub Actions PR creation setting (`GITHUB_TOKEN` permissions for creating and approving PRs) may need manual enabling after alpha versioning is fixed.
228+
214229
### Validation gates
215230

216231
Publishing should only happen after:

0 commit comments

Comments
 (0)