Skip to content

Commit 43f9d54

Browse files
committed
Refactor code structure for improved readability and maintainability
1 parent 62f98f7 commit 43f9d54

File tree

444 files changed

+20288
-8086
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+20288
-8086
lines changed

.compodocrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
.turbo/
3+
dist/
4+
.env
5+
.nuxt/
6+
.output/

.env.example

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
# SESAME_LOG_LEVEL="info"
2-
# SESAME_NAME_QUEUE="sesame"
3-
SESAME_JWT_SECRET="zeaezazeaezazaeeazrftrqezfqfqszewfsqddfqsqsqsdqdsqdsqdzsdqzsdqzs"
4-
SESAME_REDIS_URI="redis://sesame-redis:6379"
5-
SESAME_MONGO_URI="mongodb://sesame-mongodb:27017/sesame"
6-
# Adresse du frontal de changement de mot de passe
7-
SESAME_FRONT_MDP="http://localhost:3000"

.eslintrc.js

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
module.exports = {
2-
parser: '@typescript-eslint/parser',
3-
parserOptions: {
4-
project: 'tsconfig.json',
5-
tsconfigRootDir: __dirname,
6-
sourceType: 'module',
7-
},
8-
plugins: ['@typescript-eslint/eslint-plugin'],
9-
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
10-
root: true,
11-
env: {
12-
node: true,
13-
jest: true,
14-
},
15-
ignorePatterns: ['.eslintrc.js'],
16-
rules: {
17-
'@typescript-eslint/interface-name-prefix': 'off',
18-
'@typescript-eslint/explicit-function-return-type': 'off',
19-
'@typescript-eslint/explicit-module-boundary-types': 'off',
20-
'@typescript-eslint/no-explicit-any': 'off',
21-
},
22-
};
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
project: 'tsconfig.json',
5+
tsconfigRootDir: __dirname,
6+
sourceType: 'module',
7+
},
8+
plugins: ['@typescript-eslint/eslint-plugin'],
9+
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
10+
root: true,
11+
env: {
12+
node: true,
13+
jest: true,
14+
},
15+
ignorePatterns: ['.eslintrc.js'],
16+
rules: {
17+
'no-console': 0,
18+
'comma-dangle': [2, 'always-multiline'],
19+
'quotes': [2, 'single', { 'avoidEscape': true }],
20+
'@typescript-eslint/interface-name-prefix': 'off',
21+
'@typescript-eslint/explicit-function-return-type': 'off',
22+
'@typescript-eslint/explicit-module-boundary-types': 'off',
23+
'@typescript-eslint/no-inferrable-types': 'off',
24+
'@typescript-eslint/no-explicit-any': 'error',
25+
'@typescript-eslint/no-var-requires': 'off',
26+
'@typescript-eslint/no-unused-vars': 'off',
27+
},
28+
};

.github/workflows/generate-doc.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/lint.yml.old

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/test.yml.old

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,6 @@
1-
# compiled output
2-
/dist
3-
/node_modules
4-
/certificates
1+
node_modules/
2+
.turbo/
3+
dist/
54
.env
6-
docker-compose.yml
7-
# Logs
8-
logs
9-
*.log
10-
npm-debug.log*
11-
pnpm-debug.log*
12-
yarn-debug.log*
13-
yarn-error.log*
14-
lerna-debug.log*
15-
16-
# OS
17-
.DS_Store
18-
19-
# Tests
20-
/coverage
21-
/.nyc_output
22-
23-
# IDEs and editors
24-
/.idea
25-
.project
26-
.classpath
27-
.c9/
28-
*.launch
29-
.settings/
30-
*.sublime-workspace
31-
32-
# IDE - VSCode
33-
.vscode/*
34-
!.vscode/settings.json
35-
!.vscode/tasks.json
36-
!.vscode/launch.json
37-
!.vscode/extensions.json
38-
docker/docker-compose.yml
39-
docker/docker-compose.yml
40-
41-
documentation/*
42-
.dev-token.json
43-
*.mongodb.js
44-
app/.idea/modules.xml
45-
app/.idea/app.iml
46-
app/.idea/inspectionProfiles/Project_Default.xml
47-
48-
migrations.lock
5+
.nuxt/
6+
.output/

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/
2+
dist/
3+
.nuxt/
4+
.output/
5+
.DS_Store/
6+
7+
yarn-debug.log*
8+
yarn-error.log*
9+
.env

0 commit comments

Comments
 (0)