* 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>
* 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>
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 165cfc154b
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* 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>