summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-07-06Implements templates from external repos (#603)Gravatar Matthew Phillips 6-6/+66
* Implements templates from external repos * Adds a changeset
2021-07-01Version Packages (#602)Gravatar github-actions[bot] 19-23/+24
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01Don't alias builtins if polyfillNode is used (#601)Gravatar Matthew Phillips 8-4/+64
* Don't alias builtins if polyfillNode is used * Add the changeset * Make test be OS agnostic
2021-07-01Version Packages (#597)Gravatar github-actions[bot] 23-51/+69
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01Allow Preact components to return an empty Fragment (#599)Gravatar Matthew Phillips 4-1/+24
2021-07-01Expose `content.astro.html` to `Astro.fetchContent` (#583)Gravatar Nate Moore 3-3/+9
* feat: expose `content.astro.html` to Astro.fetchContent * docs: add `astro.html` note to docs
2021-07-01Remark and rehype plugins (#562)Gravatar Pavel Mineev 29-145/+742
* 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-01Version Packages (#596)Gravatar github-actions[bot] 18-35/+36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01Adds a changeset for hydrationPolyfills supportGravatar Matthew Phillips 1-0/+18
2021-07-01Adds hydrationPolyfills config for renderers (#594)Gravatar Matthew Phillips 7-9/+31
Some renderers, such as Lit, need special polyfills only for hydration. We have the `polyfills` array, but that is intended for polyfills that always need to run. This adds a second type hydrationPolyfills that only run on elements that are `:load`, `:idle`, etc.
2021-07-01Version Packages (#593)Gravatar github-actions[bot] 20-25/+33
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01update example readmes (#591)Gravatar Fred K. Schott 12-11/+94
* update example readmes * Update README.md
2021-07-01update example astro inline docs (#592)Gravatar Fred K. Schott 13-28/+82
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 34-1733/+2139
* Implements low-level custom element support * Changes based on self review * Adds a changeset * Polyfills are added even when not hydrating * Remove hydrationMethod option Punting on this idea until it's really needed.
2021-06-30Version Packages (#589)Gravatar github-actions[bot] 18-22/+23
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30Adds a changeset for the `window` error message change.Gravatar Matthew Phillips 1-0/+5
2021-06-30Make it clear that Yarn 2 does support ESM when you disable Plug 'n Play (#584)Gravatar DawnOfMidnight 1-1/+1
2021-06-29Add test for React SSR + window (#581)Gravatar Drew Powers 4-1/+45
* Add test for React SSR + window * Add helpful error message on window undefined in SSR Fixes #551
2021-06-29Update ---bug_report.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Update ---feature-request.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Update ---feature-request.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Version Packages (#567)Gravatar github-actions[bot] 22-39/+26
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29Remove outdated changesetGravatar Matthew Phillips 1-6/+0
2021-06-29Pass in scoped class name to child components (#579)Gravatar Matthew Phillips 5-3/+34
* Pass in scoped class name to child components If a class is being passed into child components, pass in the scoped class name as well. * Adds the changeset
2021-06-29Fix `<Markdown {content} />` closing parent tag (#575)Gravatar Nate Moore 6-2/+56
* test(#494): add failing test * chore: update with-markdown example * fix(#494): avoid early close with <Markdown content /> * chore: add changeset
2021-06-29fix: changeset (#580)Gravatar Nate Moore 1-1/+1
2021-06-29Merge branch 'docs-sync-1'Gravatar Fred K. Schott 50-1547/+1587
2021-06-29[ci] yarn formatGravatar natemoo-re 2-22/+28
2021-06-29Allow `.astro` files to `throw new Error()` (#572)Gravatar Nate Moore 7-7/+81
* fix(#526): enable `throwExpressions` * chore: add test for throwing inside of `.astro` * fix: improve build error handling * chore: add test when throwing on `build` * chore: fix changeset bot * chore: add changeset
2021-06-29Fix changesets action (#576)Gravatar Nate Moore 17-151/+238
* chore: move examples to `@example/`, normalize `package.json` * chore: update lockfile * chore: add empty changeset
2021-06-28[ci] yarn formatGravatar FredKSchott 1-12/+11
2021-06-28update the blog example (#565)Gravatar Fred K. Schott 43-62/+1197