-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ungdev/up_dep
Upgrade dependencies
- Loading branch information
Showing
31 changed files
with
1,159 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Windows-style newlines | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = false | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace=true | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
# Unix-style newlines | ||
end_of_line = lf | ||
insert_final_newline = false | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"arrowParens": "always", | ||
"endOfLine": "crlf", | ||
"jsxBracketSameLine": true | ||
} | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"arrowParens": "always", | ||
"endOfLine": "crlf", | ||
"jsxBracketSameLine": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Generated with MermaidJS (https://mermaidjs.github.io/) | ||
|
||
sequenceDiagram | ||
participant DB as Database | ||
participant S as Serveur | ||
participant B1 as Borne Bouffe | ||
participant B2 as Borne Préparation | ||
B1->>S: Nouvelle commande (HTTP) | ||
S->>DB: Nouvelle commande | ||
S-->>B1: Commandes en cours (socket) | ||
B1->>B1: Mise à jour Redux | ||
S-->>B2: Commandes en cours (socket) | ||
# Generated with MermaidJS (https://mermaidjs.github.io/) | ||
|
||
sequenceDiagram | ||
participant DB as Database | ||
participant S as Serveur | ||
participant B1 as Borne Bouffe | ||
participant B2 as Borne Préparation | ||
B1->>S: Nouvelle commande (HTTP) | ||
S->>DB: Nouvelle commande | ||
S-->>B1: Commandes en cours (socket) | ||
B1->>B1: Mise à jour Redux | ||
S-->>B2: Commandes en cours (socket) | ||
B2->>B2: Mise à jour Redux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,52 @@ | ||
{ | ||
"name": "bouffe-api", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"axios": "^0.23.0", | ||
"body-parser": "^1.19.2", | ||
"axios": "^1.6.2", | ||
"body-parser": "^1.20.2", | ||
"cors": "^2.8.5", | ||
"dotenv": "^10.0.0", | ||
"express": "^4.17.3", | ||
"express-validator": "^6.13.0", | ||
"helmet": "^4.6.0", | ||
"jsonwebtoken": "^8.5.1", | ||
"dotenv": "^16.3.1", | ||
"express": "^4.18.2", | ||
"express-validator": "^7.0.1", | ||
"helmet": "^7.1.0", | ||
"jsonwebtoken": "^9.0.2", | ||
"moment": "^2.29.4", | ||
"morgan": "^1.10.0", | ||
"mysql2": "^2.3.3", | ||
"mysql2": "^3.6.5", | ||
"reflect-metadata": "^0.1.13", | ||
"sequelize": "^6.7.0", | ||
"sequelize-typescript": "^2.1.3", | ||
"socket.io": "^4.3.2", | ||
"uuid": "^8.3.2", | ||
"winston": "^3.3.4" | ||
"sequelize": "^6.35.1", | ||
"sequelize-typescript": "^2.1.6", | ||
"socket.io": "^4.7.2", | ||
"uuid": "^9.0.1", | ||
"winston": "^3.11.0" | ||
}, | ||
"devDependencies": { | ||
"@types/bluebird": "^3.5.37", | ||
"@types/body-parser": "^1.19.3", | ||
"@types/cors": "^2.8.12", | ||
"@types/express": "^4.17.14", | ||
"@types/helmet": "^4.0.0", | ||
"@types/jsonwebtoken": "^8.5.9", | ||
"@types/morgan": "^1.9.3", | ||
"@types/node": "^16.11.64", | ||
"@types/socket.io": "^3.0.2", | ||
"@types/validator": "^13.6.6", | ||
"@typescript-eslint/eslint-plugin": "^5.1.0", | ||
"@typescript-eslint/parser": "^5.1.0", | ||
"eslint": "^8.0.1", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"prettier": "^2.4.1", | ||
"ts-node-dev": "^1.1.8", | ||
"typescript": "^4.4.4" | ||
"@types/bluebird": "^3.5.42", | ||
"@types/body-parser": "^1.19.5", | ||
"@types/cors": "^2.8.17", | ||
"@types/express": "^4.17.21", | ||
"@types/jsonwebtoken": "^9.0.5", | ||
"@types/morgan": "^1.9.9", | ||
"@types/node": "^20.10.0", | ||
"@types/validator": "^13.11.7", | ||
"@typescript-eslint/eslint-plugin": "^6.13.1", | ||
"@typescript-eslint/parser": "^6.13.1", | ||
"eslint": "^8.54.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"prettier": "^3.1.0", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^5.3.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"start": "node build/server.js", | ||
"dev": "ts-node-dev --no-notify src/server.ts", | ||
"lint": "eslint src/ --ext .ts", | ||
"lint-fix": "eslint --fix src/ --ext .ts" | ||
"lint:fix": "eslint --fix src/ --ext .ts" | ||
} | ||
} |
Oops, something went wrong.