Commit graph

552 commits

Author SHA1 Message Date
Matthew Phillips
f881a03961 Markdown compilation (#1593)
* Markdown compilation

* remove debugger
2021-10-22 16:25:37 -06:00
Matthew Phillips
dd147c390a Update files config 2021-10-22 16:25:37 -06:00
Matthew Phillips
38e731adbe Use Vite fork (#1585)
* Use Vite fork

* Fix linting

* Move Vite to vendor/ and add a license

* Fix linting

* Include the dist folder
2021-10-22 16:25:37 -06:00
Matthew Phillips
34a257376e Upgrade to @astrojs/compiler 0.2.0 (#1584) 2021-10-22 16:25:37 -06:00
Drew Powers
cd76229ed7 Restructure (#1569) 2021-10-22 16:25:36 -06:00
Nate Moore
62106902bb [Next] fetch support (#1563)
* fix: polyfill fetch in every ssr scenario

* test(fetch): update fetch tests

* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage

* refactor: update regex for clarity
2021-10-22 16:25:36 -06:00
Drew Powers
7749e18066 Chore: Enable more tests with new compiler changes (#1558) 2021-10-22 16:25:36 -06:00
Nate Moore
a38460ca62 [next] Update renderers (#1509)
* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints
2021-10-22 16:25:36 -06:00
Matthew Phillips
c269f7b687 Implements top-level Astro + Astro.resolve (#1556)
* Implements top-level Astro + Astro.resolve

* Fix linting
2021-10-22 16:25:36 -06:00
Matthew Phillips
72b66ddb75 Brings back astro-dynamic tests (#1548) 2021-10-22 16:25:36 -06:00
Matthew Phillips
35741b6033 Move hydration to the compiler (#1547)
* Move hydration to the compiler

* Move extracting url, export to util fn
2021-10-22 16:25:36 -06:00
Fred K. Schott
e342273d85 [next] Fix Astro.fetchContent (#1480)
* fix Astro.fetchContent

* fix(fetchContent): cast type

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-10-22 16:25:36 -06:00
Matthew Phillips
835903226d [next] Support for custom elements (#1528)
* [next] Support for custom elements

* Fix eslint errors

* eslint again
2021-10-22 16:25:36 -06:00
Matthew Phillips
3cd5a7f53f [next] support Astro.slots API (#1516) 2021-10-22 16:25:36 -06:00
Matthew Phillips
1bd3cf8f4d Add hydration to Solid renderer (#1479) (#1495)
* feat: add hydration to Solid renderer

* fix: intersection observer, move script to the end

Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
2021-10-22 16:25:36 -06:00
Matthew Phillips
935831c79c Enables most slot tests (#1494)
* Enables most slot tests

* Use spreadAttributes
2021-10-22 16:25:36 -06:00
Matthew Phillips
c766c6b9f6 Add back in support for children (#1486)
* Add back in support for children

* Be more careful
2021-10-22 16:25:36 -06:00
Matthew Phillips
64eb61e13a Apply changes from #1387 2021-10-22 16:25:36 -06:00
Pranav Karawale
d2bcbbca34 Fix logger locale parsing (#1439)
* fix(logger): locale parsing
* Fixed issue of compiler crash when "c" locale was encountered
* Return default locale if parsed locale is less than 2 chars long

* chore: add changeset
2021-10-22 16:25:36 -06:00
Drew Powers
d77dfe0326 Fix CI release on merge to next (#1427) 2021-10-22 16:25:36 -06:00
Drew Powers
17a0c5bf75 Try mocha/chai test runners (#1418)
* Try mocha/chai test runners

* Disable failing smoke test for now

Will revert when next can build docs

* Enable mocha in parallel mode

* Remove warning

* Update docs

* Fix Windows bug

* Fix internal imports

* Fix styles
2021-10-22 16:25:36 -06:00
Nate Moore
81a472e1c9 feat: update compiler (#1421) 2021-10-22 16:25:36 -06:00
Drew Powers
2c6451ffa2 Clean up astro deps (#1411) 2021-10-22 16:25:36 -06:00
Drew Powers
71e721c520 Fix npm install (#1407) 2021-10-22 16:25:36 -06:00
Drew Powers
1d2da117bd Allow users to pass config to Vite 2021-10-22 16:25:36 -06:00
Drew Powers
7fb6e9d2ab Improve testing suite 2021-10-22 16:25:36 -06:00
Nate Moore
4c1e9a26a9 Throw Error for WIP Features 2021-10-22 16:25:36 -06:00
Fred K. Schott
e8bc289c70 Fred fixes part 2 2021-10-22 16:25:36 -06:00
Nate Moore
f25550080b Tycho fixes 2021-10-22 16:25:36 -06:00
Nate Moore
1581095d72 Add Markdown support 2021-10-22 16:25:36 -06:00
Drew Powers
6e5ede2175 Fix runtime, improve code frame 2021-10-22 16:25:36 -06:00
Drew Powers
7296e0b0a2 Update compiler, improve tests 2021-10-22 16:25:36 -06:00
Fred K. Schott
c3e7b7f37d fred fixes 2021-10-22 16:25:36 -06:00
Drew Powers
ec6dbab103 More test improvements 2021-10-22 16:25:36 -06:00
Nate Moore
d8cd8a46ee Update tests 2021-10-22 16:25:35 -06:00
Drew Powers
ddca8c4dea Move Astro to Vite 2021-10-22 16:25:35 -06:00
Fred K. Schott
94f36749a0 make astro-root uids unique 2021-10-22 16:25:35 -06:00
github-actions[bot]
345900dd11
Version Packages (#1642)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 17:03:09 -05:00
Jonathan Neal
d5fdeefebb
Pull examples from latest branch (#1641)
* pull examples from latest branch

* changeset
2021-10-22 17:50:36 -04:00
github-actions[bot]
9f53699d6f
Version Packages (#1639)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 16:20:22 -04:00
Matthew Phillips
025f5e3f22
Revert "Make create-astro use the latest branch (#1636)" (#1638)
* Revert "Make create-astro use the `latest` branch (#1636)"

This reverts commit 28f00566ca.

* Adds a changeset
2021-10-22 16:18:33 -04:00
github-actions[bot]
46d8c64a92
Version Packages (#1637)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-22 16:04:12 -04:00
Matthew Phillips
28f00566ca
Make create-astro use the latest branch (#1636)
* Make create-astro use the `latest` branch

* Adds a changeset
2021-10-22 15:59:02 -04:00
Caleb Jasik
c41d416752
Add const so that variable is declared rather than pulled out of the ether (#1591) 2021-10-19 12:53:26 -06:00
btea
d503603942
fix typo in astro.js (#1560) 2021-10-15 09:25:45 -06:00
github-actions[bot]
b7a4542103
Version Packages (#1557)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-14 15:13:13 -04:00
Levi
31d0688016
Expose Vue component names for devtools (#1512)
* Expose name on host component for Vue devtools

* Add changeset

* Update changeset to patch from minor

* [ci] collect stats

* [ci] collect stats

Co-authored-by: leviceccato <leviceccato@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2021-10-14 15:08:07 -04:00
Drew Powers
7e4f91db60
Add Vercel sponsorship logo (#1555)
* Add Vercel sponsorship logo

Also normalize other logos

* Add Vercel logo to www

* Add logos to docs
2021-10-14 12:25:46 -06:00
github-actions[bot]
5ac51bae3a
Version Packages (#1537)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-12 13:27:06 -04:00
Caleb Jasik
6813106a5d
Add value to staticPaths cache before we await it (#1498)
* Add value to staticPaths cache before we await it

Fixes https://github.com/snowpackjs/astro/issues/1454

* Update `cache.staticPaths` to store Promises rather than immediate values
2021-10-12 13:04:22 -04:00