Commit graph

2807 commits

Author SHA1 Message Date
Juan Martín Seery
725c44a762
feat(vercel): Support trailingSlash (#3176) 2022-04-22 10:03:53 -04:00
Matthew Phillips
19667c45f3
Netlify Edge: forward requests for static assets (#3170)
* Netlify Edge: forward requests for static assets

* Adds a changeset

* Don't run edge tests, yet
2022-04-22 10:03:25 -04:00
FredKSchott
e632c09049 [ci] collect stats 2022-04-22 12:02:07 +00:00
Fred K. Schott
9c0fc6877a
Update Vercel adapter readme 2022-04-21 14:31:45 -07:00
Fred K. Schott
0b432c087a
Update README.md 2022-04-21 14:24:09 -07:00
github-actions[bot]
f3586cff41
[ci] release (#3173)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 16:00:18 -05:00
natemoo-re
84b863df6a [ci] format 2022-04-21 20:38:07 +00:00
github-actions[bot]
84939b2ff2
[ci] release (#3172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 15:37:18 -05:00
Ben Holmes
7c49194ca2
Feat: [create astro] add directory prompt (#3168)
* wip: add prompt for directory with validation

* feat: wire up dir response to cwd

* feat: improve error handling on non-empty dirs

* fix: update test helpers to execaSync

* chore: add .skipped to old tests for clarity

* deps: add mocha and chai to create-astro

* feat: add directory step test with fixture

* feat: update turbo to run create-astro tests again 🥳

* chore: changeset
2022-04-21 16:36:48 -04:00
Nate Moore
908fffb5ec
chore: upgrade compiler (#3171) 2022-04-21 15:26:14 -05:00
natemoo-re
b6f14c3b14 [ci] format 2022-04-21 20:13:54 +00:00
Nate Moore
70263cf748
fix(preact): use updateConfig hook (#3166) 2022-04-21 15:13:09 -05:00
Nate Moore
f73d33cb18
chore(webapi): fix types (#3167) 2022-04-21 14:54:26 -04:00
github-actions[bot]
bd66527e7d
[ci] release (#3169)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 14:08:37 -04:00
matthewp
c4203ce0fc [ci] format 2022-04-21 18:03:47 +00:00
Tony Sullivan
637919c8b6
Improvements to build and dev when building for subpaths (#3156)
* `astro build` should include the `base` provided in astro config

* test: updating build test to expect the base path in links/scripts

* ignore the default "base" value when building links/scripts

* fix: handling config that provides a base but no site

* fix: config.site was being ignored since it's a URL not a string

* hack: handle base path in dev for /public assets

* fix: dev redirect needs to ignore base default of ./

* fix: extra safety checks for the base path redirect

* refactor: simplifying it to remove the regex

* one last safety check - only redirect GET and use a 302 status

* fix: lost the leading slash when redirecting

* nit: adding comments to the test explaining how base is verified

* Remove extra console.log

* Adds a changeset

Co-authored-by: unknown <matthew@skypack.dev>
2022-04-21 14:03:05 -04:00
github-actions[bot]
0406bdc35b
[ci] release (#3165)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 12:19:52 -04:00
matthewp
8768f23f95 [ci] format 2022-04-21 16:11:09 +00:00
Matthew Phillips
ae9ac5cbdc
Fixes using React.lazy and Suspense (#3160)
* Revert "Revert "Fixes using React.lazy and Suspense""

This reverts commit e621c2f7d3.

* Adds a changeset

* Fix ts errors

* Remove netlify metadata folder
2022-04-21 12:10:06 -04:00
github-actions[bot]
3cdc5f1bfb
[ci] release (#3161)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 11:34:03 -04:00
matthewp
9fcac8e551 [ci] format 2022-04-21 15:13:24 +00:00
Matthew Phillips
e85b16e2b3
Make 'lit' always be bundled in SSR (#3164)
* Make 'lit' always be bundled in SSR

* Adds a changeset
2022-04-21 11:12:21 -04:00
FredKSchott
add650a47f [ci] collect stats 2022-04-21 12:04:14 +00:00
natemoo-re
becdf3e923 [ci] format 2022-04-20 21:47:20 +00:00
Nate Moore
37a7a8347c
Improved HMR (#3138)
* WIP: improved HMR

* fix(hmr): improve hmr filtering to avoid full reloads

* chore: add changeset
2022-04-20 16:46:40 -05:00
Matthew Phillips
e621c2f7d3 Revert "Fixes using React.lazy and Suspense"
This reverts commit 700d4f9649.
2022-04-20 17:17:36 -04:00
unknown
700d4f9649 Fixes using React.lazy and Suspense 2022-04-20 17:17:11 -04:00
Matthew Phillips
12f6b60998
Add test to verify Lit works in SSR (#3158) 2022-04-20 14:16:04 -04:00
Matthew Phillips
eea9090ed5
Netlify adapter, add --build flag in the readme (#3157) 2022-04-20 12:25:22 -04:00
Fred K. Schott
00b8343844
[ci] update lockfile (#3153)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-20 09:42:31 -04:00
FredKSchott
b19628e0a7 [ci] collect stats 2022-04-20 12:02:22 +00:00
github-actions[bot]
fce98d5552
[ci] release (#3151)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 22:45:07 -07:00
Fred K. Schott
0c6bbee4c9
Create neat-mails-peel.md 2022-04-19 22:25:47 -07:00
Fred K. Schott
08715b8c15
Delete mighty-teachers-fail.md 2022-04-19 22:21:01 -07:00
bholmesdev
d538c9237d [ci] format 2022-04-19 20:38:02 +00:00
Ben Holmes
9ba1f4f825
Fix: markdown JSX expression inconsistencies (#3152)
* fix: remove micromark-extension-mdx-expression to unbreak JSX expressions

* chore: changeset

* deps: update lockfile

* tests: jsx expressions in markdown
2022-04-19 16:37:11 -04:00
natemoo-re
b3a423849b [ci] format 2022-04-19 18:38:14 +00:00
hippotastic
5e28b79095
Fix location of SolidJS pre-hydration code (#3140)
* Run before hydration instead of inlining a script after each component
2022-04-19 13:37:27 -05:00
bholmesdev
cfa11eecbf [ci] format 2022-04-19 17:53:03 +00:00
Ben Holmes
0247b54270
Refactor: remove all legacy build logic from codebase (#3141)
* refactor: remove legacy build flag

* refactor: remove legacy style maps

* chore: changeset

* refactor: nuke vite-plugin-build-html

* deps: remove parse5

* tests: restore user provided doctype support!

* deps: remove @web/parse5-utils

* deps: change srcset-parse to dev dep

* chore: remove unused utils

* refactor: remove unused style mapping

* unrelated fix: add .test to astro-markdown-css

* refactor: remove unused astro-style with test update

* chore: remove unused buildTime var
2022-04-19 13:52:15 -04:00
github-actions[bot]
9e00f6d546
[ci] release (#3149)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 13:30:27 -04:00
matthewp
0f984473cf [ci] format 2022-04-19 17:14:44 +00:00
Matthew Phillips
05cf1a5067
Adjustments for Netlify Edge Functions (#3150)
* Adjustments for Netlify Edge Functions

* Adds a changeset
2022-04-19 13:13:52 -04:00
Tony Sullivan
44e294c9cb
Support custom vue compiler options in @astrojs/vue (#3143)
* adds support for passing options to @vitejs/plugin-vue

* updating vue integration README with options details

* adding a tests for custom vue compiler options

* chore: adding changeset
2022-04-19 16:31:32 +00:00
Matthew Phillips
550c7d0a94 Ignore test folder in Netlify 2022-04-19 11:45:19 -04:00
github-actions[bot]
95d0db5a44
[ci] release (#3120)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 11:30:34 -04:00
Matthew Phillips
b287a9e4f3 Remove test packages from changesets 2022-04-19 11:27:01 -04:00
matthewp
13b1bdd972 [ci] format 2022-04-19 15:23:07 +00:00
Matthew Phillips
4cf54c60aa
Netlify Edge function support (#3148)
* Netlify Edge function support

* Update readme with edge function information

* Adds a changeset

* Disable running edge function test in CI for now
2022-04-19 11:22:15 -04:00
FredKSchott
c35e94f544 [ci] collect stats 2022-04-19 12:07:11 +00:00