summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
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
2024-01-22Change way args are passed to cli packages (#9774)Gravatar Matthew Phillips 1-4/+12
2024-01-22fix: handle error at load for apps (#9768)Gravatar Erika 8-13/+96
* fix: handle error at load for apps * Revert "fix: handle error at load for apps" This reverts commit df9e98a8c432ee900b3545bbce96c62508c0a27b. * fix: handle errors in load and init * chore: changeset * fix: build
2024-01-22[ci] release (#9728)astro@4.2.2@astrojs/rss@4.0.3@astrojs/mdx@2.0.6@astrojs/markdown-remark@4.2.0Gravatar Houston (Bot) 47-123/+114
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22normalize class property (#9723)Gravatar Degreat 2-3/+12
* normalize class property * Add changeset * properly type return value * normalize styles, rename function * properly describe change Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-22[ci] formatGravatar Nate Moore 1-7/+2
2024-01-22Add new top-level passthrough config option (#9767)Gravatar Nate Moore 4-0/+45
* feat: add db as top-level config value * merge * add passthrough db command * refactor: remove extra changes * docs: update type info * chore: remove changeset
2024-01-22fix: add missing attribute to button (#9762)Gravatar Emanuele Stoppa 2-0/+7
* fix: add missing attribute to button * feedback
2024-01-22fix(i18n): pass `build.format` when computing the redirect (#9739)Gravatar Emanuele Stoppa 9-7/+105
* fix(i18n): pass `build.format` when computing the direct * Update .changeset/fifty-pots-greet.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * update tests * add more tests --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-22[ci] formatGravatar Tak Tran 1-26/+28
2024-01-22Fix dot files not being copied over on non-root builds (#9740) (#9741)Gravatar Tak Tran 2-1/+6
* Fix dot files not being copied over on non-root builds (#9740) When running `astro build` outside of where the astro files are, dotfiles are not copied over because the `includeDotfiles` parameter is not passed in. * update changeset * Update changeset description --------- Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-01-22fix(rss): rssSchema definition to allow calling standard zod object methods ↵Gravatar Florian Lefebvre 2-17/+12
(#9746) * fix(rss): rssSchema definition to allow calling standard zod object methods * fix: condition
2024-01-20[ci] formatGravatar Bjorn Lu 1-1/+1
2024-01-20Make `@astrojs/markdown-remark` browser-safe (#9738)Gravatar Bjorn Lu 8-20/+67
2024-01-19Fix `@astrojs/markdown-remark` bundling for non-node runtimes (#9736)Gravatar Bjorn Lu 2-1/+7
2024-01-19fix getRelativeLocaleUrl when redirectToDefaultLocale is false (#9730)Gravatar Blede 3-2/+224
* fix getRelativeLocaleUrl when redirectToDefaultLocale is false * Added tests * Fixed getLocaleRelativeUrlList
2024-01-19Refactor style-only HMR cache and performance (#9712)Gravatar Bjorn Lu 9-175/+145
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-18fix(compiler): Support dynamic slot names (#9605)Gravatar Happydev 9-9/+78
* chore: try new compiler version * update mergeSlots function * chore: update lock file * add tests * simplify `mergeSlots` code * update compiler version * update lock file * fix failing test We were expecting the source code to produce an error, but in 2.4.0 of the compiler, that generates valid code * chore: changeset * chore: update deps --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <nate@astro.build>
2024-01-18[ci] formatGravatar Martin Trapp 1-1/+1
2024-01-18makes the output of 'astro preferences list' more verbose (#9381)Gravatar Martin Trapp 3-20/+79
* makes astro preference list more verbose * adds changeset * refactor: improve global flag language * Update .changeset/selfish-donuts-approve.md --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-18[ci] release (#9727)astro@4.2.1Gravatar Houston (Bot) 31-60/+61
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18[ci] formatGravatar Luiz Ferraz 2-18/+18
2024-01-18Fix regression in the routing priority of index routes (#9726)Gravatar Luiz Ferraz 3-46/+111
* fix: Fix regression in the routing priority of index routes * chore: Add changeset * Update .changeset/smart-rules-train.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Matthew Phillips <matthew@matthewphillips.info> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-18Fix eslint warnings (#9721)Gravatar Bjorn Lu 13-24/+13
* Fix eslint warnings * Revert endpoint changes to be safe
2024-01-18[ci] release (#9709)astro@4.2.0@astrojs/vercel@7.0.0@astrojs/sitemap@3.0.5@astrojs/node@8.0.0@astrojs/mdx@2.0.5@astrojs/markdown-remark@4.1.0@astrojs/markdoc@0.8.3Gravatar Houston (Bot) 60-296/+284
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18Avoid vite 5.1 warning (#9719)Gravatar Bjorn Lu 3-2/+7
2024-01-17[ci] formatGravatar Sarah Rainsberger 1-1/+1
2024-01-17[docs] fix syntax error, avoid a Markdown table (#9713)Gravatar Sarah Rainsberger 1-8/+8
2024-01-17@astrojs/sitemap: Fixes generated URLs when using a `base` with a SSR ↵Gravatar André Alves 3-5/+50
adapter (#9704) * Fix base path formatting for ssr adapters * Update .changeset/curly-seals-count.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17[ci] formatGravatar Luiz Ferraz 1-28/+30
2024-01-17Implement priority overrides for injected routes and redirects (#9439)Gravatar Luiz Ferraz 6-193/+755
* Implement priority overrides for injected routes and redirects * Fix ordering for route specificity * Don't mix rules on tests * Detailed collision detection * Add changeset * Remove TODO * Add comments to clarify default values * Update terminology * Revert unrelated changes * WIP * Refactor * Fix typo and typing * chore: default to legacy * chore: use experimental flag instead of option * fix: do not throw an error on collisions * chore: fix regression * chore: use `continue` instead of `return` * chore: fix tests but one * chore: Update test * chore: Change remaining new error to warning * chore: Test collision warnings * docs: Update docs of new config * docs: Improve changesets * chore: rename experimental flag * chore: update changeset and docs * Sarah editing pass * nit: Align Markdown table * defined definitions! Co-authored-by: Luiz Ferraz <luiz@lferraz.com> * added logging info to docs for experimental flag * Yan final boss review Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * chore: Update flag name in tests * chore: Update flag name in tests --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>