mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-02-03 17:23:22 +08:00
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 | minor | [`5.1.10` -> `5.2.3`](https://renovatebot.com/diffs/npm/astro/5.1.10/5.2.3) | --- > [!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.2.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#523) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.2...astro@5.2.3) ##### Patch Changes - [#​13113](https://redirect.github.com/withastro/astro/pull/13113) [`3a26e45`](3a26e45417) Thanks [@​unprintable123](https://redirect.github.com/unprintable123)! - Fixes the bug that rewrite will pass encoded url to the dynamic routing and cause params mismatch. - [#​13111](https://redirect.github.com/withastro/astro/pull/13111) [`23978dd`](23978ddfe1) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused injected endpoint routes to return not found when trailingSlash was set to always - [#​13112](https://redirect.github.com/withastro/astro/pull/13112) [`0fa5c82`](0fa5c82977) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where the i18n middleware was blocking a server island request when the `prefixDefaultLocale` option is set to `true` ### [`v5.2.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#522) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.1...astro@5.2.2) ##### Patch Changes - [#​13106](https://redirect.github.com/withastro/astro/pull/13106) [`187c4d3`](187c4d3244) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused peer dependency errors when running `astro add tailwind` ### [`v5.2.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#521) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.0...astro@5.2.1) ##### Patch Changes - [#​13095](https://redirect.github.com/withastro/astro/pull/13095) [`740eb60`](740eb6019f) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always" ### [`v5.2.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#520) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.1.10...astro@5.2.0) ##### Minor Changes - [#​12994](https://redirect.github.com/withastro/astro/pull/12994) [`5361755`](536175528d) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Redirects trailing slashes for on-demand pages When the `trailingSlash` option is set to `always` or `never`, on-demand rendered pages will now redirect to the correct URL when the trailing slash doesn't match the configuration option. This was previously the case for static pages, but now works for on-demand pages as well. Now, it doesn't matter whether your visitor navigates to `/about/`, `/about`, or even `/about///`. In production, they'll always end up on the correct page. For GET requests, the redirect will be a 301 (permanent) redirect, and for all other request methods, it will be a 308 (permanent, and preserve the request method) redirect. In development, you'll see a helpful 404 page to alert you of a trailing slash mismatch so you can troubleshoot routes. - [#​12979](https://redirect.github.com/withastro/astro/pull/12979) [`e621712`](e621712109) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds support for redirecting to external sites with the [`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects) configuration option. Now, you can redirect routes either internally to another path or externally by providing a URL beginning with `http` or `https`: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ redirects: { '/blog': 'https://example.com/blog', '/news': { status: 302, destination: 'https://example.com/news', }, }, }); ``` - [#​13084](https://redirect.github.com/withastro/astro/pull/13084) [`0f3be31`](0f3be3104e) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds a new experimental virtual module `astro:config` that exposes a type-safe subset of your `astro.config.mjs` configuration The virtual module exposes two sub-paths for controlled access to your configuration: - `astro:config/client`: exposes config information that is safe to expose to the client. - `astro:config/server`: exposes additional information that is safe to expose to the server, such as file/dir paths. To enable this new virtual module, add the `experimental.serializeManifest` feature flag to your Astro config: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { serializeManifest: true, }, }); ``` Then, you can access the module in any file inside your project to import and use values from your Astro config: ```js // src/utils.js import { trailingSlash } from 'astro:config/client'; function addForwardSlash(path) { if (trailingSlash === 'always') { return path.endsWith('/') ? path : path + '/'; } else { return path; } } ``` For a complete overview, and to give feedback on this experimental API, see the [Serialized Manifest RFC](https://redirect.github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md). ##### Patch Changes - [#​13049](https://redirect.github.com/withastro/astro/pull/13049) [`2ed4bd9`](2ed4bd90f2) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin instead of the `@astrojs/tailwind` integration - [#​12994](https://redirect.github.com/withastro/astro/pull/12994) [`5361755`](536175528d) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and the `trailingSlash` configuration - [#​12666](https://redirect.github.com/withastro/astro/pull/12666) [`037495d`](037495d437) Thanks [@​Thodor12](https://redirect.github.com/Thodor12)! - Added additional generated typings for the content layer - Updated dependencies \[[`5361755`](536175528d), [`db252e0`](db252e0692)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).5.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​6](https://redirect.github.com/6).1.0 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
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.2.1",
|
|
"@astrojs/starlight": "0.31.1",
|
|
"@astrojs/starlight-tailwind": "3.0.0",
|
|
"@astrojs/tailwind": "5.1.5",
|
|
"@playform/compress": "0.1.7",
|
|
"astro": "5.2.3",
|
|
"astro-better-image-service": "2.1.2",
|
|
"astro-integration-lottie": "0.3.2",
|
|
"astro-robots-txt": "1.0.0",
|
|
"lottie-web": "5.12.2",
|
|
"prettier": "3.4.2",
|
|
"sharp": "0.33.5",
|
|
"starlight-blog": "0.16.1",
|
|
"starlight-image-zoom": "0.10.1",
|
|
"starlight-links-validator": "0.14.2",
|
|
"tailwindcss": "3.4.17",
|
|
"typescript": "5.7.3"
|
|
}
|
|
}
|