Commit graph

4101 commits

Author SHA1 Message Date
Elian ☕️
f2b515d0b4
Add Deno example (#4641)
* Add Deno example

* update lockfile

* update README

* update README
2022-09-20 08:29:33 -04:00
Bjorn Lu
be9eaa0692
Allow override vite.build.target (#4813) 2022-09-20 08:12:13 -04:00
Luca Casonato
44fa378186
Remove explicit Transfer-Encoding: chunked header (#4807)
* Remove explicit `Transfer-Encoding: chunked`

This header is not necessary and is ignored by essentially all HTTP
servers when provided explicitly by the user. This is because the HTTP
transport layer handles adding this header automatically as needed.

Some variations of HTTP transport (like HTTP/2, which is enabled by
default in Deno, Netlify, and CFW) have no notion of
`Transfer-Encoding: chunked`, because all responses are streamed.

* add changeset
2022-09-20 07:59:10 -04:00
Kristoffer K
df54595a88
fix(markdown-remark): declare hast-util-to-html as a dependency (#4787) 2022-09-20 17:21:54 +08:00
Fred K. Bot
8a1dd4b7e8
[ci] release (#4790)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-19 14:44:49 -04:00
Aditya Jain
620f1d9e1e
fixed broken emoji for in "Getting started" section of integration docs (#4795)
* fixed broken emoji for "nest frameworks together"

* Add missing whitespace

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2022-09-19 12:58:06 -03:00
Bjorn Lu
cf5ed5f3a8
Update Vite 3.1.3 (#4802) 2022-09-19 11:46:05 -04:00
matthewp
a2b0bef050 [ci] format 2022-09-17 16:35:02 +00:00
Matthew Phillips
8f9463e07f
Fixes client:only CSS in Svelte components (#4782)
* Fixes client:only CSS in Svelte components

* Add changeset
2022-09-17 12:32:35 -04:00
Fred K. Bot
1c36b0ec18
[ci] release (#4781)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-16 14:13:02 -04:00
Fred K. Schott
59c36897de
Update CHANGELOG.md (#4743) 2022-09-16 14:04:39 -04:00
Michael Rienstra
a800bf7ec1
.md only: npm init astro --> npm create astro (#4760)
* .md only: npm init astro --> npm create astro

For consistency with https://github.com/withastro/docs/pull/360. Docs always use `npm create astro` (never `npm init astro`), README.md files in this repo should do the same.

Search:
`\b(npm|yarn|pnpm) init astro\b`
Replace:
`$1 create astro`

Except for two instances:

1. `packages/create-astro/CHANGELOG.md` -- skipped because changelog.

2. `packages/create-astro/test/create-astro.test.js.skipped` -- skipped, old test disabled in https://github.com/withastro/astro/pull/3168.

* docs: add `@latest` to `npm create astro`
Co-authored-by: Bjorn Lu <bjorn@bjornlu.com>

Co-authored-by: Michael Rienstra <michael@goodmoney.com>
2022-09-16 12:40:06 -05:00
matthewp
64aa903f04 [ci] format 2022-09-16 15:31:14 +00:00
Matthew Phillips
f3a81d82f6
Refactor to remove AstroConfig['_ctx'] (#4771)
* Refactor to remove AstroConfig['_ctx']

* Fix type error

* Export validateConfig

* Move to an options bag for createSettings

* Move config tests into test/untils/config

* Add a changeste

* fix build
2022-09-16 11:29:17 -04:00
Fred K. Bot
48567639e0
[ci] update lockfile (#4779)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-16 08:49:07 -04:00
tony-sull
8cc7dc1bcd [ci] format 2022-09-15 21:26:37 +00:00
Tony Sullivan
13a4b0d488
Revert "Adds a new "astro:build:generated" hook for SSG builds (#4772)" (#4774)
This reverts commit 03b18e8d1b.
2022-09-15 21:24:23 +00:00
tony-sull
7acded4d0e [ci] format 2022-09-15 21:03:49 +00:00
Tony Sullivan
03b18e8d1b
Adds a new "astro:build:generated" hook for SSG builds (#4772)
* adds a new "astro:build:generated" hook for SSG builds

* chore: add changeset
2022-09-15 21:02:07 +00:00
Fred K. Bot
b2da8a124a
[ci] release (#4761)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-15 14:05:25 -04:00
Calvin Liang
7c11ef63bd
Fix typo in portfolio example (#4764)
`/products/` doesn't exist. Likely means`/projects/`.
2022-09-15 12:17:49 -05:00
matthewp
e40d8d8357 [ci] format 2022-09-15 16:36:38 +00:00
Matthew Phillips
9a59e24e02
Ensure before-hydration is only loaded when used (#4768)
* Ensure before-hydration is only loaded when used

* client fix + changeset
2022-09-15 12:33:52 -04:00
Fred K. Bot
798d36f349
[ci] update lockfile (#4767)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-15 12:08:00 -04:00
matthewp
c7c3cf7104 [ci] format 2022-09-15 13:53:30 +00:00
Matthew Phillips
fc885eaea1
Read jsxImportSource from tsconfig (#4759)
* Read jsxImportSource from tsconfig

* Only read from tsconfig if not found earlier
2022-09-15 09:50:48 -04:00
Chris Swithinbank
0398efa39f
Tailwind v2 docs (#4758)
* Add migration notes to Tailwind changelog

* Include `tailwindcss` in manual install steps

* add changeset
2022-09-14 22:43:10 +02:00
Fred K. Bot
27aa9851d8
[ci] release (#4750)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-14 16:06:23 -04:00
matthewp
a74f246333 [ci] format 2022-09-14 19:49:26 +00:00
Matthew Phillips
005d5bacd9
Allow custom 404 route to handle API route missing methods (#4594)
* Properly allow file uploads in the dev server

* Allow custom 404 route to handle API route missing methods

* Add a changeset

* what was i thinking

* Pass through the pathname

* Move the try/catch out and into handleRequest

* await the result of handleRoute
2022-09-14 15:47:16 -04:00
matthewp
04daafbbdf [ci] format 2022-09-14 19:44:27 +00:00
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