vitepress 1.4.4 → 1.5.0
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/client/app/ssr.js +1 -1
- package/dist/client/theme-default/components/VPSocialLink.vue +27 -2
- package/dist/client/theme-default/styles/icons.css +0 -33
- package/dist/node/{chunk-L6-oDwDi.js → chunk-DMuPggCS.js} +12008 -11456
- package/dist/node/cli.js +5 -6
- package/dist/node/index.js +6 -7
- package/package.json +3 -1
- package/template/.vitepress/theme/style.css +2 -2
- package/types/default-theme.d.ts +1 -13
- package/types/shared.d.ts +2 -0
package/dist/node/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-DMuPggCS.js';
|
|
2
2
|
import { createLogger } from 'vite';
|
|
3
3
|
import 'path';
|
|
4
4
|
import 'url';
|
|
5
|
-
import 'crypto';
|
|
6
|
-
import 'module';
|
|
5
|
+
import 'node:crypto';
|
|
6
|
+
import 'node:module';
|
|
7
7
|
import 'node:path';
|
|
8
|
+
import 'node:url';
|
|
8
9
|
import 'node:process';
|
|
9
10
|
import 'node:fs/promises';
|
|
10
|
-
import 'node:url';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
import 'fs';
|
|
13
13
|
import 'node:events';
|
|
@@ -30,9 +30,8 @@ import 'node:querystring';
|
|
|
30
30
|
import 'tty';
|
|
31
31
|
import 'constants';
|
|
32
32
|
import 'assert';
|
|
33
|
-
import '
|
|
33
|
+
import 'module';
|
|
34
34
|
import '@shikijs/transformers';
|
|
35
|
-
import 'node:module';
|
|
36
35
|
import 'shiki';
|
|
37
36
|
import './chunk-DQlKmeN_.js';
|
|
38
37
|
import 'node:worker_threads';
|
package/dist/node/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-DMuPggCS.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-DMuPggCS.js';
|
|
5
5
|
import path from 'path';
|
|
6
|
-
import 'crypto';
|
|
7
|
-
import 'module';
|
|
6
|
+
import 'node:crypto';
|
|
7
|
+
import 'node:module';
|
|
8
8
|
import 'node:path';
|
|
9
|
+
import 'node:url';
|
|
9
10
|
import 'node:process';
|
|
10
11
|
import 'node:fs/promises';
|
|
11
|
-
import 'node:url';
|
|
12
12
|
import 'node:fs';
|
|
13
13
|
import 'fs';
|
|
14
14
|
import 'node:events';
|
|
@@ -32,9 +32,8 @@ import 'node:querystring';
|
|
|
32
32
|
import 'tty';
|
|
33
33
|
import 'constants';
|
|
34
34
|
import 'assert';
|
|
35
|
-
import '
|
|
35
|
+
import 'module';
|
|
36
36
|
import '@shikijs/transformers';
|
|
37
|
-
import 'node:module';
|
|
38
37
|
import 'shiki';
|
|
39
38
|
import './chunk-DQlKmeN_.js';
|
|
40
39
|
import 'node:worker_threads';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Vite & Vue powered static site generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@docsearch/css": "^3.6.2",
|
|
64
64
|
"@docsearch/js": "^3.6.2",
|
|
65
|
+
"@iconify-json/simple-icons": "^1.2.10",
|
|
65
66
|
"@shikijs/core": "^1.22.2",
|
|
66
67
|
"@shikijs/transformers": "^1.22.2",
|
|
67
68
|
"@shikijs/types": "^1.22.2",
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@clack/prompts": "^0.7.0",
|
|
84
|
+
"@iconify/utils": "^2.1.33",
|
|
83
85
|
"@mdit-vue/plugin-component": "^2.1.3",
|
|
84
86
|
"@mdit-vue/plugin-frontmatter": "^2.1.3",
|
|
85
87
|
"@mdit-vue/plugin-headers": "^2.1.3",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Each colors have exact same color scale system with 3 levels of solid
|
|
10
10
|
* colors with different brightness, and 1 soft color.
|
|
11
|
-
*
|
|
11
|
+
*
|
|
12
12
|
* - `XXX-1`: The most solid color used mainly for colored text. It must
|
|
13
13
|
* satisfy the contrast ratio against when used on top of `XXX-soft`.
|
|
14
14
|
*
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* in custom container, badges, etc.
|
|
44
44
|
* -------------------------------------------------------------------------- */
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
:root {
|
|
47
47
|
--vp-c-default-1: var(--vp-c-gray-1);
|
|
48
48
|
--vp-c-default-2: var(--vp-c-gray-2);
|
|
49
49
|
--vp-c-default-3: var(--vp-c-gray-3);
|
package/types/default-theme.d.ts
CHANGED
|
@@ -333,19 +333,7 @@ export namespace DefaultTheme {
|
|
|
333
333
|
ariaLabel?: string
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export type SocialLinkIcon =
|
|
337
|
-
| 'discord'
|
|
338
|
-
| 'facebook'
|
|
339
|
-
| 'github'
|
|
340
|
-
| 'instagram'
|
|
341
|
-
| 'linkedin'
|
|
342
|
-
| 'mastodon'
|
|
343
|
-
| 'npm'
|
|
344
|
-
| 'slack'
|
|
345
|
-
| 'twitter'
|
|
346
|
-
| 'x'
|
|
347
|
-
| 'youtube'
|
|
348
|
-
| { svg: string }
|
|
336
|
+
export type SocialLinkIcon = string | { svg: string }
|
|
349
337
|
|
|
350
338
|
// footer --------------------------------------------------------------------
|
|
351
339
|
|
package/types/shared.d.ts
CHANGED