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
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