| name | publish |
| description | Use when manually publishing SDK packages to npm registry, after all changes are merged to main |
Publish SDK Packages
Publishes @aave packages to npm using changesets.
Checklist
You MUST use TodoWrite to create a todo for EACH step below. Mark each complete only after verification.
Pre-flight
Version Bump
Publish
Stop Conditions
| Condition | Action |
|---|
| Not on main branch | git checkout main && git pull first |
| Uncommitted changes | Stash or commit first |
| Tests failing | Fix tests before publishing |
pnpm changeset:status shows no changesets | Nothing to publish - inform user |
pnpm whoami fails | User must run pnpm login |
| Major bump in pre-release mode | Confirm with user - may be unintentional |
Pre-release Mode
When .changeset/pre.json exists:
- Packages publish with
-next.N suffix (e.g., 4.1.0-next.16)
- Major version bumps should be rare - verify intentional
- The
tag field in pre.json shows the npm dist-tag (next)
Common Mistakes
- Skipping
nvm use - Wrong Node version causes build failures
- Forgetting
--follow-tags - Git tags not pushed, npm versions unlinked
- Not checking pre-release mode - Accidental major version bumps