summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
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-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-01-31migrate MDX tests (#9894)Gravatar Alex Nguyen 23-252/+319
2024-01-23MDX remark image props (#9753)Gravatar Oliver Speir 6-0/+93
* 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-11Use esbuild for env replacement (#9652)Gravatar Bjorn Lu 3-0/+18
2023-11-28feat: implement overlay main screen redesign (#9118)Gravatar Erika 1-0/+0
* feat: implement redesign * fix: make it build * feat: visual tweaks * feat(overlay): update styling, integration endpoint * feat: add fallback icons * Clean up tests (#9183) * Add `@astrojs/upgrade` package for automatic package upgrades (#8525) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * [ci] format * fix: links with same path but different search params not prefetched (#9189) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix: discord icon * chore: changeset --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-27Remove support for simple objects in endpoints (#9181)Gravatar Bjorn Lu 5-26/+15
* Deprecate simple object from endpoints * Update changeset * Add missing Response return Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> * Update .changeset/clever-beds-notice.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-28Remove deprecated features from Astro 3.0 (#9168)Gravatar Bjorn Lu 5-5/+5
2023-11-21Update all dependencies (#9138)Gravatar Bjorn Lu 3-3/+3
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-09-13[ci] formatGravatar Princesseuh 1-5/+5
2023-09-13[MDX] Support `img` component prop for optimized images (#8468)Gravatar Ben Holmes 8-0/+111
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-08-31[ci] formatGravatar matthewp 1-2/+2
2023-08-31Prevent React hook call warnings when used with MDX (#8324)Gravatar Matthew Phillips 4-2/+34
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-24Update breaking dependencies (#8201)Gravatar Bjorn Lu 2-4/+4
2023-08-23Update non-major dependencies (#8199)Gravatar Bjorn Lu 1-1/+1
2023-08-18Switch `build.inlineStylesheets` default to auto (#8118)Gravatar Arsh 2-0/+4
* switch inlineStylesheets default * use previous default for astro/test * use previous default for content-collections-render.test.js * integrations: node, deno, mdx, markdown * typedocs: switch inlineStylesheets default * Update example to show non-default * add changeset * reword changeset --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-17config: remove ~/assets alias (#8113)Gravatar Erika 1-0/+9
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Mia Kanashi <chad@redpilled.dev>
2023-08-16feat: unflag experimental.assets (#7921)Gravatar Erika 1-3/+0
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-01Refactor and improve Astro config loading flow (#7879)Gravatar Bjorn Lu 2-2/+2
2023-07-14nit: export props has been unnecessary.. forever (#7646)Gravatar Erika 1-1/+1
2023-07-03feat: use typescript-eslint@v6's reworked configs (#7425)Gravatar Josh Goldberg ✨ 3-6/+2
2023-06-21Update safe dependencies (#7430)Gravatar Bjorn Lu 2-5/+5
2023-06-13Use stub image service for tests (#7376)Gravatar Bjorn Lu 1-2/+6
2023-06-09[ci] formatGravatar MoustaphaDev 1-33/+30
2023-06-09Do not silence runtime MDX errors (#7089)Gravatar Happydev 2-0/+47
* test: add fixture * chore: remove unneeded files in fixture * test: update test mdx filfe * test: add test case * mark component as mdx * add error builder utility * throw error when it comes from an MDX component * chore: update lock file * Add comment to refactor later * apply review * add missing comma
2023-06-06Fix [Object AsyncGenerator] logging for Markdoc components (#7307)Gravatar Ben Holmes 7-124/+0
* Revert "Bug 6672 (#7062)" This reverts commit cf621340b00fda441f4ef43196c0363d09eae70c. * chore: remove unused test * chore: changeset
2023-05-30[ci] formatGravatar matthewp 1-5/+8
2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 7-0/+121
* fix miss a head when the templaterender has a promise * fix * add some test * test files move to md directory * fix add * delect file --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-05-25Add MDX optimize option (#7151)Gravatar Bjorn Lu 8-0/+103
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-03Upgrade shiki to v0.14.1 (#6932)Gravatar Bjorn Lu 1-1/+1
* Upgrade shiki * Update themes * Update languages * Simplify * Fix compat for other remark code * Update theme again * Fix language gen * Add changeset * Fix code * Update test theme colors * Update changeset * Fix test again
2023-04-27Fix changeset publish (#6923)Gravatar Bjorn Lu 6-0/+6
2023-04-27Upgrade turbo (#6911)Gravatar Bjorn Lu 1-1/+1
2023-04-13feat(mdx): Add support for turning ![]() into <Image> (#6824)Gravatar Erika 6-0/+68
2023-04-06 Prevent body head content injection in MDX when using layout (#6779)Gravatar Matthew Phillips 4-0/+54
2023-03-09Prevent HTML-escape of raw strings in JSX script/style tags (#6459)Gravatar Bjorn Lu 4-0/+152
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-02-16Support rehype plugins that inject namespaced attributes 2 (#6253)Gravatar Bjorn Lu 1-1/+1
2023-02-15Revert previous mdx breaking change (#6252)Gravatar Bjorn Lu 1-1/+1
2023-02-15[ci] formatGravatar bluwy 1-4/+4
2023-02-15Support rehype plugins that inject namespaced attributes (#6243)Gravatar Bjorn Lu 1-0/+35
* Support rehype plugins that inject namespaced attributes * Fix rehype property casing
2023-02-13Fix head injection in body with slots.render() and head buffering (#6216)Gravatar Matthew Phillips 6-8/+48
* Fix head injection in body with slots.render() and head buffering * Adding a changeset * An MDX test too
2023-02-09[ci] formatGravatar matthewp 1-1/+1
2023-02-09Fix head injection misplacement with Astro.slots.render() (#6196)Gravatar Matthew Phillips 2-0/+35
* Fix head injection misplacement with Astro.slots.render() * Adding a changeset * Fix case of JSX with no layout * missing break
2023-02-07Add additional scoping for head buffering (#6152)Gravatar Matthew Phillips 14-0/+150
* Add additional scoping for head buffering * Add test for direct usage of nested component * Add special scoping for Astro.scopes.render() * Generate propagation map during the build * Move to a maybeHead instruction * Properly serialize for SSR * More conservative scoping * Maybe had should honor result._metadata.hasRenderedHead * Properly type slots * Allow template result to be passed * Add changeset
2023-02-02Prevent eager rendering of head content in multi-level MDX layout (#6107)Gravatar Matthew Phillips 1-2/+2
* Prevent eager rendering of head content in multi-level MDX layout * Adding a changeset * Remove old comment * Keep track of slot position as well
2023-01-30Simplified head injection (#6034)Gravatar Matthew Phillips 12-0/+160
* Simplified head injection * Make renderHead also yield an instruction * Add changeset * Add mdx test
2023-01-26Fix MDX heading IDs generation when using a frontmatter reference (#5978)Gravatar HiDeoo 2-0/+88
* Fix MDX heading IDs generation when using a frontmatter reference * Hoist safelyGetAstroData() call and add statement null check
2023-01-06Add SmartyPants flag (#5769)Gravatar Ben Holmes 2-0/+37
* feat: add smartypants flag * test: smartypants in markdown and mdx * docs: Smartypants -> SmartyPants * chore: changeset * chore: update changeset with 1.0 -> 2.0 in mind * chore: bump to minor change