You can run the example project with locally compiled versions of the Searchkit packages.
- Run the make command to link the packages in your terminalThis will create a symlink for all searchkit libraries to the examples/next applicationmake link-packages
In Searchkit root, keep the two following commands running in the background.
Order of execution matters (needs to be core and then UI). This builds the libraries for example app to use. These commands will also continue to watch for changes and rebuild
In terminal #1:yarn run dev:core
In terminal #2:yarn run dev:ui
Run the next application in local development mode.
In terminal #3:cd ./examples/next && yarn start
Changes to any of the packages will automatically reload the next example app
Once you applied your changes, you can remove the symlinks:make unlink-packages
For your changes, create unit tests for coverage. Its advisable to run
unlink-packages(above command) as your unit tests may not work as expected.