summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-13Add lang attribute to html tagsGravatar Shreesh Bhat 33-33/+79
2021-07-12Add `lang` attribute to pages on https://astro.build (#668)Gravatar Caleb Jasik 6-11/+46
2021-07-12Update build script to avoid bundling (#304)Gravatar Nate Moore 16-28/+16
* fix: simplify astro-scripts build * fix: remove source-map-support, add missing `.js` extensions * refactor: use `module` for `@astrojs/markdown-support` * fix: missing `.js` extension * fix: missed @astrojs/parser * fix: remove old file * fix: merge conflict * fix: CJS weirdness
2021-07-12Docs: Correcting minor typo in ReadMe (#666)Gravatar Ryan Christian 2-1/+6
* docs: Correcting minor typo in ReadMe * docs: Adding changeset
2021-07-12[ci] yarn formatGravatar matthewp 4-12/+14
2021-07-12Adds support for client:media hydrator (#664)Gravatar Matthew Phillips 14-24/+125
* Adds support for client:media hydrator * Include a changeset * Pass in undefined when not hydrating
2021-07-12[ci] yarn formatGravatar natemoo-re 4-29/+28
2021-07-12Add support for named slots (#661)Gravatar Nate Moore 18-27/+346
* feat: support named slots, slot fallback content * docs: document slots * chore: add changeset * fix: build errors * chore: prefer `patch` version
2021-07-12Upgrade to snowpack@3.8.0 (#621)Gravatar Matthew Phillips 3-45/+708
* Upgrade to snowpack@3.8.0 * Try with 3.8.1-pre.0 * Newest yarn lock * Add postcss plugin and autoprefixer to the root * Update the yarn lock * Prevent typescript recursion * Use snowpack@3.8.1
2021-07-12chore: enter pre (#662)Gravatar Nate Moore 1-0/+38
2021-07-12Version Packages (#646)Gravatar github-actions[bot] 21-42/+35
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12Only display notice if needed (#659)Gravatar Johan Stenehall 2-1/+8
2021-07-11Missing `firstPage` (#658)Gravatar outcastgeek 1-0/+1
2021-07-09[ci] yarn formatGravatar natemoo-re 2-2/+1
2021-07-09feat: improve handling of undefined components (#650)Gravatar Nate Moore 5-11/+41
2021-07-09Improve error handling in unsupported node versions (#649)Gravatar Nate Moore 5-8/+55
* feat: improve error handling for unsupported node versions * chore: add changeset
2021-07-09[ci] yarn formatGravatar natemoo-re 2-2/+2
2021-07-09Fix injection behavior for pages which contain no elements (#638)Gravatar Nate Moore 7-1/+57
* chore: add changeset * fix(#605): inject HMR/styles even when page includes no elements * chore: update test description
2021-07-09[ci] yarn formatGravatar matthewp 1-1/+1
2021-07-09Protect again no metadata being passed (#644)Gravatar Matthew Phillips 1-1/+1
If using Astro <= 0.17.0 there is no `metadata` being passed. Even though no one should be using that version with this, adding some extra protection just in case.
2021-07-09Version Packages (#639)Gravatar github-actions[bot] 22-40/+45
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09[ci] yarn formatGravatar matthewp 3-8/+3
2021-07-09Use correct React rendering API or hydration (#636)Gravatar Matthew Phillips 10-58/+171
* Use correct React rendering API or hydration * Add changeset
2021-07-08[ci] yarn formatGravatar natemoo-re 1-2/+4
2021-07-08Add support for components defined in frontmatter (#637)Gravatar Nate Moore 4-1/+43
* fix: add support for components defined in frontmatter * chore: add changeset * test: update test to match example use case
2021-07-08Update component-hydration.mdGravatar Nate Moore 1-3/+3
2021-07-08Version Packages (#634)Gravatar github-actions[bot] 3-6/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08Add create-astro changesetGravatar Matthew Phillips 1-0/+5
2021-07-08Use new client:visible syntax in create-astro (#633)Gravatar Matthew Phillips 1-1/+1
2021-07-08Version Packages (#632)Gravatar github-actions[bot] 20-34/+35
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08[ci] yarn formatGravatar matthewp 2-7/+7
2021-07-08Move hydration directives to special attributes (#618)Gravatar Tony Sullivan 25-59/+117
* 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-08Update component-hydration.mdGravatar Nate Moore 1-1/+1
2021-07-08docs(#628): Clarify component renderingGravatar Nate Moore 1-7/+7
Every component is rendered on the server at build time. Hydration directives _optionally_ add client-side hydration at runtime.
2021-07-08Remove `prettier-plugin-astro` from root package.json (#624)Gravatar Caleb Jasik 1-2/+1
* Remove `prettier-plugin-astro` from `yarn test` while it is outside the monorepo. * Apply suggestions from code review Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.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] 19-23/+24
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07Pin to snowpack 3.7.1 (#625)Gravatar Matthew Phillips 2-1/+6
* Pin to snowpack 3.7.1 Issues reported on discord * Add a changeset
2021-07-07Version Packages (#622)Gravatar github-actions[bot] 23-34/+32
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-07-07fix: make create-astro component injection less brittle (#623)Gravatar Nate Moore 1-24/+8
2021-07-07chore: update starter with magic commentsGravatar Nate Moore 1-0/+12
2021-07-07[ci] yarn formatGravatar natemoo-re 52-234/+264
2021-07-07Remove `prettier-plugin-astro` to fix Prettier CI (#614)Gravatar Caleb Jasik 15-404/+0
* Disable embedded languages formatting so that Astro code blocks don't make prettier hang * chore: remove prettier-plugin-astro * chore: enable embedded languages * chore: update yarn lock Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-07fix: do not override snowpack alias (#610)Gravatar Nate Moore 2-2/+7
2021-07-07Add framework-specific prompt and setup to `create-astro` (#620)Gravatar Nate Moore 19-23/+394
* feat(create-astro): add framework-specific prompt and setup * chore: normalize example `astro.config.mjs` files
2021-07-07Add the cli flag `--silent` to astro which sets astro and snowpack logging ↵Gravatar Caleb Jasik 4-1/+16
to output nothing (#613)
2021-07-07Move vercel.json to the root (#617)Gravatar Matthew Phillips 1-0/+0
2021-07-06Update with changes to the yarn lockGravatar Matthew Phillips 1-3/+0
2021-07-06Version Packages (#609)Gravatar github-actions[bot] 3-12/+13
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>