summaryrefslogtreecommitdiff
path: root/examples/framework-svelte/svelte.config.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-01-26fix: fix `transition:name` can be unicode (#9822)Gravatar liruifengv 7-6/+84
* fix: fix `transition:name` can be unicode * delete prefix - * use for func * add changeset * Update .changeset/cold-bobcats-shave.md Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * fix review issue * fix review issue * add comment * add \ to regex * fix some issue * delete unused import * remove a rule * remove valid rule -- * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * Update transition.ts Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> * format * use cssesc to escape name * test: add e2e test * add charset for layout * use the raw value for e2e test * use cssesc instead of toValidIdent * uncomment --------- Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-25[ci] formatGravatar Arsh 7-15/+19
2024-01-26refactor: singular middleware (#9776)Gravatar Arsh 11-129/+100
* per-route middleware -> singular middleware * add changeset * emit middleware.mjs only when user middleware exists * Apply suggestions from code review
2024-01-25[ci] formatGravatar Arsh 2-4/+8
2024-01-25fix(dev): dont reroute endpoint responses (#9830)Gravatar Arsh 8-5/+28
* fix(dev): dont reroute endpoint responses * factor out header name as a const * add test case * add changeset
2024-01-25Remove `create-astro` version cache (#9817)Gravatar Nate Moore 3-10/+9
* fix(create-astro): remove version cache * fix(create-astro): select typescript first * chore(create-astro): remove unused import
2024-01-25[ci] formatGravatar Emanuele Stoppa 1-1/+1
2024-01-25chore(@astrojs/node): use Node.js for testing (#9758)Gravatar Emanuele Stoppa 17-144/+183
* chore(@astrojs/node): use Node.js for testing * revert file * address feedback * feedback * Run tests in a single process (#9823) * Run tests in a single process * Make test less flaky * chore: remove module --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-25fix(errors): Add more information to some error messages (#9818)Gravatar Erika 3-11/+40
* fix(errors): Add more information to some error messages * chore: changeset * Apply suggestions from code review Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-25chore(deps): bump tj-actions/changed-files from 35 to 41 in ↵Gravatar dependabot[bot] 1-1/+1
/.github/workflows (#9821) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25[ci] formatGravatar Marvin 2-28/+27
2024-01-25feat(node): add trailingSlash support (#9080)Gravatar Marvin 11-22/+514
* feat(node): add trailing slash support * add changeset * test(node): add base route test in trailing-slash.js detected an infinite loop in base path when trailingSlash: never * fix(node): avoid infinite redirect when trailingSlash: never * address test failures after rebase pt.1 * address test failures after rebase pt.2 --------- Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-01-25Fix: update doc links (#9804)Gravatar Jacob Lamb 5-7/+4
* Fix: update doc links * More links * Remove docs line
2024-01-24[ci] formatGravatar Florian Lefebvre 1-1/+1
2024-01-24chore(alpinejs): add e2e test (#9812)Gravatar Florian Lefebvre 5-0/+64
* fix(rss): rssSchema definition to allow calling standard zod object methods * fix: condition * chore(alpinejs): add e2e test * Discard changes to .changeset/mighty-icons-try.md --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-24[ci] formatGravatar Florian Lefebvre 2-5/+4
2024-01-24fix(create-astro): @astrojs/check and typescript addition (#9813)Gravatar Florian Lefebvre 4-12/+19
* fix(create-astro): @astrojs/check and typescript addition * Update packages/create-astro/src/actions/typescript.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/create-astro/src/messages.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * fix: remove useless block --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-24[docs] reorder items for configuration reference page (#9815)Gravatar Sarah Rainsberger 1-268/+271
* docs-config-ref-order * Update packages/astro/src/@types/astro.ts Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
2024-01-24feat: Add telemetry for toolbar apps (#9816)Gravatar Erika 4-0/+48
* feat: server side event * feat: send events to server * fix: use proper event * fix: remove unnecessary changes * chore: changeset * Update .changeset/spicy-tips-remember.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * fix: use id --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-24fix(vercel): make Astro.cookies work again (#9809)Gravatar Arsh 2-1/+6
* addCookieHeaders * add changeset
2024-01-24Fix release announcement script (no seriously this time) (#9808)Gravatar Nate Moore 3-5/+4
2024-01-24[ci] formatGravatar Arsh 5-25/+84
2024-01-24refactor: unsplit `astro:i18n` module (#9790)Gravatar Arsh 8-212/+204
* unsplit virtual module * add changeset * elaborate on Unreachable exception * i18nNotEnabled error
2024-01-24[ci] formatGravatar Florian Lefebvre 3-29/+29
2024-01-24feat(alpinejs): allow customizing the Alpine instance (#9751)Gravatar Florian Lefebvre 14-6/+367
* feat(alpinejs): allows customzing the Alpine instance * chore: add e2e tests * fix: rename script * Update index.ts * fix: lockfile
2024-01-24Fix env var replacement for export const prerender (#9807)Gravatar Bjorn Lu 3-0/+57
2024-01-24Fix for #9673 (#9680)Gravatar Lou Cyx 2-11/+25
* Fix for #9673 * 🦋 add changeset file * Update breezy-plants-smoke.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * ⚡️ simplified normalizeConfigPath --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-24fix(rss): apply refinement at the point of parsing (#9797)Gravatar William Killerud 4-29/+47
2024-01-24deps: bump peer deps to 4.0 (#9799)Gravatar Salvador Ferradás 2-2/+2
2024-01-23[ci] release (#9785)astro@4.2.4@astrojs/mdx@2.1.0Gravatar Houston (Bot) 39-131/+120
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-24[ci] formatGravatar Luiz Ferraz 2-28/+32
2024-01-23Fix regression on dynamic sibling trees and index inside rest parameter ↵Gravatar Luiz Ferraz 4-35/+196
folders (#9786) * fix: Fix regression on dynamic sibling trees and index inside rest parameter folders * Add extra test scenarios * Make `/[foo].astro` also win over `/[foo]/[...rest].astro` * Make `/[foo].astro` also win over `/[foo]/[...rest].astro` * Update tests * Remove commented out code * Update .changeset/six-shrimps-glow.md * Fix sorting cycle --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-23[ci] formatGravatar cin 3-6/+14
2024-01-23Fix `.html` file escaping (#9606)Gravatar cin 8-13/+146
* fix: escape bug * chore: add changeset * fix: add test case * fix: add test case * fix: ut bug * fix: ut bug * Update .changeset/metal-garlics-exercise.md * fix(html): properly handle escape sequences * Update .changeset/metal-garlics-exercise.md Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> * fix(html): properly handle attributes with escaped characters * chore: improve tests * chore: update lockfile * chore: update changeset * Update packages/astro/src/vite-plugin-html/transform/index.ts --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
2024-01-23[ci] formatGravatar Oliver Speir 1-1/+6
2024-01-23MDX remark image props (#9753)Gravatar Oliver Speir 10-3/+157
* rearrange plugins and add props to Image component * add tests and update lockfile * add changeset * re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism * make more generic * add more/better tests * remove unused logger --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23[ci] formatGravatar Steven Benner 1-1/+4
2024-01-23Fix build failure when image file name includes special characters (#9781)Gravatar Steven Benner 5-1/+18
The latest version of `vite-plugin-markdown` uses a regular expression that includes the file path via string concatenation. However the file path is not escaped for use in a regular expressions. So if a markdown document includes a reference to an image file name which includes certain special characters it will cause the build to fail. This patch escapes regex special characters in the file path string being injected into the regular expression. While I found that not all special characters will cause this problem, it seems safer to simply escape all regex specials. I also added test to verify this. Related to: Commit 165cfc154be477337037185c32b308616d1ed6fa Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23Fix release announcement script (again) (#9800)Gravatar Nate Moore 1-0/+1
2024-01-23fix: accept the 'switch' aria role during a11y checks (#9792)Gravatar Tugrul Ates 2-1/+6
* fix: accept the 'switch' aria role during a11y checks * add changeset --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23chore(ci): fix release announcement script (#9796)Gravatar Nate Moore 3-39/+99
2024-01-23fix: update vitest (#9787)Gravatar Erika 2-104/+51
2024-01-23[ci] formatGravatar Arsh 3-12/+9
2024-01-23refactor: remove endpoint handling infra (#9775)Gravatar Arsh 8-91/+31
* remove endpoint handling infra * add changeset
2024-01-23fix: vite security issue (#9773)Gravatar Stefano 9-46/+95
2024-01-23fix(portfolio): set min-height to 100% on html and body (#9780)Gravatar Leyan Lo 1-1/+1
2024-01-22[ci] release (#9772)astro@4.2.3@astrojs/vercel@7.0.1Gravatar Houston (Bot) 34-66/+68
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22[ci] formatGravatar Arsh 3-37/+42
2024-01-23fix(vercel): edge middleware (#9585)Gravatar Arsh 9-84/+161
* create vercel edge middleware remove getVercelOutput * handle node built-in modules * edge function to node fetch * adjust tests * add test * add changeset * function paths as constants * ensure node built-in modules are namespaced with `node:` * x-astro-path as constant * appease linter * add comments for ASTRO_PATH_HEADER and ASTRO_LOCALS_HEADER --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-22[ci] formatGravatar Matthew Phillips 1-2/+2