Browse Source

fixed the build and all errors

master
silberengel 8 months ago
parent
commit
e7299c755e
  1. 1884
      package-lock.json
  2. 12
      package.json
  3. 1
      src/lib/components/publications/Publication.svelte
  4. 2
      src/routes/+page.svelte

1884
package-lock.json generated

File diff suppressed because it is too large Load Diff

12
package.json

@ -15,7 +15,7 @@
}, },
"dependencies": { "dependencies": {
"@nostr-dev-kit/ndk": "^2.14.32", "@nostr-dev-kit/ndk": "^2.14.32",
"@nostr-dev-kit/ndk-cache-dexie": "2.5.x", "@nostr-dev-kit/ndk-cache-dexie": "2.6.x",
"@popperjs/core": "2.11.x", "@popperjs/core": "2.11.x",
"@tailwindcss/forms": "0.5.x", "@tailwindcss/forms": "0.5.x",
"@tailwindcss/typography": "0.5.x", "@tailwindcss/typography": "0.5.x",
@ -25,7 +25,7 @@
"he": "1.2.x", "he": "1.2.x",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
"node-emoji": "^2.2.0", "node-emoji": "^2.2.0",
"nostr-tools": "2.10.x", "nostr-tools": "2.15.x",
"plantuml-encoder": "^1.4.0", "plantuml-encoder": "^1.4.0",
"qrcode": "^1.5.4" "qrcode": "^1.5.4"
}, },
@ -34,8 +34,8 @@
"@sveltejs/adapter-auto": "3.x", "@sveltejs/adapter-auto": "3.x",
"@sveltejs/adapter-node": "^5.2.13", "@sveltejs/adapter-node": "^5.2.13",
"@sveltejs/adapter-static": "3.x", "@sveltejs/adapter-static": "3.x",
"@sveltejs/kit": "^2.23.0", "@sveltejs/kit": "^2.25.0",
"@sveltejs/vite-plugin-svelte": "4.x", "@sveltejs/vite-plugin-svelte": "5.x",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.3",
"@types/he": "1.2.x", "@types/he": "1.2.x",
"@types/node": "22.x", "@types/node": "22.x",
@ -55,8 +55,8 @@
"tailwind-merge": "^3.3.0", "tailwind-merge": "^3.3.0",
"tailwindcss": "3.x", "tailwindcss": "3.x",
"tslib": "2.8.x", "tslib": "2.8.x",
"typescript": "5.7.x", "typescript": "5.8.x",
"vite": "5.x", "vite": "6.x",
"vitest": "^3.1.3" "vitest": "^3.1.3"
} }
} }

1
src/lib/components/publications/Publication.svelte

@ -201,7 +201,6 @@
> >
<CloseButton onclick={closeToc} class='btn-leather absolute top-4 right-4 hover:bg-primary-50 dark:hover:bg-primary-800' /> <CloseButton onclick={closeToc} class='btn-leather absolute top-4 right-4 hover:bg-primary-50 dark:hover:bg-primary-800' />
<TableOfContents <TableOfContents
displayMode='sidebar'
rootAddress={rootAddress} rootAddress={rootAddress}
depth={2} depth={2}
onSectionFocused={(address: string) => publicationTree.setBookmark(address)} onSectionFocused={(address: string) => publicationTree.setBookmark(address)}

2
src/routes/+page.svelte

@ -7,7 +7,7 @@
import { HammerSolid } from "flowbite-svelte-icons"; import { HammerSolid } from "flowbite-svelte-icons";
import { userStore } from '$lib/stores/userStore'; import { userStore } from '$lib/stores/userStore';
import { inboxRelays, ndkSignedIn } from "$lib/ndk"; import { inboxRelays, ndkSignedIn } from "$lib/ndk";
import PublicationFeed from '$lib/components/PublicationFeed.svelte'; import PublicationFeed from '$lib/components/publications/PublicationFeed.svelte';
let searchQuery = $state(''); let searchQuery = $state('');
let user = $state($userStore); let user = $state($userStore);

Loading…
Cancel
Save