mirror of
https://github.com/immich-app/static-pages.git
synced 2026-09-30 13:23:05 +08:00
fix(deps): update typescript-projects (#314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
co-authored by
Daniel Dietzler
parent
54d788b03a
commit
57c2cf4b73
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^16.0.0",
|
||||
"svelte-highlight": "^7.8.4",
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,16 @@
|
||||
import PageContent from '$common/components/PageContent.svelte';
|
||||
import { siteMetadata } from '$lib';
|
||||
import '$lib/app.css';
|
||||
import { AppShell, AppShellHeader, Button, HStack, initializeTheme, Logo, ThemeSwitcher } from '@immich/ui';
|
||||
import {
|
||||
AppShell,
|
||||
AppShellHeader,
|
||||
Button,
|
||||
HStack,
|
||||
initializeTheme,
|
||||
Logo,
|
||||
ThemeSwitcher,
|
||||
TooltipProvider,
|
||||
} from '@immich/ui';
|
||||
import { mdiPencil } from '@mdi/js';
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
@@ -15,21 +24,23 @@
|
||||
initializeTheme({ selector: 'html', lightClass: 'light', darkClass: 'dark' });
|
||||
</script>
|
||||
|
||||
<AppShell>
|
||||
<AppShellHeader>
|
||||
<nav class="flex items-center justify-between p-2 md:gap-2">
|
||||
<a href="/">
|
||||
<Logo variant="inline" />
|
||||
</a>
|
||||
<TooltipProvider>
|
||||
<AppShell>
|
||||
<AppShellHeader>
|
||||
<nav class="flex items-center justify-between p-2 md:gap-2">
|
||||
<a href="/">
|
||||
<Logo variant="inline" />
|
||||
</a>
|
||||
|
||||
<HStack gap={1}>
|
||||
<Button color="secondary" href={siteMetadata.editUrl} leadingIcon={mdiPencil}>Edit this page</Button>
|
||||
<ThemeSwitcher />
|
||||
</HStack>
|
||||
</nav>
|
||||
</AppShellHeader>
|
||||
<HStack gap={1}>
|
||||
<Button color="secondary" href={siteMetadata.editUrl} leadingIcon={mdiPencil}>Edit this page</Button>
|
||||
<ThemeSwitcher />
|
||||
</HStack>
|
||||
</nav>
|
||||
</AppShellHeader>
|
||||
|
||||
<PageContent class="mx-auto w-full max-w-(--breakpoint-lg)">
|
||||
{@render children?.()}
|
||||
</PageContent>
|
||||
</AppShell>
|
||||
<PageContent class="mx-auto w-full max-w-(--breakpoint-lg)">
|
||||
{@render children?.()}
|
||||
</PageContent>
|
||||
</AppShell>
|
||||
</TooltipProvider>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^16.0.0",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '$lib/app.css';
|
||||
import { TooltipProvider } from '@immich/ui';
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
interface Props {
|
||||
@@ -9,4 +10,6 @@
|
||||
let { children }: Props = $props();
|
||||
</script>
|
||||
|
||||
{@render children?.()}
|
||||
<TooltipProvider>
|
||||
{@render children?.()}
|
||||
</TooltipProvider>
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
"cf-typegen": "wrangler types"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/vitest-pool-workers": "^0.10.0",
|
||||
"@cloudflare/vitest-pool-workers": "^0.11.0",
|
||||
"@types/luxon": "^3.6.2",
|
||||
"typescript": "^5.5.2",
|
||||
"vitest": "~3.2.0",
|
||||
"wrangler": "^4.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@tsndr/cloudflare-worker-jwt": "^3.2.0",
|
||||
"class-transformer": "^0.5.1",
|
||||
"class-validator": "^0.14.2",
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"exifreader": "^4.32.0",
|
||||
"p-limit": "^7.1.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '$lib/app.css';
|
||||
import { initializeTheme } from '@immich/ui';
|
||||
import { initializeTheme, TooltipProvider } from '@immich/ui';
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
type Props = {
|
||||
@@ -12,4 +12,6 @@
|
||||
initializeTheme();
|
||||
</script>
|
||||
|
||||
{@render children?.()}
|
||||
<TooltipProvider>
|
||||
{@render children?.()}
|
||||
</TooltipProvider>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^16.0.0",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<script lang="ts">
|
||||
import '$lib/app.css';
|
||||
import { TooltipProvider } from '@immich/ui';
|
||||
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children()}
|
||||
<TooltipProvider>
|
||||
{@render children()}
|
||||
</TooltipProvider>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^16.0.0",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '$lib/app.css';
|
||||
import { TooltipProvider } from '@immich/ui';
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
interface Props {
|
||||
@@ -9,4 +10,6 @@
|
||||
let { children }: Props = $props();
|
||||
</script>
|
||||
|
||||
{@render children?.()}
|
||||
<TooltipProvider>
|
||||
{@render children?.()}
|
||||
</TooltipProvider>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.50.0",
|
||||
"@immich/ui": "^0.51.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"feed": "^5.1.0",
|
||||
"front-matter": "^4.0.2",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
Logo,
|
||||
NavbarItem,
|
||||
ThemeSwitcher,
|
||||
TooltipProvider,
|
||||
} from '@immich/ui';
|
||||
import {
|
||||
mdiChartGantt,
|
||||
@@ -70,65 +71,67 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<AppShell>
|
||||
<AppShellHeader>
|
||||
<div>
|
||||
<nav class="flex grid-cols-[1fr_auto_1fr] justify-between p-2 lg:grid lg:gap-2">
|
||||
<div class="flex place-items-center gap-2">
|
||||
<IconButton
|
||||
shape="round"
|
||||
color="secondary"
|
||||
variant="ghost"
|
||||
size="medium"
|
||||
aria-label="Main menu"
|
||||
icon={mdiMenu}
|
||||
onclick={() => (isOpen = !isOpen)}
|
||||
class="md:hidden"
|
||||
/>
|
||||
<a href="/" class="flex gap-2 text-4xl">
|
||||
<Logo variant="inline" />
|
||||
</a>
|
||||
</div>
|
||||
<TooltipProvider>
|
||||
<AppShell>
|
||||
<AppShellHeader>
|
||||
<div>
|
||||
<nav class="flex grid-cols-[1fr_auto_1fr] justify-between p-2 lg:grid lg:gap-2">
|
||||
<div class="flex place-items-center gap-2">
|
||||
<IconButton
|
||||
shape="round"
|
||||
color="secondary"
|
||||
variant="ghost"
|
||||
size="medium"
|
||||
aria-label="Main menu"
|
||||
icon={mdiMenu}
|
||||
onclick={() => (isOpen = !isOpen)}
|
||||
class="md:hidden"
|
||||
/>
|
||||
<a href="/" class="flex gap-2 text-4xl">
|
||||
<Logo variant="inline" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="hidden place-items-center gap-1 lg:flex">
|
||||
<Button href="/blog" variant="ghost" color={withActiveColor('/blog')}>Blog</Button>
|
||||
<Button href="/roadmap" variant="ghost" color={withActiveColor('/roadmap')}>Roadmap</Button>
|
||||
<Button trailingIcon={mdiOpenInNew} href={Constants.Sites.Store} color="secondary" variant="ghost">
|
||||
Merch
|
||||
</Button>
|
||||
<Button trailingIcon={mdiOpenInNew} href={Constants.Sites.Docs} color="secondary" variant="ghost">
|
||||
Docs
|
||||
</Button>
|
||||
<Button
|
||||
leadingIcon={siGithub.path}
|
||||
trailingIcon={mdiOpenInNew}
|
||||
href={Constants.Socials.Github}
|
||||
color="secondary"
|
||||
variant="ghost"
|
||||
>
|
||||
GitHub
|
||||
</Button>
|
||||
</div>
|
||||
<div class="flex place-items-center justify-end gap-2">
|
||||
<Button href={Constants.Sites.Buy} color="primary">Buy Immich</Button>
|
||||
<ThemeSwitcher />
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</AppShellHeader>
|
||||
<div class="hidden place-items-center gap-1 lg:flex">
|
||||
<Button href="/blog" variant="ghost" color={withActiveColor('/blog')}>Blog</Button>
|
||||
<Button href="/roadmap" variant="ghost" color={withActiveColor('/roadmap')}>Roadmap</Button>
|
||||
<Button trailingIcon={mdiOpenInNew} href={Constants.Sites.Store} color="secondary" variant="ghost">
|
||||
Merch
|
||||
</Button>
|
||||
<Button trailingIcon={mdiOpenInNew} href={Constants.Sites.Docs} color="secondary" variant="ghost">
|
||||
Docs
|
||||
</Button>
|
||||
<Button
|
||||
leadingIcon={siGithub.path}
|
||||
trailingIcon={mdiOpenInNew}
|
||||
href={Constants.Socials.Github}
|
||||
color="secondary"
|
||||
variant="ghost"
|
||||
>
|
||||
GitHub
|
||||
</Button>
|
||||
</div>
|
||||
<div class="flex place-items-center justify-end gap-2">
|
||||
<Button href={Constants.Sites.Buy} color="primary">Buy Immich</Button>
|
||||
<ThemeSwitcher />
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</AppShellHeader>
|
||||
|
||||
<AppShellSidebar bind:open>
|
||||
<div class="my-4 me-4">
|
||||
<NavbarItem title="Documentation" href={Constants.Sites.Docs} icon={mdiScriptTextOutline} />
|
||||
<NavbarItem title="Blog" href="/blog" icon={mdiPostOutline} />
|
||||
<NavbarItem title="Roadmap" href="/roadmap" icon={mdiChartGantt} />
|
||||
<NavbarItem title="Download" href="/download" icon={mdiDownload} />
|
||||
<NavbarItem title="Merch" href={Constants.Sites.Store} icon={mdiShoppingOutline} />
|
||||
<NavbarItem title="Github" href={Constants.Socials.Github} icon={siGithub.path} />
|
||||
</div>
|
||||
</AppShellSidebar>
|
||||
<AppShellSidebar bind:open>
|
||||
<div class="my-4 me-4">
|
||||
<NavbarItem title="Documentation" href={Constants.Sites.Docs} icon={mdiScriptTextOutline} />
|
||||
<NavbarItem title="Blog" href="/blog" icon={mdiPostOutline} />
|
||||
<NavbarItem title="Roadmap" href="/roadmap" icon={mdiChartGantt} />
|
||||
<NavbarItem title="Download" href="/download" icon={mdiDownload} />
|
||||
<NavbarItem title="Merch" href={Constants.Sites.Store} icon={mdiShoppingOutline} />
|
||||
<NavbarItem title="Github" href={Constants.Socials.Github} icon={siGithub.path} />
|
||||
</div>
|
||||
</AppShellSidebar>
|
||||
|
||||
<PageContent class="mx-auto w-full max-w-(--breakpoint-lg)">
|
||||
{@render children?.()}
|
||||
</PageContent>
|
||||
</AppShell>
|
||||
<PageContent class="mx-auto w-full max-w-(--breakpoint-lg)">
|
||||
{@render children?.()}
|
||||
</PageContent>
|
||||
</AppShell>
|
||||
</TooltipProvider>
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "Monorepo for static sites",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501",
|
||||
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",
|
||||
"engines": {
|
||||
"pnpm": ">=10.0.0"
|
||||
}
|
||||
|
||||
Generated
+651
-628
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user