0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
astro/packages
Luiz Ferraz fd17f4a40b
Implement priority overrides for injected routes and redirects (#9439)
* 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 13:28:18 +00:00
..
astro Implement priority overrides for injected routes and redirects (#9439) 2024-01-17 13:28:18 +00:00
astro-prism Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
astro-rss [ci] release (#9625) 2024-01-11 16:32:08 +08:00
create-astro [ci] release (#9625) 2024-01-11 16:32:08 +08:00
integrations Bump shikiji, use transformers API, expose transformers API (#9643) 2024-01-17 13:13:05 +00:00
internal-helpers
markdown/remark [ci] format 2024-01-17 13:14:53 +00:00
telemetry Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
underscore-redirects Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
upgrade [ci] format 2024-01-12 07:54:11 +00:00