Commit graph

3970 commits

Author SHA1 Message Date
Allan Chain
0068afb876
fix: ensure SSR module is loaded before testing is CSS (#4621) 2022-09-06 08:25:26 -04:00
Mohammed Elhaouari
63cd9d89e8
Fix AlpineJS homepage link (#4622)
* Update AlpineJS homepage

* Add changeset
2022-09-04 15:53:54 +02:00
Bjorn Lu
29a5fdc153
Correctly escape paths in file names (#4584) 2022-09-04 16:43:47 +08:00
Yan Thomas
893a02a1bb
Add deploy guides links to integrations READMEs (#4612) 2022-09-03 17:23:44 -03:00
Vinício Augusto
4d02f7775c
Typo in alpinejs integration README.md (#4611) 2022-09-03 21:46:51 +02:00
Daren Chandisingh
1bee84920a
examples: Blog template changes (#4577)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-09-03 16:58:00 +02:00
Fred K. Bot
7114aee208
[ci] release (#4604)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:50:59 -04:00
matthewp
e76c2afd1f [ci] format 2022-09-02 20:47:04 +00:00
Matthew Phillips
36dee7169b
Provide a better error message when no jsx renderer configured (#4603)
* Provide a better error message when no jsx renderer configured

* Add a changeset
2022-09-02 16:45:17 -04:00
Fred K. Bot
592de3d703
[ci] release (#4589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:13:04 -04:00
Fred K. Bot
fdf10d40be
[ci] update lockfile (#4597)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-02 15:36:18 -04:00
Chris Swithinbank
b48c18e605
Docs process tweaks: update PR template & CODEOWNERS (#4591)
Co-authored-by: Dan Jutan <danjutan@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-09-02 18:39:42 +02:00
Chris Swithinbank
eb4eebde9e
Fix image integration README (#4599)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-09-02 17:05:04 +02:00
matthewp
c220f53b21 [ci] format 2022-09-02 01:29:14 +00:00
Matthew Phillips
8476f2a293
Fix client:only when used with JSX (#4592) 2022-09-01 21:27:26 -04:00
Fred K. Schott
f018e365cf
Small polish to the "missing adapter" error message (#4585)
* improve output server error message

* chore: changeset

Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-09-01 21:34:20 +00:00
tony-sull
c62257f0b0 [ci] format 2022-09-01 21:26:15 +00:00
Jan Müller
72c760e9b8
feat(image): throw if alt text is missing (#4511)
* feat(image): throw if no `alt` is provided

* chore: add changeset

* docs(image): update README

* updated alt text stuff throughout

* fixing with-mdx test suite

* warn for missing alt text, will throw an error in a future release

* final README tweaks

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-09-01 21:24:07 +00:00
tony-sull
df402ddc93 [ci] format 2022-09-01 20:34:20 +00:00
Tony Sullivan
56f83be92a
Fix: [@astrojs/image] handle filenames with spaces (#4593)
* fix: decode file URLs to handle filenames with spaces

* chore: add changeset
2022-09-01 20:31:53 +00:00
Fred K. Bot
9d86113114
[ci] update lockfile (#4570)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-01 12:35:46 -04:00
Bjorn Lu
16814dc718
Move ast-types as dev dependency (#4586) 2022-09-01 12:33:29 -04:00
Ben Holmes
db38f61b2b
[MDX] Fix: GFM and Smartypants missing by default (#4588)
* fix: apply Astro defaults on empty md config

* chore: changeset
2022-09-01 12:11:13 -04:00
tony-sull
ef0ed38339 [ci] format 2022-09-01 15:01:07 +00:00
Tony Sullivan
aeae89d6ae
refactor: Cleaning up all uses of hard-coded hashes in image tests (#4579) 2022-09-01 14:58:57 +00:00
Fred K. Bot
005d53145f
[ci] release (#4555)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:03:27 -04:00
Chris Swithinbank
b92c24f409
Update astro add integrations list (#4574) 2022-08-31 23:49:08 +02:00
Jutanium
b5f3c0d735 [ci] format 2022-08-31 20:20:16 +00:00
Dan Jutan
d5bd23d5f4
Update templates to avoid devDependencies and :global (#4576)
* devDependencies => dependencies

* :global -> is:global

* update lockfile

* remove unneeded markdown dependency

* fix remaining merge conflicts

* update lockfile
2022-08-31 16:17:15 -04:00
matthewp
fa48d01109 [ci] format 2022-08-31 20:14:25 +00:00
Zicklag
294122b4e4
Deno custom 404 pages (#4562)
* Add Failing Test For Deno Custom 404 Pages

* Make Deno SSR Serve Custom 404 Pages
2022-08-31 16:11:46 -04:00
Dan Jutan
23d4f80145
Revert "Update templates to avoid devDependencies and :global (#4544)" (#4575)
This reverts commit ca2d0728e4.
2022-08-31 15:27:36 -04:00
Dan Jutan
ca2d0728e4
Update templates to avoid devDependencies and :global (#4544)
* devDependencies => dependencies

* :global -> is:global

* update lockfile

* remove unneeded markdown dependency
2022-08-31 19:18:53 +00:00
Ofer Shaal
a5b659e91c
fix: always get latest pnpm (#4571)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-31 11:13:06 -05:00
Bjorn Lu
9ad307a9fc
Remove unused CSS for client:load components (#4566) 2022-08-31 22:36:41 +08:00
tony-sull
6f1fbd8be0 [ci] format 2022-08-30 21:12:45 +00:00
Tony Sullivan
00c605ce35
Image integration refactor and cleanup (#4482)
* WIP: simplifying the use of `fs` vs. the vite plugin

* removing a few node deps (etag and node:path)

* adding ts defs for sharp

* using the same mime package as astro's core App

* fixing file URL support in windows

* using file URLs when loading local image metadata

* fixing a bug in the etag helper

* Windows compat

* splitting out dev & build tests

* why do these suites fail in parallel?

* one last windows compat case

* Adding tests for treating /public images the same as remote URLs

* a couple fixes for Astro's `base` config

* adding base path tests for SSR

* fixing a bad merge, lost the kleur dependency

* adding a test suite for images + MDX

* chore: add changeset

* simplifying the with-mdx tests

* bugfix: don't duplicate the period when using existing file extensions

* let Vite cache the image loader service

* adding some docs for using /public images

* fixing changeset

* Update packages/integrations/image/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/image/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* nit: minor README syntax tweaks

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 21:09:44 +00:00
Tony Sullivan
7429664566
Adds the "withastro" keyword to adapter packages (#4558)
* adds the "withastro" keyword to adapter packages

* chore: add changeset
2022-08-30 20:19:19 +00:00
bholmesdev
385a8f052f [ci] format 2022-08-30 17:41:06 +00:00
Ben Holmes
8f8dff4d33
[MDX] Extend Markdown plugin config, with customization options (#4504)
* test: new combined remark / rehype suite

* fix: use with-plugins fixture

* chore: remove old mdx plugin tests

* docs: add JS docs

* docs: update README with thorough example

* chore: changeset

* fix: add "extends" error message

* fix: ignore string-based plugins in md

* feat: add warning log for string plugins

* docs: highlight `extendPlugins`

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* nit: highlight "extendPlugins"

* fix: md plugins type check

* chore: "defaults" -> "astroDefaults"

* nit: info log when inheriting markdown plugins

* refactor: one big log on new behavior

* dan: dan nit

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 13:38:35 -04:00
Fred K. Bot
e905784bf1
[ci] release (#4520)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:45:04 -04:00
Kyle F Butts
8504cd79b7
Add custom components to mdx integration guide (#4530)
* Add custom components to mdx integration guide

* Update packages/integrations/mdx/README.md

Co-authored-by: Ben Holmes <hey@bholmes.dev>

* Update packages/integrations/mdx/README.md

Co-authored-by: Ben Holmes <hey@bholmes.dev>

* Update packages/integrations/mdx/README.md

Co-authored-by: Ben Holmes <hey@bholmes.dev>

* Update packages/integrations/mdx/README.md

Co-authored-by: Ben Holmes <hey@bholmes.dev>

* Incorporate Sarah and Ben's Feedback

* Fix what would be an ugly background lol

* Sarah taking liberty of removing double text

* Add changeset

Co-authored-by: Ben Holmes <hey@bholmes.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 11:55:52 -04:00
matthewp
65cc3f64f6 [ci] format 2022-08-30 15:47:42 +00:00
Matthew Phillips
2f05f5d307
Include trailingSlash in astro:build:done hook (#4553) 2022-08-30 11:45:16 -04:00
Ben Holmes
69b640b87c
Fix "failed to load for SSR" error when removing Astro <style> blocks (#4548)
* wip: try removing ssrLoadModule on styles

* chore: changeset

* fix: invalidate mod before crawling graph

* Revert "fix: invalidate mod before crawling graph"

This reverts commit 883710d21c.

* Revert "wip: try removing ssrLoadModule on styles"

This reverts commit 880e73d94a.

* SAD fix: try/catch on ssrLoadModule

* refactor: isFile -> isRootFile

* docs: update comments for new findings
2022-08-30 11:27:19 -04:00
Fred K. Bot
4dad059318
[ci] update lockfile (#4514)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-30 08:33:44 -04:00
Matthew Phillips
38e825ffdd
Add missing packages to the readme (#4552) 2022-08-30 08:33:32 -04:00
Sarah Rainsberger
00ea2267e2
[docs] remove confusing note added in wrong place (#4551) 2022-08-30 08:23:24 -04:00
Bjorn Lu
9adb7cca33
Vite ignore unknown import (#4527) 2022-08-30 15:25:34 +08:00
Ben Holmes
bb71be78db
[astro add] Add an Adapter -> Add an SSR Adapter (#4546)
* nit: Add an Adapter -> Add an SSR Adapter

* chore: changeset
2022-08-29 17:05:12 -04:00