4428005caa
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | dependencies | patch | [`4.16.13` -> `4.16.14`](https://renovatebot.com/diffs/npm/astro/4.16.13/4.16.14) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v4.16.14`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#41614) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.13...astro@4.16.14) ##### Patch Changes - [#​12480](https://redirect.github.com/withastro/astro/pull/12480) [`c3b7e7c`](https://redirect.github.com/withastro/astro/commit/c3b7e7cfa13603c08eb923703f31a92d514e82db) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Removes the default throw behavior in `astro:env` - [#​12444](https://redirect.github.com/withastro/astro/pull/12444) [`28dd3ce`](https://redirect.github.com/withastro/astro/commit/28dd3ce5222a667fe113238254edf59318b3fa14) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM. - [#​12476](https://redirect.github.com/withastro/astro/pull/12476) [`80a9a52`](https://redirect.github.com/withastro/astro/commit/80a9a5299a9d51f2b09900d3200976d687feae8f) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where the Content Layer `glob()` loader would not update when renaming or deleting an entry - [#​12418](https://redirect.github.com/withastro/astro/pull/12418) [`25baa4e`](https://redirect.github.com/withastro/astro/commit/25baa4ed0c5f55fa85c2c7e2c15848937ed1dc9b) Thanks [@​oliverlynch](https://redirect.github.com/oliverlynch)! - Fix cached image redownloading if it is the first asset - [#​12477](https://redirect.github.com/withastro/astro/pull/12477) [`46f6b38`](https://redirect.github.com/withastro/astro/commit/46f6b386b3db6332f286d79958ef10261958cceb) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where the SSR build was emitting the `dist/server/entry.mjs` file with an incorrect import at the top of the file/ - [#​12365](https://redirect.github.com/withastro/astro/pull/12365) [`a23985b`](https://redirect.github.com/withastro/astro/commit/a23985b02165c2ddce56d511b3f97b6815c452c9) Thanks [@​apatel369](https://redirect.github.com/apatel369)! - Fixes an issue where `Astro.currentLocale` was not correctly returning the locale for 404 and 500 pages. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
Chart Docs
News
- To add new authors, add their username in the
authors.tsfile insrc/content/docs/news/authors.ts. - News Posts must have these fields in the
frontmatter:titleslug(must start withnews/)dateauthors(The key in theauthorsobject insrc/content/docs/news/authors.ts)
Supported Code Block Languages
Check upstream docs
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run dev-windows |
Starts local dev server on windows machines |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.
Images can be added to src/assets/ and embedded in Markdown with a relative link.
Static assets, like favicons, can be placed in the public/ directory.
👀 Want to learn more?
Check out Starlight’s docs, read the Astro documentation, or jump into the Astro Discord server.