summaryrefslogtreecommitdiff
path: root/examples/framework-svelte/svelte.config.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2025-03-11Use package-manager-detector (#13395)Gravatar Bjorn Lu 11-237/+123
* Use package-manager-detector * Update variable name
2025-03-11Remove trailing spaces from blog example links. (#13389)Gravatar duck.lol 1-7/+6
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>
2025-03-10fix: astro:config types tests (#13391)Gravatar Florian Lefebvre 1-3/+4
2025-03-10chore: fix SSR API test (#13390)Gravatar Matt Kane 2-1/+4
2025-03-10[ci] formatGravatar Emanuele Stoppa 1-12/+15
2025-03-10fix(config): expose correct types (#13388)Gravatar Emanuele Stoppa 3-2/+22
* fix(config): expose correct types * feat: type tests --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-10Extend the simulated viewTransition object with the property (#13381)Gravatar Martin Trapp 2-1/+6
2025-03-10[ci] formatGravatar Emanuele Stoppa 2-4/+6
2025-03-10docs: document utility functions (#13367)Gravatar Emanuele Stoppa 7-22/+114
* fix(assets): remove export of internal function * Apply suggestions from code review Co-authored-by: Armand Philippot <git@armand.philippot.eu> --------- Co-authored-by: Armand Philippot <git@armand.philippot.eu>
2025-03-06Replace internal cssScopeTo implementation to vite.cssScopeTo (#13347)Gravatar Bjorn Lu 14-115/+71
* Replace internal cssScopeTo implementation to vite.cssScopeTo * Fix test * Fix more tests * Again * Again :( * Fix weird name * Add changeset
2025-03-05[docs] move location of an Actions error (#13368)Gravatar Sarah Rainsberger 1-12/+12
Co-authored-by: ArmandPhilippot <59021693+ArmandPhilippot@users.noreply.github.com>
2025-03-05[ci] formatGravatar Emanuele Stoppa 1-2/+2
2025-03-05fix(assets): remove export of internal function (#13363)Gravatar Emanuele Stoppa 2-1/+12
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-03-05bugfix(svelte): fix colliding id's generated from `$props.id` (#13339)Gravatar Hugo Korte 5-64/+99
* 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>
2025-03-05docs: document asset utilities (#13355)Gravatar Emanuele Stoppa 2-5/+58
* docs: document asset utilities * Apply suggestions from code review Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * chore: add defaults * chore: add changeset --------- Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-03-04[ci] release (#13350)astro@5.4.2@astrojs/vercel@8.1.1@astrojs/partytown@2.1.4@astrojs/db@0.14.8Gravatar Houston (Bot) 38-90/+91
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04[ci] formatGravatar Emanuele Stoppa 12-35/+35
2025-03-04refactor(core): move actions inside core (#13262)Gravatar Emanuele Stoppa 28-110/+233
* 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>
2025-03-04ci: add new command for vite ecosystem CI (#13357)Gravatar Emanuele Stoppa 4-0/+4
2025-03-04[ci] formatGravatar renovate[bot] 6-16/+28
2025-03-04fix(deps): update all non-major dependencies (#13346)Gravatar renovate[bot] 117-1568/+1539
* fix(deps): update all non-major dependencies * chore: fix type issue --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-03-04feat(partytown): allow overriding `copyLibFiles.dest` in `astro:build:done` ↵Gravatar arnottferels 2-4/+22
hook with the `lib` option (#13109) * 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>
2025-03-03fix: resolve Astro DB seed failure with paths containing spaces (#13343)Gravatar Paul Valladares 2-1/+9
2025-03-03[ci] formatGravatar Matthew Phillips 2-2/+2
2025-03-03Prevent rerunning scripts already ran in router (#12985)Gravatar Matthew Phillips 9-17/+120
* 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>
2025-03-03fix: generate correct responsive srcsets on Vercel (#13351)Gravatar Matt Kane 7-2/+41
* fix: generate correct responsive srcsets on Vercel * [skipci] Apply suggestions from code review Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-03-03[ci] formatGravatar Matt Kane 2-3/+3
2025-03-03fix: escape img attributes in Markdown (#13349)Gravatar Matt Kane 4-1/+14
2025-02-28[ci] release (#13337)astro@5.4.1@astrojs/upgrade@0.5.0Gravatar Houston (Bot) 32-106/+101
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28fix(deps): update dependency @netlify/functions to v3 (#13261)Gravatar renovate[bot] 2-11/+11
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28[ci] formatGravatar Matt Kane 1-9/+5
2025-02-28feat: add support session typing (#13320)Gravatar Matt Kane 5-2/+121
* feat: add support session typing * Add type tests * Fix test * Remove unused import
2025-02-28[ci] formatGravatar Emanuele Stoppa 1-3/+3
2025-02-28chore: bump `compiler` and `upgrade` packages (#13330)Gravatar Emanuele Stoppa 4-8/+22
Co-authored-by: Matt Kane <m@mk.gg> Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com> Co-authored-by: TheOtterlord <64310361+TheOtterlord@users.noreply.github.com> Co-authored-by: MoustaphaDev <81974850+MoustaphaDev@users.noreply.github.com>
2025-02-28fix(assets): export again asset utilities (#13336)Gravatar Emanuele Stoppa 3-0/+27
2025-02-28chore: upgrade pnpm to v10 (#13328)Gravatar Emanuele Stoppa 2-6/+7
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-27fix(deps): update dependency fast-xml-parser to v5 (#13300)Gravatar renovate[bot] 2-10/+11
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27[ci] release (#13318)astro@5.4.0@astrojs/vercel@8.1.0@astrojs/svelte@7.0.5@astrojs/solid-js@5.0.5@astrojs/react@4.2.1@astrojs/preact@4.0.5@astrojs/node@9.1.2@astrojs/netlify@6.2.2@astrojs/mdx@4.1.0@astrojs/markdown-remark@6.2.0@astrojs/markdoc@0.12.10@astrojs/internal-helpers@0.6.0@astrojs/db@0.14.7@astrojs/cloudflare@12.2.3Gravatar Houston (Bot) 65-274/+338
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-27[ci] formatGravatar Emanuele Stoppa 1-1/+1
2025-02-27chore(deps): update `esbuild` and `vite` versions (#13323)Gravatar Emanuele Stoppa 15-649/+647
Co-authored-by: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com> Co-authored-by: natemoo-re <7118177+natemoo-re@users.noreply.github.com> Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com> Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-02-26[ci] formatGravatar Emanuele Stoppa 1-1/+0
2025-02-26fix(core): double encoding during match of routes (#13303)Gravatar Emanuele Stoppa 5-6/+11
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-26[ci] formatGravatar Luiz Ferraz 3-4/+4
2025-02-26feat(astro): Exposes extra APIs for script and testing (#12052)Gravatar Luiz Ferraz 7-21/+48
Co-authored-by: Matt Kane <m@mk.gg> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com> Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com> Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com> Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-26[ci] formatGravatar Martin Trapp 1-1/+4
2025-02-26fixes property shadowing for form.attributes (#13313)Gravatar Martin Trapp 3-2/+7
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-02-26[ci] formatGravatar Emanuele Stoppa 4-5/+10
2025-02-26feat: add new `allowedHosts` option (#13278)Gravatar Emanuele Stoppa 8-2/+71
Co-authored-by: Armand Philippot <git@armand.philippot.eu> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: ArmandPhilippot <59021693+ArmandPhilippot@users.noreply.github.com> Co-authored-by: Eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com> Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Fryuni <11063910+Fryuni@users.noreply.github.com>
2025-02-26[ci] formatGravatar Slawek Kolodziej 2-16/+18
2025-02-26feat(vercel): allow defining ISR exclusions with regular expressions (#13211)Gravatar Slawek Kolodziej 6-22/+73
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>