From cc478795a2fb4a7e2cf74028f5279cfb5e45dec7 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 12 Apr 2024 22:26:40 -0700 Subject: [PATCH] chore: remove unused fakerjs dep --- package.json | 1 - pnpm-lock.yaml | 8 -------- src/lib/components/Blog/PostCard.svelte | 1 - src/routes/blog/+page.svelte | 6 ------ 4 files changed, 16 deletions(-) diff --git a/package.json b/package.json index 39c4276..00df919 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "format": "prettier --write ." }, "devDependencies": { - "@faker-js/faker": "^8.4.1", "@playwright/test": "^1.28.1", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 13c8e33..0787c8f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,9 +85,6 @@ dependencies: version: 0.3.0(svelte@4.2.12) devDependencies: - '@faker-js/faker': - specifier: ^8.4.1 - version: 8.4.1 '@playwright/test': specifier: ^1.28.1 version: 1.43.0 @@ -602,11 +599,6 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@faker-js/faker@8.4.1: - resolution: {integrity: sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0, npm: '>=6.14.13'} - dev: true - /@floating-ui/core@1.6.0: resolution: {integrity: sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g==} dependencies: diff --git a/src/lib/components/Blog/PostCard.svelte b/src/lib/components/Blog/PostCard.svelte index 662d4fc..68087b9 100644 --- a/src/lib/components/Blog/PostCard.svelte +++ b/src/lib/components/Blog/PostCard.svelte @@ -3,7 +3,6 @@ import Placeholder from '$lib/assets/img/galaxy.jpg'; import Button from '../ui/button/button.svelte'; import PostMetadata from './PostMetadata.svelte'; - import { faker } from '@faker-js/faker'; export let doc: { metadata: PostMeta; diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index b066c20..adf5baa 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -2,18 +2,12 @@ import Archive from '$lib/components/Blog/Archive.svelte'; import ChevronRight from 'svelte-radix/ChevronRight.svelte'; - import * as Card from '$lib/components/ui/card'; - import Code from 'svelte-radix/Code.svelte'; import type { PageData } from './$types.js'; - // import { config } from '$lib/stores/index.js'; - import { cn } from '$lib/utils.js'; import Separator from '$lib/components/ui/separator/separator.svelte'; import Coredump from '$lib/assets/Coredump.svelte'; import { fly } from 'svelte/transition'; import { onMount } from 'svelte'; import PostCard from '$lib/components/Blog/PostCard.svelte'; - import { faker } from '@faker-js/faker'; - import Button from '$lib/components/ui/button/button.svelte'; export let data: PageData;