export function lineageManifest(appBasePath: string) {
const root = appBasePath.endsWith('/') ? appBasePath : `${appBasePath}/`
return {
name: 'Lineage',
short_name: 'Lineage',
description: 'Commit-level lines that should count — generated files stay off the books.',
start_url: root,
scope: root,
id: root,
display: 'standalone',
prefer_related_applications: false,
orientation: 'any',
background_color: '#fff6ec',
theme_color: '#c8102e',
categories: ['developer', 'utilities'],
icons: [
{
src: `${root}pwa-192.png`,
sizes: '192x192',
type: 'image/png',
purpose: 'any',
},
{
src: `${root}pwa-512.png`,
sizes: '512x512',
type: 'image/png',
purpose: 'any',
},
{
src: `${root}pwa-512-maskable.png`,
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
},
],
screenshots: [
{
src: `${root}og-image.jpg`,
sizes: '1200x630',
type: 'image/jpeg',
form_factor: 'wide',
label: 'Lineage — countable history of kentcdodds/kody',
},
],
}
}