@slidev/cli 0.23.2 → 0.25.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.
@@ -8,7 +8,7 @@ import {
8
8
  resolveImportPath,
9
9
  stringifyMarkdownTokens,
10
10
  toAtFS
11
- } from "./chunk-G3DZBNYL.mjs";
11
+ } from "./chunk-DFNSCAEG.mjs";
12
12
 
13
13
  // ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
14
14
  var require_fast_deep_equal = __commonJS({
@@ -233,23 +233,23 @@ var dependencies = {
233
233
  "@antfu/utils": "^0.3.0",
234
234
  "@slidev/parser": "workspace:*",
235
235
  "@slidev/types": "workspace:*",
236
- "@vueuse/core": "^6.3.3",
236
+ "@vueuse/core": "^6.4.0",
237
237
  "@vueuse/head": "^0.6.0",
238
238
  "@vueuse/motion": "^1.6.0",
239
239
  codemirror: "^5.62.3",
240
- drauu: "^0.1.0",
240
+ drauu: "0.1.0",
241
241
  "file-saver": "^2.0.5",
242
- "js-base64": "^3.7.0",
242
+ "js-base64": "^3.7.1",
243
243
  "js-yaml": "^4.1.0",
244
244
  katex: "^0.13.18",
245
245
  mermaid: "^8.12.1",
246
246
  "monaco-editor": "^0.27.0",
247
247
  nanoid: "^3.1.25",
248
- prettier: "^2.4.0",
248
+ prettier: "^2.4.1",
249
249
  recordrtc: "^5.6.2",
250
250
  resolve: "^1.20.0",
251
- "vite-plugin-windicss": "^1.4.2",
252
- vue: "^3.2.11",
251
+ "vite-plugin-windicss": "^1.4.3",
252
+ vue: "^3.2.12",
253
253
  "vue-router": "^4.0.11",
254
254
  windicss: "^3.1.7"
255
255
  };
@@ -1340,11 +1340,14 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
1340
1340
  exclude: [],
1341
1341
  resolvers: [
1342
1342
  IconsResolver({
1343
- prefix: ""
1343
+ prefix: "",
1344
+ customCollections: Object.keys(iconsOptions.customCollections || [])
1344
1345
  })
1345
1346
  ]
1346
1347
  }, componentsOptions)),
