astro 0.25.3 → 0.25.4
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.
package/dist/cli/index.js
CHANGED
package/dist/core/config.js
CHANGED
|
@@ -92,7 +92,7 @@ async function validateConfig(userConfig, root) {
|
|
|
92
92
|
console.error("Update your configuration and install new dependencies:");
|
|
93
93
|
try {
|
|
94
94
|
const rendererKeywords = userConfig.renderers.map((r) => r.replace("@astrojs/renderer-", ""));
|
|
95
|
-
const rendererImports = rendererKeywords.map((r) => ` import ${r} from '@astrojs/${r}';`).join("\n");
|
|
95
|
+
const rendererImports = rendererKeywords.map((r) => ` import ${r} from '@astrojs/${r === "solid" ? "solid-js" : r}';`).join("\n");
|
|
96
96
|
const rendererIntegrations = rendererKeywords.map((r) => ` ${r}(),`).join("\n");
|
|
97
97
|
console.error("");
|
|
98
98
|
console.error(colors.dim(" // astro.config.js"));
|
package/dist/core/dev/index.js
CHANGED
|
@@ -23,7 +23,7 @@ async function dev(config, options = { logging: defaultLogOptions }) {
|
|
|
23
23
|
const devServerAddressInfo = viteServer.httpServer.address();
|
|
24
24
|
const site = config.buildOptions.site ? new URL(config.buildOptions.site) : void 0;
|
|
25
25
|
info(options.logging, null, msg.devStart({ startupTime: performance.now() - devStart, config, devServerAddressInfo, site, https: !!((_a = viteConfig.server) == null ? void 0 : _a.https) }));
|
|
26
|
-
const currentVersion = "0.25.
|
|
26
|
+
const currentVersion = "0.25.4";
|
|
27
27
|
if (currentVersion.includes("-")) {
|
|
28
28
|
warn(options.logging, null, msg.prerelease({ currentVersion }));
|
|
29
29
|
}
|
package/dist/core/messages.js
CHANGED
|
@@ -28,7 +28,7 @@ function devStart({
|
|
|
28
28
|
https,
|
|
29
29
|
site
|
|
30
30
|
}) {
|
|
31
|
-
const version = "0.25.
|
|
31
|
+
const version = "0.25.4";
|
|
32
32
|
const rootPath = site ? site.pathname : "/";
|
|
33
33
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
34
34
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
@@ -121,7 +121,7 @@ function printHelp({
|
|
|
121
121
|
};
|
|
122
122
|
let message = [];
|
|
123
123
|
if (headline) {
|
|
124
|
-
message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"0.25.
|
|
124
|
+
message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"0.25.4"}`)} ${headline}`);
|
|
125
125
|
}
|
|
126
126
|
if (usage) {
|
|
127
127
|
message.push(linebreak(), ` ${green(commandName)} ${bold(usage)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.4",
|
|
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",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"execa": "^6.1.0",
|
|
89
89
|
"fast-glob": "^3.2.11",
|
|
90
90
|
"fast-xml-parser": "^4.0.7",
|
|
91
|
-
"html-entities": "^2.3.
|
|
91
|
+
"html-entities": "^2.3.3",
|
|
92
92
|
"html-escaper": "^3.0.3",
|
|
93
93
|
"htmlparser2": "^7.2.0",
|
|
94
94
|
"kleur": "^4.1.4",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"tsconfig-resolver": "^3.0.1",
|
|
121
121
|
"vite": "^2.8.6",
|
|
122
122
|
"yargs-parser": "^21.0.1",
|
|
123
|
-
"zod": "^3.14.
|
|
123
|
+
"zod": "^3.14.3"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/types": "^7.17.0",
|