git clone [email protected]:withastro/prettier-plugin-astro.git
pnpm install
pnpm build
- Run tests with
pnpm test
orpnpm test:w
for watch mode - Lint code with
pnpm lint
- Format code with
pnpm format
- Run
pnpm changeset
to add your changes to the changelog on version bump. Most changes to the plugin should bepatch
changes while we're before1.0.0
.
- A single test file can be run with
pnpm test *file-name*
- To skip one or more tests in a file, add comments to them individually
- Watch mode won't rerun tests when changing an input/output file