summaryrefslogtreecommitdiff
path: root/packages/integrations (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-08-09Astro 1.0.0 (#4214)Gravatar Nate Moore 30-20/+154
* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09remove errant remaining details tags (#4212)Gravatar Sarah Rainsberger 2-2/+2
2022-08-08[ci] release (#4197)astro@1.0.0-rc.8@astrojs/mdx@0.8.0@astrojs/cloudflare@0.5.0Gravatar Fred K. Bot 4-3/+19
* [ci] release * Update CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08[ci] formatGravatar natemoo-re 1-1/+3
2022-08-08[MDX] Remove `frontmatterOptions` (#4204)Gravatar Ben Holmes 7-101/+6
* feat: remove frontmatterOptions config * test: remove custom frontmatter suite * deps: remove remark-mdx-frontmatter * docs: remove `frontmatterOptions` config * chore: changeset
2022-08-08Update @astrojs/image README with mention of the new env.d.ts file (#4206)Gravatar Erika 1-2/+9
2022-08-08[MDX] Add frontmatter injection to README (#4205)Gravatar Ben Holmes 1-5/+37
* docs: remove `remark-mdx-frontmatter` from README * docs: remove remark-mdx-frontmatter link * docs: MDX frontmatter injection * chore: changeset
2022-08-08[ci] formatGravatar natemoo-re 1-1/+1
2022-08-08feat: add support to `@astrojs/cloudflare` directory deploy mode (#3806)Gravatar Richard Cooke 5-11/+93
Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08remove details tags from integration READMEs (#4198)Gravatar Sarah Rainsberger 9-255/+157
2022-08-08tailwind: link to import doc for applyBaseStyles (#4193)Gravatar oliverpool 1-0/+2
2022-08-05[ci] release (#4159)create-astro@0.15.0astro@1.0.0-rc.7@astrojs/react@0.4.3@astrojs/mdx@0.7.0@astrojs/markdown-remark@0.14.1@astrojs/image@0.3.2Gravatar Fred K. Bot 6-3/+35
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-06[ci] formatGravatar FredKSchott 7-20/+29
2022-08-05[MDX] Prevent overriding `collect-headings` plugin (#4181)Gravatar Ben Holmes 3-30/+9
* fix: make rehypeCollectHeadings a required plugin * docs: update README on rehypePlugins * test: remove collect-headings override test * docs: remove extends from rehype docs * chore: changeset
2022-08-05fix: export all of @astrojs/image dist (#4146)Gravatar Corbin Crutchley 1-1/+1
* fix: export all of @astrojs/image dist * chore: add changeset Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-05[ci] formatGravatar natemoo-re 3-7/+10
2022-08-05Fix external astro image usage (#4147)Gravatar Corbin Crutchley 1-1/+2
* fix: enable @astrojs/image to be used inside of non-vite contexts * chore: add changeset Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-05Frontmatter injection for MD and MDX (#4176)Gravatar Ben Holmes 15-61/+279
* feat: inject vfile data as exports * feat: add vfile to renderMarkdown output * feat: add safe astroExports parser to utils * refactor: expose vite-plugin-utils on astro package * feat: handle astroExports in mdx * deps: vfile * chore: lockfile * test: astroExports in mdx * refactor: merge plugin exports into forntmatter * refactor: astroExports -> astro.frontmatter * refactor: md astroExports -> astro.frontmatter * feat: astro.frontmatter vite-plugin-markdown * chore: remove unused import * fix: inline safelyGetAstroData in MDX integration * chore: check that frontmatter export is valid export name * chore: error log naming * test: mdx remark frontmatter injection * fix: inconsistent shiki mod resolution * fix: add new frontmatter and heading props * test: remark vdata * fix: spread astro.data.frontmatter * test deps: mdast-util-to-string, reading-time * fix: astro-md test package name * test: md frontmatter injection * fix: layouts * deps: remove vite-plugin-utils export * fix: package lock * chore: remove dup import * chore: changeset * chore: add comment on safelyGetAstroData source * deps: move mdast-util-to-string + reading-time to test fixture * chore: move remark plugins to test fixture * fix: override plugin frontmatter with user frontmatter * test: md injected frontmatter overrides * test: frontmatter injection overrides mdx
2022-08-05feat(image): Add GIF -> WEBP support (#4139) (#4140)Gravatar Jack Merrill 1-1/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-05[ci] formatGravatar matthewp 1-1/+3
2022-08-05Add test for mdx + React usage (#4174)Gravatar Matthew Phillips 6-4/+58
* Add test for mdx + React usage * Add a changeset Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-05[ci] formatGravatar tony-sull 1-1/+1
2022-08-05Fixes local image resolution in SSR builds on Windows (#4173)Gravatar Tony Sullivan 4-11/+10
* fixing SSR local file resolution path on windows * chore: add changeset * nit: fixing typo in image README file Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-05Handle edge case in jsx-runtime (#4158)Gravatar Nate Moore 6-0/+59
* fix(#4135): handle edge case in jsx-runtime * test: add mdx test case * chore: fix utils reference * test: fix mdx escape test Co-authored-by: Nate Moore <nate@astro.build>
2022-08-04fix missing newline bug in mdx (#4145)Gravatar Fred K. Schott 2-1/+4
2022-08-03[ci] release (#4133)astro@1.0.0-rc.5@astrojs/mdx@0.6.0@astrojs/image@0.3.1Gravatar Fred K. Bot 4-2/+14
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-03fix windows package export (#4141)Gravatar Fred K. Schott 1-1/+2
* fix windows package export * Create neat-badgers-bow.md
2022-08-03[ci] formatGravatar bholmesdev 1-3/+4
2022-08-03[MDX] Add `headings` and `frontmatter` to layout props (#4134)Gravatar Ben Holmes 4-31/+47
* feat: expose headings on layout props * test: frontmatter AND content * test: headings in layouts * chore: changeset
2022-08-03[ci] update lockfile (#4100)Gravatar Fred K. Bot 1-1/+0
* [ci] update lockfile * fix: remove @ts-expect-error Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> Co-authored-by: Nate Moore <nate@astro.build>
2022-08-03Remove renderer tag to fix a docs issue (#4127)Gravatar Zade Viggers 1-1/+0
[This page](https://docs.astro.build/en/guides/integrations-guide/) is autogenerated based on the packages in this repo and said packages' tags. Removing the renderer tag here should stop it from appearing in the UI Framework category.
2022-08-02[ci] release (#4116)astro@1.0.0-rc.4@astrojs/prism@0.7.0@astrojs/mdx@0.5.0@astrojs/markdown-remark@0.14.0Gravatar Fred K. Bot 2-2/+19
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-02Audit dependencies (#4096)Gravatar Erika 2-4/+3
* Remove some unused dependencies * Update lockfile * Add util * Remove util
2022-08-02Refactor @astrojs/prism, fix Prism component import not working (#4114)Gravatar Erika 2-46/+2
* Upgrade @astrojs/prism to a real package, fix component import not working * Remove `@astrojs/prism` as a dependency of `astro` * Update lock file * Refactor to multiple files * Oops, can't have astro imports run inside node * Follow Nate's suggestion on being minors instead of patchs * Update lockfile
2022-08-02Add generic plugin for `page-ssr` injection (#4049)Gravatar Nate Moore 1-7/+0
* feat: add generic page-ssr plugin * refactor: remove page-specific logic from astro/markdown/mdx plugins * refactor: revert changes to vite-plugin-scripts * fix: handle injected `page` scripts in build * fix: prepend injected `page` scripts with `/@id/` in dev Co-authored-by: Nate Moore <nate@astro.build>
2022-08-02Update README.md (#4119)Gravatar Isaac McFadyen 1-1/+1
2022-08-02chore: skip cloudflare test for now (#4117)Gravatar Nate Moore 1-1/+1
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-02[ci] formatGravatar matthewp 1-1/+1
2022-08-02Load configs with Vite when loading with Proload fails (#4112)Gravatar Matthew Phillips 4-3/+14
* 4078 breaking test * Use Vite for loading the config * Try it * Fallback to loading with Vite only when needed * Remove console.error * Remove extra console.log * Add a changeset * Use middlewareMode
2022-08-01[ci] formatGravatar bholmesdev 4-31/+35
2022-08-01[MDX] Add `getHeadings` + generate anchor links (#4095)Gravatar Ben Holmes 12-24/+346
* deps: mdx github-slugger * feat: add getHeadings via rehype plugin * chore: stray console.log * test: getHeadings w/ & w/0 JSX expressions * docs: add generated exports * refactor: pass headings using vfile.data * deps: vfile * test: heading anchor IDs * docs: add collect-headings to default rehype plugins * chore: changeset * deps: estree-util-value-to-estree * refactor: inject getHeadings export the right way! * deps: switch to acorn * refactor: just use acorn * docs: `getHeadings` info structuring Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * docs: clarify `url` example Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * fix: move slugger inside plugin call * refactor: cleanup code reassignment * chore: lint * deps: mdast-util-mdx, test utils * refactor: add jsToTreeNode util * feat: expose utils for lib authors * test: rehype plugins w/ and w/o extends * test: fixture * refactor: remove utils from package exports Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-07-30[docs content] Image README formatting (#4082)Gravatar Sarah Rainsberger 1-3/+3
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-07-30[ci] release (#4086)astro@1.0.0-rc.3@astrojs/mdx@0.4.0@astrojs/markdown-component@0.2.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-29[ci] formatGravatar bholmesdev 2-9/+9
2022-07-29feat: support `layout` in MDX frontmatter (#4088)Gravatar Ben Holmes 7-26/+146
* deps: add gray-matter * feat: support layout frontmatter property * test: frontmatter, content prop * docs: update layout recommendation * deps: fix lockfile * chore: changeset * fix: inherit rollup plugin transform * fix: avoid parsing frontmatter on custom parsers * fix: match YAML err handling from md * docs: absolute url to docs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: formatting Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-07-29Prevent hydration scripts from being rendered in the wrong order (#4080)Gravatar Matthew Phillips 2-6/+1
* Prevent hydration scripts from being rendered in the wrong order * Remove comment * Update jsx * Remove promise for stop * Try skipping lit tests * Stringify these chunks too * Unskip lit
2022-07-28[ci] release (#4081)create-astro@0.14.3@astrojs/mdx@0.3.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-28[ci] formatGravatar matthewp 2-3/+6
2022-07-28Ensure file and url are always present in MDX for Astro.glob (#4076)Gravatar Matthew Phillips 5-5/+95
2022-07-28[docs content] MDX layouts (#4077)Gravatar Sarah Rainsberger 1-0/+41