Commit graph

2978 commits

Author SHA1 Message Date
Tony Sullivan
08ae1c90db adding svelte hydration and HMR tests 2022-05-15 14:47:34 -06:00
Tony Sullivan
91d802e73b adding hydration and HMR tests for preact 2022-05-15 14:47:34 -06:00
Tony Sullivan
8e5f0d2bd1 adding react hydration and HMR tests 2022-05-15 14:47:34 -06:00
Tony Sullivan
fe5bb8c50c using @e2e for playwright test packages 2022-05-15 14:47:34 -06:00
Tony Sullivan
c0bd9da291 adding a basic HMR test for tailwind styles 2022-05-15 14:47:34 -06:00
Tony Sullivan
0b3c6c2a0e ensure playwright deps are installed during CI 2022-05-15 14:46:39 -06:00
Tony Sullivan
ee16c14697 install playwright deps in CI 2022-05-15 11:51:30 -06:00
Tony Sullivan
b7db93ccc3 refactor: cleaning up how URLs are resolved in e2e tests 2022-05-15 11:51:30 -06:00
Tony Sullivan
aa2910030b chore: updating lockfile 2022-05-15 11:51:30 -06:00
Tony Sullivan
4ae372eeda refactor: simpler solution to resolving e2e test fixtures 2022-05-15 11:51:30 -06:00
Tony Sullivan
85172f7d5d Revert "refactor: sharing test-utils helpers"
This reverts commit 48496f43bc99eab30747baf6e83041ba4932e786.
2022-05-15 11:51:30 -06:00
Tony Sullivan
4512765213 Adding contributing docs 2022-05-15 11:51:30 -06:00
Tony Sullivan
400d1b8dc0 chore: update lockfile 2022-05-15 11:51:30 -06:00
Tony Sullivan
c854dffda7 refactor: sharing test-utils helpers 2022-05-15 11:51:30 -06:00
Tony Sullivan
e105bacea9 using e2e for dev tests, mocha for build tests 2022-05-15 11:51:30 -06:00
Tony Sullivan
29cc61cb3c adding e2e tests to CI workflow 2022-05-15 11:51:30 -06:00
Tony Sullivan
4199c8a7b8 package.json updates 2022-05-15 11:51:30 -06:00
Tony Sullivan
5b506b1260 adding Tailwind E2E tests with Playwright 2022-05-15 11:51:30 -06:00
FredKSchott
65b448b409 [ci] collect stats 2022-05-15 12:02:04 +00:00
FredKSchott
f609b5e9f2 [ci] collect stats 2022-05-14 12:01:57 +00:00
FredKSchott
c02542eeaa [ci] collect stats 2022-05-13 12:01:56 +00:00
github-actions[bot]
2e414c3e70
[ci] release (#3356)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 16:11:35 -06:00
Juan Martín Seery
945f5c68e8
fix(vercel): added type definitions (#3355)
* Added missing types

* Changeset
2022-05-12 16:59:07 -05:00
github-actions[bot]
cedb9a2105
[ci] release (#3334)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 14:48:58 -06:00
Juan Martín Seery
4ac792a02d
Serialize route generation (#3354) 2022-05-12 14:39:17 -06:00
Rafid Muhymin Wafi
9481a3c08d
Corrected the default value of trailingSlash (#3353) 2022-05-12 15:38:48 -05:00
matthewp
29e7260a4e [ci] format 2022-05-12 20:21:02 +00:00
Rafid Muhymin Wafi
17da2b1611
Fixed search bar of the docs example not working (#3247)
* fixed search bar not working

* fixed search bar not working during build

* fix search bar throwing error on production site
2022-05-12 14:20:20 -06:00
Eloi-Perez
ea104dde91
Add config option customPages (#3315)
* Add config option customPages

Add config option customPages to be able to add custom URL pages to the sitemap.xml

* add comment to document customPages option
2022-05-12 14:19:58 -06:00
Juan Martín Seery
8685506174
fix: vite types (#3352)
* Re-export vite types and added them to zod schema

* Removed casted typed

* Changeset
2022-05-12 13:55:29 -03:00
Fred K. Schott
7cd4b1bc12
[ci] update lockfile (#3287)
* [ci] update lockfile

* chore: fix lockfile

* fix: pin turbo

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-12 11:42:34 -05:00
matthewp
4838c51081 [ci] format 2022-05-12 16:30:41 +00:00
Fred K. Schott
e48aa2fd1e
add error hints (#3350)
* add error hints

* chore: add changeset

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-12 10:29:59 -06:00
matthewp
8666f22a0f [ci] format 2022-05-12 16:06:40 +00:00
Ben Holmes
678c2b7523
Fix: React - Use "createRoot" instead of "hydrateRoot" for client:only (#3337)
* feat: pass "client" directive to clientEntrypoints

* refactor: remove hydration warning suppression react 17

* feat: remove hydration warning suppression react 18

* chore: changeset

* fix: change metadata to options bag
2022-05-12 10:05:55 -06:00
matthewp
13e697fb80 [ci] format 2022-05-12 16:05:06 +00:00
Tony Sullivan
b463ddb3ce
Resolve components by module ID during compilation (#3300)
* WIP: adding test coverage

* test fixes

* moving the shared lib up a directory to reproduce the bug

* fix: transform with the module ID instead of parsing the filepath

* adding the shared lib to the workspaces list

* fix: client-only assets now get the full URL from vite

* why is this needed for windows?

* WIP: using /@fs to handle windows filepaths

* fix: remove /@fs from hoisted script imports

* nit: removing unused imports

* fix: strip off the path root when mapping client:only styles

* had to reverse the `/@fs` handling to work on windows and unix

* chore: adding comments to explain the fix

* chore: adding changeset
2022-05-12 10:04:01 -06:00
FredKSchott
2fed346a00 [ci] collect stats 2022-05-12 12:02:06 +00:00
Nate Moore
43e411eed8
Exclude node-fetch from vite.optimizeDeps (#3348)
* fix: exclude `node-fetch` from vite.optimizeDeps

* chore: format
2022-05-11 15:26:01 -06:00
Gautier Ben Aïm
484b80eb99
fix: updated blog template with existing address (#3312) 2022-05-11 16:20:00 -05:00
Juan Martín Seery
114bf63e11
refactor(vercel): Build Output API v3 (#3216)
* Removed ignores

* Migration to v3

* More changes

* Remove legacy redirects

* Fail when there is no ENABLE_VC_BUILD

* Fix edge

* Updated readme

* Changeset

* Added static mode

* Updated documentation

* Updated shim

* Made edge work!

* Updated changeset

* Ensure empty dir

* Fixed redirects for dynamic paths

* Removed extra declaration

* Splited imports

* Updated readme

* Fixed some urls

* Deprecated shim!

* [test]: Vercel NFT

* Beautify

* Edge bundle to node 14.19

Vercel runs 14.19.1 (I've checked it manually)

* Re-added shim (#3304)

* Added `node:` prefix

* Use the same bundling as Deno for Edge

* Remove esbuild

* Fixed shim

* Moved nft

* Updated changeset

* Added note about Edge

* fix typo

* Added support for Node 16 (vercel/vercel#7772)
2022-05-11 15:10:38 -06:00
Matthew Phillips
46cd8b9eb4
Fix APIRoute type (#3344)
* Fix APIRoute type

* Adds a changeset

* Update usage of the two API route signatures
2022-05-11 15:07:40 -06:00
Ben Holmes
1a5335ed9a
[create-astro] Finalize developer experience... with gradients 🚀 (#3313)
* wip: port gradient helpers from sandbox ideas

* feat: wire up rocket gradient 🚀

* feat: wire up rocket gradient on install step

* refactor: update "next steps" wording

* deps: add chalk (for rendering gradient)

* chore: changeset

* chore: clean up sstray template string
2022-05-11 10:38:42 -06:00
Matthew Phillips
f40705d906 Adding a changeset for solidjs error swallowing fix 2022-05-11 10:25:24 -06:00
matthewp
461d1bb4c3 [ci] format 2022-05-11 16:24:45 +00:00
Jonas Luebbers
abc5b219bb
Remove try/catch from solid component check (#3282)
* Remove try/catch from solid component check

* Move try/catch to renderComponent

* Add solid to integrations-playground example
2022-05-11 10:23:34 -06:00
matthewp
380acd23de [ci] format 2022-05-11 15:25:30 +00:00
Sarah Rainsberger
74510a9607
Update markdown.remark/rehypePlugins defaults for docs (#3321)
Updating defaults used in the documentation
2022-05-11 09:24:26 -06:00
Nate Moore
ca4e3aa048
fix: allow Astro to pass process.env variables to import.meta.env (#3327) 2022-05-11 09:23:55 -06:00
Fred K. Schott
ce6d798282
Fix peer deps issue in svelte and vue plugins (#3333)
* fix peer deps issue

* add changeset

* rebuild lockfile
2022-05-11 09:23:32 -06:00