Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/#91 各notion blockへの細かい対応 #95

Merged
merged 13 commits into from
Oct 23, 2024

Conversation

u-ecmaker
Copy link
Member

@u-ecmaker u-ecmaker commented Oct 20, 2024

fix/#91 各NotionBlockへの細かい対応

  • インラインコード:rigchTextで指定していた。
  • ToDoリスト fix.
    • ToDoリスト内の改行を上構えに変更
    • 改行時の行間を調整
      このためglobals.cssに定義して専用の改行幅をRitchTextで指定した。応用すれば他のBlockTypeでも使える技。
  • 箇条書き/数字リスト fix.
    • htmlのnl, ul, ol を学んだ。
    • 箇条書きの "・文字" 間のスペースは詰められなかった
    • 4o と 4Turbo は歴然の差があると知った
  • Callout fix.
    • callout 余白調整
    • SpeatchBuble ロボ、AI、U-icon 追加
  • publicフォルダ整理
  • 数式対応
    • パッケージインストール
    • 大文字小文字の区別が大事。
  • 画像ズーム機能 #53 つづき image続き 縦横比 fix
    • 縦横比から画像サイズを動的に変更
    • センター構えに変更
  • 埋め込みBlockのbug #90 つづき 埋め込みブロック続き
    • 読み込み時 caption fix
    • 縦横比から画像サイズを動的に変更
    • captionに対応
    • 大きさを調整
    • TikTok Skeltonに対応
    • SNS埋め込みリロード機能実装
  • 画像ズーム機能 #53 つづき ↑同様にimageリロード機能実装 fix.
    • handleImageError関数を定義し、画像取得失敗時にtrigger-reloadイベントを発火
    • sessionStorageを使用して、リダイレクトが一度だけ行われるように制御
    • ImageコンポーネントのonErrorプロパティにhandleImageError関数を渡す
    • _appコンポーネントでtrigger-reloadイベントをキャッチしてリダイレクトを制御
  • ページネーションの状態をsessionStorageで保持し、ブラウザバック時に復元
    • PostsTemplateコンポーネントを修正し、ページネーションの状態をsessionStorageに保存。
    • コンポーネントの初回マウント時にsessionStorageからページ番号を復元するように変更。
    • useEffectの依存配列を調整し、pagination.activeの変更がsessionStorageの更新に影響を与えないように修正。
    • isInitialMountというuseRefを使用し、初回マウント時のみsessionStorageからページ番号を復元。
    • 無限ループの問題を解決し、ユーザーが/posts/[slug]から戻ってきたときに前回のページネーションの状態が復元されるように改善。
    • pagination.activeの変更がsessionStorageの更新に影響を与えないようにし、無限ループを防止。

- インラインコード:rigchTextで指定していた。
  #68 文字色対応にも通ずる筈。
- ToDoリスト内の改行を上構えに変更
- 改行時の行間を調整
  このためglobals.cssに定義して専用の改行幅をRitchTextで指定した。応用すれば他のBlockTypeでも使える技。
