aafcdb45e2
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.7` -> `4.16.8`](https://renovatebot.com/diffs/npm/astro/4.16.7/4.16.8) | --- > [!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.8`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4168) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.7...astro@4.16.8) ##### Patch Changes - [#​12338](https://redirect.github.com/withastro/astro/pull/12338) [`9ca89b3`](https://redirect.github.com/withastro/astro/commit/9ca89b3e13d47e146989cfabb916d6599d140f03) Thanks [@​situ2001](https://redirect.github.com/situ2001)! - Resets `NODE_ENV` to ensure install command run in dev mode - [#​12286](https://redirect.github.com/withastro/astro/pull/12286) [`9d6bcdb`](https://redirect.github.com/withastro/astro/commit/9d6bcdb88fcb9df0c5c70e2b591bcf962ce55f63) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where a warning for experimental `astro:env` support would be shown when using an adapter but not actually using `astro:env` - [#​12342](https://redirect.github.com/withastro/astro/pull/12342) [`ffc836b`](https://redirect.github.com/withastro/astro/commit/ffc836bac0cdea684ea91f958ac8298d4ee4b07d) Thanks [@​liruifengv](https://redirect.github.com/liruifengv)! - Fixes a typo in the command name of the CLI - [#​12301](https://redirect.github.com/withastro/astro/pull/12301) [`0cfc69d`](https://redirect.github.com/withastro/astro/commit/0cfc69d499815d4e1f1dc37cf32653195586087a) Thanks [@​apatel369](https://redirect.github.com/apatel369)! - Fixes an issue with action handler context by passing the correct context (`ActionAPIContext`). - [#​12312](https://redirect.github.com/withastro/astro/pull/12312) [`5642ef9`](https://redirect.github.com/withastro/astro/commit/5642ef9029890fc29793c160321f78f62cdaafcb) Thanks [@​koyopro](https://redirect.github.com/koyopro)! - Fixes an issue where using `getViteConfig()` returns incorrect and duplicate configuration - [#​12245](https://redirect.github.com/withastro/astro/pull/12245) [`1d4f6a4`](https://redirect.github.com/withastro/astro/commit/1d4f6a4989bc1cfd7109b1bff41503f115660e02) Thanks [@​bmenant](https://redirect.github.com/bmenant)! - Add `components` property to MDXInstance type definition (RenderResult and module import) - [#​12340](https://redirect.github.com/withastro/astro/pull/12340) [`94eaeea`](https://redirect.github.com/withastro/astro/commit/94eaeea1c437402ffc44103126b355adab4b8a01) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where Astro actions didn't work when `base` was different from `/` </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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzUuMyIsInVwZGF0ZWRJblZlciI6IjM4LjEzNS4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
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.