Skip to content

Commit 2660481

Browse files
Monorepo (#63)
* Refactor code structure for improved readability and maintainability * Mettre à jour le fichier .gitignore : ajouter des entrées pour les fichiers d'environnement et supprimer le fichier .gitignore de l'application web. * Update Dockerfile to restore commented-out lines and improve architecture handling; add validation decorators to ConfigRulesObjectIdentitiesDTO * Remove Dockerfile and add start:prod script to package.json and turbo.json for production support * Add simulation target to Makefile for production environment setup * Remove husky dependency and clean up package.json scripts * Add .yarnclean file to exclude documentation files from yarn cleaning * Remove obsolete files and update entrypoint script for improved installation checks * Remove husky pre-commit hook and update changelog and script documentation for improved maintenance * Potential fix for code scanning alert no. 49: Incomplete string escaping or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 51: Incomplete string escaping or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Remove obsolete mock files and end-to-end tests for improved codebase clarity --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 62f98f7 commit 2660481

File tree

443 files changed

+20678
-8412
lines changed

Some content is hidden

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

443 files changed

+20678
-8412
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/RELEASE_TEMPLATE.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Template pour les nouvelles releases
2+
3+
## [VERSION] - DATE
4+
5+
### Added
6+
- Nouvelles fonctionnalités
7+
- Nouvelles APIs
8+
- Nouvelles intégrations
9+
10+
### Changed
11+
- Modifications d'APIs existantes
12+
- Améliorations de performance
13+
- Refactoring
14+
15+
### Fixed
16+
- Corrections de bugs
17+
- Corrections de sécurité
18+
- Corrections de documentation
19+
20+
### Deprecated
21+
- Fonctionnalités obsolètes (à supprimer dans la prochaine version majeure)
22+
23+
### Removed
24+
- Fonctionnalités supprimées
25+
- APIs supprimées
26+
27+
### Security
28+
- Corrections de vulnérabilités
29+
- Améliorations de sécurité
30+
31+
**Pull Request**: https://github.com/Libertech-FR/sesame-orchestrator/pull/XX
32+
**Full Changelog**: https://github.com/Libertech-FR/sesame-orchestrator/compare/vPREVIOUS...vVERSION
33+
34+
---
35+
36+
## Notes de migration (pour les versions majeures)
37+
38+
### Breaking Changes
39+
- Liste des changements cassants
40+
- Instructions de migration
41+
42+
### Deprecated APIs
43+
- APIs dépréciées dans cette version
44+
- Timeline de suppression
45+
46+
### Migration Steps
47+
1. Étape 1
48+
2. Étape 2
49+
3. Étape 3

.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: 14 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,15 @@
1-
# compiled output
2-
/dist
3-
/node_modules
4-
/certificates
5-
.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
1+
node_modules/
2+
.turbo/
3+
dist/
4+
.nuxt/
5+
.output/
6+
.nitro/
7+
.cache/
8+
.data/
9+
certificates/
10+
node_modules/
11+
.DS_Store/
3112

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
13+
.env
14+
.env.*
15+
!.env.example

.husky/pre-commit

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

0 commit comments

Comments
 (0)