mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-08-26 17:31:34 +00:00
chore(dashboard): untrack committed frontend build output
work/meshai/dashboard/static/ held committed vite build artifacts
(index.html + hashed assets/*.js|css + copied public/ images) that were
last built 2026-07-07 (PR #87), 13 frontend commits ago. Docker builds
the frontend fresh and overwrites these on every image build, but the
pip install -e . path (documented in README Quick start) ships this
stale directory verbatim via [tool.setuptools.packages.find] include.
The root .gitignore already had a rule for this
("meshai/dashboard/static/") but it silently stopped matching when
2e1fb325 moved the source tree into work/ -- gitignore patterns
containing a "/" are anchored to the .gitignore's own directory, so the
unprefixed pattern only ever matched a repo-root meshai/dashboard/static/
that hasn't existed since that move. Fixed by prefixing with work/,
matching the existing work/data/secrets/.env convention elsewhere in
the file.
Every file under static/ is generated: assets/* and index.html come
from `vite build` (outDir: ../meshai/dashboard/static, emptyOutDir:
true, confirmed in dashboard-frontend/vite.config.ts), and the two
PNGs are vite's copy of dashboard-frontend/public/*.png (byte-identical
to the source). None of it is hand-authored, so the whole directory is
untracked rather than partially.
Blobs remain in git history; files remain on disk, just untracked.
This commit is contained in:
parent
5685ed034f
commit
bc2e487141
6 changed files with 7 additions and 500 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
|
@ -58,8 +58,13 @@ config.yaml
|
|||
*.pem
|
||||
*.key
|
||||
|
||||
# Frontend build output (built in Docker via multi-stage)
|
||||
meshai/dashboard/static/
|
||||
# Frontend build output (built in Docker via multi-stage, or manually for
|
||||
# the pip install path -- see README "Quick start"). Anchored with the
|
||||
# work/ prefix: the bare "meshai/dashboard/static/" pattern silently
|
||||
# stopped matching anything after 2e1fb325 moved the source tree into
|
||||
# work/, which is how these build artifacts got committed in the first
|
||||
# place.
|
||||
work/meshai/dashboard/static/
|
||||
|
||||
# Node (frontend deps, reinstalled via package-lock.json / npm ci)
|
||||
node_modules/
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/meshai-icon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>MeshAI Dashboard</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<script type="module" crossorigin src="/assets/index-FgUiz9s3.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CTVGSJxQ.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 59 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 414 KiB |
Loading…
Add table
Add a link
Reference in a new issue