* fix: handle error at load for apps
* Revert "fix: handle error at load for apps"
This reverts commit df9e98a8c4.
* fix: handle errors in load and init
* chore: changeset
* fix: build
* feat: add db as top-level config value
* merge
* add passthrough db command
* refactor: remove extra changes
* docs: update type info
* chore: remove changeset
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>