summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src/components (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
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>
2024-01-17[ci] formatGravatar Emanuele Stoppa 1-1/+1
2024-01-17feat(i18n): disable redirect to default language (#9638)Gravatar Emanuele Stoppa 14-52/+260
* feat(i18n): disable redirect * feat(i18n): add option to disable redirect to default language * chore: add schema validation * docs * changeset * Update packages/astro/src/core/config/schema.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * chore: address feedback * fix test * Update .changeset/cyan-grapes-suffer.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Fix discord fetch code (#9663) * Force re-execution of Partytown's head snippet on view transitions (#9666) * Remove the header script before a view transition takes place to force a reload on the next page * Add changeset * Save another char * [ci] format * fix(assets): Implement all hooks in the passthrough image service (#9668) * fix(assets): Implement all hooks in the passthrough image service * chore: changeset * refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps (#9647) * refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps * refactor: rename vite plugin * fix: update import * nit: add setting fallback * Disable file watcher for internal one-off vite servers (#9665) * Use node:test and node:assert/strict (#9649) * [ci] format * fix(i18n): emit an error when the index isn't found (#9678) * fix(i18n): emit an error when the index isn't found * changeset * Update .changeset/proud-guests-bake.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * rename * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * feat(i18n): add option to disable redirect to default language * chore: rebase * Update packages/astro/src/@types/astro.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * lock file update --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com> Co-authored-by: Martin Trapp <martrapp@users.noreply.github.com> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Bjorn Lu <bluwy@users.noreply.github.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17[ci] formatGravatar Oliver Speir 3-44/+52
2024-01-17Allow remark plugins to affect getImage call for .md files (#9566)Gravatar Oliver Speir 12-58/+215
* pass hProperties to getImage for optimized imgs * fix to allow multiple images to have hProps added * update test to reflect new expected result * add comment back in Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> * add srcset * works on multiple images * fix tests, fix images.ts type and remove console logs * add warning back to images.ts again lol * update changeset to be user oriented * Update calm-socks-shake.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * pass alt through getImage * added fixture and test * update lockfile * fix lockfile again (had installed an extra package during testing and had sharp33 installed) * update test to reflect passing alt through getImage --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17Bump shikiji, use transformers API, expose transformers API (#9643)Gravatar Degreat 12-105/+132
* Bump shikiji, use transformers API, expose transformers API * update astro config schema * include shikiji-core * Use default import * address css-variables theme * Remove shikiji markdoc * Improve schema transformers handling * Fix tests * Update changeset * bump shikiji version * Update .changeset/six-scissors-worry.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update wording Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: bluwy <bjornlu.dev@gmail.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17[Content collections] Remove "unsupported file type" warning (#9671)Gravatar Ben Holmes 4-73/+27
* feat: remove "unsupported file type" warning for CC * chore(test): remove unsupported file type unit * chore: remove unused imports * chore: changeset * chore: changeset edits * edit: add note on underscores to exclude content Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: front-load "removes the requirement" 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-17feat: add experimental client prerender (#9644)Gravatar Ross Robino 6-2/+206
* feat: add experimental client prerender * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * docs: add more details about effects of the feature * add changeset * add tests * edit jsdoc and changeset with suggestions * Update packages/astro/src/@types/astro.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Update packages/astro/src/prefetch/index.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Update .changeset/sixty-dogs-sneeze.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/sixty-dogs-sneeze.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/sixty-dogs-sneeze.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-17[ci] formatGravatar Emanuele Stoppa 14-153/+148
2024-01-17Adapter enhancements (#9661)Gravatar Emanuele Stoppa 34-789/+706
* quality of life updates for `App` (#9579) * feat(app): writeResponse for node-based adapters * add changeset * Apply suggestions from code review Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Apply suggestions from code review Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * add examples for NodeApp static methods * unexpose createOutgoingHttpHeaders from public api * move headers test to core * clientAddress test * cookies test * destructure renderOptions right at the start --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Fallback node standalone to localhost (#9545) * Fallback node standalone to localhost * Update .changeset/tame-squids-film.md * quality of life updates for the node adapter (#9582) * descriptive names for files and functions * update tests * add changeset * appease linter * Apply suggestions from code review Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * `server-entrypoint.js` -> `server.js` * prevent crash on stream error (from PR 9533) * Apply suggestions from code review Co-authored-by: Luiz Ferraz <luiz@lferraz.com> * `127.0.0.1` -> `localhost` * add changeset for fryuni's fix * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * chore(vercel): delete request response conversion logic (#9583) * refactor * add changeset * bump peer dependencies * unexpose symbols (#9683) * Update .changeset/tame-squids-film.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17Update a11y.ts (#9567)Gravatar Oliver Speir 2-3/+67
* improve error message and allow for aria-label, aria-labelledby, img alt and svg title * add checks for input * Update packages/astro/src/runtime/client/dev-overlay/plugins/audit/a11y.ts Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update .changeset/orange-trainers-learn.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17Simplify HMR for circular imports and CSS (#9706)Gravatar Bjorn Lu 12-103/+110
2024-01-16[ci] release (#9669)astro@4.1.3@astrojs/partytown@2.0.4Gravatar Houston (Bot) 40-95/+80
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-15fix: image proxy not working correctly (#9659)Gravatar Erika 18-30/+129
* fix: image proxy not working correctly * fix: only take in valid images * test: add tests * Create slimy-mayflies-vanish.md * nit: remove erika-ism
2024-01-15Add fallback compile for astro script and style load (#9664)Gravatar Bjorn Lu 2-2/+20
2024-01-15fix(ViewTransition): Disables View Transition form handling when the ↵Gravatar An Li 4-1/+24
`action` property points to an external URL.(#9674) (#9693)
2024-01-12[ci] formatGravatar Arsh 1-1/+1
2024-01-13fix(transitions router): attempt to find the clicked element within an open ↵Gravatar Arsh 4-0/+26
shadow root (#9685) * implementation * add test * add changeset
2024-01-12Update `check-merge` action (#9682)Gravatar Nate Moore 1-11/+15
2024-01-12fix(i18n): emit an error when the index isn't found (#9678)Gravatar Emanuele Stoppa 4-0/+29
* fix(i18n): emit an error when the index isn't found * changeset * Update .changeset/proud-guests-bake.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * rename * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-12[ci] formatGravatar Bjorn Lu 1-1/+1
2024-01-12Use node:test and node:assert/strict (#9649)Gravatar Bjorn Lu 9-55/+119
2024-01-12Disable file watcher for internal one-off vite servers (#9665)Gravatar Bjorn Lu 3-2/+7
2024-01-11refactor(toolbar): Rename every internal reference of overlay/plugins to ↵Gravatar Erika 35-387/+374
toolbar/apps (#9647) * refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps * refactor: rename vite plugin * fix: update import * nit: add setting fallback
2024-01-11fix(assets): Implement all hooks in the passthrough image service (#9668)Gravatar Erika 2-4/+6
* fix(assets): Implement all hooks in the passthrough image service * chore: changeset
2024-01-11[ci] formatGravatar Martin Trapp 1-3/+1
2024-01-11Force re-execution of Partytown's head snippet on view transitions (#9666)Gravatar Martin Trapp 2-0/+9
* Remove the header script before a view transition takes place to force a reload on the next page * Add changeset * Save another char
2024-01-11Fix discord fetch code (#9663)Gravatar Bjorn Lu 1-2/+2
2024-01-11[ci] release (#9625)create-astro@4.7.1astro@4.1.2@astrojs/vercel@6.1.4@astrojs/rss@4.0.2@astrojs/mdx@2.0.4Gravatar Houston (Bot) 50-127/+111
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11Don't try to load partytown scripts in the main thread during view ↵Gravatar Martin Trapp 2-1/+8
transitions (#9658)
2024-01-11Use esbuild for env replacement (#9652)Gravatar Bjorn Lu 11-76/+157
2024-01-10fix: pin Sharp at old version (#9653)Gravatar Erika 4-232/+45
* fix: pin Sharp at old version * chore: changeset * fix: try out a bigger range * chore: lockfile * fix: try again with just one version... * fix: lockfile * chore: use caret versions * chore: changeset
2024-01-10[ci] formatGravatar Arsh 2-12/+16
2024-01-10fix(vercel): fallback to static 404.html (#9648)Gravatar Arsh 10-3/+87
2024-01-10qol(cookies): warn when cookies are set after the headers have been sent (#9627)Gravatar Arsh 3-2/+28
2024-01-10fix(redirects): correctly compute the status code in redirects (#9657)Gravatar Emanuele Stoppa 3-3/+14
2024-01-09[docs] fix some error message syntax and add some lint rules to help (#9651)Gravatar Sarah Rainsberger 3-57/+74
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-01-09fix: add metadata to build error pages (#9641)Gravatar Emanuele Stoppa 1-1/+16
* fix: add metadata to build error pages * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-09Improve env var handling in SSR (#9637)Gravatar Bjorn Lu 3-21/+12
2024-01-08fix(rss): update test name to better match behavior (#9646)Gravatar Rob Mensching 1-1/+1
2024-01-08[ci] formatGravatar Martin Trapp 2-2/+2
2024-01-08Fixes an issue where view transitions to the 404-page did not work (#9642)Gravatar Martin Trapp 5-1/+36
* Add new e2e test * Ensure cloned Response keeps its headers * Add change set * Update changeset * Update .changeset/big-knives-own.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * Update packages/astro/src/vite-plugin-astro-server/route.ts Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-01-08Updates rule for adding 'docs pr' label (#9640)Gravatar Sarah Rainsberger 1-2/+0
2024-01-08[ci] formatGravatar Nate Moore 1-3/+3
2024-01-08Fix Discord release message (#9626)Gravatar Nate Moore 2-13/+20
* Fix Discord release message * chore: simplify discord webhook handling