Skip to content
Merged
Show file tree
Hide file tree
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
22 changes: 0 additions & 22 deletions .github/workflows/publish.yml

This file was deleted.

20 changes: 17 additions & 3 deletions docs/community/contribute.server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,23 @@ This produces the website in `public/`.

To release a new version, do:

* Draft a release for the next version (vX.X.X)
* `yarn && yarn test && yarn lerna publish --force-publish`
* Publish release on GitHub
1. update `version`s of packages with a patch, minor, or major (make sure to
update dependency ranges on monorepo packages when needed):
```sh
npm version minor --workspaces --no-git-tag-version
```
2. commit and tag using the version (without `v`) as the message:
```sh
git commit --all --message 1.2.3 && git tag 1.2.3 && git push && git push --tags
```
3. release to the npm registry:
```sh
npm publish --workspaces
```
4. add a changelog entry for the release on GitHub:
```sh
open https://github.com/mdx-js/mdx/releases
```

## Resources

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@
"docs-deploy": "vercel && vercel alias $(pbpaste) mdxjs.com && vercel alias $(pbpaste) www.mdxjs.com",
"format": "remark . -qfo && remark . -e mdx -u mdx -qfo && prettier . -w --loglevel warn && xo --fix",
"lint": "remark . -qf && remark . -e mdx -u mdx -qf && prettier . -c --loglevel warn && xo",
"publish-ci": "# lerna publish -y --canary --preid ci --pre-dist-tag ci",
"publish-next": "# lerna publish --force-publish=\"*\" --pre-dist-tag next --preid next",
"build": "npm run build --workspaces --if-present",
"test-api": "npm run test-api --workspaces --if-present",
"test-coverage": "npm run test-coverage --workspaces --if-present",
Expand Down