summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-06-17[ci] release (#11233)astro@4.10.3@astrojs/vue@4.5.0@astrojs/vercel@7.7.1@astrojs/svelte@5.6.0@astrojs/solid-js@4.4.0@astrojs/sitemap@3.1.6@astrojs/react@3.6.0@astrojs/preact@3.5.0@astrojs/node@8.3.1@astrojs/mdx@3.1.1@astrojs/lit@4.3.0@astrojs/db@0.11.6Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17chore: logging cleanup (#11263)Gravatar wackbyte 2-12/+22
2024-06-17chore(deps): update all non-major dependencies (#11269)Gravatar renovate[bot] 1-2/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11fix(deps): update all non-major dependencies (#11222)Gravatar renovate[bot] 1-2/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06[ci] release (#11186)astro@4.10.0@astrojs/vue@4.4.0@astrojs/svelte@5.5.0@astrojs/solid-js@4.3.0@astrojs/react@3.5.0@astrojs/preact@3.4.0@astrojs/mdx@3.1.0@astrojs/lit@4.2.0Gravatar Houston (Bot) 2-1/+25
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-05feat(container): provide a virtual module to load renderers (#11144)Gravatar Emanuele Stoppa 1-1/+8
* feat(container): provide a virtual module to load renderers * address feedback * chore: restore some default to allow to have PHP prototype working * Thread through renderers and manifest * Pass manifest too * update changeset * add diff * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix diff * rebase and update lock --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-30fix(deps): update all non-major dependencies (#11151)Gravatar renovate[bot] 2-5/+5
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-22[ci] release (#11086)astro@4.8.7@astrojs/web-vitals@0.2.0@astrojs/sitemap@3.1.5@astrojs/mdx@3.0.1@astrojs/db@0.11.4Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21fix(renderer): omitting internal symbol from mdx props (#10813)Gravatar Xetera 7-0/+83
2024-05-13fix(deps): update all non-major dependencies (#11015)Gravatar renovate[bot] 2-2/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-09[ci] release (#10944)astro@4.8.0@astrojs/web-vitals@0.1.1@astrojs/vue@4.2.0@astrojs/vercel@7.6.0@astrojs/solid-js@4.2.0@astrojs/react@3.3.3@astrojs/preact@3.3.0@astrojs/mdx@3.0.0@astrojs/db@0.11.1Gravatar Houston (Bot) 2-1/+29
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09chore(deps): update all non-major dependencies (#10958)Gravatar renovate[bot] 6-11/+11
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-08MDX integration v3 (#10935)Gravatar Bjorn Lu 12-254/+647
* fix(mdx): convert remark-images-to-component plugin to a rehype plugin (#10697) * Remove fs read for MDX transform (#10866) * Tag MDX component for faster checks when rendering (#10864) * Use unified plugin only for MDX transform (#10869) * Only traverse children and handle mdxJsxTextElement when optimizing (#10885) * Rename to `optimize.ignoreComponentNames` in MDX (#10884) * Allow remark/rehype plugins added after mdx to work (#10877) * Improve MDX optimize with sibling nodes (#10887) * Improve types in rehype-optimize-static.ts * Rename `ignoreComponentNames` to `ignoreElementNames` I think this better reflects what it's actually doing * Simplify plain MDX nodes in optimize option (#10934) * Format code * Minimize diff changes * Update .changeset/slimy-cobras-end.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08Improve content collection styles and scripts build perf (#10959)Gravatar Bjorn Lu 1-1/+1
* Improve content collection styles and scripts build perf * Update test It was actually a bug. There was an empty module script injected. * Skip test * Fix test not matching non-ccc behaviour * Workaround bug to make test pass * Update .changeset/grumpy-pillows-develop.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-30fix(deps): update all non-major dependencies (#10901)Gravatar renovate[bot] 1-2/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23[ci] formatGravatar Bjorn Lu 1-1/+1
2024-04-23Move MDX Vite plugin to new file (#10854)Gravatar Bjorn Lu 2-88/+93
2024-04-22chore(deps): update all non-major dependencies (#10833)Gravatar renovate[bot] 1-10/+9
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22Refactor MDX postprocess plugin (#10832)Gravatar Bjorn Lu 3-73/+118
2024-04-20Update major deps (#10823)Gravatar Bjorn Lu 1-3/+2
2024-04-17[ci] formatGravatar Emanuele Stoppa 5-7/+7
2024-04-16[ci] release (#10777)astro@4.6.2@astrojs/sitemap@3.1.3@astrojs/mdx@2.3.1Gravatar Houston (Bot) 2-1/+19
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16fix: MDX cannot find relative image path without leading ./ (#10754)Gravatar Rishi Raj Jain 6-3/+23
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
2024-04-15Remove MDX processor on buildEnd (#10770)Gravatar Bjorn Lu 1-1/+12
2024-04-11[ci] release (#10739)create-astro@4.8.0astro@4.6.0@astrojs/vue@4.1.0@astrojs/upgrade@0.3.0@astrojs/telemetry@3.1.0@astrojs/svelte@5.4.0@astrojs/solid-js@4.1.0@astrojs/react@3.3.0@astrojs/prism@3.1.0@astrojs/preact@3.2.0@astrojs/mdx@2.3.0@astrojs/markdown-remark@5.1.0@astrojs/markdoc@0.10.0Gravatar Houston (Bot) 2-1/+14
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10feat: upgrade the minimum Node.js maintainance LTS version (#10689)Gravatar Emanuele Stoppa 1-1/+1
* feat: upgrade the minimum Node.js maintainance LTS version * chore: update minimum npm version * chore: revert npm change * chore: address Erika's feedback * chore: apply further suggestions * Update .changeset/empty-rules-type.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-04[ci] release (#10674)astro@4.5.16@astrojs/mdx@2.2.4@astrojs/db@0.10.1Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04Remove unnecessary `recmaInjectImportMetaEnv` plugin for MDX (#10673)Gravatar Bjorn Lu 3-76/+1
2024-04-02[ci] release (#10603)astro@4.5.13@astrojs/vue@4.0.10@astrojs/vercel@7.5.1@astrojs/preact@3.1.2@astrojs/mdx@2.2.3@astrojs/markdown-remark@5.0.0@astrojs/markdoc@0.9.4@astrojs/db@0.9.9Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26[ci] release (#10556)astro@4.5.10@astrojs/sitemap@3.1.2@astrojs/mdx@2.2.2@astrojs/markdown-remark@4.3.2@astrojs/db@0.9.5Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20[ci] release (#10503)astro@4.5.8@astrojs/vercel@7.4.0@astrojs/mdx@2.2.1@astrojs/markdown-remark@4.3.1@astrojs/db@0.9.1Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-13Revert "[ci] format" (#10417)Gravatar Emanuele Stoppa 5-7/+7
* Revert "[ci] format" This reverts commit 1863727215e87e20c6f5aebe5f9ee0f2783bc788. * pin dependency * update lock
2024-03-13[ci] formatGravatar Houston (Bot) 5-7/+7
2024-03-13[ci] update lockfile (#10234)Gravatar Houston (Bot) 2-3/+3
Co-authored-by: matthewp <matthewp@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-11[ci] release (#10365)astro@4.5.0@astrojs/vercel@7.3.6@astrojs/react@3.1.0@astrojs/mdx@2.2.0@astrojs/markdown-remark@4.3.0@astrojs/markdoc@0.9.2@astrojs/internal-helpers@0.3.0@astrojs/db@0.7.1Gravatar Houston (Bot) 2-1/+19
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-08Fix mdx test fail with rehype-pretty-code (#10370)Gravatar Bjorn Lu 1-1/+1
2024-03-08fix(markdown): don’t generate mdast html nodes (#10104)Gravatar Remco Haszing 1-26/+21
* fix(markdown): don’t generate mdast html nodes `html` nodes from mdast are converted to `raw` hast nodes. These nodes are then not processed by proper rehype plugins. Typically if a remark plugin generates `html` nodes, this indicates it should have actually been a rehype plugin. This changes the remark plugins that generate `html` nodes into rehype nodes. These were `remarkPrism` and `remarkShiki`. Closes #9909 * Apply suggestions from code review * refactor(mdx): move user defined rehype plugins after syntax highlighting * fix(mdx): fix issue in mdx rehype plugin ordering * docs: explain why html/raw nodes are avoided in changeset This also includes some hints on what users could do to upgrade of they rely on these nodes. * Fix MDX rehype plugin ordering * refactor(remark): restore remarkPrism and remarkShiki They aren’t used anymore, but removing would be a breaking change. * chore: mark deprecated * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/thirty-beds-smoke.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-05Update turbo test dependsOn (#10329)Gravatar Bjorn Lu 1-1/+1
* Update turbo test dependsOn * Update mdx timeout
2024-02-28Update Vite to latest (#10259)Gravatar Bjorn Lu 1-1/+1
2024-02-27chore: import sort source code, exception for the `astro` package (#10242)Gravatar Emanuele Stoppa 2-3/+3
* chore: import sort source code, exception for the `astro` package * fix import sorting bug * Update packages/integrations/lit/server.js Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-22chore: import sorting for test folder and e2e folder (#10190)Gravatar Emanuele Stoppa 3-3/+3
2024-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 23-34/+34
* chore: use biome to sort imports * do the sorting * Update package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-15Update to Vite 5.1 (#10120)Gravatar Bjorn Lu 1-1/+1
2024-02-07Use eslint-plugin-regexp (#9993)Gravatar Bjorn Lu 2-2/+2
2024-01-31migrate MDX tests (#9894)Gravatar Alex Nguyen 24-256/+320
2024-01-30[ci] release (#9843)astro@4.2.7@astrojs/mdx@2.1.1@astrojs/markdown-remark@4.2.1Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-23[ci] release (#9785)astro@4.2.4@astrojs/mdx@2.1.0Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-23[ci] formatGravatar Oliver Speir 1-1/+6
2024-01-23MDX remark image props (#9753)Gravatar Oliver Speir 8-3/+143
* rearrange plugins and add props to Image component * add tests and update lockfile * add changeset * re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism * make more generic * add more/better tests * remove unused logger --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23fix: vite security issue (#9773)Gravatar Stefano 1-1/+1