vitepress 1.6.2 → 1.6.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.
|
@@ -49369,7 +49369,7 @@ async function generateSitemap(siteConfig) {
|
|
|
49369
49369
|
});
|
|
49370
49370
|
}
|
|
49371
49371
|
|
|
49372
|
-
var version = "1.6.
|
|
49372
|
+
var version = "1.6.4";
|
|
49373
49373
|
|
|
49374
49374
|
async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags, usedIcons) {
|
|
49375
49375
|
const routePath = `/${page.replace(/\.md$/, "")}`;
|
package/dist/node/cli.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as getDefaultExportFromCjs, u as c, n as disposeMdItInstance, v as clearCache, l as init, b as build, o as serve, w as version, q as createServer } from './chunk-
|
|
1
|
+
import { t as getDefaultExportFromCjs, u as c, n as disposeMdItInstance, v as clearCache, l as init, b as build, o as serve, w as version, q as createServer } from './chunk-D3CUZ4fa.js';
|
|
2
|
+
import * as vite from 'vite';
|
|
2
3
|
import { createLogger } from 'vite';
|
|
3
4
|
import 'node:path';
|
|
4
5
|
import 'node:url';
|
|
@@ -434,6 +435,13 @@ if (!command || command === "dev") {
|
|
|
434
435
|
logVersion(server.config.logger);
|
|
435
436
|
server.printUrls();
|
|
436
437
|
bindShortcuts(server, createDevServer);
|
|
438
|
+
if (!isRestart && vite.rolldownVersion) {
|
|
439
|
+
server.config.logger.error(
|
|
440
|
+
c.red(
|
|
441
|
+
"\nVitePress v1 is not compatible with `rolldown-vite`. Use VitePress v2 instead."
|
|
442
|
+
)
|
|
443
|
+
);
|
|
444
|
+
}
|
|
437
445
|
};
|
|
438
446
|
createDevServer(false).catch((err) => {
|
|
439
447
|
createLogger().error(
|
package/dist/node/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalizePath } from 'vite';
|
|
2
2
|
export { loadEnv } from 'vite';
|
|
3
|
-
import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, p as postcssPrefixSelector } from './chunk-
|
|
4
|
-
export { S as ScaffoldThemeType, b as build, q as createServer, a as defineConfig, e as defineConfigWithTheme, d as defineLoader, n as disposeMdItInstance, l as init, i as mergeConfig, r as resolveConfig, k as resolvePages, j as resolveSiteData, h as resolveUserConfig, s as scaffold, o as serve } from './chunk-
|
|
3
|
+
import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, p as postcssPrefixSelector } from './chunk-D3CUZ4fa.js';
|
|
4
|
+
export { S as ScaffoldThemeType, b as build, q as createServer, a as defineConfig, e as defineConfigWithTheme, d as defineLoader, n as disposeMdItInstance, l as init, i as mergeConfig, r as resolveConfig, k as resolvePages, j as resolveSiteData, h as resolveUserConfig, s as scaffold, o as serve } from './chunk-D3CUZ4fa.js';
|
|
5
5
|
import path from 'node:path';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:module';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "Vite & Vue powered static site generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"*": "prettier --write --ignore-unknown"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@docsearch/css": "
|
|
61
|
-
"@docsearch/js": "
|
|
60
|
+
"@docsearch/css": "3.8.2",
|
|
61
|
+
"@docsearch/js": "3.8.2",
|
|
62
62
|
"@iconify-json/simple-icons": "^1.2.21",
|
|
63
63
|
"@shikijs/core": "^2.1.0",
|
|
64
64
|
"@shikijs/transformers": "^2.1.0",
|