Commit graph

4617 commits

Author SHA1 Message Date
Nate Moore
b211eadeff
create-astro bug fixes (#5319)
* fix(create-astro): upgrade cli-kit

* fix(create-astro): avoid setRawMode error

* chore(lint): disable create-astro linting

Co-authored-by: Nate Moore <nate@astro.build>
2022-11-08 10:33:36 -06:00
matthewp
982e446e8d [ci] format 2022-11-08 16:16:50 +00:00
Matthew Phillips
d701ae074a
Allow image-pool to be used as its own Worker (#5317)
* Allow image-pool to be used as its own Worker

* Adding a changeset

* fix image tests

* update picture tests

* Pass the current URL
2022-11-08 11:14:51 -05:00
Bjorn Lu
a79a37cad5
Support environment variables in Cloudflare and Netlify Edge functions (#5301)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-08 21:54:49 +08:00
Bjorn Lu
7f3b0398e0
Fix image test fail (#5321) 2022-11-08 08:31:05 -05:00
Fred K. Bot
56c37a6287
[ci] release (#5296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-07 15:25:20 -05:00
matthewp
4280bb8cf8 [ci] format 2022-11-07 20:16:23 +00:00
Matthew Phillips
f6add3924d
When creating a new dev container, restart it if previously started (#5314)
* When creating a new dev container, restart it if previously started

* Adding a changeset
2022-11-07 15:14:34 -05:00
Fred K. Bot
c44d5dd8bc
[ci] update lockfile (#5306)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-07 10:41:11 -05:00
Andy
77e20d54c7
Fix typo in create-astro messages (#5312) 2022-11-07 10:07:21 -05:00
matthewp
a10cbec67e [ci] format 2022-11-07 15:06:51 +00:00
Matthew Phillips
b2b291d291
Handle base in adapters (#5290)
* Handle `base` in adapters

* Use removeBase in the test adapter

* Update packages/integrations/node/src/preview.ts

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

* Update packages/integrations/cloudflare/src/server.advanced.ts

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

* Include the subpath for links

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-11-07 10:05:12 -05:00
Montel
97e2b6ad7a
Adds astro cli dynamic imports (#5292)
* change add, build, preview, devServer and telemtryHandler imports to dynamic

* update changelog for astro cli imports change
2022-11-04 09:37:37 -04:00
Fred K. Bot
b4f77a6122
[ci] update lockfile (#5299)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-04 09:36:26 -04:00
matthewp
4cf87eb29f [ci] format 2022-11-04 13:11:59 +00:00
wulinsheng123
247eb7411f
fix: fix bug #5267 (#5298)
* fix: fix bug #5267

* fix: add changeset

* fix: on frozen lockfile

Co-authored-by: wuls <linsheng.wu@beantechs.com>
2022-11-04 09:09:55 -04:00
matthewp
f20ff17aa3 [ci] format 2022-11-03 20:40:52 +00:00
Matthew Phillips
4af4d8fa00
Prevent overcaching of astro components for HMR (#5293)
* Prevent overcaching of astro components for HMR

* Get tests working in windows

* Use the right drive

* Adding a changeset
2022-11-03 16:38:22 -04:00
bluwy
e7dc8b956d [ci] format 2022-11-03 15:33:10 +00:00
wulinsheng123
e3cddb433d
chore: fix tests in node 18 (#5266) 2022-11-03 23:31:26 +08:00
Fred K. Bot
89f335b539
[ci] release (#5262)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-03 09:38:29 -04:00
Fred K. Bot
64d0dc56bb
[ci] update lockfile (#5287)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-03 09:07:15 -04:00
matthewp
50e5e576bc [ci] format 2022-11-03 12:07:39 +00:00
Leonard Hertel
126cd8e83f
fix(astro): add class:list to HTMLAttributes (#5284) 2022-11-03 08:05:22 -04:00
Matthew Phillips
c7b9b14a1e
Surface configuration errors to the client (#5273)
* Surface configuration errors to the client

* Actually start the container on restart

* Add beforeRestart to clear the console

* Some minor changes, restarted() returns an Error maybe

* Refactor testing code

* Adding a changeset
2022-11-03 08:04:33 -04:00
Aleksa
a558cf317a
fix homepage url for integrations (#5281)
* fix homepage url for integrations

* Create curvy-countries-kiss.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-02 15:04:11 -05:00
Fred K. Bot
8d78d954f3
[ci] update lockfile (#5269)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-11-02 11:40:33 -04:00
bluwy
29ac34aea2 [ci] format 2022-11-02 12:45:32 +00:00
Vlad Cuciureanu
0d27c4a2b6
Fix memleak when project path contains '.md' (#5264) 2022-11-02 20:43:36 +08:00
Johan Bergström
78145c7de5
[docs] cloudflare directory nits (#5278) 2022-11-02 09:40:54 -03:00
bluwy
a685acf6de [ci] format 2022-11-02 06:58:46 +00:00
Bjorn Lu
1cc0670524
Refactor CSS preprocessing handling (#5236) 2022-11-02 14:57:03 +08:00
Shoubhit Dash
0bab357c48
fix: consider trailing slashes when calculating current path in blog example (#5272) 2022-11-01 16:08:45 -04:00
Tony Sullivan
b6afe2c1db
updates @astrojs/prefetch package keywords (#5271) 2022-11-01 19:55:20 +00:00
Tony Sullivan
4e2bd17393
Adds a Hackernews example site (#5213)
* adds the hackernews example - TODO add readme content

* refactor: moving styles from root.css into components

* chore: add README content

* chore: lint fixes + prettier-plugin-astro@0.4.0

* Update examples/hackernews/README.md

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

* lint: remove unused variable

* nit: adding check command to example

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-01 16:20:04 +00:00
Matthew Phillips
bb6e880009
Prevent tailwind config errors from crashing dev server (#5270)
* Prevent tailwind config errors from crashing dev server

* Adding a changeset

* Fix wrong type
2022-11-01 10:50:53 -04:00
matthewp
63a3282f81 [ci] format 2022-11-01 12:59:39 +00:00
Matthew Phillips
c77a6cbe34
Graceful error recovery in the dev server (#5198)
* Graceful error recovery in the dev server

Move dev-container to dev

Update for the lockfile

Invalidate modules in an error state

Test invalidation of broken modules

Remove unused error state

Normalize for windows

try a larger timeout

Fixes build

just for testing

more testing

Keep it posix

fully posix

* Fix up Windows path for testing

* some debugging

* use posix join

* finally fixed

* Remove leftover debugging

* Reset the timeout

* Adding a changeset
2022-11-01 08:57:23 -04:00
matthewp
06c5d51b37 [ci] format 2022-11-01 12:44:07 +00:00
Robin Lindner
6ad91bd80d
Improve prefetch conditions (#5244)
* Improve prefetch

* Add changeset
2022-11-01 08:42:30 -04:00
Michael Rienstra
2f8c9a98cc
ci: fix prettier arg (#5263) 2022-11-01 14:29:31 +08:00
Tony Sullivan
37d664e262
[@astrojs/image] web-streams-polyfill should be included as a prod dependency (#5260)
* fix: web-streams-polyfill should be included as a prod dependency

* chore: missed a lockfile change in the merge
2022-10-31 19:43:38 +00:00
Fred K. Schott
1b79ac7018
Add a thank you to the original author of the original webapi package (#5246) 2022-10-31 13:24:12 -04:00
bluwy
e25fed2f49 [ci] format 2022-10-31 17:00:36 +00:00
Bjorn Lu
74759cf787
Allow 200 response for endpoints in build (#5258) 2022-11-01 00:58:54 +08:00
Fred K. Bot
2765115457
[ci] update lockfile (#5250)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-31 12:11:51 -04:00
Matthew Phillips
e6109aa5c0
Revert "Prevent astro-scripts from being released (#5257)" (#5259)
This reverts commit 4f9391b33f.
2022-10-31 11:08:49 -04:00
Fred K. Bot
5016166acf
[ci] release (#5239)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-31 10:21:09 -04:00
Matthew Phillips
4f9391b33f
Prevent astro-scripts from being released (#5257) 2022-10-31 10:14:37 -04:00
Michael Rienstra
0e043bb287
Remove shamefully-hoist from docs smoke test (#5193) 2022-10-31 14:43:04 +08:00