Remove tracked dist/ build artifacts — covered by .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-14 12:07:16 +00:00
parent 9ed700977b
commit d930808487
9 changed files with 0 additions and 596 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -1,13 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kitchen</title>
<script type="module" crossorigin src="/kitchen/assets/index-DiXG3yPo.js"></script>
<link rel="stylesheet" crossorigin href="/kitchen/assets/index-Cs9AL0NS.css">
</head>
<body>
<div id="root"></div>
</body>
</html>

View file

@ -1,24 +0,0 @@
{
"name": "Kitchen Display System",
"short_name": "KDS",
"description": "Kitchen Display System for Kitchen Invoice Flash",
"start_url": "/kds-app",
"display": "standalone",
"background_color": "#1a1a2e",
"theme_color": "#1a1a2e",
"orientation": "landscape",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
]
}

View file

@ -1,24 +0,0 @@
{
"name": "Kitchen Invoice Upload",
"short_name": "Invoice Upload",
"description": "Quick invoice photo upload for Kitchen Invoice Flash",
"start_url": "/upload-app",
"display": "standalone",
"background_color": "#1a1a2e",
"theme_color": "#1a1a2e",
"orientation": "portrait",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
]
}

File diff suppressed because one or more lines are too long

61
frontend/dist/sw.js vendored
View file

@ -1,61 +0,0 @@
const CACHE_NAME = 'kitchen-app-v3'
const SHELL_URLS = [
'/manifest.json',
'/kds-manifest.json',
]
self.addEventListener('install', (event) => {
event.waitUntil(
caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_URLS))
)
self.skipWaiting()
})
self.addEventListener('activate', (event) => {
event.waitUntil(
caches.keys().then((keys) =>
Promise.all(keys.filter((k) => k !== CACHE_NAME).map((k) => caches.delete(k)))
)
)
self.clients.claim()
})
self.addEventListener('fetch', (event) => {
const url = new URL(event.request.url)
// Never cache API/auth calls
if (url.pathname.startsWith('/api/') || url.pathname.startsWith('/auth/')) {
return
}
// Navigation requests (HTML pages): always network-first
if (event.request.mode === 'navigate') {
event.respondWith(
fetch(event.request)
.then((response) => {
const clone = response.clone()
caches.open(CACHE_NAME).then((cache) => cache.put(event.request, clone))
return response
})
.catch(() => caches.match(event.request).then((c) => c || caches.match('/')))
)
return
}
// Static assets (JS/CSS with content hashes): cache-first
event.respondWith(
caches.match(event.request).then((cached) => {
return cached || fetch(event.request).then((response) => {
if (event.request.method === 'GET' && response.status === 200) {
const clone = response.clone()
caches.open(CACHE_NAME).then((cache) => cache.put(event.request, clone))
}
return response
})
}).catch(() => {
if (event.request.mode === 'navigate') {
return caches.match('/')
}
})
)
})