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

[MDX] Migration to gatsby-plugin-mdx v4 (requires migration to MDX v2) #4532

Merged
merged 69 commits into from
Jul 19, 2023

Commits on Jul 6, 2023

  1. prep for testing mdx fix comparison

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    04dee31 View commit details
    Browse the repository at this point in the history
  2. record memory usage

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    5d7e9e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. update root-wrapper with mdx shortcodes

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    5f935d7 View commit details
    Browse the repository at this point in the history
  2. add additional shortcodes

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    507a5a8 View commit details
    Browse the repository at this point in the history
  3. remove shortcode imports from mdx files

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    061eadd View commit details
    Browse the repository at this point in the history
  4. move styles to main folder for use with shortcodes

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    598a27b View commit details
    Browse the repository at this point in the history
  5. clear eslint warnings for no-unused-vars

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    91f3455 View commit details
    Browse the repository at this point in the history
  6. add and removed plugins for migration to MDXv2

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    d600d4b View commit details
    Browse the repository at this point in the history
  7. update config to use plugins

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    4089305 View commit details
    Browse the repository at this point in the history
  8. update style attributes to be jsx compatible

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    774db7b View commit details
    Browse the repository at this point in the history
  9. update mdx files to clear mdx eslint warnings

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    b74d75f View commit details
    Browse the repository at this point in the history
  10. resolve undefined string by moving empty template

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    2bd7317 View commit details
    Browse the repository at this point in the history
  11. replace MDXRenderer, body with children per mdxv2

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    9034cdb View commit details
    Browse the repository at this point in the history
  12. import children props to templates per mdxv2

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    deeb248 View commit details
    Browse the repository at this point in the history
  13. workaround to add responsive SVG to mdxv2

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    a5351e7 View commit details
    Browse the repository at this point in the history
  14. update pre props to mdxv2

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    3590795 View commit details
    Browse the repository at this point in the history
  15. clear mdxv2 error for div tag on table

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    6fa8b6b View commit details
    Browse the repository at this point in the history
  16. added contentfilepath to templates and queries

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    3c78fd2 View commit details
    Browse the repository at this point in the history
  17. added eslint for mdx files for mdxv2 compatibility

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    af7f48e View commit details
    Browse the repository at this point in the history
  18. replace html with excerpt in feeds per mdxv2 guide

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    5ad6aea View commit details
    Browse the repository at this point in the history
  19. remove mdxrenderer per gatsby mdx2 migration guide

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    656602a View commit details
    Browse the repository at this point in the history
  20. remove logging for debugging

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    a910882 View commit details
    Browse the repository at this point in the history
  21. fix for heap memory OOM issue, see comments

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    310e47c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2023

  1. feat: env var to turn on ignoreArray for dev build

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    a1f1ba3 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. fix: add react-markdow to replace mdxrenderer case

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6c1c165 View commit details
    Browse the repository at this point in the history
  2. fix: add rehyperaw plugin for html in md snippets

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    66a8a16 View commit details
    Browse the repository at this point in the history
  3. fix: parse mdx body in non-templates with pkgs

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    901887f View commit details
    Browse the repository at this point in the history
  4. fix: update from mdx to markdown for remark use

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    4e0a8f8 View commit details
    Browse the repository at this point in the history
  5. feat: add env var for faster dev prod local builds

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    d0a8ae3 View commit details
    Browse the repository at this point in the history
  6. fix: default set dev_amended value to false

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    2a550bc View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Merge branch 'master' into mdx2-upgrade

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    68f0666 View commit details
    Browse the repository at this point in the history
  2. fix: add "no-sourcemaps" plugin for dev mem issue

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    78ef967 View commit details
    Browse the repository at this point in the history
  3. feat: filesystem ignore array for faster dev build

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    d7a316c View commit details
    Browse the repository at this point in the history
  4. feat: add env for faster dev_amended build option

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    42bd0bc View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. more shortcodes for any components imported to mdx

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    537bfde View commit details
    Browse the repository at this point in the history
  2. fix: resize, resave png to reduce webp filesize

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    c32fe46 View commit details
    Browse the repository at this point in the history
  3. fix: update mdx pages to use webp instead of png

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    b3db1f6 View commit details
    Browse the repository at this point in the history
  4. fix: optimize large files used in mdx

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    af14e6d View commit details
    Browse the repository at this point in the history
  5. fix: update mdx files to use optimized images/pdfs

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    8db58cd View commit details
    Browse the repository at this point in the history
  6. fix: clear all setTimeouts, add useTimeout hook

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    54e2de6 View commit details
    Browse the repository at this point in the history
  7. fix: clear eventListener and update deprecated ref

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    08ec3ca View commit details
    Browse the repository at this point in the history
  8. fix: use loadable, remove lightbox in templates

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    a06943e View commit details
    Browse the repository at this point in the history
  9. fix: disable dev amended on default

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    578d7e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Merge branch 'master' into mdx2-upgrade

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    1232630 View commit details
    Browse the repository at this point in the history
  2. fix: eslint errors in mdx

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    d589e28 View commit details
    Browse the repository at this point in the history
  3. fix: resolve wrong case for "cleanupIds"

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    7043b6e View commit details
    Browse the repository at this point in the history
  4. fix: rename image temporarily

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    8778b34 View commit details
    Browse the repository at this point in the history
  5. fix: revert file name with different casing

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    f5f1b5c View commit details
    Browse the repository at this point in the history
  6. fix: update mdx and image file name

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    7e090e2 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' into mdx2-upgrade

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    b1691f5 View commit details
    Browse the repository at this point in the history
  8. fix: replace svg with 300dpi webp to reduce file

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    eeeb674 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    3c6d2ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aed8862 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. fix: mdxrenderer workaround for dropdown selection

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    d5b431e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e7af13 View commit details
    Browse the repository at this point in the history
  3. fix: handle "undefined" for options.length

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    68ba3a7 View commit details
    Browse the repository at this point in the history
  4. fix: add loadable to chunk split files using mdx

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9d94848 View commit details
    Browse the repository at this point in the history
  5. fix: change to default exports for loadable use

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    3aecb9b View commit details
    Browse the repository at this point in the history
  6. fix: correct folder/file name to replace .md

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    694e5b4 View commit details
    Browse the repository at this point in the history
  7. fix: correct date on folder name

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    773057a View commit details
    Browse the repository at this point in the history
  8. fix: use loadable to not auto include app bundle

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    4528905 View commit details
    Browse the repository at this point in the history
  9. chore: uninstall gatsby-plugin-no-sourcemaps

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    7f7a512 View commit details
    Browse the repository at this point in the history
  10. fix: update and cleanup import list

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    b4a5215 View commit details
    Browse the repository at this point in the history
  11. feat: add build time warning to doc, add nav items

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    8ccd095 View commit details
    Browse the repository at this point in the history
  12. Merge 'master' into mdx2-upgrade, resolve conflict

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    fecd393 View commit details
    Browse the repository at this point in the history
  13. fix: correct eslint semicolon issue

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    ada7ab0 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. fix: reinstall gatsby-plugin-no-sourcemaps

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    fff2d3b View commit details
    Browse the repository at this point in the history
  2. fix: corrections for images and urls

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    e3d201f View commit details
    Browse the repository at this point in the history
  3. feat: add build expecations to CONTRIBUTING.md

    Signed-off-by: Randy Lau <randychilau@gmail.com>
    randychilau committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    697d013 View commit details
    Browse the repository at this point in the history