ECMaker / blog

https://blog.ec-maker.com/
0 stars 0 forks source link

feature/#68 文字色、太文字への対応 fix #96

Closed u-ecmaker closed 1 month ago

u-ecmaker commented 1 month ago

feature/#68 文字色、太文字への対応 fix

RichTextコンポーネント修正: Notionリッチテキストの色反映


issueより #68

すべて黒色となる。の対応。↑ image

参考:https://alpacat.com/posts/easy-notion-blog-v07

一瞬で解決した
image

github-actions[bot] commented 1 month ago
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) (563 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) (1287 ms) 17.2 kB 215 kB ├ ● /posts/[slug] (ISR: 1 Seconds) (63516 ms) 19.2 kB 458 kB ├ ├ /posts/icon (8741 ms) ├ ├ /posts/Notion-Block-Preview (8432 ms) ├ ├ /posts/logo (7304 ms) ├ ├ /posts/notion-blog_image-issue (6004 ms) ├ ├ /posts/RDP_remote-desktop (5049 ms) ├ ├ /posts/kakuteishinkoku_r5 (4488 ms) ├ ├ /posts/notion-blog_google-analytics (4268 ms) ├ └ [+11 more paths] (avg 1748 ms) ├ ● /profile (343 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 (1701 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 (352 ms) 311 kB 541 kB + First Load JS shared by all 174 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-215200621d8945fb.js 1.89 kB └ css/9dba346ae5c2fd17.css 6.87 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.53s. ​ (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 58.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: 6719f2cb37025880c025702c 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 54.5s)
Build logs: https://app.netlify.com/sites/blog-ecmaker/deploys/6719f2cb37025880c025702c Function logs: https://app.netlify.com/sites/blog-ecmaker/logs/functions?scope=deploy:6719f2cb37025880c025702c Edge function Logs: https://app.netlify.com/sites/blog-ecmaker/logs/edge-functions?scope=deployid:6719f2cb37025880c025702c Website draft URL: https://6719f2cb37025880c025702c--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