Skip to content

Sprint 3 - Clean codebase and add tests#41

Merged
vbetsch merged 9 commits intomainfrom
develop
Jul 28, 2025
Merged

Sprint 3 - Clean codebase and add tests#41
vbetsch merged 9 commits intomainfrom
develop

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Jul 28, 2025

No description provided.

vbetsch added 9 commits July 27, 2025 01:08
Merge pull request #36 from vbetsch/develop
* chore(deps): Update eslint dependencies

* chore(deps): Update eslint dependencies

* feat: Import linter configuration

* feat: Import formatter configuration

* style: Format files with Prettier

* chore(linter): Remove max-params rule

* chore(ide): Add eslint config

* fix(linter): Fix all linter issues

except @typescript-eslint/no-extraneous-class

* chore(Makefile): Add format make command

* docs: Add tags in swagger route doc

* docs: Add dto in swagger documentation

* docs: Add createdAt in UserModelDto doc

* docs: Add format in UserModelDto doc

* docs: Add 404 error documentation

* style: Remove line break

* chore(formatter): Add editorconfig

* feat: Add dependencies injector

* fix: Inject all static classes

* chore(conf): Authorize decorators

* fix: Import 'reflect-metadata'

* feat: Improve tsconfig

* fix: Update src/modules/ui/components/users/molecules/UsersList.tsx
* feat: Add units tests architecture

* chore(deps): Add jest dependencies

* chore(linter): Add jest into eslint

* chore(linter): Add eslint-plugin-no-comments

* chore(linter): Add no-comments/disallowComments

* chore(linter): Fix jest

* chore(linter): Fix eslintPluginNoComments

* chore(linter): Set no-comments on warn

* chore(linter): Remove eslint-plugin-no-comments

* chore(linter): Add @typescript-eslint/consistent-type-imports

* fix(linter): Fix import types

* chore(tests): Add jest config

* chore(tests): Add test command

* chore(deps): Add ts-node dependency

* chore(tests): Fix jest config

* revert(deps): Remove ts-node dependency

* chore(ide): Identify tests folder

* chore(ide): Exclude lib folder

* chore(tests): Add ts aliases in jest config

* test: Create tests for GetAllUsersUseCase

* test: Create tests for UsersList

* chore(tests): Create a setup file for UI

* chore(tests): Create tsconfig.jest.json

* test: Fix users-list.test.tsx
* ci: Create CI

* ci: Refactor naming

* chore(tests): Define coverage

* chore: Add coverage command

* ci: Run only PR

* chore(ide): Exclude coverage dir

* chore(tests): Ignore lib and prisma folders in coverage

* refactor(make): Refactor tests command

* chore(tests): Fix jest config

* perf(tests): Refactor jest config

* test: Add tests for UserAdapter

* chore: Create format check

* chore(linter): Import plugin:prettier/recommended

* chore(deps): Install eslint-config-prettier

* chore(make): Remove npm run format:c

* chore(linter): Remove formatter from linter

* chore(make): Add format commands

* ci: Add formatter:prettier job

* revert: Test to import prettier in linter again

* fix(linter): Fix configuration

* fix: Clean

* fix(make): Fix format command

* style: Format files with Prettier

* fix: Fix linter issues
* chore(deps): Install MUI dependencies

* feat: Create theme

* feat: Create MUIProvider

* feat: Add MUIProvider into main layout

* fix: Change primary color

* feat: Add theming

* fix: Remove theme switcher

* Revert "fix: Remove theme switcher"

This reverts commit f778a2e.

* Revert "feat: Add theming"

This reverts commit f54f187.

* revert: Revert theming

* feat: Add ThemeProvider

* feat: Add make clean command

* feat: Add light and dark themes

* feat: Change theme with browser theme

* chore(linter): Add eslint rules

* fix: Fix linter issues

* fix(linter): Set react/react-in-jsx-scope rule to warn

* fix: Fix linter warns

* feat: Create loader and error components

* fix: Improve error display

* fix: Use MUI in hello world page

* chore(linter): Add rule to ban native HTML nodes (div, span, p, etc...)

* fix: Remove hello world css

* feat: Create PageContainer

* refactor: Use MUI components in users list

* refactor: Use MUI components in homepage

* refactor: Use MUI components in main layout

* fix: Add html and body in main layout

* fix: Use MUI components in API pages

* fix: Remove globals.css

* style(linter): Format linter config

* fix: Typo

* fix: Add ts-node dependency
* docs: Create README structure

* docs: Replace html links by markdown links

* test: Try a link syntax

* fix: Use HTML links

* revert: Use HTML links

* docs: Add Quality Assurance in README

* fix: file

* Revert "fix: file"

This reverts commit d6992d9.

* docs: Add environment file step

* test: Adding build status badge

* feat: Add build status badge

* feat: Add localhost links

* feat: Add PRs badge

* feat: Add last commit badge

* fix: Remove badges not work

* feat: Add icon in description
[LOCKLITE-65] A fresh start on a clean codebase
* fix: Remove all default svg files

* feat: Add an example image

* feat(linter): Add no-restricted-imports rule

* fix: Remove main Box

* fix: Remove footer bgcolor

* refactor: Remove useless box

* refactor: Move PageContainer in main layout

* refactor: Remove footer

* fix: height 100%

* fix: sticky navbar

* refactor: Use StatusCodes

* style: Move _fetch method in RequestService

* refactor: Replace unknown by T
* fix: Remove all default svg files

* feat: Add an example image

* feat(linter): Add no-restricted-imports rule

* fix: Remove main Box

* fix: Remove footer bgcolor

* refactor: Remove useless box

* refactor: Move PageContainer in main layout

* refactor: Remove footer

* fix: height 100%

* fix: sticky navbar

* refactor: Use StatusCodes

* style: Move _fetch method in RequestService

* refactor: Replace unknown by T

* refactor: Clean

* test: Create tests of HttpError

* fix: Linter warn

* test: Add tests of handleApiRequest

* refactor: Rename http.test.ts to http-error.test.ts

* test: Create tests for RequestService

* fix: Add headers in tests for RequestService

* test: Create tests for ErrorMessage

* test: Create tests for useApi

* fix: Convert to tsx tests for useApi

* test: Create tests for ThemeRegistry

* fix: Fix tests for ThemeRegistry

* test: Create tests for CircularLoader

* test: Create tests for PageContainer
@vbetsch vbetsch self-assigned this Jul 28, 2025
@vbetsch vbetsch added the production All the pull requests from develop into main label Jul 28, 2025
@vbetsch vbetsch merged commit 276fff4 into main Jul 28, 2025
4 checks passed
vbetsch added a commit that referenced this pull request Jul 28, 2025
Merge pull request #41 from vbetsch/develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

production All the pull requests from develop into main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant