Skip to content

Commit 0ddf8ad

Browse files
authored
chore: add changesets alpha setup (#44)
1 parent 9419a05 commit 0ddf8ad

10 files changed

Lines changed: 829 additions & 16 deletions

File tree

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets).
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).

.changeset/config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.1.4/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": [],
11+
"privatePackages": {
12+
"version": false,
13+
"tag": false
14+
}
15+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Current limitations include:
276276
* No backend persistence yet
277277
* No real resource cache policy yet
278278
* No DevTools package yet
279-
* No package publishing flow yet
279+
* No automated publish workflow yet (Changesets is configured, release workflow pending)
280280
* Demo side panels use manual DOM
281281
* Demo diagnostics panel uses `MutationObserver`
282282
* Demo data is in memory only

docs/Release-Readiness.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Intent is in early experimental development. No packages have been published to npm. No GitHub Releases have been created.
66

7-
The repository has five workspace packages under `packages/*`, all at version `0.1.0`, all using `workspace:*` dependency references. The codebase is functional and validated by CI, but several metadata and workflow steps are missing before a first alpha release.
7+
The repository has five workspace packages under `packages/*`. The four publishable packages are at version `0.1.0-alpha.0`. The private server package remains at `0.1.0`. All use `workspace:*` dependency references. The codebase is functional and validated by CI. Changesets is installed and configured. The remaining blocker before a first alpha release is the release workflow and npm publish automation.
88

99
Four packages are intended for first-alpha publishing. `packages/server` is a private workspace package for now.
1010

@@ -226,15 +226,16 @@ Do not manually create GitHub Releases.
226226
## First alpha release checklist
227227

228228
- [x] npm scope is `@intent-framework/*``intent-framework` org created, packages renamed
229-
- [ ] Reconfirm MIT is the intended public license before publishing
229+
- [x] MIT confirmed as intended public license
230230
- [x] Confirm package metadata (`repository` field in all packages)
231231
- [x] Server is private — not a publishing blocker
232-
- [ ] Confirm package exports (all point to correct `dist/` paths — already correct)
233-
- [ ] Confirm package files (`files: ["dist"]` — already correct)
234-
- [ ] Confirm declaration files (`dist/index.d.ts` exists — already correct)
235-
- [ ] Run clean-dist validation (`rm -rf packages/*/dist examples/*/dist && pnpm test && pnpm typecheck && pnpm build && pnpm lint`)
236-
- [ ] Run `pnpm pack:check`
237-
- [ ] Add Changesets (`pnpm add -Dw @changesets/cli && pnpm changeset init`)
232+
- [x] Package exports point to correct `dist/` paths
233+
- [x] Package `files: ["dist"]` is correct
234+
- [x] Declaration files (`dist/index.d.ts`) exist after build
235+
- [x] Clean-dist validation passes
236+
- [x] `pnpm pack:check` passes
237+
- [x] Changesets installed and configured
238+
- [x] First alpha package versions set to `0.1.0-alpha.0`
238239
- [ ] Add release workflow (GitHub Action for Changesets)
239240
- [ ] Publish first alpha (`pnpm changeset publish`)
240241
- [ ] Create GitHub Release (automatic via Changesets, or manual)
@@ -243,7 +244,7 @@ Do not manually create GitHub Releases.
243244

244245
- repository fields are present
245246
- GitHub repository home is https://github.com/intent-framework/intent
246-
- remaining first-alpha blockers: release workflow not yet added, alpha prerelease versioning not configured, and human confirmation that MIT is the intended public license
247+
- remaining first-alpha blocker after this PR: Release workflow not yet added, including npm publish automation and required secrets.
247248

248249
## Future server-package decisions
249250

@@ -254,9 +255,8 @@ Do not manually create GitHub Releases.
254255

255256
- Do not publish any package to npm.
256257
- Do not create a GitHub Release.
257-
- Do not add Changesets yet — wait until the audit blockers are resolved.
258258
- Do not add a release GitHub Action yet.
259-
- Do not change versions or public APIs.
259+
- Do not change runtime or public APIs.
260260
- Do not add new dependencies unless required for a specific task.
261261

262262
## Pack check command

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
"test": "pnpm -r test",
77
"typecheck": "tsc -p tsconfig.typecheck.json",
88
"lint": "tsc -p tsconfig.typecheck.json",
9+
"changeset": "changeset",
10+
"version:packages": "changeset version",
11+
"release:alpha": "pnpm build && pnpm pack:check && changeset publish --tag alpha",
912
"pack:check": "pnpm -r --filter @intent-framework/core --filter @intent-framework/dom --filter @intent-framework/router --filter @intent-framework/testing exec npm pack --dry-run",
1013
"dev:web-basic": "pnpm --dir examples/web-basic dev"
1114
},
1215
"engines": {
1316
"node": ">=18"
1417
},
1518
"devDependencies": {
19+
"@changesets/cli": "^2.31.0",
1620
"typescript": "^5.9.3"
1721
}
1822
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "0.1.0",
6+
"version": "0.1.0-alpha.0",
77
"description": "Platformless semantic graph and runtime for Intent applications",
88
"license": "MIT",
99
"repository": {

packages/dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "0.1.0",
6+
"version": "0.1.0-alpha.0",
77
"description": "DOM materializer for Intent screens and router",
88
"license": "MIT",
99
"repository": {

packages/router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "0.1.0",
6+
"version": "0.1.0-alpha.0",
77
"description": "Typed route definitions and navigation for Intent",
88
"license": "MIT",
99
"repository": {

packages/testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "0.1.0",
6+
"version": "0.1.0-alpha.0",
77
"description": "Semantic test harness for Intent screens",
88
"license": "MIT",
99
"repository": {

0 commit comments

Comments
 (0)