Commit graph

1375 commits

Author SHA1 Message Date
Nate Moore
b89fffc2ed chore(build): update build script to not bundle "dependencies" 2021-10-07 17:15:22 -05:00
Nate Moore
b9ea9284e7 docs: add note to CONTRIBUTING 2021-10-07 17:07:56 -05:00
Matthew Phillips
876569d97a
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-05 16:57:51 -04:00
Matthew Phillips
584947e862
Enables most slot tests (#1494)
* Enables most slot tests

* Use spreadAttributes
2021-10-05 16:50:32 -04:00
Matthew Phillips
8a47544480 Check in latest yarn.lock 2021-10-05 13:53:44 -04:00
Matthew Phillips
a2e0fc27d7
Add back in support for children (#1486)
* Add back in support for children

* Be more careful
2021-10-05 13:50:53 -04:00
Matthew Phillips
f0839c62df Apply changes from #1387 2021-09-30 10:04:44 -04:00
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
7d494b2df2 Create .npmrc 2021-09-30 10:04:44 -04:00
Drew Powers
2d83bb2c79 Add NPM_TOKEN to publish script (#1409) 2021-09-30 10:04:44 -04:00
Drew Powers
dc4be6c618 Automate publish on merge (#1408) 2021-09-30 10:04:43 -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
FredKSchott
472d308950 [ci] collect stats 2021-09-30 12:06:27 +00: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
Peter Cook
8c3221a0df
Portfolio example fix (#1457)
* Fix project page in portfolio example

Projects list was blank because template filter uses publishDate but
front matter uses published_at. Changed front matter to publishDate.

* Fix nested projects in portfolio example
2021-09-29 16:13:02 -04:00
matthewp
2293fa0530 [ci] yarn format 2021-09-29 18:09:57 +00:00
Risan Bagja Pradana
34ad6598ee
Fix URL to "starter templates" link (#1455)
The `starter templates` link on [Installation](https://docs.astro.build/installation#create-astro) page is currently pointed at 404 page: https://docs.astro.build/examples.

This fix, simply replace the URL with: https://github.com/snowpackjs/astro/tree/main/examples
2021-09-29 14:08:40 -04:00
Pipo
367ebd3d9f
Added installation.md in spanish (#1444)
* Added installation.md in spanish

* Add update to docs/src/config.ts sidebar

Co-authored-by: Felipe Gutiérrez <pipo@pop-os.localdomain>
2021-09-29 14:08:18 -04:00
FredKSchott
a9a3a43c5d [ci] collect stats 2021-09-29 12:05:32 +00: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
AsyncBanana
dd4234a5b5
Add script tag example (#1435)
* Add script tag example

Added example of using Astro with client side JavaScript

* Removed partial hydration example comment
2021-09-28 10:25:58 -04:00
Alexey Pyltsyn
6611b6b931
Update Docusaurus performance score (#1447) 2021-09-28 09:11:12 -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
FredKSchott
85249cb11d [ci] collect stats 2021-09-28 12:05:23 +00:00
Caleb Jasik
ed3b3eae4b
Update /examples/docs/.../MoreMenu.astro (#1446) 2021-09-27 16:57:02 -05:00
arturo
697f17a255
ES docs typo fixes (#1443)
Fixes 3 minor typographical errors in the Spanish documentation
2021-09-27 11:18:02 -07:00
AsyncBanana
3083563506
Fixed props shadowing (#1433)
* Fixed props shadowing

* Added changeset

* Added prop shadowing test
2021-09-27 11:52:57 -04:00
FredKSchott
af1ca5dd13 [ci] collect stats 2021-09-27 12:05:22 +00:00
FredKSchott
b6519b435f [ci] collect stats 2021-09-26 12:08:49 +00:00
Rafid Muhymin Wafi
5fd8712c90
Update CONTRIBUTING.md (#1431) 2021-09-25 09:54:41 -05:00