Commit graph

3040 commits

Author SHA1 Message Date
Sarah Etter
e1294c422b
Netlify outdirectory (#3377)
* Change dist directory, and functions out directory

* Add changeset

* update docs

* Fix changeset
2022-05-16 11:58:31 -04:00
matthewp
e8007c3b8f [ci] format 2022-05-16 15:39:02 +00:00
Matthew Phillips
b1230152ff
Support alias use with hydration scripts (#3376)
* Support alias use with hydration scripts

* Adds a changeset

* Updated lockfile
2022-05-16 11:37:51 -04:00
Tony Sullivan
e6f3dd57aa fixing Lit hydration and HMR tests 2022-05-16 10:36:01 -05:00
FredKSchott
21d9d360ec [ci] collect stats 2022-05-16 12:06:47 +00:00
Tony Sullivan
23a93bd840 Merge branch 'main' into test/e2e-hydration 2022-05-15 15:52:35 -06:00
tony-sull
4f413ad771 [ci] format 2022-05-15 21:48:18 +00:00
Tony Sullivan
2b622b5e0f
Adding E2E testing with Playwright (#3349)
* adding Tailwind E2E tests with Playwright

* package.json updates

* adding e2e tests to CI workflow

* using e2e for dev tests, mocha for build tests

* refactor: sharing test-utils helpers

* chore: update lockfile

* Adding contributing docs

* Revert "refactor: sharing test-utils helpers"

This reverts commit 48496f43bc99eab30747baf6e83041ba4932e786.

* refactor: simpler solution to resolving e2e test fixtures

* chore: updating lockfile

* refactor: cleaning up how URLs are resolved in e2e tests

* install playwright deps in CI

* trying pnpm playwright install to fix version mismatch
2022-05-15 21:47:28 +00:00
Tony Sullivan
c8aedf7ec7 adding client:media tests 2022-05-15 14:47:34 -06:00
Tony Sullivan
a934059a6e adding vue hydration and HMR tests 2022-05-15 14:47:34 -06:00
Tony Sullivan
54e4ee2cd9 adding solid hydration and HMR tests 2022-05-15 14:47:34 -06:00
Tony Sullivan
2481a5a389 adding solid-js hydration and HMR tests 2022-05-15 14:47:34 -06:00
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