Skip to content

Inspect, visualize, and save differences between texts. Monorepo. PWA.

Notifications You must be signed in to change notification settings

moudev/differenzo

Repository files navigation

Differenzo

Inspect, visualize, and save differences between texts.

Differenzo is a Progressive Web App(PWA). How to install it? Follow this instructions.

This project is deployed with netlify. The deployment process of a monorepo that uses pnpm needs some configurations. Check the netlify.toml file for more information.

Prerequisites

Project setup

The repository uses a modification of the myers-diff project. The modified package is in packages/myers-diff directory. The project was modified to do the development mode easier and to export some classes.

1- Install dependencies

This step will configure the local myers-diff package using pnpm-workspaces.

pnpm install

2- Config Git hooks (required)

pnpm run prepare

Development

This step will execute the dev script in the root of the project and in each package of the packages/ directory at the same time.

If the myers-diff package is modified, then the command will do the build process of the package and the modification will be available to use in the UI project.

If the myers-diff will not be modified, then remove the --parallel parameter.

pnpm run dev --parallel

Build

Do the buid process using pnpm-workspaces.

pnpm run build

Lints and fixes files

pnpm run lint