Skip to content

Commit

Permalink
Merge pull request #1 from Mathieu-COSYNS/vite
Browse files Browse the repository at this point in the history
Migrate from Webpack to Vite + Update all dependencies
  • Loading branch information
Mathieu-COSYNS authored Aug 24, 2023
2 parents dc0fad3 + 43d6f87 commit 1fd3dd6
Show file tree
Hide file tree
Showing 111 changed files with 8,871 additions and 31,226 deletions.
60 changes: 0 additions & 60 deletions frontend/.cracorc.js

This file was deleted.

2 changes: 2 additions & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_APP_API_URL=https://locahost:8888
VITE_APP_QR_CODE_URL=https://example.com
3 changes: 2 additions & 1 deletion frontend/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
dist/

stylelint.config.js
stylelint.config.cjs
6 changes: 5 additions & 1 deletion frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
/coverage

# production
/build
build/
dist/

# misc
.DS_Store
Expand All @@ -26,3 +27,6 @@ yarn-error.log*

# Optional eslint cache
.eslintcache

# env
.env
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v18.17.1
1 change: 0 additions & 1 deletion frontend/.prettierignore

This file was deleted.

14 changes: 0 additions & 14 deletions frontend/.prettierrc

This file was deleted.

1 change: 0 additions & 1 deletion frontend/.stylelintignore

This file was deleted.

1 change: 0 additions & 1 deletion frontend/Procfile

This file was deleted.

1 change: 1 addition & 0 deletions frontend/app.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"appName": "Solvay - Entraide & Publication",
"appShortName": "SEP",
"appDescription": "Une application web pour aider à la gestion des ventes du SEP.",
"qrCodeUrl": "",
"screenshots": [
{
"src": "/assets/screenshots/screenshot_login.png",
Expand Down
8 changes: 6 additions & 2 deletions frontend/public/index.html → frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<title>%REACT_APP_NAME%</title>
<meta name="robots" content="noindex, nofollow" />
<title><%= title %></title>

<base href="/" />

Expand All @@ -19,9 +20,12 @@
background-color: #121212;
}
</style>

<%- injectInHead %>
</head>

<body>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit 1fd3dd6

Please sign in to comment.