Skip to content

Commit bb64c01

Browse files
committed
Revert "add changesets to 17.x.x alpha (#4599)"
This reverts commit ed7b1b8.
1 parent 6b839c7 commit bb64c01

File tree

10 files changed

+27
-1164
lines changed

10 files changed

+27
-1164
lines changed

.changeset/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/config.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/pre.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/wacky-streets-obey.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,28 @@ Feel free to reach out via the [graphql-js channel](https://discord.com/channels
8686

8787
## Release on NPM
8888

89-
Releases are managed by Changesets and GitHub Actions:
90-
91-
- Contributors add changesets in PRs (`npm run changeset`) for user-facing changes.
92-
- Changesets release automation is currently enabled only on `17.x.x`.
93-
- Merging the release PR triggers publish to NPM.
89+
_Only core contributors may release to NPM._
90+
91+
To release a new version on NPM, first ensure all tests pass with `npm test`,
92+
then use `npm version patch|minor|major` in order to increment the version in
93+
package.json and tag and commit a release. Then `git push && git push --tags`
94+
to sync this change with source control. Then `npm publish npmDist` to actually
95+
publish the release to NPM.
96+
Once published, add [release notes](https://github.com/graphql/graphql-js/releases).
97+
Use [semver](https://semver.org/) to determine which version part to increment.
98+
99+
Example for a patch release:
100+
101+
```sh
102+
npm ci
103+
npm test
104+
npm version patch --ignore-scripts=false
105+
git push --follow-tags
106+
cd npmDist && npm publish
107+
npm run changelog
108+
```
109+
110+
Then upload the changelog to [https://github.com/graphql/graphql-js/releases](https://github.com/graphql/graphql-js/releases).
94111

95112
## License
96113

.github/workflows/changesets.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)