astro 5.5.0 → 5.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -153,7 +153,7 @@ ${contentConfig.error.message}`);
153
153
  logger.info("Content config changed");
154
154
  shouldClear = true;
155
155
  }
156
- if (previousAstroVersion && previousAstroVersion !== "5.5.0") {
156
+ if (previousAstroVersion && previousAstroVersion !== "5.5.1") {
157
157
  logger.info("Astro version changed");
158
158
  shouldClear = true;
159
159
  }
@@ -161,8 +161,8 @@ ${contentConfig.error.message}`);
161
161
  logger.info("Clearing content store");
162
162
  this.#store.clearAll();
163
163
  }
164
- if ("5.5.0") {
165
- await this.#store.metaStore().set("astro-version", "5.5.0");
164
+ if ("5.5.1") {
165
+ await this.#store.metaStore().set("astro-version", "5.5.1");
166
166
  }
167
167
  if (currentConfigDigest) {
168
168
  await this.#store.metaStore().set("content-config-digest", currentConfigDigest);
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "5.5.0";
1
+ const ASTRO_VERSION = "5.5.1";
2
2
  const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
3
3
  const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite";
4
4
  const REWRITE_DIRECTIVE_HEADER_VALUE = "yes";
@@ -22,7 +22,7 @@ async function dev(inlineConfig) {
22
22
  await telemetry.record([]);
23
23
  const restart = await createContainerWithAutomaticRestart({ inlineConfig, fs });
24
24
  const logger = restart.container.logger;
25
- const currentVersion = "5.5.0";
25
+ const currentVersion = "5.5.1";
26
26
  const isPrerelease = currentVersion.includes("-");
27
27
  if (!isPrerelease) {
28
28
  try {
@@ -38,7 +38,7 @@ function serverStart({
38
38
  host,
39
39
  base
40
40
  }) {
41
- const version = "5.5.0";
41
+ const version = "5.5.1";
42
42
  const localPrefix = `${dim("\u2503")} Local `;
43
43
  const networkPrefix = `${dim("\u2503")} Network `;
44
44
  const emptyPrefix = " ".repeat(11);
@@ -282,7 +282,7 @@ function printHelp({
282
282
  message.push(
283
283
  linebreak(),
284
284
  ` ${bgGreen(black(` ${commandName} `))} ${green(
285
- `v${"5.5.0"}`
285
+ `v${"5.5.1"}`
286
286
  )} ${headline}`
287
287
  );
288
288
  }
@@ -2096,7 +2096,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
2096
2096
  * ```
2097
2097
  *
2098
2098
  */
2099
- preserveScriptOrder: boolean;
2099
+ preserveScriptOrder?: boolean;
2100
2100
  };
2101
2101
  }
2102
2102
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "5.5.0",
3
+ "version": "5.5.1",
4
4
  "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
5
5
  "type": "module",
6
6
  "author": "withastro",
@@ -158,8 +158,8 @@
158
158
  "zod": "^3.24.2",
159
159
  "zod-to-json-schema": "^3.24.3",
160
160
  "zod-to-ts": "^1.2.0",
161
- "@astrojs/markdown-remark": "6.3.0",
162
161
  "@astrojs/internal-helpers": "0.6.1",
162
+ "@astrojs/markdown-remark": "6.3.0",
163
163
  "@astrojs/telemetry": "3.2.0"
164
164
  },
165
165
  "optionalDependencies": {