Welcome to the contribution guide! We welcome all contributions. You can see the list of open issues over here. If you're interested in picking up something, feel free to start a discussion 😺
The searchbox monorepo contains the code for the headless core and the searchbox UI components for React, Vue and vanilla JavaScript. Project specific README files are available inside each package.
-
Fork the repository in order to send PRs
-
Clone the repo from your profile, use SSH if possible. Read more about it over here.
-
cdinto the project directory -
Checkout the
masterbranch (should be default) -
You can then install the dependencies, we recommend
yarn. Run this from the project root:
yarn- You can run the following command from
searchboxproject's root directory which will start the watchers for thesearchbasepackage located under thepackagesdirectory. This will let you make changes to the searchbase package on the fly and the changes you make will be transpiled live:
yarn watch- You can try the examples for the
searchbasepackage by going topackages/searchbase/examplesdirectory.
- You can run the following command from
searchboxproject's root directory which will start the watchers forsearchbaseandsearchboxpackages located under thepackagesdirectory. This will let you make changes to these projects on the fly and the changes you make will be transpiled live:
yarn dev:js- You can try the examples for the
searchboxinsidepackages/searchbox/examplesdirectory.
- You can run the following command from
searchboxproject's root directory which will start the watchers forsearchbaseandreact-searchboxpackages located under thepackagesdirectory. This will let you make changes to these projects on the fly and the changes you make will be transpiled live:
yarn dev:react- You can try the examples for the
react-searchboxinsidepackages/react-searchbox/examplesdirectory.
- You can run the following command from
searchboxproject's root directory which will start the watchers forsearchbasepackage located under thepackagesdirectory. This will let you make changes to these projects on the fly and the changes you make will be transpiled live:
yarn watch- You can try the examples for the
react-native-searchboxinsidepackages/native/examplesdirectory.
- You can run the following command from
searchboxproject's root directory which will start the watchers forsearchbaseandvue-searchboxpackages located under thepackagesdirectory. This will let you make changes to these projects on the fly and the changes you make will be transpiled live:
yarn dev:vue- You can try the examples for the
vue-searchboxinsidepackages/vue-searchbox/examplesdirectory.
Note: If you see any errors about missing dependencies, please try running yarn inside the example's directory that you're trying to run.