summaryrefslogtreecommitdiff
path: root/packages/renderers (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11Version Packages (#1064)astro@0.18.10@astrojs/renderer-vue@0.1.7Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-10Bump Vue version to latest stable (#1075)Gravatar Bartek Igielski 1-2/+2
* Bump Vue version to latest stable * Create wild-suits-raise.md
2021-08-03Version Packages (#999)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03fix preact render to update a component on first render (#966)Gravatar Fred K. Schott 1-2/+2
* fix preact render to modify server-rendered code * add changeset
2021-08-03Improve code sample for lit integration (#991)Gravatar tobi-or-not-tobi 1-4/+6
Align the lit component with the astro import and usage of it.
2021-07-30Version Packages (#940)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-30Fix Vue components nesting and add tests (#924)Gravatar Bartek Igielski 2-3/+3
* Allow @vue/server-renderer to be processed * Bump @vue/server-renderer version * Create twenty-coats-talk.md * Bump Vue packages version to get ESM builds * Add Vue components tests * Create shaggy-pugs-raise.md * Delete shaggy-pugs-raise.md
2021-07-28Version Packages (#912)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28Revert #858 (#913)Gravatar Bartek Igielski 1-1/+0
* Revert #858 * Create quick-houses-sip.md
2021-07-27Version Packages (#882)Gravatar github-actions[bot] 8-4/+44
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27Version Packages (next) (#865)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27Fix `renderer-solid` not creating a reactive root (#848)Gravatar Pablo Berganza 1-11/+12
* use Solid's render method on the client * add changeset * use createComponent
2021-07-26Version Packages (next) (#859)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26Exclude @vue/runtime-core from processing to fix Vue SSR for nested ↵Gravatar Bartek Igielski 1-0/+1
components (#858) * Exclude @vue/runtime-core from processing to fix Vue SSR for nested components * Create seven-shoes-stare.md
2021-07-21[ci] yarn formatGravatar natemoo-re 1-0/+1
2021-07-21Version Packages (next) (#796)Gravatar github-actions[bot] 6-3/+33
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21[ci] yarn formatGravatar natemoo-re 5-29/+26
2021-07-21Expose JSX compilation to renderers (#588)Gravatar Nate Moore 10-5/+131
* 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-20[ci] yarn formatGravatar FredKSchott 1-3/+1
2021-07-19tsconfig fix (#752)Gravatar Fred K. Schott 1-7/+6
2021-07-13[ci] yarn formatGravatar matthewp 4-26/+19
2021-07-13Adds support for a Lit renderer (#665)Gravatar Matthew Phillips 7-0/+196
* 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-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] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09[ci] yarn formatGravatar matthewp 1-1/+1
2021-07-09Use correct React rendering API or hydration (#636)Gravatar Matthew Phillips 1-4/+10
* Use correct React rendering API or hydration * Add changeset
2021-07-01Allow Preact components to return an empty Fragment (#599)Gravatar Matthew Phillips 1-1/+1
2021-06-25Version Packages (#543)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25Fix code from bad merge (#540)Gravatar Matthew Phillips 1-1/+1
* Fix code from bad merge * Dont wrap the raw * Wrap the expression in quotes * remove react-dom just to test * Add back react-dom as a known entrypoint * Make startup time even longer
2021-06-21Version Packages (#484)Gravatar github-actions[bot] 6-3/+21
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-21[ci] yarn formatGravatar matthewp 3-3/+3
2021-06-21Removes snowpack warning suppression (#504)Gravatar Matthew Phillips 3-0/+3
* Start of warnings * Provide knownEntrypoints by renderers This allows renderers to provide knownEntrypoints that will be forwarded to snowpack. This gets rid of renderer-specific warnings and allows us to remove the snowpack logging hacks we were doing. * Adds a changeset
2021-06-15Version Packages (#446)Gravatar github-actions[bot] 4-2/+14
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14Fix usage of arrow functions as components (#426)Gravatar Matthew Phillips 2-2/+2
* Fix usage of arrow functions as components This fixes the React and Preact component as arrow function use-case by checking for the prototype property (arrow functions don't) * Check the prototype
2021-06-14Version Packages (#418)Gravatar github-actions[bot] 8-4/+28
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14[ci] yarn formatGravatar matthewp 2-7/+7
2021-06-14Improved JSX framework detection (#382)Gravatar Matthew Phillips 2-12/+39
* Improved JSX framework detection This improves the JSX detection and adds a bunch of test. The following is improved: * If an error throws because of a coding mistake, those errors will be reported. * We properly detect class components for both Preact and React. We don't have to "try to render" these. It's still possible that error messages might be obscured in this scenario: A Preact function component that uses hooks (or another preact specific feature) that has a coding mistake. The React renderer might throw when it uses the Preact hook. That error will be reported rather than the real coding mistake. This is because we can't distinguish between errors that are due to the wrong framework and errors that the user caused. I might reach out to the Preact community and see if they can think of a better solution to this problem. This will come up when other JSX based frameworks have renderers. I still think that having multiple frameworks in the same project is a feature worth trying to preserve. * Move try/catch into the __astro_component
2021-06-14add engines for esm support (#415)Gravatar Fred K. Schott 4-0/+12
2021-06-07Version Packages (#318)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07Prevent duplicate snowpack logs (#316)Gravatar Matthew Phillips 1-1/+1
* Prevent duplicate snowpack logs * Fix test to wait on expected messages * Update the snowpack/plugin-vue * Add changeset * Debugging * Skip the logging test on windows :( * arg
2021-06-02Version Packages (#285)Gravatar github-actions[bot] 8-4/+32
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-01[ci] yarn formatGravatar natemoo-re 1-11/+10
2021-06-01Fix prerelease bugs, reenable `@astrojs/renderer-vue` (#286)Gravatar Nate Moore 2-1/+19
* fix: add packages to external * fix: improve renderer error message * fix: reenable vue renderer * chore: remove `extensions` from templates * fix: reenable @astrojs/renderer-vue * refactor: add types to snowpack plugin * fix: update snowpack * fix: use manual SSR wrapper for Svelte * chore: add changesets * chore: bump snowpack * test: fix failing test * chore: remove redundant entries
2021-05-28[ci] yarn formatGravatar natemoo-re 4-0/+4
2021-05-28Version Packages (next) (#227)Gravatar github-actions[bot] 8-4/+28
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-28[ci] yarn formatGravatar natemoo-re 2-4/+4
2021-05-28Bugbash! (#263)Gravatar Nate Moore 20-15/+17
* fix(vscode): Markdown frontmatter should use TSX, not YAML * test: add test for #153 * chore: bump deps * chore: update to use @astrojs scope * fix: Markdown parse error when only child is `{expression}` * fix: update renderer edge cases * fix: failing test * fix: update renderer
2021-05-28Create astro fixes (#267)Gravatar Drew Powers 1-2/+2
* Remove create-astro from workspace * Improve contrast ratio * Swap blank template for blog template * Remove counter components from blog template * Use `latest` astro version
2021-05-26[ci] yarn formatGravatar natemoo-re 14-54/+55