If you are developing on Windows, you need to use WSL.
pnpm i in the root of the repopnpm --filter @lix-js/html-diff... build to build the dependencies of the package you want to work onpnpm --filter @lix-js/html-diff dev to run the development server
You need to run the build for the dependencies of the package via the three dots ... at least once. Here is the pnpm documentation for filtering.
This package includes a Vite-based visual test website to help develop and debug the renderHtmlDiff function.
Running the Test Website:
Ensure monorepo dependencies are installed (pnpm install from root).
Start the dev server:
The visual test website allows you to:
renderHtmlDiff functionpnpm run ci to run all tests and checksnpx changeset to write a changelog and trigger a version bump. watch this loom video to see how to use changesets: https://www.loom.com/share/1c5467ae3a5243d79040fc3eb5aa12d6