Commit graph

513 commits

Author SHA1 Message Date
Pranav Karawale
650b9b12c1 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-09-30 10:04:44 -04:00
Drew Powers
863bf58c46 Fix CI release on merge to next (#1427) 2021-09-30 10:04:44 -04:00
Drew Powers
7292c2eb04 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-09-30 10:04:44 -04:00
Nate Moore
36f06044ef feat: update compiler (#1421) 2021-09-30 10:04:44 -04:00
Drew Powers
aa07cb4339 Use new renderers (#1412) 2021-09-30 10:04:44 -04:00
Drew Powers
800a701c16 Clean up astro deps (#1411) 2021-09-30 10:04:44 -04:00
Drew Powers
15bef35226 Fix npm install (#1407) 2021-09-30 10:04:43 -04:00
Drew Powers
91cb38f451 Allow users to pass config to Vite 2021-09-30 10:04:43 -04:00
Drew Powers
8126686878 Improve testing suite 2021-09-30 10:04:42 -04:00
Nate Moore
cf2e3b31cb Throw Error for WIP Features 2021-09-30 10:04:13 -04:00
Fred K. Schott
3c1fcc237d Fred fixes part 2 2021-09-30 10:04:12 -04:00
Nate Moore
ec746089df Tycho fixes 2021-09-30 10:03:40 -04:00
Nate Moore
5909f27b19 Add Markdown support 2021-09-30 10:03:40 -04:00
Drew Powers
3df506a219 Fix runtime, improve code frame 2021-09-30 10:03:40 -04:00
Drew Powers
95b3f254d8 Update compiler, improve tests 2021-09-30 10:03:40 -04:00
Fred K. Schott
d5bee9039d fred fixes 2021-09-30 10:03:40 -04:00
Drew Powers
d34dec859b More test improvements 2021-09-30 10:03:39 -04:00
Nate Moore
f9c5f7ad3c Update tests 2021-09-30 10:03:04 -04:00
Drew Powers
58b94197f7 Move Astro to Vite 2021-09-30 10:01:12 -04:00
Fred K. Schott
2c07089957 make astro-root uids unique 2021-09-30 10:00:01 -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
github-actions[bot]
2847ff5382
Version Packages (#1344)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:57:16 -07:00
Fred K. Schott
b03f877102 Revert "Version Packages (#1303)"
This reverts commit 1a88cfde7d.
2021-09-09 10:53:52 -07:00
github-actions[bot]
1a88cfde7d
Version Packages (#1303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:41:31 -07:00
jasikpark
6fc8202e60 [ci] yarn format 2021-09-07 20:23:50 +00:00
Caleb Jasik
00fd7ca4dc
Fix parsing of an empty literal <pre></pre> in markdown source (#1332) 2021-09-07 15:22:23 -05:00
FredKSchott
b4d1c9bc64 [ci] yarn format 2021-09-06 08:25:23 +00:00
Fred K. Schott
6dc05575a6 scale back the examples page 2021-09-06 01:21:55 -07:00