You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -78,14 +65,16 @@ Our pre-commit hooks verify that the linter and tests pass when committing.
78
65
79
66
### Publishing to npm
80
67
81
-
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common tasks like bumping version based on semver, creating tags and releases etc.
68
+
We use [Changesets](https://github.com/changesets/changesets) to manage versioning and releases.
82
69
83
-
To publish new versions, run the following:
70
+
If your pull request includes user-facing changes, add a changeset describing the change:
84
71
85
72
```sh
86
-
yarn release
73
+
yarn changeset
87
74
```
88
75
76
+
When changesets are merged to `main`, the [Release workflow](.github/workflows/changeset.yaml) opens a "Version Packages" pull request. Merging that PR bumps the version, publishes to npm, and creates a GitHub release.
77
+
89
78
### Scripts
90
79
91
80
The `package.json` file contains various scripts for common tasks:
Copy file name to clipboardExpand all lines: docs/media/CONTRIBUTING.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,14 +78,16 @@ Our pre-commit hooks verify that the linter and tests pass when committing.
78
78
79
79
### Publishing to npm
80
80
81
-
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common tasks like bumping version based on semver, creating tags and releases etc.
81
+
We use [Changesets](https://github.com/changesets/changesets) to manage versioning and releases.
82
82
83
-
To publish new versions, run the following:
83
+
If your pull request includes user-facing changes, add a changeset describing the change:
84
84
85
85
```sh
86
-
yarn release
86
+
yarn changeset
87
87
```
88
88
89
+
When changesets are merged to `main`, the [Release workflow](.github/workflows/changeset.yaml) opens a "Version Packages" pull request. Merging that PR bumps the version, publishes to npm, and creates a GitHub release.
90
+
89
91
### Scripts
90
92
91
93
The `package.json` file contains various scripts for common tasks:
0 commit comments