From 71e052ab4da3536bf8048f9be3c28f37ffd8f117 Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Sun, 2 Mar 2025 02:58:50 +0000 Subject: [PATCH] feat: remove duplicate lines --- .codebuddy/.gitignore | 1 + .codebuddy/summary.md | 39 +++ .idea/workspace.xml | 206 ++++++++------ scripts/create-tool.mjs | 4 +- src/components/Hero.tsx | 12 +- src/pages/tools/string/index.ts | 2 + .../string/remove-duplicate-lines/index.tsx | 260 ++++++++++++++++++ .../string/remove-duplicate-lines/meta.ts | 13 + .../remove-duplicate-lines.service.test.ts | 200 ++++++++++++++ .../string/remove-duplicate-lines/service.ts | 88 ++++++ src/tools/defineTool.tsx | 4 +- 11 files changed, 731 insertions(+), 98 deletions(-) create mode 100644 .codebuddy/.gitignore create mode 100644 .codebuddy/summary.md create mode 100644 src/pages/tools/string/remove-duplicate-lines/index.tsx create mode 100644 src/pages/tools/string/remove-duplicate-lines/meta.ts create mode 100644 src/pages/tools/string/remove-duplicate-lines/remove-duplicate-lines.service.test.ts create mode 100644 src/pages/tools/string/remove-duplicate-lines/service.ts diff --git a/.codebuddy/.gitignore b/.codebuddy/.gitignore new file mode 100644 index 0000000..9f4c740 --- /dev/null +++ b/.codebuddy/.gitignore @@ -0,0 +1 @@ +db/ \ No newline at end of file diff --git a/.codebuddy/summary.md b/.codebuddy/summary.md new file mode 100644 index 0000000..d8d7f32 --- /dev/null +++ b/.codebuddy/summary.md @@ -0,0 +1,39 @@ +# Project Summary + +## Overview of Technologies Used +This project is primarily built using the following technologies: +- **Languages**: TypeScript, JavaScript, HTML, CSS +- **Frameworks**: + - React (for building user interfaces) + - Playwright (for end-to-end testing) +- **Main Libraries**: + - Tailwind CSS (for styling) + - MUI (Material-UI for components) + - pnpm (for package management) + +## Purpose of the Project +The project appears to be a web application that provides various tools for image, JSON, list, number, and string manipulations. It is designed to offer users functionalities such as converting image formats, generating random numbers, and manipulating strings. The structure indicates a focus on modular components, making it easy to extend or modify specific tools without affecting the entire application. + +## Build and Configuration Files +The following files are relevant for the configuration and building of the project: +- `Dockerfile`: `/Dockerfile` +- `package.json`: `/package.json` +- `pnpm-lock.yaml`: `/pnpm-lock.yaml` +- `playwright.config.ts`: `/playwright.config.ts` +- `postcss.config.mjs`: `/postcss.config.mjs` +- `tailwind.config.mjs`: `/tailwind.config.mjs` +- `tsconfig.json`: `/tsconfig.json` +- `vite.config.ts`: `/vite.config.ts` +- `commitlint.config.js`: `/commitlint.config.js` + +## Source Files Directory +The source files can be found in the following directory: +- `/src` + +## Documentation Files Location +Documentation files are located in the root directory: +- `README.md`: `/README.md` +- `LICENSE`: `/LICENSE` +- `CODEOWNERS`: `/CODEOWNERS` + +This summary encapsulates the key aspects of the project, including its technological stack, purpose, file structure, and documentation locations. \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 409761d..3111c4b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,11 +4,18 @@