Please use pnpm to install dependencies. If you don't have pnpm installed, you can install it with npm:
npm i -g pnpm
There are a few guidelines we follow:
- Ensure
pnpm lint
pass. You can runpnpm format
to format the code
To use the git hooks in the repo, which will save you from waiting for CI to tell you that you forgot to lint, run this:
git config core.hookspath .githooks
For changes to be reflected in package changelogs, run pnpm changeset
and follow the prompts.
The Changesets GitHub action will create and update a PR that applies changesets and publishes new versions of amplify adapter.