Commit graph

579 commits

Author SHA1 Message Date
Fred K. Bot
70adbe34a0
[ci] update lockfile (#5323)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-11-08 12:56:42 -05:00
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
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
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
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
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
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
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
Vlad Cuciureanu
0d27c4a2b6
Fix memleak when project path contains '.md' (#5264) 2022-11-02 20:43:36 +08: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
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
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. Bot
2765115457
[ci] update lockfile (#5250)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-31 12:11:51 -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
7d678c9ed0
Upgrade compiler to latest (#5243)
* Upgrade compiler to latest

* Adding a changeset

* Update tests for IIFE wrapping

* Update .changeset/chilly-zoos-exist.md

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-10-28 16:13:31 -04:00
Nate Moore
641b6d7d58
feat(create-astro): add --fancy flag (#5226)
Co-authored-by: Nate Moore <nate@astro.build>
2022-10-28 12:24:14 -05:00
Fred K. Bot
5be3fdec27
[ci] release (#5215)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-28 12:14:55 -04:00
Bjorn Lu
c98c5aa0ae
Improve Solid libraries config handling (#5208) 2022-10-28 23:30:54 +08:00
Bjorn Lu
a609a8937f
Upgrade Vite to 3.2 (#5212) 2022-10-28 22:03:07 +08:00
Erika
7fc5d55952
Fix errors that are not instanceof Error crashing the dev server (#5216)
* Fix errors that are not instanceof Error crashing the dev server

* Update lockfile

* Fix import paths
2022-10-27 15:44:48 -03:00
Fred K. Bot
50841bb7fd
[ci] release (#5199)
* [ci] release

* Update packages/integrations/cloudflare/CHANGELOG.md

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-27 09:41:03 -04:00
Fred K. Bot
b9364ff8d9
[ci] update lockfile (#5209)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-27 08:56:20 -04:00
Bjorn Lu
3d99fdd1e7
Improve Astro libraries config handling (#5203) 2022-10-27 14:54:41 +08:00
Nate Moore
0408376281
[Create Astro] Improved prompts, template handling, Houston (#5088)
* feat(create-astro): add houston, improve prompts

* refactor(create-astro): move to giget

* chore: add changeset

* chore: update lockfile

* test(create-astro): update tests to match new output

* chore: prefer named functions

* fix: update template prompt

* fix: update typescript message

* chore: add explicit --skip-houston flag

* test(create-astro): skip flaky typescript test

Co-authored-by: Nate Moore <nate@astro.build>
2022-10-26 10:13:56 -05:00
Fred K. Bot
4efbfdd78d
[ci] release (#5135)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-26 08:43:23 -04:00
Fred K. Bot
9630f683c4
[ci] update lockfile (#5197)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-26 08:35:40 -04:00
Fred K. Bot
44fa495761
[ci] update lockfile (#5187)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-25 10:50:11 -04:00
Michael Rienstra
13b8e78713
Uninstall only-allow (#5184) 2022-10-25 18:09:41 +08:00
花果山大圣
ca94e9ccc1
chore: only-allow pnpm (#5131) 2022-10-24 14:17:23 -04:00
Fred K. Bot
4ee49cffc1
[ci] update lockfile (#5165)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-24 14:14:42 -04:00
Fred K. Bot
bf5ad72e81
[ci] update lockfile (#5139)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-21 09:03:00 -05:00
Bjorn Lu
1c477dd8d9
Use new compiler resolvePath option (#5133) 2022-10-21 14:08:07 +08:00
Fred K. Bot
643535dcd4
[ci] update lockfile (#5132)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-20 17:13:24 -04:00
Fred K. Bot
863391f10e
[ci] release (#5117)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-19 15:29:21 -04:00
Jelenkee
5a674f976d
Prefetch styles only once (#5125)
* test1

* fixed test

* removed console.log

* changeset

* pnpm-lock

* fixed test again

* fta

* fta2

* fix: wait for fetch

* -fixed test template

* empty

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: My Name <my.name@my-company.com>
2022-10-19 15:20:45 -04:00
Fred K. Bot
6e6a339e6d
[ci] update lockfile (#5122)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-19 10:04:16 -04:00
Matthew Phillips
9745009ae0
Fixes index page with build.format=file (#5123)
* Fixes index page with build.format=file

* Adding a changeset
2022-10-19 10:00:52 -04:00
Fred K. Bot
4c1ffef3e4
[ci] release (#5078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-18 14:26:00 -04:00
Daniel
5923dd77c1
adding cookies to api route response [simple result] (#5060)
* adding cookies to the an api route response, also when returning a simple result

* in dev server, convert a simple endpoint result into a response object

Co-authored-by: AirBorne04 <unknown>
Co-authored-by: AirBorne04 <>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-18 09:52:49 -04:00
Yaroslav Lapin
66e8ae3bee
update with-tailwind example to use mdx (#5104)
* add mdx since md is deprecated now

* rename .md -> .mdx

* fix component import

* yarn format
2022-10-18 09:22:48 -04:00
Fred K. Bot
d7407dbb15
[ci] update lockfile (#5094)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-18 09:20:36 -04:00
Nate Moore
d25f54cb93
[Vue] add support for appEntrypoint (#5075)
* feat(vue): add support for appEntrypoint

* chore: add changeset

* test(vue): add tests for app entrypoint

* docs(vue): update README to include app entrypoint

* fix(vue): prefer resolvedVirtualModuleId

Co-authored-by: Nate Moore <nate@astro.build>
2022-10-13 14:15:57 -05:00
Fred K. Bot
81d57f2638
[ci] release (#5046)
* [ci] release

* Update packages/integrations/node/CHANGELOG.md

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-13 12:29:24 -04:00
Fred K. Bot
45728a0d6e
[ci] update lockfile (#5069)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-13 11:35:52 -04:00
Matthew Phillips
e55af8a232
Node.js standalone mode + support for astro preview (#5056)
* wip

* Deprecate buildConfig and move to config.build

* Implement the standalone server

* Stay backwards compat

* Add changesets

* correctly merge URLs

* Get config earlier

* update node tests

* Return the preview server

* update remaining tests

* swap usage and config ordering

* Update packages/astro/src/@types/astro.ts

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

* Update .changeset/metal-pumas-walk.md

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

* Update .changeset/metal-pumas-walk.md

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

* Update .changeset/stupid-points-refuse.md

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

* Update .changeset/stupid-points-refuse.md

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

* Link to build.server config

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-12 17:25:51 -04:00
Bjorn Lu
ebd364e392
Add new fields to API route context (#4986)
* Add new fields to API route context

* Add props and redirect

* Pass custom redirect status code

* Correctly pass props in api routes

* Add better docs

* Add test

* Fix build

* Add constants file

* Add links to jsdoc

* Workaround lint issue

* Thanks Chris

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Missed one doc change

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Add more detail to the changesets

* Strict redirect status type

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-12 17:03:49 -04:00
Erika
0ea6187f95
Added support for updating tsconfig.json when using astro add (#4959)
* Added support for updating tsconfig.json when using astro add

* Refactor

* Remove unneeded change

* Fix build failling due to type difference

* Extend changeset description
2022-10-12 15:11:25 -03:00
Bjorn Lu
f7fcdfe621
Support solidjs libraries (#5059) 2022-10-12 21:29:26 +08:00
Fred K. Bot
5cab04521a
[ci] update lockfile (#5054)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-12 09:09:59 -04:00