moudev / differenzo

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

Home Page:https://differenzo.netlify.app/

Repository from Github https://github.commoudev/differenzoRepository from Github https://github.commoudev/differenzo

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

About

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

https://differenzo.netlify.app/


Languages

Language:JavaScript 97.0%Language:HTML 1.9%Language:CSS 1.0%Language:Shell 0.1%