Commit graph

190 commits

Author SHA1 Message Date
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Nate Moore
325e8cba2d
Improve docs theme (#717)
* Revert "Revert "New getting started guide (#715)""

This reverts commit dc4ba25b01.

* style: update docs theme

* style: implement feedback

* feat: remove FOUC

* Update docs/src/pages/404.astro

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

* Fix 404 title prop

* chore: implement feedback

* fix: ul, ol styles

* fix: center logo on mobile

* fix: improve navbar header contrast

* fix: improve logo overlap

* fix: `.nav-link` radius

* fix: small mobile tweaks

* feat: improve nav styles

* feat: improve embed styles

* fix: feedback items

* fix: make header sticky on mobile

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 19:36:09 -05:00
Mats
f33c775b93
changed init example to correct template name (#744)
The correct template name is "with-tailwindcss"
2021-07-18 17:24:21 -05:00
Guilherme Siquinelli
35f7b474a1
fix: fixes prop href of author component in example blog, was url (#734) 2021-07-18 00:54:31 -05:00
Caleb Jasik
304e1c65e6 Fix githubEditUrl variable in examples/docs 2021-07-16 17:54:50 -05:00
Fred K. Schott
ea27663f92 New getting started guide 2021-07-16 13:39:59 -04:00
Fred K. Schott
dc4ba25b01 Revert "New getting started guide (#715)"
This reverts commit 2827f077ba.
2021-07-16 13:39:48 -04:00
Fred K. Schott
2827f077ba
New getting started guide (#715)
* New getting started guide

* style: small style tweaks

* style: theme updates

* chore: add redirect

* style: theme tweaks

* fix: clamp logo height

* style: fix sidebar width

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-16 11:57:07 -05:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages (#710)
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`

* convert links to docs site links

* Fix broken links that didn't work w/ the regex.

* Add changeset

* Delete five-weeks-destroy.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
github-actions[bot]
8e87d5da4c
Version Packages (next) (#678)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 11:21:58 -04:00
Fred K. Schott
783db7b3a0 Merge branch 'improve-lighthouse' 2021-07-13 11:04:27 -04:00
Fred K. Schott
4b1f5c3dc6 code review comments 2021-07-13 10:57:40 -04:00
github-actions[bot]
a22a601e9f
Version Packages (next) (#663)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 08:31:28 -04:00
matthewp
59f6792b00 [ci] yarn format 2021-07-13 12:28:50 +00:00
Matthew Phillips
48851c9d25
Adds support for a Lit renderer (#665)
* Adds support for a Lit renderer

This adds `@astrojs/renderer-lit`. An experimental Lit renderer.

* Removed cached submodule, mistake

* Prevent globals clobbering

* Add docs on globals
2021-07-13 08:27:40 -04:00
Shreesh Bhat
3f14bed413 Add lang attribute to html tags 2021-07-13 00:49:13 -04:00
github-actions[bot]
23dcc649fe
Version Packages (#646)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12 11:19:29 -04:00
outcastgeek
c48acb3d84
Missing firstPage (#658) 2021-07-11 14:05:19 -05:00
github-actions[bot]
e70d9508d9
Version Packages (#639)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
github-actions[bot]
b2428b3999
Version Packages (#632)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:14:55 -04:00
Tony Sullivan
0a7b6deaec
Move hydration directives to special attributes (#618)
* feat: ♻️ updating hydration to work with the directive syntax

* test:  Updating tests for the hydration directive syntax

* refactor: Updating example projects for the hydration directive syntax

* test:  Found a test fixture still needing an update to the hydration directive syntax

* style: Prettier strikes again!  Reverting code formatting changes

* refactor: ♻️ moving directive matching to a Set

* refactor: Updating syntax to `client:load`

* refactor: ♻️ Simplifying the `client:` directive match

Per PR feedback from @matthewp

* chore: errant console.warn() snuck into the last commit

* feat: 🔊 Adding a super fancy build warning to update to the directive syntax

* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives

`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`

* test:  Including the original hydration syntax in a test to make sure it builds

* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup

* fix: 🐛 updating `head` logic to recognize hydration directive syntax

* docs: Adding changeset

* refactor: 🔥 Removing unnecessary `!hasComponents` check

* docs: 📝 Adding more detail to the changset

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
Jim Nielsen
f841d57d2a
fix: sorting key for blog posts (#629)
The posts use a `publishDate` key, not a `date` key, so this wasn't sorting on anything.
2021-07-08 10:55:23 -05:00
github-actions[bot]
2d1998647c
Version Packages (#626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 20:34:17 -04:00
github-actions[bot]
97d5a2ba18
Version Packages (#622)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 16:36:13 -05:00
Nate Moore
bcf715df7a chore: update starter with magic comments 2021-07-07 15:46:02 -05:00
Nate Moore
5d5d67c8f9
Add framework-specific prompt and setup to create-astro (#620)
* feat(create-astro): add framework-specific prompt and setup

* chore: normalize example `astro.config.mjs` files
2021-07-07 14:52:44 -05:00
github-actions[bot]
2ab625bee8
Version Packages (#602)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 16:30:52 -04:00
github-actions[bot]
816797e350
Version Packages (#597)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 15:06:18 -05:00
Pavel Mineev
d3969436dc
Remark and rehype plugins (#562)
* remark plugins

* remove unused dependency

* enable codeblocks

* backward compatibility with remark-code-titles

* add support for rehype plugins

* add proper types for plugins

* fixes after review

- connect plugins by name
- make plugins configurable
- connect gfm and footnotes if no plugins provided from config
- add more plugins to example

* update and rename example

* add documentation for markdown plugins

* chore: rename with-markdown-plugins example

* chore: restructure dependencies

* feat: add back smartypants, fix mdx expressions

* chore: remove log

* test: add markdown plugin tests

* chore: add changeset

* docs: update markdown doc

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-01 11:55:22 -05:00
github-actions[bot]
e773771b91
Version Packages (#596)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 10:57:09 -04:00
github-actions[bot]
0de30ef01a
Version Packages (#593)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 08:45:35 -04:00
Fred K. Schott
67ef02534f
update example readmes (#591)
* update example readmes

* Update README.md
2021-07-01 08:43:25 -04:00
Fred K. Schott
8f74b3bdbb
update example astro inline docs (#592) 2021-07-01 08:43:02 -04:00
github-actions[bot]
81ea010906
Version Packages (#589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30 10:03:52 -04:00
github-actions[bot]
e4fe7c0d02
Version Packages (#567)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29 16:46:41 -04:00
Nate Moore
f721275f33
Fix <Markdown {content} /> closing parent tag (#575)
* test(#494): add failing test

* chore: update with-markdown example

* fix(#494): avoid early close with <Markdown content />

* chore: add changeset
2021-06-29 15:33:56 -05:00
Nate Moore
42a6ceb587
Fix changesets action (#576)
* chore: move examples to `@example/`, normalize `package.json`

* chore: update lockfile

* chore: add empty changeset
2021-06-29 11:05:33 -05:00
FredKSchott
b580f5a592 [ci] yarn format 2021-06-28 22:30:35 +00:00
Fred K. Schott
5591d4eb9f
update the blog example (#565) 2021-06-28 15:29:16 -07:00
Nate Moore
7063c04dec
Restructure examples (#568)
* rename kitchen sink, pull out react example

* split out the rest of the examples

* align versions

* chore: rename examples

* chore: normalize gitignore

* chore: update package versions

* chore: move framework examples to `framework` namespace

* docs: add README to examples

Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 10:46:10 -05:00
Brian Hinton
0c6edf1fe0
bug: changed initialization order of the author (#563) 2021-06-28 07:23:18 -05:00
natemoo-re
3c4e6c5913 [ci] yarn format 2021-06-28 12:04:07 +00:00
Austin Crim
3c26035f53
Split out specific framework examples (#559)
* rename kitchen sink, pull out react example

* split out the rest of the examples

* align versions

Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 07:02:59 -05:00
github-actions[bot]
f3e005de6f
Version Packages (#548)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 15:14:04 -04:00
github-actions[bot]
91e11aee2a
Version Packages (#543)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Nate Moore
a136c85e6b
New Props API (#515)
* wip: update props api

* feat(#139, #309): enable new props api

* chore: migrate examples to new props API

* docs: update syntax guide for new props API

* chore: update examples to new props API

* chore: update docs to new Props API

* fix: hide __astroInternal from `Astro.props` consumers

* chore: remove scratchpad file

* chore: fix script error

* test: fix failing collection tests

* fix: set __astroInternal to `enumerable: false`

* chore: add changeset

* feat: warn users using old props api
2021-06-24 17:48:24 -05:00
natemoo-re
02ecaf3d33 [ci] yarn format 2021-06-24 22:40:29 +00:00
Agustin Mulet
81c01d121f
Added example of Astro usage with nanostores (#539)
* Adding astro-nanostores example

* Changed package name and removed lock file
2021-06-24 17:39:17 -05:00
duncanhealy
a89a52b1cd
force pnpm to hoist packages inside astro #342 #190 (#530)
* force pnpm to hoist packages inside astro #342 #190

* Add changeset for hoisted packages #342
2021-06-24 09:48:25 -04:00