* fix `image.domains` and `image.remotePatterns` default values
* deduplicate `i18n` type
* remove the `strategy` key in `i18n.routing`
* merge `i18n.routing.manual` docs into `i18n.routing`
* add missing `@docs` tag to `i18n.domains`
* add changeset
A formatter introduced newlines inside the anchor tags on the blog example's home `index.astro` page, causing the link to include a trailing space. Not the worst thing, just looks a little unpolished compared to everything else I've experienced getting to know Astro :)
I've put the anchor tags on their own lines to avoid this issue, _and_ prevent future formatters from re-introducing the issue (tested with Astro extension's formatter, at least). Ran the example locally (`cd examples/blog && npm run dev`) and it fixes the issue.
Co-authored-by: Matt Kane <m@mk.gg>
* bugfix(svelte): fix colliding id's generating from $props.id by utilizing the new `uidPrefix` option exposed for both server and client side rendering.
* bugfix(svelte): changeset
* Add server side ID prefix, not sure how to do this on the client.
* Discard changes to packages/integrations/svelte/client.svelte.js
* Update .changeset/flat-cherries-rule.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat: context
* revert peerDep bump
* revert html variable seperation
* feat: rename
* fix lockfile
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* refactor(core): remove middleware from actions
* chore: fix tests
* chore: skip e2e test due to db issues
* chore: import actions later during server life cycle
* chore: rename to just use the word "actions"
* chore: address review
* Update packages/astro/src/actions/loadActions.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* chore: remove gotcha
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bholmesdev <51384119+bholmesdev@users.noreply.github.com>
Co-authored-by: JacobNWolf <27933270+JacobNWolf@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Update .changeset/plenty-coins-destroy.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/integrations/partytown/src/index.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat(stro:server:setup): add option for config.lib path
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: twodft <64566069+twodft@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
* Prevent rerunning scripts already ran in router
In a long session you might navigate between several pages, some contain
the script and some not, but nevertheless the script should run a total
of 1 time.
This also helps with smaller bundled scripts in production, where some
are inlined.
* Add changeset
* better key
* more concise
* review changes
* move stuff around
* fix types
* take Martin's suggestion
* run detection when executing scripts
* adds an e2e test for data-astro-rerun
* fix support for data-astro-rerun
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>