Commit graph

801 commits

Author SHA1 Message Date
github-actions[bot]
8f17217e02
Version Packages (next) (#796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 18:12:11 -05:00
natemoo-re
561cbee68f [ci] yarn format 2021-07-21 23:11:40 +00:00
Nate Moore
bd18e14a2c
Expose JSX compilation to renderers (#588)
* feat: add support for `jsxImportSource`, new JSX transform

* Renderer: add Solid renderer (#667)

* feat: add support for `jsxImportSource`, new JSX transform

* WIP: solid renderer

* [Renderer] Solid (#656)

* feat: add support for `jsxImportSource`, new JSX transform

* WIP: solid renderer

* Solid renderer: fix SSR of children, hydration (top level)

Caveat: cannot hydrate children/descendants of hydrated parents

* Fix hydration of fragments

* fix: SyntaxError in React/Preact renderers

* fix: errors in React/Preact renderers

* feat: update react external

* chore: update examples

* chore: delete old changelog

* chore: update astro config

Co-authored-by: Nate Moore <nate@skypack.dev>

* Changing the preact to Solid (#669)

* chore: use new client:visible syntax

* fix: dev script issue

* chore: cleanup SolidJS example

* docs: update framework example docs

* chore: cleanup framework-multiple example

* fix: remove SolidJS false-positives from Preact renderer

* chore: add changeset

Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>

* feat(create-astro): add Solid support

* docs: add JSX options to renderer reference

* chore: add changeset for P/React renderers

* fix: move react/server.js to external

* chore: remove brewfile

* Revert "feat: add support for `jsxImportSource`, new JSX transform"

This reverts commit 077c4bfc135c58a85d4ebfca6012e90403694d8d.

* fix: remove `react-dom/server` from `external`

* chore: remove unused dependency

* feat: improve JSX error messages

* Revert "Revert "feat: add support for `jsxImportSource`, new JSX transform""

This reverts commit f6c2896b9ec6430611fc0abae7d586c42aca87e5.

* docs: update jsxImportSource

* feat: improve error message

* feat: improve error logging for JSX renderers

* tests: add jsx-runtime tests

* chore: update snowpack

Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
2021-07-21 18:10:03 -05:00
Jesus Gil
ba6b47eda7
Hsla composition (#790)
* update theme colors to hsla

* Add light navbar bg color

* remove duplicate color assignments in Note.astro

* clean up

Clean up css variables and document use of hsla colors
2021-07-21 18:02:45 -05:00
Fred K. Schott
1085542d9d update astro vs lighthouse scores 2021-07-21 15:15:33 -07:00
Fred K. Schott
5609940be0 remove video from getting started page 2021-07-21 15:10:31 -07:00
matthewp
91f7c89e77 [ci] yarn format 2021-07-21 16:28:09 +00:00
Matthew Phillips
4a601adbf2
Allow using the Fragment built-in in Astro components (#793)
* Allow using the Fragment built-in in Astro components

* Adds a changeset
2021-07-21 12:26:52 -04:00
github-actions[bot]
ac64d198e4
Version Packages (next) (#794)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 08:18:13 -07:00
Fred K. Schott
b0e6b5cbad Version Packages (next) 2021-07-21 08:14:15 -07:00
Fred K. Schott
5f922221ba Revert "Version Packages (next) (#692)"
This reverts commit 790bd89ead.
2021-07-21 08:12:32 -07:00
github-actions[bot]
790bd89ead
Version Packages (next) (#692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 07:57:51 -07:00
Fred K. Schott
013232bc39 edit changeset before next pre release 2021-07-21 07:55:18 -07:00
FredKSchott
428513c446 [ci] yarn format 2021-07-21 14:51:37 +00:00
Fred K. Schott
c611f2ced6 add note that collections api is new 2021-07-21 07:50:20 -07:00
FredKSchott
56cc008bb2 [ci] yarn format 2021-07-21 14:45:34 +00:00
Fred K. Schott
31570f0b9c
slight homepage redesign (#789) 2021-07-21 07:44:15 -07:00
Matthew Phillips
b85e68a713
Handle custom elements in nested JSX (#792)
* Handle custom elements in nested JSX

* Adds a changeset
2021-07-21 10:22:39 -04:00
FredKSchott
b7e579a9cb [ci] yarn format 2021-07-21 14:13:10 +00:00
Fred K. Schott
f67e8f5f55
New Collections API (#703)
* updated createCollection API

* Update examples/portfolio/src/pages/projects.astro

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

* Update docs/reference/api-reference.md

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

* fix(docs): collection doc typos (#758)

* keep cleaning up docs and adding tests

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Mark Pinero <markspinero@gmail.com>
2021-07-21 07:11:57 -07:00
Kyosuke
5fcd466d95
replace npm run start with npm start (#791) 2021-07-21 07:09:44 -07:00
Fred K. Schott
661a52f4dd optimize social image 2021-07-20 20:48:18 -07:00
Caleb Jasik
2a7654edf3
Docs/ Add MetaData component for Open Graph and Twitter embeds (#784)
* Docs/ Add MetaData component for Open Graph and Twitter embeds

* Switch twitter card type to `summary_large_image`

* Add a version tag to the default-og-image url for cache busting

* Update docs/src/config.ts

Co-authored-by: Fred K. Schott <fkschott@gmail.com>

* Incorporate changes from review

* Construct `canonicalImageSrc` from `Astro.site`, which is not useful now, but could be if #788 is implemented

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-20 21:52:26 -05:00
Caleb Jasik
8eeb6b4fe8
Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -05:00
Caleb Jasik
c1e304dfb8
Docs/ Add --silent cli option (#785) 2021-07-20 17:59:03 -07:00
Fred K. Schott
6230a7ac31
fix bad build script (#781) 2021-07-20 14:52:44 -07:00
Fred K. Schott
9f6ec661e2 update astro.config.js to astro.config.mjs in docs 2021-07-20 13:58:29 -07:00
Caleb Jasik
ec4e00a8c1
Docs/fix sitesidebar template (#778)
* Fix: Do not commit `.env` files in any directory

* Links that aren't current should have either *no* aria-current attribute or `aria-current="false"` for the same effect.
2021-07-20 15:56:45 -05:00
Caleb Jasik
6915dc688b
docs: fix the templating setup for the <title/> in MainLayout.astro (#779) 2021-07-20 15:56:20 -05:00
Fred K. Schott
225baf1fc6 change snowpack.config.js to snowpack.config.mjs in docs 2021-07-20 13:47:09 -07:00
Fred K. Schott
fcfc625331 Revert "fix(parser): html entities evaluated (#738)"
This reverts commit 268186c27d.
2021-07-20 13:37:18 -07:00
FredKSchott
b9c5b7e980 [ci] yarn format 2021-07-20 19:23:50 +00:00
Fred K. Schott
7ccfc7c03c
move throws to assertions (#763) 2021-07-20 12:22:29 -07:00
Carter Snook
268186c27d
fix(parser): html entities evaluated (#738) 2021-07-20 12:18:42 -07:00
natemoo-re
d6a9afb8e1 [ci] yarn format 2021-07-20 19:05:48 +00:00
Nate Moore
e129cde67d
chore: move vercel.json to subdirs (#776) 2021-07-20 14:04:35 -05:00
Sha Mwe La
c044e62a08
Add title for the Astro Documentation Page (#774)
* Add title for the Astro Documentation Page

* Add the missing object braces

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-07-20 11:03:44 -05:00
Sha Mwe La
791558658f
Remove trailing comma (#773) 2021-07-20 06:56:00 -07:00
Caleb Jasik
59e558bbc0
docs: use aria-current="page" rather than .is-active in SiteSidebar.astro (#770) 2021-07-20 06:55:35 -07:00
jasikpark
3ba17a78e5 [ci] yarn format 2021-07-20 05:36:07 +00:00
Caleb Jasik
3d02159c3d
Hotfix: remove / -> /getting-started redirect
Fixes (#771), but now we don't have a docs redirect.
2021-07-20 00:34:56 -05:00
FredKSchott
4e6d38aa76 [ci] yarn format 2021-07-20 04:40:06 +00:00
Maksim Markelov
0e761b9bdf
Add ability to specify hostname in devOptions (#733)
* Add ability to specify hostname in devOptions

* Update packages/astro/test/config-hostname.test.js

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 21:38:55 -07:00
Fred K. Schott
7ad7e16633 add back removed left sidebar scroll behavior 2021-07-19 21:30:30 -07:00
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
Caleb Jasik
07e533402e
Update format script to format all files not ignored via .prettierignore that prettier has a valid parser for. (#768) 2021-07-19 21:06:41 -07:00
Caleb Jasik
4253683ec0
docs: set header link width to 100% so that the link fills the entire box it sits in for easier selection (#767) 2021-07-19 21:05:00 -07:00
FredKSchott
15cd6c1708 [ci] yarn format 2021-07-20 01:56:54 +00:00
Bryan Pan
d45431d246
fix: add force to rm script in create-astro (#729)
* fix: add force to rm script in create-astro

* add changeset

* edit overwrite prompt

* rm cannot remove '.' or '..' -- creating a helper function to empty the directory

* delete symlinks

* comments
2021-07-19 18:55:35 -07:00
FredKSchott
3153306953 [ci] yarn format 2021-07-20 01:42:33 +00:00