summaryrefslogtreecommitdiff
path: root/examples (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-07-27Added undefined check for spread props (#832)Gravatar Rahul Sharma 2-4/+6
* husky setup added * pre-commit script updated * Revert "Feat/pre commit" * spread issue fixed #522 * testcase added * spread issue fixed #522 * testcase added
2021-07-27Add an alt tag for the hero image in the blog example (#868)Gravatar Michael Stramel 3-4/+5
* Add an alt tag for the hero image * pass along * Create heavy-pumas-cross.md
2021-07-26some docs site polish (#853)Gravatar Fred K. Schott 1-12/+0
* some docs polish * attempt to fix theme toggle
2021-07-26Version Packages (next) (#859)Gravatar github-actions[bot] 17-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-24Version Packages (next) (#845)Gravatar github-actions[bot] 17-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-24fix a bad change to example astro versionsGravatar Fred K. Schott 14-14/+14
2021-07-24[ci] yarn formatGravatar FredKSchott 1-1/+1
2021-07-24Remove components from example md file (#831)Gravatar Lukas Murdock 2-6/+26
2021-07-22fix next framework example versionsGravatar Fred K. Schott 1-1/+1
2021-07-22update deps (#826)Gravatar Fred K. Schott 2-13/+3
2021-07-22fix example astro versionsGravatar Fred K. Schott 1-1/+1
2021-07-22fix example astro versionsGravatar Fred K. Schott 17-17/+16
2021-07-21Version Packages (next) (#810)Gravatar github-actions[bot] 17-18/+18
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21get build-all passing (#795)Gravatar Fred K. Schott 2-12/+1
2021-07-21Version Packages (next) (#796)Gravatar github-actions[bot] 17-19/+19
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21[ci] yarn formatGravatar natemoo-re 5-21/+7
2021-07-21Expose JSX compilation to renderers (#588)Gravatar Nate Moore 18-20/+323
* 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-21Version Packages (next) (#794)Gravatar github-actions[bot] 16-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21Revert "Version Packages (next) (#692)"Gravatar Fred K. Schott 16-17/+17
This reverts commit 790bd89ead10ababe7010b9b72ea6e6a23e93fed.
2021-07-21Version Packages (next) (#692)Gravatar github-actions[bot] 16-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21New Collections API (#703)Gravatar Fred K. Schott 4-59/+49
* 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-21replace `npm run start` with `npm start` (#791)Gravatar Kyosuke 11-12/+12
2021-07-20Docs: npm@7 requires an extra `--` for arguments passed to the command, per ↵Gravatar Caleb Jasik 13-15/+15
@natemoo-re's description. (#786)
2021-07-20[ci] yarn formatGravatar FredKSchott 32-394/+434
2021-07-19tsconfig fix (#752)Gravatar Fred K. Schott 9-10/+10
2021-07-19Improve docs theme (#717)Gravatar Nate Moore 1-1/+1
* Revert "Revert "New getting started guide (#715)"" This reverts commit dc4ba25b01254ed1c2088c081e8c861172ae58a4. * 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-18changed init example to correct template name (#744)Gravatar Mats 1-1/+1
The correct template name is "with-tailwindcss"
2021-07-18fix: fixes prop href of author component in example blog, was url (#734)Gravatar Guilherme Siquinelli 1-1/+1
2021-07-16Fix githubEditUrl variable in `examples/docs`Gravatar Caleb Jasik 1-1/+1
2021-07-16New getting started guideGravatar Fred K. Schott 1-0/+22
2021-07-16Revert "New getting started guide (#715)"Gravatar Fred K. Schott 2-23/+1
This reverts commit 2827f077baab6674a8ee47f3006e82ce991118b8.
2021-07-16New getting started guide (#715)Gravatar Fred K. Schott 2-1/+23
* 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-16Update docs in compiler messages (#710)Gravatar Caleb Jasik 14-25/+25
* `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-13Version Packages (next) (#678)Gravatar github-actions[bot] 16-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13Merge branch 'improve-lighthouse'Gravatar Fred K. Schott 30-31/+37
2021-07-13code review commentsGravatar Fred K. Schott 23-46/+23
2021-07-13Version Packages (next) (#663)Gravatar github-actions[bot] 16-17/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13[ci] yarn formatGravatar matthewp 2-9/+7
2021-07-13Adds support for a Lit renderer (#665)Gravatar Matthew Phillips 12-0/+248
* 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-13Add lang attribute to html tagsGravatar Shreesh Bhat 32-33/+62
2021-07-12Version Packages (#646)Gravatar github-actions[bot] 15-16/+16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-11Missing `firstPage` (#658)Gravatar outcastgeek 1-0/+1
2021-07-09Version Packages (#639)Gravatar github-actions[bot] 15-16/+16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08Version Packages (#632)Gravatar github-actions[bot] 15-16/+16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08Move hydration directives to special attributes (#618)Gravatar Tony Sullivan 11-31/+31
* feat: :recycle: updating hydration to work with the directive syntax * test: :white_check_mark: Updating tests for the hydration directive syntax * refactor: Updating example projects for the hydration directive syntax * test: :white_check_mark: Found a test fixture still needing an update to the hydration directive syntax * style: Prettier strikes again! Reverting code formatting changes * refactor: :recycle: moving directive matching to a Set * refactor: Updating syntax to `client:load` * refactor: :recycle: Simplifying the `client:` directive match Per PR feedback from @matthewp * chore: errant console.warn() snuck into the last commit * feat: :loud_sound: Adding a super fancy build warning to update to the directive syntax * refactor: :recycle: 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: :white_check_mark: Including the original hydration syntax in a test to make sure it builds * style: :memo: Adding a comment to make it clear why the old hydration syntax is included in a the test markup * fix: :bug: updating `head` logic to recognize hydration directive syntax * docs: Adding changeset * refactor: :fire: Removing unnecessary `!hasComponents` check * docs: :memo: Adding more detail to the changset Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08fix: sorting key for blog posts (#629)Gravatar Jim Nielsen 1-1/+1
The posts use a `publishDate` key, not a `date` key, so this wasn't sorting on anything.
2021-07-07Version Packages (#626)Gravatar github-actions[bot] 15-16/+16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07Version Packages (#622)Gravatar github-actions[bot] 15-16/+16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07chore: update starter with magic commentsGravatar Nate Moore 1-0/+12
2021-07-07Add framework-specific prompt and setup to `create-astro` (#620)Gravatar Nate Moore 13-11/+170
* feat(create-astro): add framework-specific prompt and setup * chore: normalize example `astro.config.mjs` files