Skip to content

Commit fbd68b9

Browse files
authored
chore: add repository metadata (#42)
1 parent 7bfdaaa commit fbd68b9

6 files changed

Lines changed: 34 additions & 12 deletions

File tree

docs/Release-Readiness.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Packages under `examples/` (e.g., `web-basic`) are private and must not be publi
3434
| `files` | `["dist"]` | Correct — only `dist/` and `package.json` included in tarball |
3535
| `description` | Present | Added in this audit |
3636
| `license` | MIT field present | Root LICENSE file present |
37-
| `repository` | Missing | Recommended for npm listing |
37+
| `repository` | Present | Points to `intent-framework/intent` (`packages/core`) |
3838
| `engines` | Missing | Should document minimum Node version |
3939
| `dependencies` | None | Good — core is platformless |
4040
| Build tool | `tsdown` | Bundles ESM + `.d.ts` |
@@ -52,7 +52,7 @@ Packages under `examples/` (e.g., `web-basic`) are private and must not be publi
5252
| `files` | `["dist"]` | Correct |
5353
| `description` | Present | Added in this audit |
5454
| `license` | MIT field present | Root LICENSE file present |
55-
| `repository` | Missing | Recommended |
55+
| `repository` | Present | Points to `intent-framework/intent` (`packages/dom`) |
5656
| `dependencies` | `@intent-framework/core`, `@intent-framework/router` | Uses `workspace:*` — correct for monorepo |
5757
| Build tool | `tsdown` | Bundles ESM + `.d.ts` |
5858

@@ -68,7 +68,7 @@ Packages under `examples/` (e.g., `web-basic`) are private and must not be publi
6868
| `files` | `["dist"]` | Correct |
6969
| `description` | Present | Added in this audit |
7070
| `license` | MIT field present | Root LICENSE file present |
71-
| `repository` | Missing | Recommended |
71+
| `repository` | Present | Points to `intent-framework/intent` (`packages/router`) |
7272
| `dependencies` | `@intent-framework/core` | Uses `workspace:*` |
7373
| Build tool | `tsdown` | Bundles ESM + `.d.ts` |
7474

@@ -84,7 +84,7 @@ Packages under `examples/` (e.g., `web-basic`) are private and must not be publi
8484
| `files` | `["dist"]` | Correct |
8585
| `description` | Present | Added in this audit |
8686
| `license` | MIT field present | Root LICENSE file present |
87-
| `repository` | Missing | Recommended |
87+
| `repository` | Present | Points to `intent-framework/intent` (`packages/testing`) |
8888
| `dependencies` | `@intent-framework/core` | Uses `workspace:*` |
8989
| Build tool | `tsdown` | Bundles ESM + `.d.ts` |
9090

@@ -100,7 +100,7 @@ Packages under `examples/` (e.g., `web-basic`) are private and must not be publi
100100
| `files` | `["dist"]` | Correct |
101101
| `description` | Present | Added in this audit |
102102
| `license` | MIT field present | Root LICENSE file present |
103-
| `repository` | Missing | Recommended |
103+
| `repository` | Present | Points to `intent-framework/intent` (`packages/server`) |
104104
| `dependencies` | `@intent-framework/core` | Uses `workspace:*` |
105105
| Build tool | `tsdown` | Bundles ESM + `.d.ts` |
106106
| Note | Early stage | Server package has global registries and basic action/resource/policy types. Not yet production-ready. |
@@ -223,7 +223,7 @@ Do not manually create GitHub Releases.
223223

224224
- [x] npm scope is `@intent-framework/*``intent-framework` org created, packages renamed
225225
- [ ] Reconfirm MIT is the intended public license before publishing
226-
- [ ] Confirm package metadata (`repository` field in all packages)
226+
- [x] Confirm package metadata (`repository` field in all packages)
227227
- [ ] Confirm package exports (all point to correct `dist/` paths — already correct)
228228
- [ ] Confirm package files (`files: ["dist"]` — already correct)
229229
- [ ] Confirm declaration files (`dist/index.d.ts` exists — already correct)
@@ -236,12 +236,9 @@ Do not manually create GitHub Releases.
236236

237237
## Current blockers
238238

239-
Before first alpha release, the following must be resolved:
240-
241-
1. **Missing `repository` fields** — Recommended for npm listing and source links.
242-
2. **No release workflow** — Changesets and a GitHub Action must be added before publishing.
243-
3. **Server package is very early**`@intent-framework/server` has global registries and minimal API surface. Consider whether to publish it or mark it as private until more mature.
244-
4. **Version is `0.1.0` across all packages** — Consistent, but no pre-release tag (e.g., `0.1.0-alpha.0`) for the first publish.
239+
- repository fields are present
240+
- GitHub repository home is https://github.com/intent-framework/intent
241+
- remaining blockers are release workflow, server maturity, alpha prerelease versioning, and human confirmation of MIT license if still listed
245242

246243
## Do not do yet
247244

packages/core/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"version": "0.1.0",
77
"description": "Platformless semantic graph and runtime for Intent applications",
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/intent-framework/intent.git",
12+
"directory": "packages/core"
13+
},
914
"type": "module",
1015
"main": "./dist/index.js",
1116
"module": "./dist/index.js",

packages/dom/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"version": "0.1.0",
77
"description": "DOM materializer for Intent screens and router",
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/intent-framework/intent.git",
12+
"directory": "packages/dom"
13+
},
914
"type": "module",
1015
"main": "./dist/index.js",
1116
"module": "./dist/index.js",

packages/router/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"version": "0.1.0",
77
"description": "Typed route definitions and navigation for Intent",
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/intent-framework/intent.git",
12+
"directory": "packages/router"
13+
},
914
"type": "module",
1015
"main": "./dist/index.js",
1116
"module": "./dist/index.js",

packages/server/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"version": "0.1.0",
77
"description": "Early server-side package for Intent",
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/intent-framework/intent.git",
12+
"directory": "packages/server"
13+
},
914
"type": "module",
1015
"main": "./dist/index.js",
1116
"module": "./dist/index.js",

packages/testing/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"version": "0.1.0",
77
"description": "Semantic test harness for Intent screens",
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/intent-framework/intent.git",
12+
"directory": "packages/testing"
13+
},
914
"type": "module",
1015
"main": "./dist/index.js",
1116
"module": "./dist/index.js",

0 commit comments

Comments
 (0)