- htmlのnl, ul, ol を学んだ。
- 箇条書きの "・文字" 間のスペースは詰められなかった
- 4o と 4Turbo は歴然の差があると知った
- callout 余白調整
- SpeatchBuble ロボ、AI、U-icon 追加
@u-ecmaker u-ecmaker linked an issue Oct 20, 2024 that may be closed by this pull request
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.0 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
info - Generating static pages (9/39)
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (614 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (358 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1188 ms) 17 kB 214 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (63059 ms) 19.2 kB 380 kB
├ ├ /posts/logo (11649 ms)
├ ├ /posts/icon (8083 ms)
├ ├ /posts/Notion-Block-Preview (6122 ms)
├ ├ /posts/notion-blog_google-analytics (5520 ms)
├ ├ /posts/notion-blog_image-issue (5281 ms)
├ ├ /posts/RDP_remote-desktop (3658 ms)
├ ├ /posts/kakuteishinkoku_r5 (3404 ms)
├ └ [+11 more paths] (avg 1758 ms)
├ ● /profile (509 ms) 1.08 kB 237 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 903 B 237 kB
├ ● /sandbox/notion-blocks-preview (6421 ms) 4.2 kB 240 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (352 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-51283159950885dd.js 1.86 kB
    └ css/6f3fcae1c04ec338.css 6.65 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 89.49s.

(build.command completed in 1m 29.6s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/Notion-Block-Preview' │ 1 │
│ 3 │ '/posts/debug-test' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 55.8s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6714a052ae59ca9b2bb85f49
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 48.3s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6714a052ae59ca9b2bb85f49
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6714a052ae59ca9b2bb85f49
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6714a052ae59ca9b2bb85f49
Website draft URL: https://6714a052ae59ca9b2bb85f49--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

- 数式パッケージインストールして新規作成
- 大文字小文字の区別が大事。
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.0 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (591 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (367 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (5338 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (63497 ms) 19.2 kB 457 kB
├ ├ /posts/logo (7851 ms)
├ ├ /posts/notion-blog_google-analytics (7531 ms)
├ ├ /posts/Notion-Block-Preview (6519 ms)
├ ├ /posts/BI_seikika (5851 ms)
├ ├ /posts/notion-blog_netlify-deploy-methods (5506 ms)
├ ├ /posts/icon (5419 ms)
├ ├ /posts/kakuteishinkoku_r5 (4130 ms)
├ └ [+11 more paths] (avg 1881 ms)
├ ● /profile (318 ms) 1.09 kB 314 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 907 B 314 kB
├ ● /sandbox/notion-blocks-preview (1879 ms) 4.2 kB 317 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (355 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-34109093747fea20.js 1.89 kB
    └ css/6f3fcae1c04ec338.css 6.65 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 93.92s.

(build.command completed in 1m 34s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 0.1s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 7s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 67150d08c3cb3c051f396314
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 4m 2.7s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/67150d08c3cb3c051f396314
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:67150d08c3cb3c051f396314
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:67150d08c3cb3c051f396314
Website draft URL: https://67150d08c3cb3c051f396314--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

- 縦横比から画像サイズを動的に変更
- センター構えに変更
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.0 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (1070 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1576 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (55929 ms) 19.2 kB 457 kB
├ ├ /posts/icon (8590 ms)
├ ├ /posts/Notion-Block-Preview (6643 ms)
├ ├ /posts/logo (5171 ms)
├ ├ /posts/BI_seikika (4356 ms)
├ ├ /posts/notion-blog_google-analytics (4221 ms)
├ ├ /posts/notion-blog_getting-started (4215 ms)
├ ├ /posts/RDP_remote-desktop (2894 ms)
├ └ [+11 more paths] (avg 1804 ms)
├ ● /profile (1092 ms) 1.09 kB 314 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 907 B 314 kB
├ ● /sandbox/notion-blocks-preview (2358 ms) 4.2 kB 317 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (343 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-34109093747fea20.js 1.89 kB
    └ css/6f3fcae1c04ec338.css 6.65 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 88.47s.

(build.command completed in 1m 28.6s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/Notion-Block-Preview' │ 1 │
│ 3 │ '/posts/debug-test' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 59.4s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.5s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6715f7d0ae59caf947b86115
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 56.2s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6715f7d0ae59caf947b86115
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6715f7d0ae59caf947b86115
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6715f7d0ae59caf947b86115
Website draft URL: https://6715f7d0ae59caf947b86115--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

- 縦横比から画像サイズを動的に変更
- captionに対応
- 大きさを調整
- TikTok Skeltonに対応
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (622 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (371 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1633 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (66986 ms) 19.2 kB 458 kB
├ ├ /posts/logo (8237 ms)
├ ├ /posts/notion-blog_getting-started (6757 ms)
├ ├ /posts/notion-blog_google-analytics (6705 ms)
├ ├ /posts/notion-blog_image-issue (5370 ms)
├ ├ /posts/icon (5073 ms)
├ ├ /posts/BI_seikika (5020 ms)
├ ├ /posts/notion-blog_netlify-deploy-methods (4614 ms)
├ └ [+11 more paths] (avg 2292 ms)
├ ● /profile (669 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 907 B 314 kB
├ ● /sandbox/notion-blocks-preview (1614 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (343 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 92.02s.

(build.command completed in 1m 32.2s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/Notion-Block-Preview' │ 1 │
│ 3 │ '/posts/debug-test' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 59.4s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.3s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6716f759403ab80c27db72e7
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 57.9s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6716f759403ab80c27db72e7
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6716f759403ab80c27db72e7
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6716f759403ab80c27db72e7
Website draft URL: https://6716f759403ab80c27db72e7--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (405 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (396 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (3212 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (67039 ms) 19.2 kB 458 kB
├ ├ /posts/Notion-Block-Preview (9233 ms)
├ ├ /posts/notion-blog_image-issue (9060 ms)
├ ├ /posts/icon (7512 ms)
├ ├ /posts/logo (7457 ms)
├ ├ /posts/notion-blog_google-analytics (4828 ms)
├ ├ /posts/BI_seikika (3726 ms)
├ ├ /posts/RDP_remote-desktop (3446 ms)
├ └ [+11 more paths] (avg 1980 ms)
├ ● /profile (569 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 907 B 314 kB
├ ● /sandbox/notion-blocks-preview (2564 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 92.75s.

(build.command completed in 1m 32.9s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/Notion-Block-Preview' │ 1 │
│ 3 │ '/posts/debug-test' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 59.3s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.3s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6716fa537adbd01525eb0a37
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 4m)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6716fa537adbd01525eb0a37
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6716fa537adbd01525eb0a37
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6716fa537adbd01525eb0a37
Website draft URL: https://6716fa537adbd01525eb0a37--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

- U-icon大文字間違いfix
- ついでにyoutubeのcaption調整
@u-ecmaker u-ecmaker force-pushed the fix/#91-各NotionBlockへの細かい対応 branch from b8faf42 to cfc73f3 Compare October 22, 2024 05:31
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (396 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (4730 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (58259 ms) 19.2 kB 458 kB
├ ├ /posts/notion-blog_google-analytics (10618 ms)
├ ├ /posts/notion-blog_image-issue (5897 ms)
├ ├ /posts/logo (5398 ms)
├ ├ /posts/icon (5363 ms)
├ ├ /posts/Notion-Block-Preview (3803 ms)
├ ├ /posts/notion-blog_netlify-deploy-methods (3444 ms)
├ ├ /posts/RDP_remote-desktop (3397 ms)
├ └ [+11 more paths] (avg 1849 ms)
├ ● /profile (523 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 224 kB
├ λ /sandbox/nextjs-ssr 907 B 314 kB
├ ● /sandbox/notion-blocks-preview (6362 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (380 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-851337512843f3f7.js 92.5 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 95.31s.

(build.command completed in 1m 35.4s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/Notion-Block-Preview' │ 1 │
│ 3 │ '/posts/debug-test' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 6.6s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.7s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 67173a693ddfed56744a0c81
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 4m 10.7s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/67173a693ddfed56744a0c81
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:67173a693ddfed56744a0c81
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:67173a693ddfed56744a0c81
Website draft URL: https://67173a693ddfed56744a0c81--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (601 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (385 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1145 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (69014 ms) 19.2 kB 458 kB
├ ├ /posts/notion-blog_getting-started (8220 ms)
├ ├ /posts/logo (7297 ms)
├ ├ /posts/Notion-Block-Preview (7122 ms)
├ ├ /posts/icon (7084 ms)
├ ├ /posts/notion-blog_google-analytics (5853 ms)
├ ├ /posts/notion-blog_image-issue (4829 ms)
├ ├ /posts/RDP_remote-desktop (4584 ms)
├ └ [+11 more paths] (avg 2184 ms)
├ ● /profile (314 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 225 kB
├ λ /sandbox/nextjs-ssr 907 B 315 kB
├ ● /sandbox/notion-blocks-preview (1645 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-5ab992d176049a74.js 92.7 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 94.63s.

(build.command completed in 1m 34.7s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 1s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.1s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6717a41b937432171d122e6d
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 59s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6717a41b937432171d122e6d
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6717a41b937432171d122e6d
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6717a41b937432171d122e6d
Website draft URL: https://6717a41b937432171d122e6d--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (620 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1702 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (75958 ms) 19.2 kB 458 kB
├ ├ /posts/BI_seikika (13199 ms)
├ ├ /posts/logo (9073 ms)
├ ├ /posts/icon (8658 ms)
├ ├ /posts/Notion-Block-Preview (7572 ms)
├ ├ /posts/RDP_remote-desktop (6756 ms)
├ ├ /posts/debug-test (6594 ms)
├ ├ /posts/notion-blog_google-analytics (4945 ms)
├ └ [+11 more paths] (avg 1742 ms)
├ ● /profile 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 225 kB
├ λ /sandbox/nextjs-ssr 907 B 315 kB
├ ● /sandbox/notion-blocks-preview (9720 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (359 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-5ab992d176049a74.js 92.7 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 101.06s.

(build.command completed in 1m 41.2s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 0.1s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 67182f0b1c10d29567dab7ec
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 4m 8.9s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/67182f0b1c10d29567dab7ec
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:67182f0b1c10d29567dab7ec
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:67182f0b1c10d29567dab7ec
Website draft URL: https://67182f0b1c10d29567dab7ec--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

共通のフラグを使用して、複数の埋め込みがある場合でも
リダイレクトを一度だけ行うように実装しました。

1. sessionStorageを使用して、リダイレクトが既に行われたかどうかを管理します。
2. 各埋め込みコンポーネントで、スケルトンが表示されている場合にtrigger-reloadイベントを発火させます。
3. Appコンポーネントでtrigger-reloadイベントをキャッチし、リダイレクトを一度だけ行うようにします。

これにより、複数の埋め込みがあってもリダイレクトが一度だけ行われるようになりました。
@u-ecmaker u-ecmaker force-pushed the fix/#91-各NotionBlockへの細かい対応 branch from 1a70252 to 038189e Compare October 23, 2024 00:14
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (432 ms) 2.17 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1522 ms) 17 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (73698 ms) 19.2 kB 458 kB
├ ├ /posts/Notion-Block-Preview (15064 ms)
├ ├ /posts/notion-blog_google-analytics (6810 ms)
├ ├ /posts/icon (6445 ms)
├ ├ /posts/logo (6295 ms)
├ ├ /posts/relocation (4494 ms)
├ ├ /posts/RDP_remote-desktop (4079 ms)
├ ├ /posts/BI_seikika (4019 ms)
├ └ [+11 more paths] (avg 2408 ms)
├ ● /profile 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 225 kB
├ λ /sandbox/nextjs-ssr 907 B 315 kB
├ ● /sandbox/notion-blocks-preview (1680 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (363 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-5ab992d176049a74.js 92.7 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 93.05s.

(build.command completed in 1m 33.2s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 2m 0.1s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.6s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6718415f52118e0599667a02
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 56.5s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6718415f52118e0599667a02
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6718415f52118e0599667a02
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6718415f52118e0599667a02
Website draft URL: https://6718415f52118e0599667a02--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

PostGridItemとPostListItemコンポーネントで画像取得失敗時に一度だけリダイレクトを行う処理を追加

- handleImageError関数を定義し、画像取得失敗時にtrigger-reloadイベントを発火
- sessionStorageを使用して、リダイレクトが一度だけ行われるように制御
- ImageコンポーネントのonErrorプロパティにhandleImageError関数を渡す
- Appコンポーネントでtrigger-reloadイベントをキャッチしてリダイレクトを制御
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (1339 ms) 2.25 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1208 ms) 17.1 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (61854 ms) 19.2 kB 458 kB
├ ├ /posts/RDP_remote-desktop (9285 ms)
├ ├ /posts/logo (7483 ms)
├ ├ /posts/Notion-Block-Preview (6210 ms)
├ ├ /posts/icon (5135 ms)
├ ├ /posts/notion-blog_netlify-deploy-methods (5083 ms)
├ ├ /posts/notion-blog_google-analytics (4425 ms)
├ ├ /posts/kakuteishinkoku_r5 (3731 ms)
├ └ [+11 more paths] (avg 1864 ms)
├ ● /profile (346 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 225 kB
├ λ /sandbox/nextjs-ssr 907 B 315 kB
├ ● /sandbox/notion-blocks-preview (1328 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (411 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-5ab992d176049a74.js 92.7 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 90.40s.

(build.command completed in 1m 30.5s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 59.5s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.2s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 671843132eaf3e0124f0ddfc
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 52.6s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/671843132eaf3e0124f0ddfc
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:671843132eaf3e0124f0ddfc
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:671843132eaf3e0124f0ddfc
Website draft URL: https://671843132eaf3e0124f0ddfc--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

fix: ページネーションの状態をsessionStorageで保持し、ブラウザバック時に復元

- PostsTemplateコンポーネントを修正し、ページネーションの状態をsessionStorageに保存。
- コンポーネントの初回マウント時にsessionStorageからページ番号を復元するように変更。
- useEffectの依存配列を調整し、pagination.activeの変更がsessionStorageの更新に影響を与えないように修正。
- isInitialMountというuseRefを使用し、初回マウント時のみsessionStorageからページ番号を復元。
- 無限ループの問題を解決し、ユーザーが/posts/[slug]から戻ってきたときに前回のページネーションの状態が復元されるように改善。
- pagination.activeの変更がsessionStorageの更新に影響を与えないようにし、無限ループを防止。
This was linked to issues Oct 23, 2024
@u-ecmaker u-ecmaker marked this pull request as ready for review October 23, 2024 07:22
Copy link

Netlify Build Log​ Netlify Build ──────────────────────────────────────────────────────────────── ​ ❯ Version @netlify/build 29.55.2 ​ ❯ Flags accountId: 64825fd12059ab0e3dd39238 ​ ❯ Current directory /home/runner/work/blog/blog ​ ❯ Config file No config file was defined: using default values. ​ ❯ Context production ​ ❯ Using Next.js Runtime - v4.41.3 ​ ❯ Outdated plugins - @netlify/plugin-nextjs@4.41.3: latest version is 5.8.1 To upgrade this plugin, please update its version in "package.json" No Next.js cache to restore. ​ Build command from Netlify app ──────────────────────────────────────────────────────────────── ​ $ yarn run build yarn run v1.22.22 $ next build info - Linting and checking validity of types...

./src/server/utils/algolia.ts
20:45 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/server/utils/ogp.ts
52:16 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
52:57 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

./src/utils/storage.ts
9:53 Warning: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
info - Generating static pages (0/39)
MyInputFileListComponent inputFiles null
MyInputFileComponent inputFiles []
MyInputMultiFileListComponent inputFiles null
MyInputMultiFileListControlComponent inputFiles null
info - Generating static pages (9/39)
info - Generating static pages (19/39)
info - Generating static pages (29/39)
info - Generating static pages (39/39)
info - Finalizing page optimization...

Route (pages) Size First Load JS
┌ ● / (ISR: 1 Seconds) (4196 ms) 2.25 kB 169 kB
├ /_app 0 B 167 kB
├ ○ /404 486 B 167 kB
├ λ /api/auth/[...nextauth] 0 B 167 kB
├ λ /api/hello 0 B 167 kB
├ λ /api/notion-blog/comments 0 B 167 kB
├ λ /api/notion-blog/likes/[page_id] 0 B 167 kB
├ ℇ /api/notion-blog/og 0 B 167 kB
├ λ /api/ogp 0 B 167 kB
├ ○ /contact (370 ms) 6.28 kB 300 kB
├ ○ /login 2.01 kB 169 kB
├ ● /posts (ISR: 1 Seconds) (1603 ms) 17.2 kB 215 kB
├ ● /posts/[slug] (ISR: 1 Seconds) (84191 ms) 19.2 kB 458 kB
├ ├ /posts/Notion-Block-Preview (13129 ms)
├ ├ /posts/icon (13003 ms)
├ ├ /posts/notion-blog_google-analytics (7209 ms)
├ ├ /posts/debug-test (7095 ms)
├ ├ /posts/logo (6945 ms)
├ ├ /posts/notion-blog_image-issue (6857 ms)
├ ├ /posts/openAI-API (4370 ms)
├ └ [+11 more paths] (avg 2326 ms)
├ ● /profile (831 ms) 1.09 kB 315 kB
├ ● /sandbox 839 B 198 kB
├ ○ /sandbox/input-file-list 1.55 kB 225 kB
├ λ /sandbox/nextjs-ssr 907 B 315 kB
├ ● /sandbox/notion-blocks-preview (5557 ms) 4.2 kB 318 kB
├ ○ /sandbox/react-hook-form 21.3 kB 244 kB
├ ○ /sandbox/react-memo 869 B 224 kB
├ ○ /sandbox/react-use-memo 707 B 224 kB
├ ○ /sandbox/rive 24.4 kB 247 kB
├ ○ /sandbox/shape-by-css 1.02 kB 168 kB
├ ○ /sandbox/svgr 2.1 kB 225 kB
├ ○ /sandbox/swr 2.33 kB 230 kB
├ ○ /sandbox/touch-event 1.68 kB 225 kB
├ ○ /sandbox/view-transitions-api 1.23 kB 224 kB
├ ○ /sandbox/view-transitions-api/other 922 B 168 kB
└ ○ /sandbox/worldcoin (373 ms) 311 kB 541 kB

  • First Load JS shared by all 173 kB
    ├ chunks/framework-ce84985cd166733a.js 45.2 kB
    ├ chunks/main-4da6185358dbe7bf.js 26.9 kB
    ├ chunks/pages/_app-5ab992d176049a74.js 92.7 kB
    ├ chunks/webpack-05b041e064b8b522.js 1.89 kB
    └ css/0299507b39a6345c.css 6.69 kB

ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)

Done in 98.52s.

(build.command completed in 1m 38.7s)
NextAuth package detected, setting NEXTAUTH_URL environment variable to https://blog.ec-maker.com
Moving static page files to serve from CDN...
Moved 22 files to CDN
The following routes use "revalidate" values of under 60 seconds, which is not supported.
They will use a revalidate time of 60 seconds instead.
┌─────────┬─────────────────────────────────────────────┬────────────┐
│ (index) │ Route │ Revalidate │
├─────────┼─────────────────────────────────────────────┼────────────┤
│ 0 │ '/' │ 1 │
│ 1 │ '/posts' │ 1 │
│ 2 │ '/posts/debug-test' │ 1 │
│ 3 │ '/posts/Notion-Block-Preview' │ 1 │
│ 4 │ '/posts/notion-blog_netlify-deploy-methods' │ 1 │
│ 5 │ '/posts/notion-blog_getting-started' │ 1 │
│ 6 │ '/posts/next.js_TipTap_plugin' │ 1 │
│ 7 │ '/posts/logo' │ 1 │
│ 8 │ '/posts/icon' │ 1 │
│ 9 │ '/posts/kakuteishinkoku_r5' │ 1 │
│ 10 │ '/posts/notion-blog_image-issue' │ 1 │
│ 11 │ '/posts/openAI-API' │ 1 │
│ 12 │ '/posts/notion-blog_google-analytics' │ 1 │
│ 13 │ '/posts/notion-blog_image-size' │ 1 │
│ 14 │ '/posts/schedule-git' │ 1 │
│ 15 │ '/posts/RDP_remote-desktop' │ 1 │
│ 16 │ '/posts/relocation' │ 1 │
│ 17 │ '/posts/BI_seikika' │ 1 │
│ 18 │ '/posts/nodejs_npm-audit-fix' │ 1 │
│ 19 │ '/posts/github-pr-auto-branch' │ 1 │
└─────────┴─────────────────────────────────────────────┴────────────┘
You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
✨ Deploying middleware and functions to Netlify Edge Functions ✨

Functions bundling
────────────────────────────────────────────────────────────────

Packaging Functions from .netlify/functions-internal directory:

  • ___netlify-handler/___netlify-handler.js
  • ___netlify-odb-handler/___netlify-odb-handler.js
  • _ipx/_ipx.js


    (Functions bundling completed in 1m 57.8s)

    Edge Functions bundling
    ────────────────────────────────────────────────────────────────

    Packaging Edge Functions from .netlify/edge-functions directory:
  • next_pages_api_notion_blog_og

    (Edge Functions bundling completed in 6.1s)
    Next.js cache saved.
    Deploy path: /home/runner/work/blog/blog/.next
    Deploying to draft URL...

    Netlify Build
    ────────────────────────────────────────────────────────────────

    ❯ Version
    @netlify/build 29.55.2

    ❯ Flags
    auth: nfp_GoRr3esto6qez5kYyUhqYYVSpSHm3zB166e2
    build: true
    deployId: 6718a54afb455c5d48a57d2d
    open: false
    prod: false
    prodIfUnlocked: false
    site: 80899a26-cfcb-42f8-886e-c84364cdaae9
    skipFunctionsCache: false

    ❯ Current directory
    /home/runner/work/blog/blog

    ❯ Config file
    No config file was defined: using default values.

    ❯ Context
    dev

    Netlify Build Complete
    ────────────────────────────────────────────────────────────────

    (Netlify Build completed in 3m 58.9s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6718a54afb455c5d48a57d2d
Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6718a54afb455c5d48a57d2d
Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6718a54afb455c5d48a57d2d
Website draft URL: https://6718a54afb455c5d48a57d2d--blog-ecmaker.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --build --prod

@u-ecmaker u-ecmaker merged commit c23a8b0 into main Oct 23, 2024
1 check passed
@u-ecmaker u-ecmaker deleted the fix/#91-各NotionBlockへの細かい対応 branch October 23, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

各NotionBlockへの細かい対応 埋め込みBlockのbug 画像ズーム機能
1 participant