@slidev/cli 0.31.3 → 0.32.2
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/{build-TARUTLV7.js → build-M2QTEV63.js} +11 -11
- package/dist/{build-OBPH6VDP.mjs → build-YVXTTUTD.mjs} +3 -3
- package/dist/{chunk-BGLVULPK.js → chunk-IW3TSLZF.js} +77 -67
- package/dist/{chunk-OVW2G2MH.js → chunk-JWGORJY6.js} +6 -5
- package/dist/{chunk-ZSZGLQND.mjs → chunk-KIXPXAQ6.mjs} +441 -3428
- package/dist/{chunk-D6ZT4BYV.mjs → chunk-NOFZO6W4.mjs} +7 -6
- package/dist/{chunk-MCHS7HQA.mjs → chunk-WZ6OPJJF.mjs} +23 -13
- package/dist/{chunk-2MKHYABM.js → chunk-YCIQGGRR.js} +577 -3564
- package/dist/cli.js +37 -37
- package/dist/cli.mjs +27 -27
- package/dist/{export-F63P4ZXM.mjs → export-GIPHUNUX.mjs} +3 -5
- package/dist/{export-I6OGAJWC.js → export-M6HJUIFY.js} +4 -6
- package/dist/index.d.ts +13 -69
- package/dist/index.js +9 -7
- package/dist/index.mjs +10 -8
- package/package.json +17 -17
- package/dist/chunk-C4GAL67V.js +0 -31
- package/dist/chunk-EIZSCDHU.mjs +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.2",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"homepage": "https://sli.dev",
|
|
6
6
|
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@antfu/utils": "^0.5.
|
|
43
|
-
"@iconify-json/carbon": "^1.1.
|
|
42
|
+
"@antfu/utils": "^0.5.2",
|
|
43
|
+
"@iconify-json/carbon": "^1.1.5",
|
|
44
44
|
"@iconify-json/ph": "^1.1.1",
|
|
45
|
-
"@slidev/client": "0.
|
|
46
|
-
"@slidev/parser": "0.
|
|
47
|
-
"@slidev/types": "0.
|
|
48
|
-
"@vitejs/plugin-vue": "^2.3.
|
|
49
|
-
"@vue/compiler-sfc": "^3.2.
|
|
50
|
-
"cli-progress": "^3.11.
|
|
51
|
-
"codemirror": "^5.65.
|
|
45
|
+
"@slidev/client": "0.32.2",
|
|
46
|
+
"@slidev/parser": "0.32.2",
|
|
47
|
+
"@slidev/types": "0.32.2",
|
|
48
|
+
"@vitejs/plugin-vue": "^2.3.3",
|
|
49
|
+
"@vue/compiler-sfc": "^3.2.35",
|
|
50
|
+
"cli-progress": "^3.11.1",
|
|
51
|
+
"codemirror": "^5.65.4",
|
|
52
52
|
"connect": "^3.7.0",
|
|
53
53
|
"debug": "^4.3.4",
|
|
54
54
|
"fast-glob": "^3.2.11",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"is-installed-globally": "^0.4.0",
|
|
59
59
|
"jiti": "^1.13.0",
|
|
60
60
|
"js-base64": "^3.7.2",
|
|
61
|
-
"katex": "^0.15.
|
|
61
|
+
"katex": "^0.15.6",
|
|
62
62
|
"kolorist": "^1.5.1",
|
|
63
63
|
"markdown-it": "^13.0.1",
|
|
64
64
|
"markdown-it-footnote": "^3.0.3",
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"resolve-global": "^1.0.0",
|
|
75
75
|
"shiki": "^0.10.1",
|
|
76
76
|
"unplugin-icons": "^0.14.3",
|
|
77
|
-
"unplugin-vue-components": "^0.19.
|
|
78
|
-
"vite": "^2.9.
|
|
79
|
-
"vite-plugin-md": "^0.13.
|
|
77
|
+
"unplugin-vue-components": "^0.19.5",
|
|
78
|
+
"vite": "^2.9.9",
|
|
79
|
+
"vite-plugin-md": "^0.13.1",
|
|
80
80
|
"vite-plugin-remote-assets": "^0.2.2",
|
|
81
81
|
"vite-plugin-vue-server-ref": "^0.2.4",
|
|
82
82
|
"vite-plugin-windicss": "^1.8.4",
|
|
83
|
-
"vue": "^3.2.
|
|
84
|
-
"windicss": "^3.5.
|
|
85
|
-
"yargs": "^17.
|
|
83
|
+
"vue": "^3.2.35",
|
|
84
|
+
"windicss": "^3.5.4",
|
|
85
|
+
"yargs": "^17.5.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@types/plantuml-encoder": "^1.4.0",
|
package/dist/chunk-C4GAL67V.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkBGLVULPKjs = require('./chunk-BGLVULPK.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkOVW2G2MHjs = require('./chunk-OVW2G2MH.js');
|
|
7
|
-
|
|
8
|
-
// node/server.ts
|
|
9
|
-
_chunkOVW2G2MHjs.init_cjs_shims.call(void 0, );
|
|
10
|
-
var _path = require('path');
|
|
11
|
-
var _vite = require('vite');
|
|
12
|
-
async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
13
|
-
const rawConfig = await _vite.resolveConfig.call(void 0, {}, "serve");
|
|
14
|
-
const pluginOptions = rawConfig.slidev || {};
|
|
15
|
-
process.env.EDITOR = process.env.EDITOR || "code";
|
|
16
|
-
const server = await _vite.createServer.call(void 0, _vite.mergeConfig.call(void 0, viteConfig, {
|
|
17
|
-
optimizeDeps: {
|
|
18
|
-
entries: [
|
|
19
|
-
_path.join.call(void 0, options.clientRoot, "main.ts")
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
plugins: [
|
|
23
|
-
await _chunkBGLVULPKjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
24
|
-
]
|
|
25
|
-
}));
|
|
26
|
-
return server;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.createServer = createServer;
|
package/dist/chunk-EIZSCDHU.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ViteSlidevPlugin
|
|
3
|
-
} from "./chunk-MCHS7HQA.mjs";
|
|
4
|
-
import {
|
|
5
|
-
init_esm_shims
|
|
6
|
-
} from "./chunk-D6ZT4BYV.mjs";
|
|
7
|
-
|
|
8
|
-
// node/server.ts
|
|
9
|
-
init_esm_shims();
|
|
10
|
-
import { join } from "path";
|
|
11
|
-
import { createServer as createViteServer, mergeConfig, resolveConfig } from "vite";
|
|
12
|
-
async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
13
|
-
const rawConfig = await resolveConfig({}, "serve");
|
|
14
|
-
const pluginOptions = rawConfig.slidev || {};
|
|
15
|
-
process.env.EDITOR = process.env.EDITOR || "code";
|
|
16
|
-
const server = await createViteServer(mergeConfig(viteConfig, {
|
|
17
|
-
optimizeDeps: {
|
|
18
|
-
entries: [
|
|
19
|
-
join(options.clientRoot, "main.ts")
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
plugins: [
|
|
23
|
-
await ViteSlidevPlugin(options, pluginOptions, serverOptions)
|
|
24
|
-
]
|
|
25
|
-
}));
|
|
26
|
-
return server;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
createServer
|
|
31
|
-
};
|