summaryrefslogtreecommitdiff
path: root/packages/integrations (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-11[ci] release (#3887)create-astro@0.13.0astro@1.0.0-beta.66@astrojs/vue@0.3.0@astrojs/telemetry@0.3.0@astrojs/svelte@0.3.0@astrojs/solid-js@0.3.0@astrojs/react@0.3.0@astrojs/prism@0.5.0@astrojs/preact@0.4.0@astrojs/mdx@0.1.0@astrojs/markdown-remark@0.11.4Gravatar Fred K. Bot 12-6/+42
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11fix(#3071): update supported node versions (#3871)Gravatar Nate Moore 6-6/+6
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-09[ci] release (#3877)@astrojs/image@0.1.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-09Updating the <Picture /> component to default to async image decoding (#3876)Gravatar Tony Sullivan 1-1/+1
* defaulting pictures to use decoding=async * chore: add changeset
2022-07-08[ci] release (#3850)create-astro@0.12.5astro@1.0.0-beta.65@astrojs/vue@0.2.1@astrojs/vercel@0.2.5@astrojs/turbolinks@0.1.4@astrojs/telemetry@0.2.5@astrojs/tailwind@0.2.3@astrojs/svelte@0.2.1@astrojs/solid-js@0.2.1@astrojs/sitemap@0.2.5@astrojs/react@0.2.1@astrojs/prefetch@0.0.4@astrojs/preact@0.3.2@astrojs/partytown@0.1.7@astrojs/node@0.1.5@astrojs/netlify@0.4.9@astrojs/mdx@0.0.3@astrojs/lit@0.3.1@astrojs/image@0.1.0@astrojs/deno@0.1.9@astrojs/cloudflare@0.2.3Gravatar Fred K. Bot 36-18/+154
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-08Add editor integrations to language integrations (#3864)Gravatar Erika 4-4/+85
2022-07-08[ci] formatGravatar tony-sull 7-38/+59
2022-07-08Adds a new `<Picture>` component to the image integration (#3866)Gravatar Tony Sullivan 26-164/+1037
* moving all normalization logic out of the Image component * refactor: only require loaders to provide the image src * Adding a `<Picture />` component * fixing types.ts imports * refactor: moving getImage to it's own file * updating component types to use astroHTML.JSX * Revert "updating component types to use astroHTML.JSX" This reverts commit 6e5f578da8d1d3fd262f3cd9add7549f7580af97. * going back to letting loaders add extra HTML attributes * Always use lazy loading and async decoding * Cleaning up the Picture component * Adding test coverage for <Picture> * updating the README * using JSX types for the Image and Picture elements * chore: adding changeset * Update packages/integrations/image/src/get-image.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * allow users to override loading and async on the <img> * renaming config to constants, exporting getPicture() * found the right syntax to import astro-jsx Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-07-08[ci] formatGravatar bholmesdev 6-6/+18
2022-07-08[astro add] Support adapters and third party packages (#3854)Gravatar Ben Holmes 18-0/+18
* feat: support adapters and third part integrations by keywords * refactor: add keywords to all official integrations * docs: add adapter ex to astro add help * nit: clarify astro add usage * nit: highlight link * fix: use process.exit(1) on error * chore: changeset * nit: bold integration name * fix: log install instructions for adapters instead * nit: change to logAdapterConfigInstructions * Revert "fix: log install instructions for adapters instead" This reverts commit 1a459f152bc7b7991db289999f7393e5be64ea3e. * feat: add hardcoded adapter export map * refactor: inline adapter config log
2022-07-08[ci] formatGravatar tony-sull 1-3/+3
2022-07-08fix: Always add @astrojs/image to vite.ssr.noExternal (#3869)Gravatar Tony Sullivan 1-0/+3
* fix: always add @astrojs/image to vite.ssr.noExternal * chore: add changeset
2022-07-08Integration README fixes (#3865)Gravatar Chris Swithinbank 7-8/+6
* Remove stray XML tag in sitemap integration README * Fix link errors * Add changeset
2022-07-08Fixed broken Markdown link (#3868)Gravatar Isaac McFadyen 1-2/+2
2022-07-08Fix manual import (#3857)Gravatar Chris Williams 1-1/+1
2022-07-07fix: lint failing on astro and some integrations (#3794)Gravatar Joaquín Sánchez 3-2/+4
* fix: lint failing on astro and some integrations * chore: fix telemetry lint * chore: fix turbo cache (thx nate) * chore: fix runtime server
2022-07-07update solid peer dependenciesGravatar Fred K. Schott 1-1/+1
2022-07-07update lockfile (#3828)Gravatar Fred K. Schott 2-1/+1
2022-07-07[ci] formatGravatar matthewp 1-1/+1
2022-07-07Allow importing Image component from @astrojs/image (#3848)Gravatar Matthew Phillips 5-6/+12
* Allow importing Image component from @astrojs/image * Adds a changeset * Export the Image type
2022-07-06[ci] release (#3818)astro@1.0.0-beta.64@astrojs/telemetry@0.2.4@astrojs/node@0.1.4Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-04Fix example on `README.md` on @astrojs/node (#3817)Gravatar Randall 1-1/+1
* Fix example on `README.md` The example was suggesting `import deno from '@astrojs/node';` which doesn't work. It needs to be `import node from '@astrojs/node';`. * Create itchy-bottles-rhyme.md Co-authored-by: Peter Singh <afuzzybear@outlook.com>
2022-07-04[ci] release (#3813)@astrojs/image@0.0.4Gravatar Fred K. Bot 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-04Updates how the new Image component is exported to support older versions of ↵Gravatar Tony Sullivan 2-0/+24
Astro (#3812) * don't use typescript for the components named export file * Adding a readme example for images in markdown * chore: add changeset
2022-07-01manually correcting import ordering to unblock CI (#3798)@astrojs/image@0.0.3Gravatar Tony Sullivan 2-2/+2
2022-07-01[ci] release (#3797)Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01[ci] formatGravatar tony-sull 5-20/+20
2022-07-01Updates the images integration to automatically mark `optimizeDeps` for ↵Gravatar Tony Sullivan 4-5/+11
sharp (#3795) * including src in npm publish * bugfix: always round dimensions before passing to sharp.resize * automatically add optimizeDeps vite config * chore: changeset
2022-07-01[ci] release (#3789)astro@1.0.0-beta.62@astrojs/image@0.0.2Gravatar Fred K. Bot 12-93/+132
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01Adds an `@astrojs/image` integration for optimizing images (#3694)Gravatar Tony Sullivan 26-0/+1398
* initial commit * WIP: starting to define interfaces for images and transformers * WIP: basic sharp service to test out the API setup * adding a few tests for sharp.toImageSrc * Adding tests for sharp.parseImageSrc * hooking up basic SSR support * updating image services to return width/height * simplifying config setup for v1 * hooking up basic SSR + SSG support (dev & build) * refactor: a bit of code cleanup and commenting * WIP: migrating local files to ESM + vite plugin * WIP: starting to hook up user-provided loaderEntryPoints * chore: update lock file * chore: update merged lockfile * refactor: code cleanup and type docs * pulling over the README template for first-party integrations * moving metadata out to the loader * updating the test for the refactored import * revert: remove unrelated webapi formatting * revert: remove unrelated change * fixing up the existing sharp tests * fix: vite plugin wasn't dynamically loading the image service properly * refactor: minor API renaming, removing last hard-coded use of sharp loader * don't manipulate src for hosted image services * Adding support for automatically calculating dimensions by aspect ratio, if needed * a few bug fixes + renaming the aspect ratio search param to "ar" * Adding ETag support, removing need for loaders to parse file metadata * using the battle tested `etag` package * Adding support for dynamically calculating partial sizes * refactor: moving to the packages/integrations dir, Astro Labs TBD later * refactor: renaming parse/serialize functions * Adding tests for SSG image optimizations * refactor: clean up outdated names related to ImageProps * nit: reusing cached SSG filename * chore: update pnpm lock file * handling file URLs when resolving local image imports * updating image file resolution to use file URLs * increasing test timeout for image build tests * fixing eslint error in sharp test * adding slash for windows compat in src URLs * chore: update lockfile after merge * Adding README content * adding a readme call to action for configuration options * review: A few of the quick updates from the PR review * hack: adds a one-off check to allow query params for the _image route * Adds support for src={import("...")}, and named component exports * adding SSR tests * nit: adding a bit more comments * limiting the query params in SSG dev to the images integration
2022-07-01[ci] release (#3783)Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01Adding an option to disable HTTP streaming (#3777)Gravatar Tony Sullivan 1-1/+1
* Adding a flag to disable HTTP streaming * refactor: adding support for SSG builds * handling string responses in the server runtime, adding tests * removing streaming CLI flag * removing import.meta.env.STREAMING * include Content-Length header when streaming is disabled * Verifying content-length header in dev * fix: default streaming to enabled in the base App server * TEMP: disabling the production test to investigate the test-adapter * re-enabling the test with an adapter option to disable streaming for the test * fix: use the existing TextEncoder to get the body's byte length * moving config to build.streaming, ignoring it in `dev` * fixing dev test to expect response streaming * chore: add changsets * removing the new config option all together :tada: * remove temp debug log * Updating astro changeset now that streaming isn't a config option
2022-06-30[ci] release (#3774)astro@1.0.0-beta.60@astrojs/vercel@0.2.4@astrojs/telemetry@0.2.3@astrojs/sitemap@0.2.4@astrojs/prefetch@0.0.3@astrojs/partytown@0.1.6@astrojs/node@0.1.3@astrojs/netlify@0.4.8@astrojs/mdx@0.0.2@astrojs/deno@0.1.8Gravatar Fred K. Bot 16-8/+57
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30[ci] formatGravatar natemoo-re 3-59/+53
2022-06-30MDX support (#3706)Gravatar Nate Moore 9-0/+333
* feat: first pass at MDX support * fix: move built-in JSX renderer to come first * chore: remove jsx example * chore: update lockfile * chore: cleanup example * fix: missing deps * refactor: move component render logic to `renderPage` * chore: update HMR script * chore: update MDX example * refactor: prefer unshit * refactor: remove TODO comment * fix: remove duplicate identifier * refactor: cleanup mdx entrypoint * fix: better html handling * fix: add tsconfig to mdx package * chore: update lockfile * fix: do not sort plugins unless mdx is enabled * chore: update compiler * fix(hmr): maybe render head for non-Astro pages * fix: set initial pageExtensions * refactor: cleanup addPageExtension * refactor: remove addPageExtensions from types * refactor: expose HookParameters type * fix: only default to astro for MDX * test: pick up jsx support in test fixtures * refactor: simplify mdx entrypoint * test: add basic MDX tests * test(e2e): add mdx + framework tests * chore: update lockfile * test(e2e): fix preact mdx e2e test * fix(mdx): disable .md support * test(e2e): fix vue-component test missing mdx * test(e2e): fix solid component needing import * fix: allow `client:only="solid"` as an alias to `solid-js` * chore: move to with-mdx example * chore: update MDX readme * chore: update example readme * chore: bump astro version * chore: update lockfile * Update mod.d.ts * feat: support `export const components` in MDX pages * chore: update mdx example * fix: update jsx-runtime with better slot support * refactor: remove object style support * chore: cleanup package exports * chore: add todo comment * refactor: improve isPage function, move to utils * refactor: dry up manual HMR updates * chore: add dev tests for MDX * chore: prefer set to array * chore: add changesets * fix(hmr): flip public/private route Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30Fix integration name (`prefetch` instead of `lit`) (#3778)Gravatar hippotastic 1-1/+1
2022-06-30Integration Docs Next Steps (#3677)Gravatar Dan Jutan 9-313/+654
* sitemap readme skeleton + first sections * Revert "sitemap readme skeleton + first sections" This reverts commit cc55b312b6dc95522645002806d63f32c33d1956. * sitemap readme skeleton + first sections * remove canonicalURL option from sitemap * add customPages option to readme * sitemap examples * partytown * deno run command * reference deno example * node readme * netlify & vercel readmes * note that telemetry is installed * telemetry is *enabled*, not installed * Update packages/integrations/vercel/README.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/integrations/vercel/README.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * readme -> README * Update packages/integrations/deno/readme.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/integrations/deno/readme.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * qualify they * Update packages/integrations/sitemap/README.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Uppercase README names * Update packages/integrations/partytown/README.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * imports -> import typo * update changeset Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-06-30[ci] release (#3772)@astrojs/preact@0.3.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30[ci] formatGravatar hippotastic 1-5/+4
2022-06-30Fix "Invalid hook call" warning (#3769)Gravatar hippotastic 1-9/+74
* Fix "Invalid hook call" warning * Fix eslint warnings * Apply code review suggestions
2022-06-29[ci] release (#3759)astro@1.0.0-beta.59@astrojs/telemetry@0.2.2@astrojs/preact@0.3.0Gravatar Fred K. Bot 2-1/+15
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-29manual lockfile update (#3751)Gravatar Fred K. Schott 1-4/+2
* lockfile update * update lockfile gen script * Update index.ts
2022-06-29[ci] formatGravatar delucis 1-22/+25
2022-06-29Add `preact/compat` support to `@astrojs/preact` (#3712)Gravatar Chris Swithinbank 3-33/+152
* Add preact/compat renderer (likely broken) Based on the current Preact renderer and the old preact/compat implementation: https://github.com/withastro/astro/blob/f892aeb52f5a93d81a68d9833eb26bedd06aa2f0/packages/renderers/renderer-preact/compat/index.js * Make sure name is consistent * Switch to single integration with compat option * fix: add module-resolver to alias react => preact/compat * fix: preact/compat mode * chore: remove client-compat entrypoint * chore: add e2e test for preact/compat * Try to fix frozen lock file error * Add changeset * Update README to new structure & document `compat` * Fix changeset wording * Fix README typo * Tweak wording Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
2022-06-28[ci] release (#3733)astro@1.0.0-beta.58@astrojs/telemetry@0.2.0@astrojs/tailwind@0.2.2@astrojs/sitemap@0.2.3@astrojs/prefetch@0.0.2@astrojs/netlify@0.4.7@astrojs/deno@0.1.7Gravatar Fred K. Bot 10-5/+51
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28[ci] formatGravatar natemoo-re 1-1/+1
2022-06-28chore(lint): fix lint issues (#3743)Gravatar Nate Moore 1-2/+2
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-28[ci] update lockfile (#3740)Gravatar Fred K. Bot 4-7/+7
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-28Fix Tailwind integration Typescript warning (#3732)Gravatar Victor 1-1/+1
* Make options optional * chore: add changeset Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-06-27[ci] formatGravatar bholmesdev 2-3/+3