Commit graph

5439 commits

Author SHA1 Message Date
matthewp
d017701ae6 [ci] format 2022-11-16 17:24:18 +00:00
Matthew Phillips
a9f7ff9667
Prevent dev from crashing when there are errors in template (#5417)
* Prevent dev from crashing when there are errors in template

* Adding a changeset
2022-11-16 12:22:35 -05:00
Ted Diño
afb751dbd1
[docs] fix typo in image integration README (#5416) 2022-11-16 12:07:11 -04:00
Fred K. Bot
49c1a5d439
[ci] release (#5399)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 10:07:56 -05:00
matthewp
991d629832 [ci] format 2022-11-16 13:59:51 +00:00
Matthew Phillips
9f80a4046f
Allow Code component to run in Vercel (#5409)
* Allow Code component to run in Vercel

* Adding a changeset

* Pass theme through to `codeToHtml`

* Use script to generate languages

* another bundling approach

* fix lint warnings
2022-11-16 08:57:53 -05:00
matthewp
6c0f966ef8 [ci] format 2022-11-16 13:36:29 +00:00
Matthew Phillips
a278c7ae6f
Restart dev server on package.json changes (#5412)
* Restart dev server on package.json changes

* Adding a changeset

* update vitefu

* lockfile updated
2022-11-16 08:34:19 -05:00
Fred K. Bot
7191ed1c7c
[ci] update lockfile (#5407)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-15 16:06:18 -05:00
matthewp
81c375d24b [ci] format 2022-11-15 20:28:35 +00:00
impcyber
3c5cb69488
Fix: https://github.com/withastro/astro/issues/5400 (#5410)
* Fix: Astro generates empty .-index.bundle.js

https://github.com/withastro/astro/issues/5400

* Create loud-penguins-tickle.md
2022-11-15 15:26:37 -05:00
matthewp
a93aa4ef3f [ci] format 2022-11-15 15:04:33 +00:00
Matthew Phillips
40226dd14d
Use Vite to load non JS astro configs (#5377)
* Use Vite to load non JS astro configs

* Adding a changeset

* Allow config to not exist

* Use a file url

* Use proload as a fallback

* add missing peerdep

* fix lint mistakes

* Refactor the vite-load

* First check if the file exists

* Pass through fs

* Update packages/astro/src/core/config/vite-load.ts

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

* Also load astro.config.cjs

* Do search before trying to load

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-11-15 10:02:23 -05:00
bluwy
095de72a17 [ci] format 2022-11-15 07:29:00 +00:00
李瑞丰
505abfd643
fix(create-astro): fix error when don't have template input (#5404) 2022-11-15 15:27:16 +08:00
李瑞丰
66992ed700
fix(template): delete extra css. (#5403) 2022-11-15 15:19:04 +08:00
迷渡
247c4077eb
[deno] fix package name (#5402) 2022-11-15 14:05:50 +08:00
李瑞丰
10f6faca38
docs: fix compiler project url (#5401) 2022-11-14 22:12:14 -04:00
matthewp
6ff1399e98 [ci] format 2022-11-14 18:44:37 +00:00
Matthew Phillips
ee750087ce
Fix usage of the Image component with the Vercel adapter (#5361)
* Revert "Revert "Allow image-pool to be used as its own Worker (#5317)" (#5360)"

This reverts commit 20e60c6e08.

* Remove special image-pool.js moving around

* Merge in assetIncludes

* changeset

* Copy to chunk folder in SSR too

* Update tidy-shoes-yawn.md
2022-11-14 13:42:35 -05:00
Fred K. Bot
993b58d567
[ci] release (#5365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-14 13:31:31 -05:00
Nate Moore
e385076efe
Upgrade compiler (#5369)
* chore: upgrade compiler

* chore: upgrade compiler

* chore: add changeset

* chore: upgrade compiler

* chore: generate lockfile

* Update tricky-dodos-cheer.md

* chore: upgrade compiler

Co-authored-by: Nate Moore <nate@astro.build>
2022-11-14 11:01:03 -06:00
Fred K. Bot
eca8815bc2
[ci] update lockfile (#5385)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-14 09:39:38 -05:00
Josh Wilson
eab4a0279f
Preserve reactivity in Solid example component (#5386) 2022-11-14 11:50:15 +08:00
Donald
df8092b007
Fix typo in image integration documentatation (#5388) 2022-11-13 23:00:14 -04:00
Fred K. Bot
07827083ae
[ci] update lockfile (#5382)
* [ci] update lockfile

* fix lint

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-11-12 07:34:33 -08:00
Erika
f9104354b8
Fix getStaticPaths regressions with nested arrays (#5375)
* Fix getStaticPaths regression

* Add changeset

* Add test
2022-11-11 17:50:40 -04:00
matthewp
591153f457 [ci] format 2022-11-11 19:36:40 +00:00
Matthew Phillips
bee8c14afd
Use base rather than site to create subpath for links/scripts (#5371)
* Use base rather than site to create subpath for links/scripts

* Adding a changeset

* Warn when the site has a pathname but not using base

* fix asset test

* fix asset inlining behavior
2022-11-11 11:34:34 -08:00
Nate Moore
f47fb995c0
chore(ci): add timeout to all ci jobs (#5374)
Co-authored-by: Nate Moore <nate@astro.build>
2022-11-11 13:09:01 -06:00
matthewp
8aea2dea61 [ci] format 2022-11-11 16:30:25 +00:00
Matthew Phillips
9eee0f0166
Properly support trailingSlash: never with a base (#5358)
* Properly support trailingSlash: never with a base

* adding a changeset

* Pass through the base

* only mess with pathname when trailingSlash === 'never'

* maybe fixes stuff

* Update based on review notes
2022-11-11 08:28:29 -08:00
matthewp
4d425b46fc [ci] format 2022-11-11 16:04:21 +00:00
Bjorn Lu
f3181b5adf
Fix .html.astro file routing in dev (#5346)
* Fix .html.astro file routing in dev

* Fix error

* Add comment
2022-11-11 08:01:53 -08:00
Fred K. Bot
c01092dd09
[ci] update lockfile (#5367)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-11 09:41:42 -06:00
Danny Guo
06432c71d8
Fix a typo in the @astrojs/node documentation (#5364) 2022-11-11 14:23:44 +08:00
Bjorn Lu
3ae2a961b7
Respect Vite user config for third-party packages (#5345) 2022-11-11 14:22:43 +08:00
Fred K. Bot
7ec016fec3
[ci] release (#5359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 16:09:24 -08:00
Matthew Phillips
20e60c6e08
Revert "Allow image-pool to be used as its own Worker (#5317)" (#5360)
* Revert "Allow image-pool to be used as its own Worker (#5317)"

This reverts commit d701ae074a.

* Adding a changeset

* Remove diff

* Remove unused code
2022-11-10 16:07:22 -08:00
Michael Rienstra
ae41f25e10
Consistent MD frontmatter typing (#5294)
* consistent MD frontmatter typing

* changeset
2022-11-10 14:54:34 -08:00
matthewp
edfbb0c9dd [ci] format 2022-11-10 22:14:23 +00:00
Matthew Phillips
b3d936ac24
Updated CSS naming algorithm (#5353)
* Updated CSS naming algorithm

* Adding a changeset

* Fix windows
2022-11-10 14:12:42 -08:00
Fred K. Bot
f8115180f3
[ci] release (#5329)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 13:01:45 -08:00
Fred K. Bot
e74ba6e5a3
[ci] update lockfile (#5348)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-10 10:50:42 -08:00
Chris Swithinbank
f9f1b531da
Fix astro.config.mjs in minimal example (#5350) 2022-11-10 09:50:29 -06:00
Obinna Ekwuno
8cdd5aabdb
Add “Open with CodeSandbox” buttons to example project READMEs (#5322)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-10 11:32:13 +01:00
matthewp
c0cb65b18d [ci] format 2022-11-10 05:36:02 +00:00
Matthew Phillips
2d3c035bf9
Fixes failing mdx test (#5344) 2022-11-09 21:34:23 -08:00
matthewp
d82b392030 [ci] format 2022-11-10 04:18:49 +00:00
Matthew Phillips
1e6bbb2924
Change 404 to 301 for omitting base for items in public (#5342) 2022-11-09 20:16:44 -08:00