From 3a3682c3eaa8806ca2800fab08e004366cc13ddc Mon Sep 17 00:00:00 2001 From: moonmoon <64200419+Moon-DaeSeung@users.noreply.github.com> Date: Mon, 8 Apr 2024 22:59:59 +0900 Subject: [PATCH] seo --- .../svelte-notion-page/build-storybook.log | 232 +++++++++++------- packages/svelte-notion-page/package.json | 2 +- .../src/lib/components/notion.css | 21 +- .../BulletedListItem.svelte | 28 ++- .../Code/Code.svelte | 8 +- .../Image/Image.svelte | 10 +- .../NumberedListItem.svelte | 34 ++- .../Paragraph.svelte | 2 +- .../default-notion-components/Toggle.svelte | 1 + .../src/stories/Image/notion-export.ts | 2 +- .../stories/bulleted_list/notion-export.ts | 2 +- .../stories/numbered_list/notion-export.ts | 4 +- 12 files changed, 209 insertions(+), 137 deletions(-) diff --git a/packages/svelte-notion-page/build-storybook.log b/packages/svelte-notion-page/build-storybook.log index 28f373f..10b8eb8 100644 --- a/packages/svelte-notion-page/build-storybook.log +++ b/packages/svelte-notion-page/build-storybook.log @@ -1,11 +1,23 @@ +npm WARN ignoring workspace config at /Users/daeseungmoon/work/svelte-notion-page/packages/svelte-notion-page/.npmrc + +> @cozy-blog/svelte-notion-page@0.0.24 build-storybook +> storybook build --output-dir /var/folders/1x/8yjjyfvx5fngxx7tjs46t5r00000gn/T/chromatic--93336-tAcLyMxLzgc8 + @storybook/cli v7.0.0-rc.3 -info => Cleaning outputDir: /var/folders/1x/8yjjyfvx5fngxx7tjs46t5r00000gn/T/chromatic--95176-8GSvyj8NBZfF +info => Cleaning outputDir: /var/folders/1x/8yjjyfvx5fngxx7tjs46t5r00000gn/T/chromatic--93336-tAcLyMxLzgc8 +(node:93563) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. +(Use `node --trace-deprecation ...` to show where the warning was created) info => Loading presets info => Building manager.. -info => Manager built (107 ms) -info => Copying static files: /Users/daeseungmoon/work/cozy-notion/node_modules/@storybook/manager/static at /var/folders/1x/8yjjyfvx5fngxx7tjs46t5r00000gn/T/chromatic--95176-8GSvyj8NBZfF/sb-common-assets +info => Manager built (118 ms) +info => Copying static files: /Users/daeseungmoon/work/svelte-notion-page/node_modules/@storybook/manager/static at /var/folders/1x/8yjjyfvx5fngxx7tjs46t5r00000gn/T/chromatic--93336-tAcLyMxLzgc8/sb-common-assets +10:14:02 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. +svelte-katex@0.1.2 +svelte-youtube-embed@0.1.8 + +Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details. vite v4.2.0 building for production... ./sb-common-assets/fonts.css doesn't exist at build time, it will remain unchanged to be resolved at runtime @@ -13,113 +25,147 @@ transforming... Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme -9:24:07 AM [vite-plugin-svelte] /src/lib/default-notion-components/Heading3.svelte:34:1 Unused CSS selector "summary::marker" +10:14:07 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. + +svelte-youtube-embed@0.1.8 +svelte-katex@0.1.2 + +Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details. +10:14:07 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. + +svelte-katex@0.1.2 +svelte-youtube-embed@0.1.8 + +Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details. +10:14:07 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. + +svelte-youtube-embed@0.1.8 +svelte-katex@0.1.2 + +Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details. +10:14:07 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. + +svelte-katex@0.1.2 +svelte-youtube-embed@0.1.8 + +Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details. +10:14:07 PM [vite-plugin-svelte] /Users/daeseungmoon/work/svelte-notion-page/packages/svelte-notion-page/src/lib/default-notion-components/Heading3.svelte:34:1 Unused CSS selector "summary::marker" 32: 33: diff --git a/packages/svelte-notion-page/src/lib/default-notion-components/Paragraph.svelte b/packages/svelte-notion-page/src/lib/default-notion-components/Paragraph.svelte index 093ec3d..4778712 100644 --- a/packages/svelte-notion-page/src/lib/default-notion-components/Paragraph.svelte +++ b/packages/svelte-notion-page/src/lib/default-notion-components/Paragraph.svelte @@ -20,7 +20,7 @@ margin-top: 0; margin-bottom: 0; margin-block-start: 0; - margin-end-start: 0; + margin-block-end: 0; } .notion-paragraph-content { diff --git a/packages/svelte-notion-page/src/lib/default-notion-components/Toggle.svelte b/packages/svelte-notion-page/src/lib/default-notion-components/Toggle.svelte index ae1c9e8..4408072 100644 --- a/packages/svelte-notion-page/src/lib/default-notion-components/Toggle.svelte +++ b/packages/svelte-notion-page/src/lib/default-notion-components/Toggle.svelte @@ -11,6 +11,7 @@
diff --git a/packages/svelte-notion-page/src/stories/Image/notion-export.ts b/packages/svelte-notion-page/src/stories/Image/notion-export.ts index 8a6fbb3..51106fc 100644 --- a/packages/svelte-notion-page/src/stories/Image/notion-export.ts +++ b/packages/svelte-notion-page/src/stories/Image/notion-export.ts @@ -59,7 +59,7 @@ export const multipleImageJson = { }, { object: 'block', - id: 'f3eab6d3-fa21-4f62-b586-9fffc93c3fdd', + id: 'f3eab63-fa21-4f62-b586-9fffc93c3fdd', parent: { type: 'page_id', page_id: 'dffa6fc2-7f09-4640-9ab0-a6e26309140b' diff --git a/packages/svelte-notion-page/src/stories/bulleted_list/notion-export.ts b/packages/svelte-notion-page/src/stories/bulleted_list/notion-export.ts index 897ac23..469f5e5 100644 --- a/packages/svelte-notion-page/src/stories/bulleted_list/notion-export.ts +++ b/packages/svelte-notion-page/src/stories/bulleted_list/notion-export.ts @@ -604,7 +604,7 @@ export const json = { }, { object: 'block', - id: '61fd2e57-e1e7-477a-b21d-69b3fa5f9779', + id: '61xd2e57-e1e7-477a-b21d-69b3fa5f9779', parent: { type: 'block_id', block_id: '11d67279-49d5-4afa-b45e-4a7fa31291e9' diff --git a/packages/svelte-notion-page/src/stories/numbered_list/notion-export.ts b/packages/svelte-notion-page/src/stories/numbered_list/notion-export.ts index 1945285..b80ff74 100644 --- a/packages/svelte-notion-page/src/stories/numbered_list/notion-export.ts +++ b/packages/svelte-notion-page/src/stories/numbered_list/notion-export.ts @@ -675,7 +675,7 @@ export const json = { }, { object: 'block', - id: '61fd2e57-e1e7-477a-b21d-69b3fa5f9779', + id: '61ad2e57-e1e7-477a-b21d-69b3fa5f9779', parent: { type: 'block_id', block_id: '11d67279-49d5-4afa-b45e-4a7fa31291e9' @@ -720,7 +720,7 @@ export const json = { }, { object: 'block', - id: '61fd2e57-e1e7-477a-b21d-69b3fa5f9779', + id: '61xd2e57-e1e7-477a-b21d-69b3fa5f9779', parent: { type: 'block_id', block_id: '11d67279-49d5-4afa-b45e-4a7fa31291e9'