summaryrefslogtreecommitdiff
path: root/packages/integrations/lit (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26Format markdown files (#7439)Gravatar Bjorn Lu 1-10/+12
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-06-21Update safe dependencies (#7430)Gravatar Bjorn Lu 1-4/+4
2023-06-13[ci] release (#7368)astro@2.6.4@astrojs/lit@2.1.0@astrojs/cloudflare@6.5.0Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-12Upgrade lit deps (#7373)Gravatar Matthew Phillips 2-4/+6
* Upgrade lit deps * Add changeset * Downgrade peer dep * Upgrade lockfile * add client dep
2023-05-18[ci] release (#7090)astro@2.5.0@astrojs/vue@2.2.0@astrojs/vercel@3.4.0@astrojs/turbolinks@0.2.2@astrojs/tailwind@3.1.3@astrojs/svelte@2.2.0@astrojs/solid-js@2.2.0@astrojs/rss@2.4.2@astrojs/react@2.2.0@astrojs/prism@2.1.2@astrojs/prefetch@0.2.2@astrojs/preact@2.2.0@astrojs/partytown@1.2.2@astrojs/node@5.1.4@astrojs/netlify@2.2.3@astrojs/mdx@0.19.2@astrojs/markdown-remark@2.2.1@astrojs/markdown-component@1.0.4@astrojs/markdoc@0.2.0@astrojs/lit@2.0.2@astrojs/image@0.16.9@astrojs/deno@4.1.1@astrojs/cloudflare@6.3.0@astrojs/alpinejs@0.2.2Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-17Add files field to packages (#7104)Gravatar Bjorn Lu 1-0/+8
2023-04-05[ci] release (#6720)astro@2.2.0@astrojs/vue@2.1.1@astrojs/vercel@3.2.2@astrojs/sitemap@1.2.2@astrojs/node@5.1.1@astrojs/markdown-remark@2.1.3@astrojs/markdoc@0.1.1@astrojs/lit@2.0.1@astrojs/image@0.16.5Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-05Fix lit integration nested component rendering (#6752)Gravatar Augustine Kim 2-1/+30
* Provide renderInfo to renderShadow * Add test for rendering nested components * Add changeset
2023-03-31[ci] release (#6694)astro@2.1.9@astrojs/rss@2.3.2@astrojs/react@2.1.1@astrojs/lit@2.0.0@astrojs/image@0.16.4Gravatar Houston (Bot) 2-1/+10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-29Update lit-ssr dependency (#6681)Gravatar Elliott Marquez 4-20/+41
* update lit-ssr dependency * delete unnecessary lit shim checks * delete another unused lit shim feature * fix sass build * bump lit and polyfill versions to match ssr req * shim HTMLElement in test * remove lit global shim workarounds * re-shim Astro's ce.define * remove fix window test and shim HTML Element * Update .changeset/gold-windows-fly.md Co-authored-by: Augustine Kim <ajk830@gmail.com> * fix window check test * implement suggestoins --------- Co-authored-by: Augustine Kim <ajk830@gmail.com>
2023-03-09Add default .npmrc for `astro add lit` (#6460)Gravatar Bjorn Lu 1-0/+8
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-07[ci] release (#6432)create-astro@3.1.0astro@2.1.0@astrojs/webapi@2.1.0@astrojs/vue@2.1.0@astrojs/vercel@3.2.0@astrojs/turbolinks@0.2.0@astrojs/telemetry@2.1.0@astrojs/tailwind@3.1.0@astrojs/svelte@2.1.0@astrojs/solid-js@2.1.0@astrojs/sitemap@1.2.0@astrojs/rss@2.2.0@astrojs/react@2.1.0@astrojs/prism@2.1.0@astrojs/prefetch@0.2.0@astrojs/preact@2.1.0@astrojs/partytown@1.1.0@astrojs/node@5.1.0@astrojs/netlify@2.2.0@astrojs/mdx@0.18.0@astrojs/markdown-remark@2.1.0@astrojs/markdoc@0.0.1@astrojs/lit@1.3.0@astrojs/image@0.16.0@astrojs/deno@4.1.0@astrojs/cloudflare@6.2.0@astrojs/alpinejs@0.2.0Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-06Update compilation target for Node 16 (#6213)Gravatar Erika 1-2/+2
* config(esbuild): Update esbuild target to node16 * config(package): Update root package.json node engine * config(tsconfig): Update all the tsconfigs module and targets * chore: changeset * chore: remove unneeded file
2023-02-27[ci] release (#6359)create-astro@3.0.4astro@2.0.16@astrojs/webapi@2.0.2@astrojs/telemetry@2.0.1@astrojs/lit@1.2.1Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-24[ci] formatGravatar natemoo-re 2-6/+9
2023-02-24[Lit] render DSD attributes based on `shadowRootOptions` (#6351)Gravatar Reece McDonald 2-1/+16
* [Lit] render DSD attributes based on `shadowRootOptions` ## Changes - Update `@astrojs/lit`’s `server.js` to properly render elements with `delegatesFocus: false` set in their `shadowRootOptions`. - Logic is based on `@lit-labs/ssr` [latest implementation as found here](https://github.com/lit/lit/blob/b0c3f82ef0f97326a205e77e7e1043b75a5cc53f/packages/labs/ssr/src/lib/render-value.ts#L738) ## Testing A test was added to ensure an element with `delegatesFocus` set to true has this attribute properly included in the rendered static markup. * chore: add changeset
2023-02-07[ci] release (#6116)create-astro@3.0.0astro@2.0.7@astrojs/netlify@2.1.2@astrojs/lit@1.2.0@astrojs/image@0.14.1@astrojs/cloudflare@6.1.2Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-06 [Lit] add `client:only` functionality to Lit integration (#6111)Gravatar Elliott Marquez 1-19/+70
* [Lit] add `client:only` functionality to Lit integration * add changeset * update lit changeset to minor
2023-02-01[ci] release (#6048)astro@2.0.5@astrojs/mdx@0.16.0@astrojs/lit@1.1.2@astrojs/image@0.14.0Gravatar Houston (Bot) 2-1/+9
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01[ci] formatGravatar matthewp 2-6/+14
2023-02-01[Lit] Forwards compatiblity for streaming Declarative Shadow DOM (#6055)Gravatar Elliott Marquez 4-5/+5
* Forwards compatiblity for streaming DSD * add shadowrootmode * update tests * add changeset
2023-02-01[ci] formatGravatar matthewp 1-21/+17
2023-02-01[Lit] Fix hydration not having the same reactive values as server (#6080)Gravatar Elliott Marquez 4-3/+39
* Fix lit hydration not having the same reactive values * add changeset * add clientEntrypoint to package exports * update tests * add changeset * only add defer-hydration when strictly necessary * remove second changest * fix test typos
2023-01-30[ci] release (#5995)Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-26Updated according to new configuration (#5478)Gravatar Subha Chanda 1-3/+4
* Updated according to new configuration Astro imports the `defineConfig` function from `astro/config`. The `integrations` key needs to be passed into the `defineConfig` function, but it is not shown in the README. Updated the README according to the CLI example. * update alpine * update image * update lit * update mdx * update preact * update prefetch * update react * update sitemap * update solid * update svelte * update tailwind * update turbolinks * update vue * chore: add changeset * update image * update svelte readme Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-24[ci] release (#5948)create-astro@2.0.0astro@2.0.0@astrojs/webapi@2.0.0@astrojs/vue@2.0.0@astrojs/vercel@3.0.0@astrojs/telemetry@2.0.0@astrojs/tailwind@3.0.0@astrojs/svelte@2.0.0@astrojs/solid-js@2.0.0@astrojs/rss@2.1.0@astrojs/react@2.0.0@astrojs/prism@2.0.0@astrojs/preact@2.0.0@astrojs/partytown@1.0.3@astrojs/node@5.0.0@astrojs/netlify@2.0.0@astrojs/mdx@0.15.0@astrojs/markdown-remark@2.0.0@astrojs/lit@1.1.0@astrojs/image@0.13.0@astrojs/deno@4.0.0@astrojs/cloudflare@6.0.0Gravatar Houston (Bot) 2-2/+17
* [ci] release * Update changelogs (#5955) * [ci] release * Wrap astro 2.0 beta logs in `<details>` * Add link to docs upgrade guide * First pass cleaning up 2.0 release notes * mdx changes from Sarah * combine 5584 and 5842 in deno, image, netlify * markdown/remark incl (5684 & 5769) to match mdx * Tweak markdown/remark formatting * Format astro-prism * Format astro-rss * Format create-astro * Format cloudflare * Format lit * Format partytown * Format node * Format preact * Format react * Format solid * Format svelte * Format tailwind * Format vercel * Format vue * Format telemetry * Format webapi * Format scripts * Reinstate h3s for headings Co-authored-by: Ben Holmes <hey@bholmes.dev> * Reformat mdx * astro & markdown/remark: Combine #5679 & #5684 changelogs Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-23chore: migrate changelogs from 1-legacy (#5944)Gravatar Nate Moore 1-0/+6
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12[ci] release (beta) (#5792)create-astro@2.0.0-beta.0astro@2.0.0-beta.2@astrojs/webapi@2.0.0-beta.0@astrojs/vue@2.0.0-beta.1@astrojs/vercel@3.0.0-beta.1@astrojs/telemetry@2.0.0-beta.0@astrojs/tailwind@3.0.0-beta.1@astrojs/svelte@2.0.0-beta.1@astrojs/solid-js@2.0.0-beta.0@astrojs/react@2.0.0-beta.0@astrojs/prism@2.0.0-beta.0@astrojs/preact@2.0.0-beta.0@astrojs/partytown@1.0.3-beta.0@astrojs/node@5.0.0-beta.1@astrojs/netlify@2.0.0-beta.2@astrojs/mdx@1.0.0-beta.2@astrojs/markdown-remark@2.0.0-beta.2@astrojs/lit@1.0.2-beta.0@astrojs/image@1.0.0-beta.2@astrojs/deno@4.0.0-beta.2@astrojs/cloudflare@6.0.0-beta.1Gravatar Fred K. Bot 2-1/+9
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-09[ci] formatGravatar matthewp 1-1/+1
2023-01-09Drop Node 14 support (#5782)Gravatar Erika 1-1/+8
* chore: Update engines field * fix(deps): Remove node-fetch * feat(polyfills): Remove node-fetch for undici * feat(webapi): Remove node-fetch from the webapis polyfills for undici * feat(core): Remove node-fetch for undici in Astro core * feat(telemetry): Remove node-fetch for undici * feat(node): Remove node-fetch for undici in node integration * feat(vercel): Remove node-fetch for undici in Vercel integration * chore: update lockfile * chore: update lockfile * chore: changeset * fix(set): Fix set directives not streaming correctly on Node 16 * Try another approach * Debugging * Debug fetch * Use global fetch if there is one * changeset for lit * Remove web-streams-polyfill * Remove web-streams-polyfill license note * Update .changeset/stupid-wolves-explain.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-07[ci] formatGravatar matthewp 1-1/+1
2023-01-07[@astrojs/lit] Fix slotted content into main (#5791)Gravatar Sebastiaan 2-6/+18
* Fix add the missing slot attribute to child nodes * Add lit slot tests * Add changeset
2022-12-19Fix spelling mistakes found by codespell and mwic (#5627)Gravatar Anders Kaseorg 2-2/+2
2022-10-06Document Lit's limitations in SSR (#4999)Gravatar Matthew Phillips 1-0/+27
2022-09-28Remove shamefully-hoist (#4842)Gravatar Bjorn Lu 1-0/+3
2022-09-26docs: Standardize common integration READMEs (#4874)Gravatar Jake Strawn 1-2/+8
2022-09-19fixed broken emoji for in "Getting started" section of integration docs (#4795)Gravatar Aditya Jain 1-1/+1
* fixed broken emoji for "nest frameworks together" * Add missing whitespace Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2022-09-09No 👏 more 👏 server 👏 restarts 👏 on 👏 config 👏 changes (#4578)Gravatar Ben Holmes 1-2/+0
* feat: restart config on add, remove, update * fix: reload for root project configs only * fix: throw when userConfigPath can't resolve * chore: changeset * wip: remove normalizePath before writeFile * refactor: invalidateWithCache -> isConfigReload * wip: mustExist? * debug: config loaded successfully * debug: more logs * debug: MORE logging * fix: normalize resolved config path * debug: yet MORE logging * chore: bump proload * fix: use file path, not URL.pathname * Revert "wip: mustExist?" This reverts commit 8ca8662132532dcdc9fd120868e615ddc60f498e. * chore: remove console log * feat: cleanup restart message, better invalid config handling * chore: update lockfile * chore: fix types * fix: throw helpful error when config does not exist * docs: remove "restart dev server" from integrations * docs: make sure to restart -> try restarting Co-authored-by: Nate Moore <nate@astro.build>
2022-09-07Integrations: Fix NPM instructions to use `npx astro add` again (#4653)Gravatar Tibor Schiemann 1-2/+4
* Fix install instructions to use `npx astro` again * Replace joyful hiccups with regular issues :)
2022-08-30[ci] release (#4520)astro@1.1.2@astrojs/react@1.1.1@astrojs/mdx@0.10.3@astrojs/markdown-remark@1.1.1@astrojs/lit@1.0.1@astrojs/image@0.3.7Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29Configures Lit to work with its decorators (#4503)Gravatar Matthew Phillips 1-1/+1
* Configures Lit to work with its decorators * Remove comment
2022-08-16integrations: update recommended method for running astro add (#4340)Gravatar Chris Swithinbank 1-2/+2
2022-08-10Update code samples to match release version (#4241)Gravatar StefanGussner 1-6/+6
As I learned from a support Thread on Discord, the tagName convention was dropped during the beta period. Instead you need to export the class and use it in astro file. I updated the code samples on this page accordingly.
2022-08-09Astro 1.0.0 (#4214)Gravatar Nate Moore 2-1/+9
* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-07-26[ci] release (#3972)create-astro@0.14.2astro@1.0.0-rc.1@astrojs/vue@0.5.0@astrojs/vercel@0.3.0@astrojs/tailwind@0.2.5@astrojs/svelte@0.5.0@astrojs/sitemap@0.3.0@astrojs/prefetch@0.0.6@astrojs/partytown@0.1.9@astrojs/node@0.2.0@astrojs/netlify@0.5.0@astrojs/mdx@0.3.0@astrojs/markdown-remark@0.13.0@astrojs/markdown-component@0.2.0@astrojs/lit@0.3.2@astrojs/image@0.2.0@astrojs/deno@0.2.0@astrojs/cloudflare@0.3.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-21[ci] formatGravatar matthewp 1-5/+1
2022-07-21Make the Lit integration be compat with Vite 3.0.1 (#4009)Gravatar Matthew Phillips 1-5/+3
* Make the Lit integration be compat with Vite 3.0.1 * Changeset * Pin Vite version * Update lockfile
2022-07-11More integration README fixes (#3885)Gravatar Chris Swithinbank 2-5/+5
* Integration README fixes * More tweaks (mostly code backticks for filenames) * Update changeset * Few more tweaks * Make sure code blocks all have a code language * Use URLs of new docs pages for package homepage * One more stray `<br>` :boot: * Standardise to `sh` instead of `shell`
2022-07-08[ci] release (#3850)create-astro@0.12.5astro@1.0.0-beta.65@astrojs/vue@0.2.1@astrojs/vercel@0.2.5@astrojs/turbolinks@0.1.4@astrojs/telemetry@0.2.5@astrojs/tailwind@0.2.3@astrojs/svelte@0.2.1@astrojs/solid-js@0.2.1@astrojs/sitemap@0.2.5@astrojs/react@0.2.1@astrojs/prefetch@0.0.4@astrojs/preact@0.3.2@astrojs/partytown@0.1.7@astrojs/node@0.1.5@astrojs/netlify@0.4.9@astrojs/mdx@0.0.3@astrojs/lit@0.3.1@astrojs/image@0.1.0@astrojs/deno@0.1.9@astrojs/cloudflare@0.2.3Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-08[astro add] Support adapters and third party packages (#3854)Gravatar Ben Holmes 1-0/+1
* feat: support adapters and third part integrations by keywords * refactor: add keywords to all official integrations * docs: add adapter ex to astro add help * nit: clarify astro add usage * nit: highlight link * fix: use process.exit(1) on error * chore: changeset * nit: bold integration name * fix: log install instructions for adapters instead * nit: change to logAdapterConfigInstructions * Revert "fix: log install instructions for adapters instead" This reverts commit 1a459f152bc7b7991db289999f7393e5be64ea3e. * feat: add hardcoded adapter export map * refactor: inline adapter config log