Commit graph

4220 commits

Author SHA1 Message Date
Matthew Phillips
c271ed35ee
Only pass through children prop if there are children (#4756) 2022-09-14 15:42:38 -04:00
aFuzzyBear
098c76717a [ci] format 2022-09-14 19:19:56 +00:00
Peter Singh
664ebf449e
Update peer dep with Tailwindcss (#4543)
* Update peer dep

* Create leaders-of-the-free-world.md

Update: `@astrojs/tailwindcss` project with `tailwindcss` as a `peer-dependency`

* Removed tailwindcss as 'dependency'

* Update `pnpm-lock` with changes to deps

* Update .changeset/leaders-of-the-free-world.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-09-14 20:17:04 +01:00
matthewp
5e690065f7 [ci] format 2022-09-14 17:54:33 +00:00
Matthew Phillips
f1efd88dde
Compatiblity between hoisted scripts and tailwind integration (#4755)
* Compatiblity between hoisted scripts and tailwind integration

* Adds a changeset
2022-09-14 13:51:38 -04:00
Bjorn Lu
1bedb9427e
Support Vite 3.1 (#4752)
* Support Vite 3.1

* Update ~3.1.0

* Revert Vite bump
2022-09-14 12:01:50 -04:00
Bjorn Lu
c5e134d035
Fix console.error filtering (#4748) 2022-09-14 22:08:34 +08:00
Fred K. Bot
3372d757ca
[ci] update lockfile (#4751)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-14 09:58:38 -04:00
Bjorn Lu
13ca686ea1
Handle builds with outDir outside of cwd (#4736) 2022-09-14 21:24:35 +08:00
matthewp
a36d51d433 [ci] format 2022-09-14 11:59:49 +00:00
Matthew Phillips
cf8a7e933d
Properly handle multipart file uploads in the dev server (#4742)
* Properly allow file uploads in the dev server

* Smaller image

* movethe test over
2022-09-14 07:58:00 -04:00
Fred K. Schott
dc05bc04b1
Capture stderr in snapshot-release github action (#4747)
* Update snapshot-release.yml

* Update snapshot-release.yml

* Update snapshot-release.yml
2022-09-13 14:56:16 -07:00
Fred K. Schott
e73d2d14c6
Update snapshot-release.yml 2022-09-13 14:43:53 -07:00
Nate Moore
b9e73b4b0d
Delete examples/component/demo directory (#4739) 2022-09-13 16:24:11 -05:00
Nate Moore
65bef5d217
chore: fix eslint annotations (#4740)
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 16:23:59 -05:00
Tony Sullivan
38eec3a56a
enabling the publish step for snapshot releases (#4746) 2022-09-13 21:07:32 +00:00
Tony Sullivan
638dac9c79
fix: typo in snapshot ref checkout (#4745) 2022-09-13 20:56:36 +00:00
Tony Sullivan
fa89c71e98
resolving PR refs in snapshot release action (#4744) 2022-09-13 20:48:39 +00:00
Fred K. Bot
150cd8a582
[ci] release (#4729)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-13 15:15:05 -04:00
Nate Moore
8cfb3fb535
Migrate examples to type: module (#4662)
* chore: move examples to type module

* chore: prefer astro.config.mjs to astro.config.js

* chore: reference CJS config file

Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 14:02:57 -05:00
Sami Jaber
234057b020
Template (Blog): fix HeaderLink isActive check (#4647)
* remove trailing slashes when checking active href

* use simpler regex

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* remove unused code

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-09-13 14:02:32 -05:00
Fred K. Bot
013d15554e
[ci] update lockfile (#4735)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-13 12:09:55 -05:00
Ben Holmes
4bc70f3545
Fix route validation for Netlify Edge (#4722)
* fix: serialize route pattern for Netlify edge

Co-authored-by: Jackie Macharia <jackiewmacharia>

* chore: changeset
2022-09-12 19:33:44 -04:00
Fred K. Schott
49006da077
Update snapshot-release.yml 2022-09-12 14:43:45 -07:00
Fred K. Schott
9558e2c810
Update snapshot-release.yml 2022-09-12 14:34:50 -07:00
Fred K. Schott
05778251db
Update snapshot-release.yml 2022-09-12 14:30:58 -07:00
Fred K. Schott
8031ef8039
Update snapshot-release.yml 2022-09-12 14:25:01 -07:00
Fred K. Schott
c58d962dfa
Add a new preview release action (#4483)
* add a new preview release action

* Update snapshot-release.yml (#4485)

* small fixes

* Update snapshot-release.yml

Co-authored-by: Mayank <9084735+mayank99@users.noreply.github.com>
2022-09-12 14:21:20 -07:00
matthewp
8903edee88 [ci] format 2022-09-12 20:37:25 +00:00
Matthew Phillips
6efafa4b0e
Use import order to sort CSS in prod (#4724)
* Use import order to sort CSS in prod

* Adding a changeset

* Pass through the parent id

* Update remaining test
2022-09-12 16:35:39 -04:00
Fred K. Bot
56e225b41a
[ci] release (#4707)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-12 15:08:39 -04:00
Ben Holmes
6e1d62fe22
[RSS] Fix failure when globbing index route (#4701)
* fix: [rss] throw on undefined urls only

* test: "" url, passing glob outside pages/

* chore: changeset
2022-09-12 15:05:57 -04:00
matthewp
d614be4900 [ci] format 2022-09-12 18:43:54 +00:00
Juan Martín Seery
16113c3ae2
[vercel] Use Edge Functions instead of Edge Middlewares (#4713)
* Don't use middleware

* changeset

* breaking change
2022-09-12 14:40:48 -04:00
Matthew Phillips
0dba3b6f3f
Make error handling more resilient in the dev server (#4723)
* Make error handling more resilient in the dev server

* Better approach

* Add a changeset
2022-09-12 14:40:31 -04:00
Fred K. Bot
562147a5b4
[ci] update lockfile (#4711)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-12 11:31:58 -04:00
Erika
5b6173fd03
Add an error message for improperly configured renderers (#4705)
* Add error messages for wrongly configured renderers

* Add changeset
2022-09-12 11:55:06 -03:00
Ikko Ashimine
ee03967f92
Fix typo in render/head.ts (#4720) 2022-09-12 16:29:13 +08:00
Ben Holmes
b0ee81d0a7
Fix: Vue script setup with other renderers applied (#4706)
* fix: add __ssrInlineRender to Vue check

* chore: remove console log

* test: vue builds with other renderer present

* chore: changeset
2022-09-09 19:09:59 -04:00
Fred K. Bot
100b8d0583
[ci] release (#4702)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 17:18:03 -04:00
Ben Holmes
d28f7013c2
Fix [astro add] fetch failure (#4703)
* fix: apply fetch polyfill earlier

* chore: changeset
2022-09-09 16:56:07 -04:00
tony-sull
f226b677b8 [ci] format 2022-09-09 20:16:27 +00:00
Oussama Bennaci
1e5d8ba9af
[@astrojs/image] support additional resize options (#4438)
* working draft

* more sharp params

* add changeset

* fix typing

* wip

* add missing docblocks

* update lock file

* remove enlargement and reduction resize options

* add tests

* Add docs

* support crop options in pictures

* cleanup

* define crop types in docs

* cleanup

* remove kernel option

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-09 20:13:59 +00:00
Fred K. Bot
2737cabd10
[ci] release (#4698)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 14:58:03 -04:00
matthewp
07736f74c0 [ci] format 2022-09-09 18:54:10 +00:00
Matthew Phillips
b85d05a841
Fix client:only CSS missing from child packages (#4699) 2022-09-09 14:51:58 -04:00
Ben Holmes
d1e6959147
[astro add] Move config update to final step (#4682)
* feat: move astro.config update to end

* chore: changeset
2022-09-09 14:06:39 -04:00
Brendan O'Leary
80ae62ad99
Fix theme.css location in docs starter project (#4697)
* Fix theme.css location in docs starter project

* Also fix in diff display

Co-authored-by: Brendan O'Leary <boleary@gitlab.com>
2022-09-09 12:19:45 -05:00
Lloyd Atkinson
eb4f6faee6
docs: add section on .mdx file support in VS Code (#4694)
* docs: add section on .mdx file support in VS Code

* Update packages/integrations/mdx/README.md

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-09-09 13:13:09 -04:00
matthewp
64f11c4cee [ci] format 2022-09-09 16:00:38 +00:00