Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrregjerstad committed Nov 11, 2024
1 parent 783f870 commit dbf80a2
Show file tree
Hide file tree
Showing 6 changed files with 3,336 additions and 1,922 deletions.
74 changes: 37 additions & 37 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@portfolio/app",
"name": "@portfolio/web",
"version": "0.0.1",
"private": true,
"scripts": {
Expand All @@ -18,57 +18,57 @@
},
"devDependencies": {
"@accuser/svelte-plausible-analytics": "^1.0.0",
"@playwright/test": "^1.46.0",
"@playwright/test": "^1.48.2",
"@portabletext/svelte": "^2.1.11",
"@sveltejs/adapter-auto": "^3.2.4",
"@sveltejs/adapter-vercel": "^5.4.3",
"@sveltejs/kit": "^2.5.22",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/typography": "^0.5.14",
"@types/eslint": "^9.6.0",
"@types/three": "^0.167.1",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-vercel": "^5.4.7",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.1",
"@types/three": "^0.169.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"autoprefixer": "^10.4.20",
"drizzle-kit": "^0.24.0",
"eslint": "^9.9.0",
"drizzle-kit": "^0.28.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"postcss": "^8.4.41",
"eslint-plugin-svelte": "^2.46.0",
"postcss": "^8.4.48",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-tailwindcss": "^0.6.6",
"svelte": "5.0.0-next.219",
"svelte-check": "^3.8.5",
"prettier-plugin-svelte": "^3.2.8",
"prettier-plugin-tailwindcss": "^0.6.8",
"svelte": "5.1.14",
"svelte-check": "^4.0.6",
"svelte-motion": "^0.12.2",
"sveltekit-superforms": "^2.16.1",
"tailwindcss": "^3.4.9",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"vite": "^5.4.0",
"vitest": "^2.0.5",
"sveltekit-superforms": "^2.20.0",
"tailwindcss": "^3.4.14",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitest": "^2.1.4",
"zod": "^3.23.8"
},
"type": "module",
"dependencies": {
"@libsql/client": "^0.9.0",
"@portabletext/toolkit": "^2.0.15",
"@libsql/client": "^0.14.0",
"@portabletext/toolkit": "^2.0.16",
"@portabletext/types": "^2.0.13",
"@sanity/client": "^6.21.2",
"@sanity/image-url": "^1.0.2",
"@sendgrid/mail": "^8.1.3",
"bits-ui": "^0.21.13",
"@sanity/client": "^6.22.4",
"@sanity/image-url": "^1.1.0",
"@sendgrid/mail": "^8.1.4",
"bits-ui": "^0.21.16",
"clsx": "^2.1.1",
"drizzle-orm": "^0.33.0",
"drizzle-orm": "^0.36.1",
"fast-blurhash": "^1.1.4",
"groqd": "^0.15.12",
"install": "^0.13.0",
"lucide-svelte": "^0.427.0",
"lucide-svelte": "^0.456.0",
"motion": "^10.18.0",
"posthog-js": "^1.155.0",
"svelte-sonner": "^0.3.27",
"tailwind-merge": "^2.5.2",
"posthog-js": "^1.181.0",
"svelte-sonner": "^0.3.28",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.2.1",
"three": "^0.167.1"
"three": "^0.170.0"
}
}
8 changes: 4 additions & 4 deletions app/src/components/Gallery.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
import Image from './Image.svelte';
import { sanityImgUrl } from '@/lib/utils/sanityImgUrl';
type Image = {
type SanityImage = {
src: string;
alt: string;
blurHash: string | null;
};
type Props = {
images: Image[];
images: SanityImage[];
};
let { images }: Props = $props();
let selectedImage = $state<Image | null>(null);
let selectedImage = $state<SanityImage | null>(null);
</script>

<div class="grid grid-cols-1 gap-4 pt-8 sm:grid-cols-2">
{#each images as { src, alt, blurHash }, i}
{#each images as { src, alt, blurHash }}
<button onclick={() => (selectedImage = { src, alt, blurHash })}>
<Image {src} {alt} {blurHash} />
</button>
Expand Down
3 changes: 2 additions & 1 deletion app/src/lib/portableText/ListNode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { type ToolkitPortableTextHtmlList, type ToolkitPortableTextList } from '@portabletext/toolkit';
import type { PortableTextSpan } from '@portabletext/types';
import TextNode from './TextNode.svelte';
import ListNode from './ListNode.svelte';
type Props = {
list: ToolkitPortableTextHtmlList;
Expand All @@ -28,7 +29,7 @@
<li>
{#each listItem.children as child}
{#if isListBlock(child)}
<svelte:self list={child} />
<ListNode list={child} />
{:else}
<TextNode {child} />
{/if}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"prettier": "prettier --write \"**/*.{ts,tsx,md,svelte,js,json,yaml}\"",
"prettier-check": "prettier --plugin-search-dir . --check .",
"sanity": "pnpm --filter @portfolio/sanity",
"app": "pnpm --filter @portfolio/app"
"web": "pnpm --filter @portfolio/web"
},
"devDependencies": {
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"prettier-plugin-tailwindcss": "^0.6.8",
"unique-names-generator": "^4.7.1"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit dbf80a2

Please sign in to comment.