Skip to content

Commit d508c55

Browse files
committed
Add publishing instructions
1 parent 5ff2a39 commit d508c55

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ To run this project, you will need:
6565
## Release
6666

6767
```sh
68-
yarn run release
68+
yarn build
69+
70+
# First publish react version
71+
cd packages/docsearch-react
72+
yarn publish
73+
74+
# in packages/docsearch-js/package.json
75+
# increment version number of typesense-docsearch-react dependency in package.json, to the one we released above
76+
77+
cd <root>
78+
yarn
79+
yarn build
80+
cd packages/docsearch-js
81+
yarn publish
6982
```
7083

7184
It will create a pull request for the next release. When it's reviewed, approved and merged, then CircleCI will automatically publish it to npm.

0 commit comments

Comments
 (0)