Commit graph

520 commits

Author SHA1 Message Date
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
github-actions[bot]
0ff5c87a27
Version Packages (#1527)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-11 08:33:37 -04:00
matthewp
b1b564d03d [ci] yarn format 2021-10-11 12:13:35 +00:00
Matthew Phillips
dbd2f5076b
Adds the astro check command (#1410)
* Adds the `astro check` command.

This adds `astro check`, which runs type checking (and general error
    checking) on Astro projects.

* print the number of errors found

* Adds a changeset

* Add cli docs

* Upgrade the language server version

* Prevent linting the console.logs
2021-10-11 08:12:15 -04:00
Rafid Muhymin Wafi
bbff0a8a2b
Fiixed netlify and sentry urls (#1505) 2021-10-09 17:19:52 -05:00
matthewp
fb0ec06239 [ci] yarn format 2021-10-05 16:22:58 +00:00
Ryan Carniato
f8d1a35ace
Add hydration to Solid renderer (#1479)
* feat: add hydration to Solid renderer

* fix: intersection observer, move script to the end
2021-10-05 12:20:51 -04:00
github-actions[bot]
b5f1bd46ff
Version Packages (#1472)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
Merrick Christensen
0eeb25348e
switch from rm to unlink in order to preserve node 12 compatability in astro-create (#1468)
* switch from rm to unlink in order to preserve node 12 compatability in astro-create

* add changeset
2021-10-01 13:18:40 -04:00
Matthew Phillips
756e3769d3
Support PureComponent in the react renderer (#1467)
* Support PureComponent in the react renderer

* Adds a changeset
2021-10-01 11:25:17 -04:00
Matthew Phillips
82672e5c47
Updated srcset checking (#1462)
* Updated srcset checking

Improved functionality of `srcset` checking as original failed when URL contained a comma ( `,` ).
Utilised function from [srcset-parse](https://github.com/molefrog/srcset-parse) as couldn't find a way to integrate the package.
Added test to current assets test rather than create a separate one.

* Use srcset-parse

Co-authored-by: Coel May <82788995+coelmay@users.noreply.github.com>
2021-09-30 09:58:20 -04:00
Joshua Byrd
ee27583111
Do we really need a massive 5MB+ banner that takes multiple seconds to load when people open the readme? (#1459)
* 5MB PNG > 789K JPG

* Different RAW address

* Revert "Different RAW address"

This reverts commit db47b99211.
2021-09-30 00:28:53 -07:00
github-actions[bot]
b78a58ed33
Version Packages (#1451)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 15:34:16 -04:00
Michael Stramel
806dcd8d8d
Update lit version to v2 (#1445)
* Update lit version to v2

* Create weak-sheep-clap.md

* Re-assign window.global to window to retain existing functionality
2021-09-28 14:59:28 -04:00
github-actions[bot]
bf6357a233
Version Packages (#1442)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 09:10:41 -04:00
AsyncBanana
3083563506
Fixed props shadowing (#1433)
* Fixed props shadowing

* Added changeset

* Added prop shadowing test
2021-09-27 11:52:57 -04:00
tony-sull
f061a2b54f [ci] yarn format 2021-09-24 15:59:26 +00:00
Tero Lindeman
0fca1fbcab
Write pages serially and close file handle (#1395) 2021-09-24 17:58:08 +02:00
Drew Powers
939d5c3ae6
Add sponsorship logos (#1371) 2021-09-16 22:24:27 -06:00
FredKSchott
d895d3c079 [ci] yarn format 2021-09-16 20:07:52 +00:00
Fred K. Schott
291f2ef537
fix bad benchmark (#1383) 2021-09-16 13:06:43 -07:00
github-actions[bot]
ad2962fdac
Version Packages (#1377)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-15 12:36:26 -04:00
Fred K. Schott
3a0dcbe9b1
Update stats.ts (#1376) 2021-09-15 08:53:26 -07:00
Jonathan Neal
98d785af1d
Expose slots to components (#1368)
* Expose slots to components via Astro.slots

* test: Add Astro.slots API tests

* docs: Document Astro.slots API

* docs: Duplicate Astro.slots documentation to other api-reference markdown

* Update proposal to use booleans, based upon RFC feedback

* update implementation & tests based on request

* changeset
2021-09-15 11:27:59 -04:00
FredKSchott
6623950fbc [ci] yarn format 2021-09-15 00:24:07 +00:00
github-actions[bot]
3d9b665265
Version Packages (#1358)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
kelvinsjk
09b2f0e470
Fix passing Markdown content through props (#1259) (#1343)
Co-authored-by: Kelvin Soh <kelvinsoh@pop-os.localdomain>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 17:03:45 -07:00
Caleb Jasik
9cf2df81db
Improve stats logging to use pretty-bytes so that 20B doesn't get output as 0kB, which is accurate, but confusing (#1329) 2021-09-14 16:50:00 -07:00
FredKSchott
6ac2568ae3 [ci] yarn format 2021-09-14 23:49:37 +00:00
(none)
d771dad669 Merge "Remove check for referenced files" (#1196)
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 16:47:54 -07:00
Drew Powers
97d37f8f49
Docs: Add READMEs for renderers (#1351)
* Add README stub for renderers

* Add renderer READMEs
2021-09-14 16:26:23 -07:00
FredKSchott
b5623ada16 [ci] yarn format 2021-09-13 18:12:51 +00:00
Bartek Igielski
dd92871fd7
Prevent removing CSS preloads during bundling (#1326)
* Prevent removing nodes, becasue styles preloading was detected earlier

* Add separate deduping for preloads and cover it with tests.

* Create quiet-horses-turn.md

* Test merging preload tags
2021-09-10 11:17:17 -06:00