mirror of
https://github.com/truecharts/charts.git
synced 2026-07-06 15:31:23 -03:00
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.13.11` -> `5.14.0`](https://renovatebot.com/diffs/npm/astro/5.13.11/5.14.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!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> ### [`v5.14.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5140) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.13.11...astro@5.14.0) ##### Minor Changes - [#​13520](https://redirect.github.com/withastro/astro/pull/13520) [`a31edb8`](a31edb8daa) Thanks [@​openscript](https://redirect.github.com/openscript)! - Adds a new property `routePattern` available to `GetStaticPathsOptions` This provides the original, dynamic segment definition in a routing file path (e.g. `/[...locale]/[files]/[slug]`) from the Astro render context that would not otherwise be available within the scope of `getStaticPaths()`. This can be useful to calculate the `params` and `props` for each page route. For example, you can now localize your route segments and return an array of static paths by passing `routePattern` to a custom `getLocalizedData()` helper function. The `params` object will be set with explicit values for each route segment (e.g. `locale`, `files`, and `slug)`. Then, these values will be used to generate the routes and can be used in your page template via `Astro.params`. ```astro // src/pages/[...locale]/[files]/[slug].astro import { getLocalizedData } from "../../../utils/i18n"; export async function getStaticPaths({ routePattern }) { const response = await fetch('...'); const data = await response.json(); console.log(routePattern); // [...locale]/[files]/[slug] // Call your custom helper with `routePattern` to generate the static paths return data.flatMap((file) => getLocalizedData(file, routePattern)); } const { locale, files, slug } = Astro.params; ``` For more information about this advanced routing pattern, see Astro's [routing reference](https://docs.astro.build/en/reference/routing-reference/#routepattern). - [#​13651](https://redirect.github.com/withastro/astro/pull/13651) [`dcfbd8c`](dcfbd8c9d5) Thanks [@​ADTC](https://redirect.github.com/ADTC)! - Adds a new `SvgComponent` type You can now more easily enforce type safety for your `.svg` assets by directly importing `SVGComponent` from `astro/types`: </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:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
40 lines
1.6 KiB
JSON
40 lines
1.6 KiB
JSON
{
|
|
"name": "website",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "export NODE_OPTIONS=--max-old-space-size=22000 && astro dev",
|
|
"start": "export NODE_OPTIONS=--max-old-space-size=22000 && astro dev",
|
|
"check": "export NODE_OPTIONS=--max-old-space-size=22000 && astro check",
|
|
"build": "export NODE_OPTIONS=--max-old-space-size=22000 && astro build",
|
|
"preview": "export NODE_OPTIONS=--max-old-space-size=22000 && astro preview",
|
|
"astro": "export NODE_OPTIONS=--max-old-space-size=22000 && astro",
|
|
"dev-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro dev",
|
|
"start-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro dev",
|
|
"check-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro check",
|
|
"build-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro build",
|
|
"preview-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro preview",
|
|
"astro-windows": "set NODE_OPTIONS=--max-old-space-size=22000 && astro"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/check": "0.9.4",
|
|
"@astrojs/sitemap": "3.6.0",
|
|
"@astrojs/starlight": "0.31.1",
|
|
"@astrojs/starlight-tailwind": "3.0.1",
|
|
"@astrojs/tailwind": "6.0.2",
|
|
"@playform/compress": "0.2.0",
|
|
"astro": "5.14.0",
|
|
"astro-better-image-service": "2.1.9",
|
|
"astro-integration-lottie": "0.3.2",
|
|
"astro-robots-txt": "1.0.0",
|
|
"lottie-web": "5.13.0",
|
|
"prettier": "3.6.2",
|
|
"sharp": "0.34.4",
|
|
"starlight-blog": "0.16.1",
|
|
"starlight-image-zoom": "0.10.1",
|
|
"starlight-links-validator": "0.14.3",
|
|
"tailwindcss": "3.4.17",
|
|
"typescript": "5.9.2"
|
|
}
|
|
}
|