matthewp
a36e8fd912
[ci] format
2023-01-30 19:52:54 +00:00
Matthew Phillips
df32011652
Fix Cloudflare directory mode regression ( #6046 )
...
* Fix Cloudflare directory mode regression
* Adding a changeset
2023-01-30 14:50:44 -05:00
Houston (Bot)
d9787a6ff6
[ci] release ( #5995 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-30 12:38:31 -05:00
Nate Moore
e779c62424
fix( #5922 ): improve top-level return error ( #6036 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-30 11:37:13 -06:00
Houston (Bot)
fbb34e1ef6
[ci] update lockfile ( #5988 )
...
* [ci] update lockfile
* fix type issues
---------
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-30 12:03:32 -05:00
matthewp
bec45b3be5
[ci] format
2023-01-30 16:57:13 +00:00
Matthew Phillips
071e1dee7e
Simplified head injection ( #6034 )
...
* Simplified head injection
* Make renderHead also yield an instruction
* Add changeset
* Add mdx test
2023-01-30 11:55:10 -05:00
Nate Moore
cf604123fa
Add branches info to CONTRIBUTING ( #6039 )
...
* add repo structure section
* Update CONTRIBUTING.md
---------
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-30 10:40:07 -06:00
bholmesdev
3f687ee8d1
[ci] format
2023-01-30 16:24:38 +00:00
Ben Holmes
b4432cd6b6
[Content collections] Load MDX hoisted scripts in dev ( #6035 )
...
* chore: script, rename delayed -> propagated
* fix: consistent propagatedAssets flag
* feat: inject those scripts in dev!
* test: scripts included in dev and build
* chore: add TODO for prod build fix
* chore: changeset
2023-01-30 11:22:17 -05:00
Rychart Redwerkz
9bb0bfab13
Fix edit this Page
on examples/docs
( #6028 )
...
* 🐛 Fix path from `pages` to `content/docs`
* 🐛 Fix path from `pages` to `content/docs`
2023-01-30 09:48:57 -05:00
Happydev
98a4a914bc
Remove outdated MDX import types ( #6024 )
2023-01-30 16:48:40 +08:00
Bryce Russell
b6bed15a00
Fix local image example ( #6019 )
...
- `aspectRatio` prop requires a `width` or `height` prop
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
2023-01-29 10:00:48 +01:00
Caleb Jasik
9c298aa5ae
@astrojs/image
: Allow passing undefined
to transform options (#6008 )
...
* Allow passing `undefined` to transform options
This fixes #6001 , allowing undefined passed as a variable in addition to not passing the property at all
* Create strange-olives-rest.md
* Improve error message for missing `widths` prop
* Add changeset
2023-01-27 18:05:00 +01:00
Tony Sullivan
b994f6f35e
Makes the AstroCookies
type importable directly from "astro" ( #6006 )
...
* re-exports the AstroCookie type from the main 'astro' types
* chore: add changeset
2023-01-27 11:00:24 -06:00
matthewp
cac11c98be
[ci] format
2023-01-27 15:22:30 +00:00
Juan Miguel Guerrero
1c230f1037
feat(@astrojs/netlify): Add on-demand builders Netlify functions ( #5874 )
...
* Add on-demand builders option
* chore: add changeset
* docs: add documentation in configuration section
* Update packages/integrations/netlify/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/netlify/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/netlify/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/twenty-pans-agree.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-27 10:20:34 -05:00
bluwy
2565bc453e
[ci] format
2023-01-27 15:16:11 +00:00
Roy Eden
254eb21c83
fix: autoprefixer on dev mode for tailwind plugin ( #6002 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-27 23:14:19 +08:00
Anders Kaseorg
12c68343c0
fix: Don’t require getCollection()
filter to be a type guard ( #5998 )
...
Commit dabce6b8c6
(#5970 ) broke the use
of a plain boolean filter. Add an overload similar to TypeScript’s
Array#filter overload:
https://github.com/microsoft/TypeScript/blob/v4.9.4/lib/lib.es5.d.ts#L1442-L1453
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-01-26 21:03:09 -05:00
matthewp
5e3d538812
[ci] format
2023-01-26 20:36:29 +00:00
Chris Banford
5c64324c0a
Add a check for existing .git directory (and skip if one is found). ( #5953 )
...
* Add a check for existing .git directory (and skip if one is found).
* Changeset attempt :-)
* Update .changeset/try-button-rumor.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-26 15:34:49 -05:00
Nate Moore
a88363ce79
fix error in changelog formatting ( #5997 )
...
* fix changelog
* Update CHANGELOG.md
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-26 14:27:56 -06:00
银河渡舟
322e059d0d
fix: undefined remarkPluginFrontmatter after calling render method ( #5927 )
...
* Update vite-plugin-content-assets.ts
* Add changeset for #5927
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Co-authored-by: Anders Kaseorg <andersk@mit.edu>
2023-01-26 13:47:09 -06:00
Subha Chanda
1c7eef308e
Updated according to new configuration ( #5478 )
...
* Updated according to new configuration
Astro imports the `defineConfig` function from `astro/config`. The `integrations` key needs to be passed into the `defineConfig` function, but it is not shown in the README. Updated the README according to the CLI example.
* update alpine
* update image
* update lit
* update mdx
* update preact
* update prefetch
* update react
* update sitemap
* update solid
* update svelte
* update tailwind
* update turbolinks
* update vue
* chore: add changeset
* update image
* update svelte readme
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-26 13:03:00 -06:00
Houston (Bot)
607f0ac31a
[ci] release ( #5984 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-26 13:53:32 -05:00
HiDeoo
7abb1e9056
Fix MDX heading IDs generation when using a frontmatter reference ( #5978 )
...
* Fix MDX heading IDs generation when using a frontmatter reference
* Hoist safelyGetAstroData() call and add statement null check
2023-01-26 12:52:50 -05:00
matthewp
e16958f35f
[ci] format
2023-01-26 17:45:39 +00:00
Matthew Phillips
9855db676e
Support for prerendering in the Cloudflare integration ( #5993 )
...
* Cloudflare prerender branch
* Add prerendered routes to Cloudflare routes.json
* Adding changeset
* Prevent process proxy from running during prerender phase
2023-01-26 12:43:39 -05:00
HiDeoo
60b32d5856
Fix Astro.url.protocol
when using the @astrojs/node SSR adapter with HTTPS ( #5992 )
2023-01-26 12:39:57 -05:00
Nick McCurdy
d47a9075bf
Make examples more consistent ( #5201 )
...
* Don't ignore `.output`
From packages/integrations/vercel/CHANGELOG.md#minor-changes-5:
> The output folder changed from `.output` to `.vercel/output` — you may need to update your `.gitignore`.
* Make example readmes more consistent
* remove `astro check` command
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-26 08:37:30 -06:00
Angus
088f5194c5
Re-enable streaming on Cloudflare Pages ( #5914 )
...
* Support streaming on Cloudflare Pages
* Create tidy-ties-repeat.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-26 07:44:09 -06:00
natemoo-re
98d35de877
[ci] format
2023-01-25 23:22:56 +00:00
wulinsheng123
aedf23f858
fix: component is not able to use a custom theme anymore ( #5952 )
...
* Astro <Code> component is not able to use a custom theme anymore
* Astro <Code> component is not able to use a custom theme anymore
* Astro <Code> component is not able to use a custom theme anymore
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-25 17:21:15 -06:00
Yaroslav Lapin
883e0cc299
change @astrojs/solid to @astrojs/solid-js ( #5971 )
...
* change @astrojs/solid to @astrojs/solid-js
@astrojs/solid package doesn't exist
* Create serious-turtles-explode.md
* Update .changeset/serious-turtles-explode.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-25 17:21:03 -06:00
HiDeoo
9d4bfc76e8
Support passing children
as props to a React component ( #5886 )
2023-01-25 16:31:57 -06:00
Ben Holmes
dabce6b8c6
[Content collections] Support type guards on getCollection()
filter ( #5970 )
...
* fix: respect type guards from collection filter
* chore: changeset
2023-01-25 16:21:27 -06:00
Nate Moore
b53e0717b7
Handle unmatched 404 when using prerender in dev mode ( #5983 )
...
* fix(#5975 ): unmatched static paths should 404 during dev
* chore: add changeset
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-25 13:57:32 -06:00
Sarah Rainsberger
03e374f6bc
[docs] typo fix in MDX README ( #5977 )
2023-01-25 10:46:58 -04:00
Houston (Bot)
4842d6acb0
[ci] release ( #5963 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-25 10:19:27 +08:00
Bjorn Lu
02549b8ced
Upgrade semver dependency ( #5972 )
2023-01-25 10:13:47 +08:00
matthewp
0c28eb5f82
[ci] format
2023-01-25 02:12:57 +00:00
Matthew Phillips
f4c71e5eb9
Protect against shimmed process usage in Vercel Edge ( #5969 )
...
* Protect against shimmed process usage in Vercel Edge
* Adding a changeset
2023-01-24 21:11:09 -05:00
Lucas Vargas
4d1e4f6d96
docs(svelte): Update integration README ( #5966 )
2023-01-24 21:50:06 +01:00
Happydev
46b6e14265
Fix Content Collections not loading config file when there are spaces in the folder tree ( #5962 )
...
* fix
* add test
* use `fileURLToPath` instead
* chore: changeset
* remove useless config file
* revert back to using `decodeURIComponent`
* test: better test
* re-revert back to using `fileURLToPath`
2023-01-24 20:00:17 +00:00
natemoo-re
e7f9696cea
[ci] format
2023-01-24 17:57:25 +00:00
Reuben Tier
f1737f14dc
Ignore lint warning ( #5949 )
2023-01-24 11:55:36 -06:00
Houston (Bot)
398a516f03
[ci] release ( #5959 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-24 11:12:02 -06:00
Nate Moore
d0d7f61182
fix(create-astro): typescript prompt handling ( #5958 )
...
* fix(create-astro): typescript prompt handling
* fallback
* fix(create-astro): additional case
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-24 11:01:26 -06:00
bholmesdev
fb6604d0aa
[ci] format
2023-01-24 16:40:14 +00:00