Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Every component is rendered on the server at build time. Hydration directives _optionally_ add client-side hydration at runtime.
|
|
* 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>
|
|
The posts use a `publishDate` key, not a `date` key, so this wasn't sorting on anything.
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* Pin to snowpack 3.7.1
Issues reported on discord
* Add a changeset
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
* feat(create-astro): add framework-specific prompt and setup
* chore: normalize example `astro.config.mjs` files
|
|
to output nothing (#613)
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* Implements templates from external repos
* Adds a changeset
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* Don't alias builtins if polyfillNode is used
* Add the changeset
* Make test be OS agnostic
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
* feat: expose `content.astro.html` to Astro.fetchContent
* docs: add `astro.html` note to docs
|
|
* 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>
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
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.
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* update example readmes
* Update README.md
|
|
|
|
* 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.
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
* Add test for React SSR + window
* Add helpful error message on window undefined in SSR
Fixes #551
|
|
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
* 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
|
|
* test(#494): add failing test
* chore: update with-markdown example
* fix(#494): avoid early close with <Markdown content />
* chore: add changeset
|
|
|
|
|
|
|
|
* 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
|
|
* chore: move examples to `@example/`, normalize `package.json`
* chore: update lockfile
* chore: add empty changeset
|
|
|
|
|