Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,23 @@ npm run test:visual:update
```

Visual testing via snapshots is supported by Playwright. To update or create new snapshots, run this command.

## How to release?

### Build library and tag version

```sh
npm version minor
git push origin master
git push --tags
```


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep only one blank line.


Wait for the automatic build to finish.

Edit the release changelog on GitHub.

An index.html file should be added automatically to the release assets by GitHub Action.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An index.html file should be added automatically to the release assets by GitHub Actions.


### Publish to npm

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run build-lib
npm publish

Update the codesandboxes demos at https://stackblitz.com/edit/pev2-vanilla and https://stackblitz.com/edit/pev2-vite