Blog powered by Notion, built with React, Next.JS, tailwindcss, TypeScript, Notion-Api-Worker and more.

  • By Harry Yep
  • Last update: Dec 28, 2022
  • Comments: 14

Notion Blog React

English | 简体中文

A fast serverless Blog powered by Notion.

A Blog powered by Notion, built with React, Next.js, tailwindcss, TypeScript, Notion-Api-Worker, React-Notion-X and more.

See Notion Photo React, if you would like to create a personal photo gallery website powered by Notion.

Features

Please see the features section on React-Notion-X by NotionX.

And also, you can...

Performance

Notion-Blog-React-Lighthouse-Performance-Desktop

Known Issues

  • Some Notion blocks is not supported. (Please see here for more info.)

How to deploy

Please visit Notion Blog React Documentation for more details.

Improvement / Plans

Related (Examples or Technology being used)

Alternatives

Turn Notion to Blog/Page

Credits

Copyright (c) 2022 Harry Yep

  • All Authors & Contributors who own its repository

Github

https://github.com/Harry-Yep/Notion-Blog-React

Comments(14)

  • 1

    errors on following paths /: /en-GB /: /zh-CN

    I get the following error when I try to install the site. Not the exact error but close enough. Export encountered errors on following paths /: /en-GB /: /zh-CN at /workspace/node_modules/next/dist/export/index.js

    I'm not a developer so my troubleshooting steps are basic. I did the following:

    1. Deleted node_modules, .cache, package-lock.json and yarn.lock and then using yarn install or npm install depending on which lock file I deleted.
    2. re-installed using yarn usually because I got an error about react 18 on a npm install.
    3. Should I be using a certain version of nodejs? I can't find a recommended version.
    4. Does that error make sense to you? Can you point me in the right direction? My google searches have not found a solution. I tried to remove all CN language items in any relevant i18n file, but made a mess of things. Thanks for any help you can provide.
  • 2

    Update dependency @types/react to v18

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @types/react | 17.0.44 -> 18.0.5 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

  • 3

    Bump next from 11.1.0 to 11.1.1

    Bumps next from 11.1.0 to 11.1.1.

    Release notes

    Sourced from next's releases.

    v11.1.1

    Core Changes

    • Next.js swc publish flow: #27984
    • Ensure config file message is only shown once: #28017
    • Add missing fields to NextConfig type: #27974
    • use a shared worker pool for collecting page data and static page generation: #27924
    • Use @​next scope for native packages: #28046
    • Fix generateBuildId type that can be async function: #28040
    • Fix image optimization encoding url: #28045
    • Clean up Document in preparation for streaming: #28032
    • Render as a concatenation of streams: #28082
    • Add support for dynamic HTML: #28085
    • Support suspense in next dynamic: #27611
    • Handle blob urls in image component: #27975
    • Bypass webpack compilation for precompiled @​next/polyfills-nomodule: #27596
    • Update util to 0.12.4: #27939
    • Remove duplicate doctypes: #28089
    • Fix revalidate for initial notFound: true paths: #28097
    • Add proper error when failing to load next.config.js: #28099
    • Fix: wrong link error message: #28127
    • Add support for Jaeger trace target: #28129
    • Enable pure client suspense in blocking rendering: #28165
    • Add entrypoint tracing: #25538
    • Add module type to build-module trace: #28128
    • Update to latest babel versions: #28174
    • Improve jaeger traces: #28168
    • fix development mode bug with pages with "+" and other special characters: #28122
    • let loaders automatically infer source map setting: #28204
    • Avoid fs write next-env.d.ts on read-only filesystems: #28206
    • Document usage of suspense option of next/dynamic: #28210
    • Add warning when parent styles break next/image: #28221
    • Use zen-observable library: #28214
    • Fix HMR when custom _app or _document is removed: #28227
    • Add relationship between issuer and module to traces: #28192
    • Update generating next-server dependencies: #28223
    • Fix next/image blur placeholder when JS is disabled: #28269
    • Ensure adding _app/_document HMRs correctly: #28279
    • upgrade webpack to 5.51.1: #28291
    • [ESLint] Adds process.exit to next lint success output: #28299
    • Fix next env vars injection in dynamic: #28309
    • Add layout to data-nimg attribute: #28312
    • Add data attribute to script component: #28310
    • Ensure @​babel/core is de-duped when nccing: #28384
    • Fix forked NODE_OPTIONS except for inspect: #28420
    • [ESLint] Enable caching by default: #28349
    • Update test config to leverage swc: #28400
    • Add missing typescript property to NextConfig: #28459
    • next/script fix duplicate scripts : #28428
    • Ensure error is shown correctly for empty headers field: #28430

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

  • 4

    Update dependency eslint to v8.31.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint (source) | 8.30.0 -> 8.31.0 | age | adoption | passing | confidence |


    Release Notes

    eslint/eslint

    v8.31.0

    Compare Source

    Features
    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#​16693) (Milos Djermanovic)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#​16006) (Morten Kaltoft)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#​16677) (Francesco Trotta)
    Bug Fixes
    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#​16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#​16608) (Milos Djermanovic)
    Documentation
    Chores

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 5

    Update nextjs monorepo to v13.1.1

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint-config-next | 13.1.0 -> 13.1.1 | age | adoption | passing | confidence | | next (source) | 13.1.0 -> 13.1.1 | age | adoption | passing | confidence |


    Release Notes

    vercel/next.js

    v13.1.1

    Compare Source

    Core Changes
    • Exclude srcset from svg image: #​44308
    • Fix CSS resource path not matched in __entry_css_files__: #​44310
    • Fix next/image 404 when basePath and trailingSlash defined: #​44312
    Documentation Changes
    • Remove experimental for modularizeImports from docs and example: #​44311
    Example Changes
    • Updated dependencies for with-tailwindcss example: #​44289
    Misc Changes
    • Use turbo for packing files in test setup: #​44074
    Credits

    Huge thanks to @​JanKaifer, @​Nutlope, @​styfle, and @​chibicode for helping!


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 6

    Update nextjs monorepo to v13.1.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint-config-next | 13.0.7 -> 13.1.0 | age | adoption | passing | confidence | | next (source) | 13.0.7 -> 13.1.0 | age | adoption | passing | confidence |


    Release Notes

    vercel/next.js

    v13.1.0

    Compare Source

    Core Changes
    • Fix windows slashes for app client entry: #​44052
    • Hash both pitch and main loader for server CSS imports: #​44063
    • Add tracing for testing tools: #​44046
    • Run packing in tests in parallel: #​44048
    • feat: app dir error-global component: #​44066
    • Fix ignoring dev warning for preload component: #​44065
    • refactor(next-swc): introduce next-binding to consolidate dependencies.: #​43473
    • Add lodash to server components external packages: #​44022
    • Fix dev session stopped handling: #​44112
    • Add jsdoc/no-types eslint rule for TypeScript files: #​44049
    • Revert "Remove useState from next/image (#​43587)": #​44094
    • should not contain pages css in app dir: #​44151
    • Upgrade undici to 5.14.0 to fix fetch redirect bug: #​44133
    • build(cargo): fix turbopack + next-swc build: #​43983
    • Align onRecoverableError callback between pages and app dir: #​44161
    • build(cargo): update turbopack: #​44167
    • Update styled-jsx: #​44070
    • Fix crash in GraalVM: #​44176
    • Also check error.message as digest for recoverable errors in pages: #​44185
    • Move options to stable: #​44195
    • Move transpilePackages out of experimental: #​44194
    • Fix CSS resources being duplicated in app dir: #​44168
    • Add telemetry for stable features: #​44201
    • Add warning for experimental flags that have moved: #​44202
    • build(cargo): bump up turbopack: #​44206
    • Bump @vercel/[email protected]: #​44193
    • Disable Image Optimization API when next.config.js has unoptimized: true: #​44205
    • Honour distDir in type generation: #​44207
    • Only once for the next/head usage in app dir: #​44233
    • Enable allowMiddlewareResponseBody by default: #​44224
    • Move modularizeImports out of experimental: #​44240
    • Update config validation for latest turbopack changes: #​44223
    • build(cargo): update turbopack: #​44241
    • update turbopack for bugfixes: #​44251
    Documentation Changes
    • docs: Add explanation about font-display: #​44001
    • Test that adding query can be detected by useSearchParams: #​43969
    • Add static test for useSelectedLayoutSegments: #​43955
    • Docs: Update deployment.md with Firebase, Amplify and Cloudflare: #​44092
    • Add test for rewriting in middleware in app-dir: #​43971
    • docs: Add missing type to import statement: #​44111
    • docs: update next/dynamic docs: #​44067
    • Update disabling-http-keep-alive.md for server-side only: #​43374
    • docs: fix spelling error: #​44191
    • Write tests for navigation between app-dir and pages: #​43881
    • Add docs for middleware flags: #​44235
    Example Changes
    • Updates with-supertokens example: #​44042
    • Fix styled-components setup in turbo example: #​44165
    • update with-turbopack example for postcss/tailwind support: #​44261
    Misc Changes
    • Run packing in tests in parallel
    • Revert "Run packing in tests in parallel"
    • Remove extra turbo test: #​44073
    • Implement new core test API: #​44086
    • Refactor more tests to createNextDescribe: #​44104
    • Add types as a default dependency into tests: #​44140
    • Suggest contributors to use shallow clone: #​44158
    • Update pnpm new-test to use createNextDescribe: #​44147
    • Update README templates to include snippet on next/font: #​44088
    • Wrap CSS variable in var: #​44153
    • Ensure next.url is used instead of next.appPort: #​44163
    • test: add test for notFound during streaming: #​44078
    • Fix test template example: #​44170
    • Remove devcontainer network host argument: #​44157
    • Fix pnpm install on Azure: #​44179
    • Enable ReactRefreshLogBox scss test: #​44180
    • Increase recommended git clone depth: #​44181
    • Document how chain works in BrowserInterface and chain to browser.eval: #​44085
    • Remove browser.refresh in app tests: #​44186
    • Move tests into their test folder: #​44183
    • Add test checking that repeated edits won't cause hydration issues: #​44189
    • Update labeler.json with current next.js team members: #​44231
    Credits

    Huge thanks to @​shuding, @​hanneslund, @​rishabhpoddar, @​JanKaifer, @​huozhi, @​timneutkens, @​kwonoj, @​IamManchanda, @​styfle, @​nyedidikeke, @​jaslong, @​jueungrace, @​longzheng, @​akshitsinha, @​Brooooooklyn, @​gish, and @​sokra for helping!


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 7

    Update dependency eslint to v8.30.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint (source) | 8.29.0 -> 8.30.0 | age | adoption | passing | confidence |


    Release Notes

    eslint/eslint

    v8.30.0

    Compare Source

    Features

    Bug Fixes

    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#​16579) (Nicholas C. Zakas)
    • 9b8bb72 fix: autofix recursive functions in no-var (#​16611) (Milos Djermanovic)

    Documentation

    Chores


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 8

    Update dependency @headlessui/react to v1.7.7

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @headlessui/react | 1.7.6 -> 1.7.7 | age | adoption | passing | confidence |


    Release Notes

    tailwindlabs/headlessui

    v1.7.7

    Compare Source

    Fixed
    • Improve scroll restoration after Dialog closes (b20e48dd)

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 9

    Update dependency @headlessui/react to v1.7.6

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @headlessui/react | 1.7.5 -> 1.7.6 | age | adoption | passing | confidence |


    Release Notes

    tailwindlabs/headlessui

    v1.7.6

    Compare Source

    Fixed
    • Fix regression where displayValue crashes (#​2087)
    • Fix displayValue syncing when Combobox.Input is unmounted and re-mounted in different trees (#​2090)
    • Fix FocusTrap escape due to strange tabindex values (#​2093)
    • Improve scroll locking on iOS (#​2100, 28234b0e)

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 10

    Update nextjs monorepo to v13.0.7

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | eslint-config-next | 13.0.6 -> 13.0.7 | age | adoption | passing | confidence | | next (source) | 13.0.6 -> 13.0.7 | age | adoption | passing | confidence |


    Release Notes

    vercel/next.js

    v13.0.7

    Compare Source

    Core Changes
    • Update react next tag: #​43617
    • fix(jest): pattern when detecting packages to transpile in next/jest: #​43546
    • Adding head element checking for root layout: #​43597
    • Revert: 'Minimized runtime errors in app dir': #​43648
    • fix: properly handle trailingSlash: true and rewrites: #​43641
    • @​next/font fallback fonts order fix: #​43633
    • Update cache handling for app: #​43659
    • Remove resolved app directory todos: #​43672
    • Fix typo in comment: #​43685
    • perf: disable prefetching for links in viewport in development for app routes: #​43730
    • Remove additional <div> at each segment level in app: #​43717
    • Revert "Adding head element checking for root layout": #​43760
    • fix ci pnpm lock error: #​43767
    • Force reflow when setting scrollBehavior: #​43673
    • Remove __webpack_exports__ from error overlay: #​43715
    • Fix chunk hash logic in hot-reloader for server components: #​43778
    • Assign layer to app client entries: #​43197
    • Remove notifications emitted during pnpm dev: #​43801
    • Display error digest if presented: #​43742
    • Fix HMR issue after patching the client module: #​43819
    • Implement loadable with lazy and suspense for next dynamic: #​42589
    • Do not attach CSS checksum for production build: #​43827
    • Provide error hints for invalid layout props via the TS plugin: #​43835
    • Refactor code: #​43828
    • Unhandled errors and rejections opens as minimized in app dir error overlay: #​43844
    • docs: add readme with development instructions for next/swc: #​43834
    • Use proxy to ensure Flight is referencing to the latest module during development: #​43823
    • memory: fix 2 memory leaks in next-dev: #​43859
    • Refactoring in @​next/font: #​43848
    • build(cargo): bump up swc_core, turbopack: #​43652
    • Move prefetch bailout to start of the prefetch function for pages: #​43731
    • Alias next/head to noop for rsc and add upgration warning: #​43885
    • Update freebsd build: #​43866
    • Fix error message for invalid runtime option in app dir: #​43900
    • fix: forwarding props to no ssr dynamic: #​43901
    • Improve type checking error message for invalid props: #​43903
    • Improve type checking error message for invalid props: #​43903
    • Support for named slots in type checking: #​43906
    • Fix next/dynamic types for resolving named export module: #​43923
    • Add auto completion for prop names and types to the TS plugin: #​43909
    • Skip creating VSCode config and .gitignore if running in CI: #​43935
    • Add helpful error for createContext used in Server Components: #​43747
    • Increase stack trace limit on the server: #​43800
    • Refactor image optimization util: #​43868
    • useSearchParams - bailout to client rendering during static generation: #​43603
    • Open server component errors fullscreen: #​43887
    • next-dev: restart dev server exceeds the memory limits: #​43958
    • Fix: status log when NEXT_TELEMETRY_DISABLED env is set: #​43948
    • Erase dynamic ssr:false imports on server: #​43974
    • use a function expression to access arguments binding: #​43987
    • Added support for query params on not found pages: #​43836
    • Update no-img-element lint rule: #​43982
    • Fix: fix pages in Route Groups returning 500 with output: "standalone": #​43746
    • Add default head for app dir: #​43963
    • Fix browser navigation buttons not working with shallow routing and middleware: #​43919
    • Fast refresh should recover from event handler errors in app dir: #​43882
    • Fix module error for findDOMNode on edge: #​43998
    • Adding data attr to inlined font definition: #​44008
    • Replace taskr.watch for core compilation: #​44027
    • Fix .images.remotePatterns[0].port warning: #​44032
    • Fix app client entry key for windows: #​44011
    • feat: enables 'edge' as a possible runtime for API routes: #​44045
    Documentation Changes
    • docs: Add notes about NEXT_MANUAL_SIG_HANDLE: #​43686
    • Changes vercel/examples links from linking to GitHub repo to template marketplace: #​43780
    • docs(migrating): fix broken react-router link: #​43843
    • Update compiler.md: #​43872
    • Add docs for missing support on custom routes: #​44007
    • docs: fix wording: #​44020
    • not ie 11 is dead: #​44029
    Example Changes
    • Add with-cloudinary example: #​43250
    • examples(with-turbopack): Fix styling page default active stylingNav: #​42739
    • Fixed broken Cloudinary example: #​43646
    • Convert with-why-did-you-render example to TypeScript: #​43736
    • chore(examples): Remove deprecated function from chakra: #​43784
    • chore(examples): Update convex example: #​43741
    • Update dependencies for Convex demo: #​43855
    • Convert with-gsap, with-mqtt-js, with-mux-video examples to Typescript: #​43874
    • Fix with-webassembly example and convert to Typescript: #​43677
    • corrected /examples/github-pages readme: #​43766
    • chore: add repro links in "verify canary" comment: #​43979
    • Move Google Analytics script to the : #​43838
    Misc Changes
    • Apply publish step optimizations: #​43620
    • Update create-next-app template: #​43482
    • Update test config: #​43661
    • Update flakey app logbox test: #​43682
    • Update flakey GSSP preview test: #​43702
    • Fix typos in 1.bug_report.yml: #​43697
    • Disable jest autorun in this repo: #​43727
    • Build test binary in Docker image: #​43745
    • Update bug report template to make it clear we require repro: #​43735
    • Add tests for server component HMR: #​43779
    • Add tests for rendering null and undefined in RSC: #​43768
    • Remove swcMinify from Next config in CNA template: #​43782
    • Remove serverComponents from next.conf.js because it's unused: #​43805
    • Add test for providing correct params to layouts: #​43775
    • Fix test binary generation and update test config: #​43790
    • Lock pnpm version during publish: #​43820
    • ci(actions): pin prod-test action image: #​43748
    • Upgrade playwright to 1.28.1: #​43818
    • modify rd email: #​43837
    • Test imports of all file types: #​43751
    • test: client component under server component with ssr:false: #​43853
    • Delete duplicate SECURITY.md: #​43856
    • Clarify e2e dependency on yarn in contributin docs: #​43287
    • test: use react latest: #​43884
    • Update @​next/font data: #​43883
    • Update flakey dev context tests: #​43951
    • Add VSCode settings and recommended extensions for Next.js repository: #​43954
    • Add Web Tooling team to codeowners: #​43981
    • Update docs change files list: #​43984
    • Fix e2e deploy test setup: #​43990
    Credits

    Huge thanks to @​Nutlope, @​huozhi, @​m7yue, @​BRKalow, @​Andarist, @​hanneslund, @​jueungrace, @​balazsorban44, @​ijjk, @​mmaaaaz, @​Alfred-Mountfield, @​soonoo, @​JanKaifer, @​feedthejim, @​Brooooooklyn, @​shuding, @​manovotny, @​maxproske, @​AnujSsStw, @​thomasballinger, @​kwonoj, @​aaronbrown-vercel, @​saseungmin, @​styfle, @​timneutkens, @​aziyatali, @​labyrinthitis, @​padmaia, @​mattpr, @​gnoff, @​wyattjoh, @​aarnadlr, @​DuCanhGH, @​kleintorres, @​janicklas-ralph, @​theevilhead, @​Nfinished, and @​feugy for helping!


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 11

    Update dependency postcss to v8.4.20

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | postcss (source) | 8.4.19 -> 8.4.20 | age | adoption | passing | confidence |


    Release Notes

    postcss/postcss

    v8.4.20

    Compare Source

    • Fixed source map generation for childless at-rules like @layer.

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 12

    Update dependency prettier to v2.8.2

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | prettier (source) | 2.8.1 -> 2.8.2 | age | adoption | passing | confidence |


    Release Notes

    prettier/prettier

    v2.8.2

    Compare Source

    diff

    Don't lowercase link references (#​13155 by @​DerekNonGeneric & @​fisker)
    <!-- Input -->
    We now don't strictly follow the release notes format suggested by [Keep a Changelog].
    
    [Keep a Changelog]: https://example.com/
    
    <!-- Prettier 2.8.1 -->
    We now don't strictly follow the release notes format suggested by [Keep a Changelog].
    
    [keep a changelog]: https://example.com/
    <!--
    ^^^^^^^^^^^^^^^^^^ lowercased
    -->
    
    <!-- Prettier 2.8.2 -->
    <Same as input>
    
    Preserve self-closing tags (#​13691 by @​dcyriller)
    {{! Input }}
    <div />
    <div></div>
    <custom-component />
    <custom-component></custom-component>
    <i />
    <i></i>
    <Component />
    <Component></Component>
    
    {{! Prettier 2.8.1 }}
    <div></div>
    <div></div>
    <custom-component></custom-component>
    <custom-component></custom-component>
    <i></i>
    <i></i>
    <Component />
    <Component />
    
    {{! Prettier 2.8.2 }}
    <div />
    <div></div>
    <custom-component />
    <custom-component></custom-component>
    <i />
    <i></i>
    <Component />
    <Component />
    
    Allow custom "else if"-like blocks with block params (#​13930 by @​jamescdavis)

    #​13507 added support for custom block keywords used with else, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.

    {{! Input }}
    {#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading as |book|}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    {{! Prettier 2.8.1 }}
    {{#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    {{! Prettier 2.8.2 }}
    {#when isAtWork as |work|}}
      Ship that
      {{work}}!
    {{else when isReading as |book|}}
      You can finish
      {{book}}
      eventually...
    {{else}}
      Go to bed!
    {{/when}}
    
    Preserve empty lines between nested SCSS maps (#​13931 by @​jneander)
    /* Input */
    $map: (
      'one': (
         'key': 'value',
      ),
    
      'two': (
         'key': 'value',
      ),
    )
    
    /* Prettier 2.8.1 */
    $map: (
      'one': (
         'key': 'value',
      ),
      'two': (
         'key': 'value',
      ),
    )
    
    /* Prettier 2.8.2 */
    $map: (
      'one': (
         'key': 'value',
      ),
    
      'two': (
         'key': 'value',
      ),
    )
    
    Fix missing parentheses when an expression statement starts with let[ (#​14000, #​14044 by @​fisker, @​thorn0)
    // Input
    (let[0] = 2);
    
    // Prettier 2.8.1
    let[0] = 2;
    
    // Prettier 2.8.1 (second format)
    SyntaxError: Unexpected token (1:5)
    > 1 | let[0] = 2;
        |     ^
      2 |
    
    // Prettier 2.8.2
    (let)[0] = 2;
    
    Fix semicolon duplicated at the end of LESS file (#​14007 by @​mvorisek)
    // Input
    @&#8203;variable: {
      field: something;
    };
    
    // Prettier 2.8.1
    @&#8203;variable: {
      field: something;
    }; ;
    
    // Prettier 2.8.2
    @&#8203;variable: {
      field: something;
    };
    
    Fix no space after unary minus when followed by opening parenthesis in LESS (#​14008 by @​mvorisek)
    // Input
    .unary_minus_single {
      margin: -(@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 -(@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    // Prettier 2.8.1
    .unary_minus_single {
      margin: - (@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 - (@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    // Prettier 2.8.2
    .unary_minus_single {
      margin: -(@&#8203;a);
    }
    
    .unary_minus_multi {
      margin: 0 -(@&#8203;a);
    }
    
    .binary_minus {
      margin: 0 - (@&#8203;a);
    }
    
    Do not change case of property name if inside a variable declaration in LESS (#​14034 by @​mvorisek)
    // Input
    @&#8203;var: {
      preserveCase: 0;
    };
    
    // Prettier 2.8.1
    @&#8203;var: {
      preservecase: 0;
    };
    
    // Prettier 2.8.2
    @&#8203;var: {
      preserveCase: 0;
    };
    
    Fix formatting for auto-accessors with comments (#​14038 by @​fisker)
    // Input
    class A {
      @&#8203;dec()
      // comment
      accessor b;
    }
    
    // Prettier 2.8.1
    class A {
      @&#8203;dec()
      accessor // comment
      b;
    }
    
    // Prettier 2.8.1 (second format)
    class A {
      @&#8203;dec()
      accessor; // comment
      b;
    }
    
    // Prettier 2.8.2
    class A {
      @&#8203;dec()
      // comment
      accessor b;
    }
    
    Add parentheses for TSTypeQuery to improve readability (#​14042 by @​onishi-kohei)
    // Input
    a as (typeof node.children)[number]
    a as (typeof node.children)[]
    a as ((typeof node.children)[number])[]
    
    // Prettier 2.8.1
    a as typeof node.children[number];
    a as typeof node.children[];
    a as typeof node.children[number][];
    
    // Prettier 2.8.2
    a as (typeof node.children)[number];
    a as (typeof node.children)[];
    a as (typeof node.children)[number][];
    
    Fix displacing of comments in default switch case (#​14047 by @​thorn0)

    It was a regression in Prettier 2.6.0.

    // Input
    switch (state) {
      default:
        result = state; // no change
        break;
    }
    
    // Prettier 2.8.1
    switch (state) {
      default: // no change
        result = state;
        break;
    }
    
    // Prettier 2.8.2
    switch (state) {
      default:
        result = state; // no change
        break;
    }
    
    Support type annotations on auto accessors via babel-ts (#​14049 by @​sosukesuzuki)

    The bug that @babel/parser cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts parser.

    class Foo {
      accessor prop: number;
    }
    
    Fix formatting of empty type parameters (#​14073 by @​fisker)
    // Input
    const foo: bar</* comment */> = () => baz;
    
    // Prettier 2.8.1
    Error: Comment "comment" was not printed. Please report this error!
    
    // Prettier 2.8.2
    const foo: bar</* comment */> = () => baz;
    
    Add parentheses to head of ExpressionStatement instead of the whole statement (#​14077 by @​fisker)
    // Input
    ({}).toString.call(foo) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo);
    
    // Prettier 2.8.1
    ({}.toString.call(foo) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo));
    
    // Prettier 2.8.2
    ({}).toString.call(foo.forEach) === "[object Array]"
      ? foo.forEach(iterateArray)
      : iterateObject(foo);
    
    Fix comments after directive (#​14081 by @​fisker)
    // Input
    "use strict" /* comment */;
    
    // Prettier 2.8.1 (with other js parsers except `babel`)
    Error: Comment "comment" was not printed. Please report this error!
    
    // Prettier 2.8.2
    <Same as input>
    
    Fix formatting for comments inside JSX attribute (#​14082 with by @​fisker)
    // Input
    function MyFunctionComponent() {
      <button label=/*old*/"new">button</button>
    }
    
    // Prettier 2.8.1
    Error: Comment "old" was not printed. Please report this error!
    
    // Prettier 2.8.2
    function MyFunctionComponent() {
      <button label=/*old*/ "new">button</button>;
    }
    
    Quote numeric keys for json-stringify parser (#​14083 by @​fisker)
    // Input
    {0: 'value'}
    
    // Prettier 2.8.1
    {
      0: "value"
    }
    
    // Prettier 2.8.2
    {
      "0": "value"
    }
    
    Fix removing commas from function arguments in maps (#​14089 by @​sosukesuzuki)
    /* Input */
    $foo: map-fn(
      (
        "#{prop}": inner-fn($first, $second),
      )
    );
    
    /* Prettier 2.8.1 */
    $foo: map-fn(("#{prop}": inner-fn($first $second)));
    
    /* Prettier 2.8.2 */
    $foo: map-fn(
      (
        "#{prop}": inner-fn($first, $second),
      )
    );
    
    
    Do not insert space in LESS property access (#​14103 by @​fisker)
    // Input
    a {
      color: @&#8203;colors[@&#8203;white];
    }
    
    // Prettier 2.8.1
    a {
      color: @&#8203;colors[ @&#8203;white];
    }
    
    // Prettier 2.8.2
    <Same as input>
    

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 13

    Update dependency postcss to v8.4.21

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | postcss (source) | 8.4.20 -> 8.4.21 | age | adoption | passing | confidence |


    Release Notes

    postcss/postcss

    v8.4.21

    Compare Source

    • Fixed Input#error types (by Aleks Hudochenkov).

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • 14

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Ignored or Blocked

    These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

    Detected dependencies

    npm
    package.json
    • @headlessui/react 1.7.7
    • axios 1.2.2
    • feed 4.2.2
    • katex 0.16.4
    • next 13.1.1
    • next-i18next 12.1.0
    • next-themes 0.2.1
    • notion-client 6.15.6
    • powered-by-vercel 1.1.0
    • react 18.2.0
    • react-dom 18.2.0
    • react-hot-toast 2.4.0
    • react-icons 4.7.1
    • react-notion-x 6.15.7
    • @types/react 18.0.26
    • autoprefixer 10.4.13
    • eslint 8.31.0
    • eslint-config-next 13.1.1
    • postcss 8.4.20
    • prettier 2.8.1
    • prettier-plugin-tailwindcss 0.2.1
    • tailwindcss 3.2.4
    • typescript 4.9.4

    • [ ] Check this box to trigger a request for Renovate to run again on this repository