astro 1.0.0-beta.69 → 1.0.0-beta.71
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/astro.js +1 -1
- package/dist/core/create-vite.js +1 -0
- package/dist/core/dev/index.js +1 -1
- package/dist/core/messages.js +2 -2
- package/dist/core/util.js +1 -1
- package/dist/types/@types/astro.d.ts +5 -5
- package/package.json +6 -6
package/astro.js
CHANGED
|
@@ -50,7 +50,7 @@ async function main() {
|
|
|
50
50
|
// it's okay to hard-code the valid Node versions here since they will not change over time.
|
|
51
51
|
if (typeof require === 'undefined') {
|
|
52
52
|
console.error(`\nNode.js v${version} is not supported by Astro!
|
|
53
|
-
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.
|
|
53
|
+
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.14.0"\n`);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// Not supported: Report the most helpful error message possible.
|
package/dist/core/create-vite.js
CHANGED
package/dist/core/dev/index.js
CHANGED
|
@@ -47,7 +47,7 @@ async function dev(config, options) {
|
|
|
47
47
|
site,
|
|
48
48
|
https: !!((_a = viteConfig.server) == null ? void 0 : _a.https)
|
|
49
49
|
}));
|
|
50
|
-
const currentVersion = "1.0.0-beta.
|
|
50
|
+
const currentVersion = "1.0.0-beta.71";
|
|
51
51
|
if (currentVersion.includes("-")) {
|
|
52
52
|
warn(options.logging, null, msg.prerelease({ currentVersion }));
|
|
53
53
|
}
|
package/dist/core/messages.js
CHANGED
|
@@ -47,7 +47,7 @@ function devStart({
|
|
|
47
47
|
https,
|
|
48
48
|
site
|
|
49
49
|
}) {
|
|
50
|
-
const version = "1.0.0-beta.
|
|
50
|
+
const version = "1.0.0-beta.71";
|
|
51
51
|
const rootPath = site ? site.pathname : "/";
|
|
52
52
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
53
53
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
@@ -206,7 +206,7 @@ function printHelp({
|
|
|
206
206
|
};
|
|
207
207
|
let message = [];
|
|
208
208
|
if (headline) {
|
|
209
|
-
message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"1.0.0-beta.
|
|
209
|
+
message.push(linebreak(), ` ${bgGreen(black(` ${commandName} `))} ${green(`v${"1.0.0-beta.71"}`)} ${headline}`);
|
|
210
210
|
}
|
|
211
211
|
if (usage) {
|
|
212
212
|
message.push(linebreak(), ` ${green(commandName)} ${bold(usage)}`);
|
package/dist/core/util.js
CHANGED
|
@@ -5,7 +5,7 @@ import resolve from "resolve";
|
|
|
5
5
|
import slash from "slash";
|
|
6
6
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
7
7
|
import { removeTrailingForwardSlash } from "./path.js";
|
|
8
|
-
const ASTRO_VERSION = "1.0.0-beta.
|
|
8
|
+
const ASTRO_VERSION = "1.0.0-beta.71";
|
|
9
9
|
function isObject(value) {
|
|
10
10
|
return typeof value === "object" && value != null;
|
|
11
11
|
}
|
|
@@ -465,9 +465,9 @@ export interface AstroUserConfig {
|
|
|
465
465
|
* @type {boolean}
|
|
466
466
|
* @default `false`
|
|
467
467
|
* @description
|
|
468
|
-
* Control
|
|
468
|
+
* Control whether Markdown draft pages should be included in the build.
|
|
469
469
|
*
|
|
470
|
-
* A
|
|
470
|
+
* A Markdown page is considered a draft if it includes `draft: true` in its frontmatter. Draft pages are always included & visible during development (`astro dev`) but by default they will not be included in your final build.
|
|
471
471
|
*
|
|
472
472
|
* ```js
|
|
473
473
|
* {
|
|
@@ -485,9 +485,9 @@ export interface AstroUserConfig {
|
|
|
485
485
|
* @type {'md' | 'mdx'}
|
|
486
486
|
* @default `mdx`
|
|
487
487
|
* @description
|
|
488
|
-
* Control
|
|
488
|
+
* Control whether Markdown processing is done using MDX or not.
|
|
489
489
|
*
|
|
490
|
-
* MDX processing enables you to use JSX inside your Markdown files. However, there may be instances where you don't want this behavior, and would rather use a "vanilla"
|
|
490
|
+
* MDX processing enables you to use JSX inside your Markdown files. However, there may be instances where you don't want this behavior, and would rather use a "vanilla" Markdown processor. This field allows you to control that behavior.
|
|
491
491
|
*
|
|
492
492
|
* ```js
|
|
493
493
|
* {
|
|
@@ -504,7 +504,7 @@ export interface AstroUserConfig {
|
|
|
504
504
|
* @name markdown.shikiConfig
|
|
505
505
|
* @typeraw {Partial<ShikiConfig>}
|
|
506
506
|
* @description
|
|
507
|
-
* Shiki configuration options. See [the
|
|
507
|
+
* Shiki configuration options. See [the Markdown configuration docs](https://docs.astro.build/en/guides/markdown-content/#shiki-configuration) for usage.
|
|
508
508
|
*/
|
|
509
509
|
shikiConfig?: Partial<ShikiConfig>;
|
|
510
510
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.71",
|
|
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",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"vendor"
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@astrojs/compiler": "^0.
|
|
73
|
+
"@astrojs/compiler": "^0.19.0",
|
|
74
74
|
"@astrojs/language-server": "^0.13.4",
|
|
75
|
-
"@astrojs/markdown-remark": "^0.11.
|
|
76
|
-
"@astrojs/prism": "0.
|
|
77
|
-
"@astrojs/telemetry": "^0.
|
|
75
|
+
"@astrojs/markdown-remark": "^0.11.7",
|
|
76
|
+
"@astrojs/prism": "0.6.0",
|
|
77
|
+
"@astrojs/telemetry": "^0.4.0",
|
|
78
78
|
"@astrojs/webapi": "^0.12.0",
|
|
79
79
|
"@babel/core": "^7.18.2",
|
|
80
80
|
"@babel/generator": "^7.18.2",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"srcset-parse": "^1.1.0"
|
|
159
159
|
},
|
|
160
160
|
"engines": {
|
|
161
|
-
"node": "^14.20.0 || >=16.
|
|
161
|
+
"node": "^14.20.0 || >=16.14.0",
|
|
162
162
|
"npm": ">=6.14.0"
|
|
163
163
|
},
|
|
164
164
|
"scripts": {
|