Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/buildDeployStartAll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
cache-dependency-path: "./frontend/package-lock.json"

- name: Get Git Commit Hash
run: echo "REACT_APP_VERSION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
run: echo "VITE_VERSION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- run: npm ci --legacy-peer-deps
- run: CI=true npm run build --if-present
env:
REACT_APP_VERSION: ${{ env.REACT_APP_VERSION }}
VITE_VERSION: ${{ env.VITE_VERSION }}

- name: Upload Frontend Build Artifact
uses: actions/upload-artifact@v4
Expand Down
7 changes: 4 additions & 3 deletions frontend/public/index.html → frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" href="%PUBLIC_URL%/favicon.png"/>
<link rel="icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="Mangui MongoDB UI Web App"/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/ManguiLogoBig.png"/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"/>
<link rel="apple-touch-icon" href="ManguiLogoBig.png"/>
<link rel="manifest" href="manifest.json"/>
<title>Mangui MongoDB UI Web App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions frontend/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"jsx": "react",
"module": "commonjs",
"target": "es6",
"module": "esnext",
"target": "esnext",
"checkJs": true
},
"exclude": [
Expand Down
Loading