- Use
nvm useto use the correct Node.js version. - Use
corepack enableto install the correct version of pnpm. - Use
pnpm installto install the dependencies. - Use
pnpm buildto build the project.
- Use
pnpm test:client --runto run@aave/clienttests. - Use
pnpm test:react --runto run@aave/reacttests. - Use
pnpm vitest --run --project <project-name> <path-to-test-file> -t "<test-name>"to focus on one single test.
Snapshot releases publish packages for testing without updating the real versions. Run locally:
pnpm changeset version --snapshot preview
pnpm changeset publish --tag preview --no-git-checksReplace preview with any dist-tag you want (e.g. canary, next). Published versions follow the format 0.0.0-<tag>-<timestamp>.
To install a snapshot:
pnpm add @aave/client@preview # latest under that tag
pnpm add @aave/client@0.0.0-preview-20260427120000 # specific versionDo not commit the version bump that changeset version --snapshot produces.