1347
- Icons(__spreadValues({}, iconsOptions)),
1348
+ Icons(__spreadValues({
1349
+ defaultClass: "slidev-icon"
1350
+ }, iconsOptions)),
1348
1351
  config.remoteAssets === true || config.remoteAssets === mode ? RemoteAssets(__spreadValues({
1349
1352
  rules: [
1350
1353
  ...DefaultRules,
@@ -22,11 +22,12 @@ var __spreadValues = (a, b) => {
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
24
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
25
- var __require = (x) => {
26
- if (typeof require !== "undefined")
27
- return require(x);
25
+ var __require = typeof require !== "undefined" ? require : (x) => {
28
26
  throw new Error('Dynamic require of "' + x + '" is not supported');
29
27
  };
28
+ var __esm = (fn, res) => function __init() {
29
+ return fn && (res = (0, fn[Object.keys(fn)[0]])(fn = 0)), res;
30
+ };
30
31
  var __commonJS = (cb, mod) => function __require2() {
31
32
  return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
32
33
  };
@@ -42,7 +43,16 @@ var __toModule = (module) => {
42
43
  return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
43
44
  };
44
45
 
46
+ // ../../node_modules/.pnpm/tsup@5.1.0_typescript@4.4.3/node_modules/tsup/assets/cjs_shims.js
47
+ var importMetaUrlShim;
48
+ var init_cjs_shims = __esm({
49
+ "../../node_modules/.pnpm/tsup@5.1.0_typescript@4.4.3/node_modules/tsup/assets/cjs_shims.js"() {
50
+ importMetaUrlShim = typeof document === "undefined" ? new (__require("url")).URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
51
+ }
52
+ });
53
+
45
54
  // node/utils.ts
55
+ init_cjs_shims();
46
56
  var _utils = require('@antfu/utils');
47
57
  var _isinstalledglobally = require('is-installed-globally'); var _isinstalledglobally2 = _interopRequireDefault(_isinstalledglobally);
48
58
  var _resolve = require('resolve');
@@ -89,4 +99,5 @@ function generateGoogleFontsUrl(options) {
89
99
 
90
100
 
91
101
 
92
- exports.__spreadValues = __spreadValues; exports.__spreadProps = __spreadProps; exports.__require = __require; exports.__commonJS = __commonJS; exports.__toModule = __toModule; exports.toAtFS = toAtFS; exports.resolveImportPath = resolveImportPath; exports.stringifyMarkdownTokens = stringifyMarkdownTokens; exports.generateGoogleFontsUrl = generateGoogleFontsUrl;
102
+
103
+ exports.__spreadValues = __spreadValues; exports.__spreadProps = __spreadProps; exports.__require = __require; exports.__commonJS = __commonJS; exports.__toModule = __toModule; exports.init_cjs_shims = init_cjs_shims; exports.toAtFS = toAtFS; exports.resolveImportPath = resolveImportPath; exports.stringifyMarkdownTokens = stringifyMarkdownTokens; exports.generateGoogleFontsUrl = generateGoogleFontsUrl;
package/dist/cli.js CHANGED
@@ -1,23 +1,25 @@
1
1
  "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkUJKYYHMFjs = require('./chunk-UJKYYHMF.js');
3
+ var _chunkAIJ26HP4js = require('./chunk-AIJ26HP4.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkS6F4YP7Zjs = require('./chunk-S6F4YP7Z.js');
10
+ var _chunkQZN3O36Fjs = require('./chunk-QZN3O36F.js');
11
11
 
12
12
 
13
- var _chunkM25N7CYCjs = require('./chunk-M25N7CYC.js');
13
+ var _chunk2C5QEPFEjs = require('./chunk-2C5QEPFE.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkKRCSYS75js = require('./chunk-KRCSYS75.js');
17
+
18
+ var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
18
19
 
19
20
  // node/cli.ts
20
- var import_fast_deep_equal = _chunkKRCSYS75js.__toModule.call(void 0, _chunkM25N7CYCjs.require_fast_deep_equal.call(void 0, ));
21
+ _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
22
+ var import_fast_deep_equal = _chunkZKLT77C5js.__toModule.call(void 0, _chunk2C5QEPFEjs.require_fast_deep_equal.call(void 0, ));
21
23
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
22
24
  var _net = require('net'); var _net2 = _interopRequireDefault(_net);
23
25
  var _os = require('os'); var _os2 = _interopRequireDefault(_os);
@@ -40,7 +42,7 @@ var CONFIG_RESTART_FIELDS = [
40
42
  "routerMode",
41
43
  "fonts"
42
44
  ];
43
- var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkS6F4YP7Zjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
45
+ var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkQZN3O36Fjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
44
46
  cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
45
47
  alias: "p",
46
48
  type: "number",
@@ -84,9 +86,9 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
84
86
  async function initServer() {
85
87
  if (server)
86
88
  await server.close();
87
- const options = await _chunkS6F4YP7Zjs.resolveOptions.call(void 0, { entry, theme }, "dev");
89
+ const options = await _chunkQZN3O36Fjs.resolveOptions.call(void 0, { entry, theme }, "dev");
88
90
  port = userPort || await findFreePort(3030);
89
- server = await _chunkUJKYYHMFjs.createServer.call(void 0, options, {
91
+ server = await _chunkAIJ26HP4js.createServer.call(void 0, options, {
90
92
  server: {
91
93
  port,
92
94
  strictPort: true,
@@ -97,7 +99,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
97
99
  logLevel: log
98
100
  }, {
99
101
  onDataReload(newData, data) {
100
- if (!theme && _chunkS6F4YP7Zjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkS6F4YP7Zjs.resolveThemeName.call(void 0, data.config.theme)) {
102
+ if (!theme && _chunkQZN3O36Fjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkQZN3O36Fjs.resolveThemeName.call(void 0, data.config.theme)) {
101
103
  console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
102
104
  initServer();
103
105
  } else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
@@ -167,8 +169,8 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
167
169
  type: "boolean",
168
170
  describe: "allow download as PDF"
169
171
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
170
- const { build } = await Promise.resolve().then(() => _chunkKRCSYS75js.__toModule.call(void 0, _chunkKRCSYS75js.__require.call(void 0, "./build-QDRV2UJ5.js")));
171
- const options = await _chunkS6F4YP7Zjs.resolveOptions.call(void 0, { entry, theme }, "build");
172
+ const { build } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./build-T3JISGJJ.js")));
173
+ const options = await _chunkQZN3O36Fjs.resolveOptions.call(void 0, { entry, theme }, "build");
172
174
  if (download && !options.data.config.download)
173
175
  options.data.config.download = download;
174
176
  printInfo(options);
@@ -191,16 +193,16 @@ cli.command("theme [subcommand]", "Theme related operations", (command) => {
191
193
  default: "theme"
192
194
  }), async ({ entry, dir, theme: themeInput }) => {
193
195
  const data = await _fs.load.call(void 0, entry);
194
- const theme = _chunkS6F4YP7Zjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
196
+ const theme = _chunkQZN3O36Fjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
195
197
  if (theme === "none") {
196
198
  console.error('Can not eject theme "none"');
197
199
  process.exit(1);
198
200
  }
199
- if (_chunkS6F4YP7Zjs.isPath.call(void 0, theme)) {
201
+ if (_chunkQZN3O36Fjs.isPath.call(void 0, theme)) {
200
202
  console.error("Theme is already ejected");
201
203
  process.exit(1);
202
204
  }
203
- const roots = _chunkS6F4YP7Zjs.getThemeRoots.call(void 0, theme, entry);
205
+ const roots = _chunkQZN3O36Fjs.getThemeRoots.call(void 0, theme, entry);
204
206
  if (!roots.length) {
205
207
  console.error(`Does not found theme "${theme}"`);
206
208
  process.exit(1);
@@ -255,10 +257,10 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
255
257
  }) => {
256
258
  output = output || `${_path2.default.basename(entry, ".md")}-export`;
257
259
  process.env.NODE_ENV = "production";
258
- const { exportSlides } = await Promise.resolve().then(() => _chunkKRCSYS75js.__toModule.call(void 0, _chunkKRCSYS75js.__require.call(void 0, "./export-ZTTMEOKV.js")));
260
+ const { exportSlides } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./export-VLRAN6SC.js")));
259
261
  const port = await findFreePort(12445);
260
- const options = await _chunkS6F4YP7Zjs.resolveOptions.call(void 0, { entry, theme }, "build");
261
- const server = await _chunkUJKYYHMFjs.createServer.call(void 0, options, {
262
+ const options = await _chunkQZN3O36Fjs.resolveOptions.call(void 0, { entry, theme }, "build");
263
+ const server = await _chunkAIJ26HP4js.createServer.call(void 0, options, {
262
264
  server: { port },
263
265
  logLevel: "error",
264
266
  clearScreen: false
@@ -302,7 +304,7 @@ function printInfo(options, port, remote) {
302
304
  console.log();
303
305
  console.log();
304
306
  console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
305
- console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkS6F4YP7Zjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
307
+ console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkQZN3O36Fjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
306
308
  console.log();
307
309
  console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
308
310
  console.log(_kolorist.dim.call(void 0, " entry ") + _kolorist.dim.call(void 0, _path2.default.dirname(options.entry) + _path2.default.sep) + _path2.default.basename(options.entry));
package/dist/cli.mjs CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-VWK3TRVU.mjs";
3
+ } from "./chunk-JFAR7TWB.mjs";
4
4
  import {
5
5
  getThemeRoots,
6
6
  isPath,
7
7
  resolveOptions,
8
8
  resolveThemeName,
9
9
  version
10
- } from "./chunk-6LUF2SCB.mjs";
10
+ } from "./chunk-BCAVCX4N.mjs";
11
11
  import {
12
12
  require_fast_deep_equal
13
- } from "./chunk-NHK2R4LN.mjs";
13
+ } from "./chunk-YULAXBCT.mjs";
14
14
  import {
15
15
  __require,
16
16
  __toModule
17
- } from "./chunk-G3DZBNYL.mjs";
17
+ } from "./chunk-DFNSCAEG.mjs";
18
18
 
19
19
  // node/cli.ts
20
20
  var import_fast_deep_equal = __toModule(require_fast_deep_equal());
@@ -167,7 +167,7 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
167
167
  type: "boolean",
168
168
  describe: "allow download as PDF"
169
169
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
170
- const { build } = await Promise.resolve().then(() => __toModule(__require("./build-IEU5WUDM.mjs")));
170
+ const { build } = await Promise.resolve().then(() => __toModule(__require("./build-I3BGLWRY.mjs")));
171
171
  const options = await resolveOptions({ entry, theme }, "build");
172
172
  if (download && !options.data.config.download)
173
173
  options.data.config.download = download;
@@ -255,7 +255,7 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
255
255
  }) => {
256
256
  output = output || `${path.basename(entry, ".md")}-export`;
257
257
  process.env.NODE_ENV = "production";
258
- const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-SNR56WLB.mjs")));
258
+ const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-IQ5M5YN3.mjs")));
259
259
  const port = await findFreePort(12445);
260
260
  const options = await resolveOptions({ entry, theme }, "build");
261
261
  const server = await createServer(options, {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  packageExists
3
- } from "./chunk-6LUF2SCB.mjs";
3
+ } from "./chunk-BCAVCX4N.mjs";
4
4
  import {
5
5
  __require,
6
6
  __toModule
7
- } from "./chunk-G3DZBNYL.mjs";
7
+ } from "./chunk-DFNSCAEG.mjs";
8
8
 
9
9
  // node/export.ts
10
10
  import path from "path";
@@ -1,12 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkS6F4YP7Zjs = require('./chunk-S6F4YP7Z.js');
3
+ var _chunkQZN3O36Fjs = require('./chunk-QZN3O36F.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkKRCSYS75js = require('./chunk-KRCSYS75.js');
7
+
8
+ var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
8
9
 
9
10
  // node/export.ts
11
+ _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
10
12
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
11
13
  var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
12
14
  var _pdflib = require('pdf-lib');
@@ -60,9 +62,9 @@ async function exportSlides({
60
62
  height = 1080,
61
63
  withClicks = false
62
64
  }) {
63
- if (!_chunkS6F4YP7Zjs.packageExists.call(void 0, "playwright-chromium"))
65
+ if (!_chunkQZN3O36Fjs.packageExists.call(void 0, "playwright-chromium"))
64
66
  throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i playwright-chromium`");
65
- const { chromium } = await Promise.resolve().then(() => _chunkKRCSYS75js.__toModule.call(void 0, _chunkKRCSYS75js.__require.call(void 0, "playwright-chromium")));
67
+ const { chromium } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "playwright-chromium")));
66
68
  const browser = await chromium.launch();
67
69
  const context = await browser.newContext({
68
70
  viewport: {
package/dist/index.js CHANGED
@@ -1,18 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
- var _chunkUJKYYHMFjs = require('./chunk-UJKYYHMF.js');
3
+ var _chunkAIJ26HP4js = require('./chunk-AIJ26HP4.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkS6F4YP7Zjs = require('./chunk-S6F4YP7Z.js');
10
+ var _chunkQZN3O36Fjs = require('./chunk-QZN3O36F.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkM25N7CYCjs = require('./chunk-M25N7CYC.js');
15
- require('./chunk-KRCSYS75.js');
14
+ var _chunk2C5QEPFEjs = require('./chunk-2C5QEPFE.js');
15
+
16
+
17
+ var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
18
+
19
+ // node/index.ts
20
+ _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
21
+
22
+ // node/declare.ts
23
+ _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
16
24
 
17
25
  // node/index.ts
18
26
  var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
@@ -26,4 +34,4 @@ var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs
26
34
 
27
35
 
28
36
 
29
- exports.ViteSlidevPlugin = _chunkM25N7CYCjs.ViteSlidevPlugin; exports.createServer = _chunkUJKYYHMFjs.createServer; exports.createWindiCSSPlugin = _chunkM25N7CYCjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkS6F4YP7Zjs.getCLIRoot; exports.getClientRoot = _chunkS6F4YP7Zjs.getClientRoot; exports.getThemeRoots = _chunkS6F4YP7Zjs.getThemeRoots; exports.isPath = _chunkS6F4YP7Zjs.isPath; exports.parser = parser; exports.resolveOptions = _chunkS6F4YP7Zjs.resolveOptions;
37
+ exports.ViteSlidevPlugin = _chunk2C5QEPFEjs.ViteSlidevPlugin; exports.createServer = _chunkAIJ26HP4js.createServer; exports.createWindiCSSPlugin = _chunk2C5QEPFEjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkQZN3O36Fjs.getCLIRoot; exports.getClientRoot = _chunkQZN3O36Fjs.getClientRoot; exports.getThemeRoots = _chunkQZN3O36Fjs.getThemeRoots; exports.isPath = _chunkQZN3O36Fjs.isPath; exports.parser = parser; exports.resolveOptions = _chunkQZN3O36Fjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-VWK3TRVU.mjs";
3
+ } from "./chunk-JFAR7TWB.mjs";
4
4
  import {
5
5
  getCLIRoot,
6
6
  getClientRoot,
7
7
  getThemeRoots,
8
8
  isPath,
9
9
  resolveOptions
10
- } from "./chunk-6LUF2SCB.mjs";
10
+ } from "./chunk-BCAVCX4N.mjs";
11
11
  import {
12
12
  ViteSlidevPlugin,
13
13
  createWindiCSSPlugin
14
- } from "./chunk-NHK2R4LN.mjs";
15
- import "./chunk-G3DZBNYL.mjs";
14
+ } from "./chunk-YULAXBCT.mjs";
15
+ import "./chunk-DFNSCAEG.mjs";
16
16
 
17
17
  // node/index.ts
18
18
  import * as parser from "@slidev/parser/fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.23.2",
3
+ "version": "0.25.2",
4
4
  "description": "Presentation slides for developers",
5
5
  "homepage": "https://sli.dev",
6
6
  "bugs": "https://github.com/slidevjs/slidev/issues",
@@ -41,12 +41,12 @@
41
41
  "dependencies": {
42
42
  "@antfu/utils": "^0.3.0",
43
43
  "@iconify/json": "^1.1.338",
44
- "@slidev/client": "0.23.2",
45
- "@slidev/parser": "0.23.2",
46
- "@slidev/types": "0.23.2",
44
+ "@slidev/client": "0.25.2",
45
+ "@slidev/parser": "0.25.2",
46
+ "@slidev/types": "0.25.2",
47
47
  "@vitejs/plugin-vue": "^1.6.2",
48
- "@vue/compiler-sfc": "^3.2.11",
49
- "cli-progress": "^3.9.0",
48
+ "@vue/compiler-sfc": "^3.2.12",
49
+ "cli-progress": "^3.9.1",
50
50
  "codemirror": "^5.62.3",
51
51
  "connect": "^3.7.0",
52
52
  "debug": "^4.3.2",
@@ -54,8 +54,8 @@
54
54
  "fs-extra": "^10.0.0",
55
55
  "import-from": "^4.0.0",
56
56
  "is-installed-globally": "^0.4.0",
57
- "jiti": "^1.11.0",
58
- "js-base64": "^3.7.0",
57
+ "jiti": "^1.12.0",
58
+ "js-base64": "^3.7.1",
59
59
  "katex": "^0.13.18",
60
60
  "kolorist": "^1.5.0",
61
61
  "markdown-it": "^12.2.0",
@@ -65,20 +65,20 @@
65
65
  "nanoid": "^3.1.25",
66
66
  "open": "^8.2.1",
67
67
  "pdf-lib": "^1.16.0",
68
- "prismjs": "^1.24.1",
68
+ "prismjs": "^1.25.0",
69
69
  "prompts": "^2.4.1",
70
70
  "resolve": "^1.20.0",
71
71
  "resolve-from": "^5.0.0",
72
72
  "resolve-global": "^1.0.0",
73
- "shiki": "^0.9.10",
74
- "unplugin-icons": "^0.8.1",
75
- "unplugin-vue-components": "^0.15.0",
76
- "vite": "^2.5.6",
77
- "vite-plugin-md": "^0.11.0",
73
+ "shiki": "^0.9.11",
74
+ "unplugin-icons": "^0.11.3",
75
+ "unplugin-vue-components": "^0.15.2",
76
+ "vite": "^2.5.8",
77
+ "vite-plugin-md": "^0.11.1",
78
78
  "vite-plugin-remote-assets": "^0.2.2",
79
- "vite-plugin-vue-server-ref": "^0.2.3",
80
- "vite-plugin-windicss": "^1.4.2",
81
- "vue": "^3.2.11",
79
+ "vite-plugin-vue-server-ref": "^0.2.4",
80
+ "vite-plugin-windicss": "^1.4.3",
81
+ "vue": "^3.2.12",
82
82
  "windicss": "^3.1.7",
83
83
  "yargs": "^17.1.1"
84
84
  },
@@ -91,7 +91,7 @@
91
91
  "node": ">=14.0.0"
92
92
  },
93
93
  "scripts": {
94
- "build": "rimraf dist && tsup node/index.ts node/cli.ts --dts --format cjs,esm --external @slidev/client/package.json",
94
+ "build": "rimraf dist && tsup node/index.ts node/cli.ts --dts --format cjs,esm --splitting --external @slidev/client/package.json",
95
95
  "dev": "nr build --watch",
96
96
  "start": "esno node/cli.ts"
97
97
  }