Commit graph

1366 commits

Author SHA1 Message Date
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
FredKSchott
8fcd9c27ae [ci] collect stats 2021-09-25 12:06:30 +00:00
Fred K. Schott
2f902aa1c0
Update CONTRIBUTING.md 2021-09-24 10:41:18 -07:00
tony-sull
cb5d45bd2f [ci] yarn format 2021-09-24 16:08:26 +00:00
Kyosuke
33b7c91c97
docs: Add Japanese translation of getting started page (#1375) 2021-09-24 18:06:59 +02: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
tony-sull
1baadefa35 [ci] yarn format 2021-09-24 15:51:18 +00:00
YM
ffbc48da97
Update Doc: Getting Starteted in Zh-tw (#1398)
* Update examples in getting started

* Update Online Playgrounds for zh-tw
2021-09-24 17:50:00 +02:00
tony-sull
1a0e5ce2a0 [ci] yarn format 2021-09-24 15:32:42 +00:00