@slidev/cli 0.24.0 → 0.25.3

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/README.md CHANGED
@@ -54,6 +54,14 @@ Status: <b>Public Beta 🎉</b><br>
54
54
 
55
55
  ## Getting Started
56
56
 
57
+ ### Try it Online ⚡️
58
+
59
+ [sli.dev/new](https://sli.dev/new)
60
+
61
+ [![](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://sli.dev/new)
62
+
63
+ ### Init Project Locally
64
+
57
65
  Install [Node.js >=14](https://nodejs.org/) and run the following command:
58
66
 
59
67
  ```bash
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml
4
- } from "./chunk-PLB5XEQA.mjs";
4
+ } from "./chunk-WLQ7S4VO.mjs";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
@@ -369,7 +369,7 @@ async function build(options, viteConfig = {}) {
369
369
  await fs.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
370
370
  `, "utf-8");
371
371
  if ([true, "true", "auto"].includes(options.data.config.download)) {
372
- const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-V2SEHVU7.mjs")));
372
+ const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-GZXBXUOH.mjs")));
373
373
  const port = 12445;
374
374
  const app = connect();
375
375
  const server = http.createServer(app);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
3
 
4
- var _chunk3B6WJYLOjs = require('./chunk-3B6WJYLO.js');
4
+ var _chunk44O4GBAUjs = require('./chunk-44O4GBAU.js');
5
5
 
6
6
 
7
7
 
@@ -322,12 +322,12 @@ async function build(options, viteConfig = {}) {
322
322
  let originalIndexHTML;
323
323
  if (_fsextra2.default.existsSync(indexPath))
324
324
  originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
325
- await _fsextra2.default.writeFile(indexPath, await _chunk3B6WJYLOjs.getIndexHtml.call(void 0, options), "utf-8");
325
+ await _fsextra2.default.writeFile(indexPath, await _chunk44O4GBAUjs.getIndexHtml.call(void 0, options), "utf-8");
326
326
  let config = void 0;
327
327
  try {
328
328
  const inlineConfig = _vite.mergeConfig.call(void 0, viteConfig, {
329
329
  plugins: [
330
- await _chunk3B6WJYLOjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
330
+ await _chunk44O4GBAUjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
331
331
  {
332
332
  name: "resolve-config",
333
333
  configResolved(_config) {
@@ -377,7 +377,7 @@ async function build(options, viteConfig = {}) {
377
377
  await _fsextra2.default.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
378
378
  `, "utf-8");
379
379
  if ([true, "true", "auto"].includes(options.data.config.download)) {
380
- const { exportSlides } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./export-APZGBES6.js")));
380
+ const { exportSlides } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./export-RUJH34B7.js")));
381
381
  const port = 12445;
382
382
  const app = _connect2.default.call(void 0, );
383
383
  const server = _http2.default.createServer(app);
@@ -241,23 +241,23 @@ var dependencies = {
241
241
  "@antfu/utils": "^0.3.0",
242
242
  "@slidev/parser": "workspace:*",
243
243
  "@slidev/types": "workspace:*",
244
- "@vueuse/core": "^6.3.3",
244
+ "@vueuse/core": "^6.4.0",
245
245
  "@vueuse/head": "^0.6.0",
246
246
  "@vueuse/motion": "^1.6.0",
247
247
  codemirror: "^5.62.3",
248
- drauu: "^0.1.0",
248
+ drauu: "^0.1.2",
249
249
  "file-saver": "^2.0.5",
250
- "js-base64": "^3.7.0",
250
+ "js-base64": "^3.7.1",
251
251
  "js-yaml": "^4.1.0",
252
252
  katex: "^0.13.18",
253
253
  mermaid: "^8.12.1",
254
254
  "monaco-editor": "^0.27.0",
255
255
  nanoid: "^3.1.25",
256
- prettier: "^2.4.0",
256
+ prettier: "^2.4.1",
257
257
  recordrtc: "^5.6.2",
258
258
  resolve: "^1.20.0",
259
- "vite-plugin-windicss": "^1.4.2",
260
- vue: "^3.2.11",
259
+ "vite-plugin-windicss": "^1.4.3",
260
+ vue: "^3.2.12",
261
261
  "vue-router": "^4.0.11",
262
262
  windicss: "^3.1.7"
263
263
  };
@@ -1357,11 +1357,14 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
1357
1357
  exclude: [],
1358
1358
  resolvers: [
1359
1359
  _resolver2.default.call(void 0, {
1360
- prefix: ""
1360
+ prefix: "",
1361
+ customCollections: Object.keys(iconsOptions.customCollections || [])
1361
1362
  })
1362
1363
  ]
1363
1364
  }, componentsOptions)),
1364
- _vite2.default.call(void 0, _chunkZKLT77C5js.__spreadValues.call(void 0, {}, iconsOptions)),
1365
+ _vite2.default.call(void 0, _chunkZKLT77C5js.__spreadValues.call(void 0, {
1366
+ defaultClass: "slidev-icon"
1367
+ }, iconsOptions)),
1365
1368
  config.remoteAssets === true || config.remoteAssets === mode ? _vitepluginremoteassets2.default.call(void 0, _chunkZKLT77C5js.__spreadValues.call(void 0, {
1366
1369
  rules: [
1367
1370
  ..._vitepluginremoteassets.DefaultRules,
@@ -10094,7 +10094,7 @@ var require_semver2 = __commonJS({
10094
10094
  });
10095
10095
 
10096
10096
  // package.json
10097
- var version = "0.24.0";
10097
+ var version = "0.25.3";
10098
10098
 
10099
10099
  // node/themes.ts
10100
10100
  var import_ni = __toModule(require_dist());
@@ -10144,7 +10144,7 @@ var require_semver2 = _chunkZKLT77C5js.__commonJS.call(void 0, {
10144
10144
  });
10145
10145
 
10146
10146
  // package.json
10147
- var version = "0.24.0";
10147
+ var version = "0.25.3";
10148
10148
 
10149
10149
  // node/themes.ts
10150
10150
  _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ViteSlidevPlugin
3
- } from "./chunk-PLB5XEQA.mjs";
3
+ } from "./chunk-WLQ7S4VO.mjs";
4
4
 
5
5
  // node/server.ts
6
6
  import { createServer as createViteServer, mergeConfig, resolveConfig } from "vite";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3B6WJYLOjs = require('./chunk-3B6WJYLO.js');
3
+ var _chunk44O4GBAUjs = require('./chunk-44O4GBAU.js');
4
4
 
5
5
 
6
6
  var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
@@ -14,7 +14,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
14
14
  process.env.EDITOR = process.env.EDITOR || "code";
15
15
  const server = await _vite.createServer.call(void 0, _vite.mergeConfig.call(void 0, viteConfig, {
16
16
  plugins: [
17
- await _chunk3B6WJYLOjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
17
+ await _chunk44O4GBAUjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
18
18
  ]
19
19
  }));
20
20
  return server;
@@ -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.2",
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,
package/dist/cli.js CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkDSIUPKE5js = require('./chunk-DSIUPKE5.js');
3
+ var _chunkRSMMUZSVjs = require('./chunk-RSMMUZSV.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkST6SGOM6js = require('./chunk-ST6SGOM6.js');
10
+ var _chunkOT4BQDBMjs = require('./chunk-OT4BQDBM.js');
11
11
 
12
12
 
13
- var _chunk3B6WJYLOjs = require('./chunk-3B6WJYLO.js');
13
+ var _chunk44O4GBAUjs = require('./chunk-44O4GBAU.js');
14
14
 
15
15
 
16
16
 
@@ -19,7 +19,7 @@ var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
19
19
 
20
20
  // node/cli.ts
21
21
  _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
22
- var import_fast_deep_equal = _chunkZKLT77C5js.__toModule.call(void 0, _chunk3B6WJYLOjs.require_fast_deep_equal.call(void 0, ));
22
+ var import_fast_deep_equal = _chunkZKLT77C5js.__toModule.call(void 0, _chunk44O4GBAUjs.require_fast_deep_equal.call(void 0, ));
23
23
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
24
24
  var _net = require('net'); var _net2 = _interopRequireDefault(_net);
25
25
  var _os = require('os'); var _os2 = _interopRequireDefault(_os);
@@ -42,7 +42,7 @@ var CONFIG_RESTART_FIELDS = [
42
42
  "routerMode",
43
43
  "fonts"
44
44
  ];
45
- var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkST6SGOM6js.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
45
+ var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkOT4BQDBMjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
46
46
  cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
47
47
  alias: "p",
48
48
  type: "number",
@@ -86,9 +86,9 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
86
86
  async function initServer() {
87
87
  if (server)
88
88
  await server.close();
89
- const options = await _chunkST6SGOM6js.resolveOptions.call(void 0, { entry, theme }, "dev");
89
+ const options = await _chunkOT4BQDBMjs.resolveOptions.call(void 0, { entry, theme }, "dev");
90
90
  port = userPort || await findFreePort(3030);
91
- server = await _chunkDSIUPKE5js.createServer.call(void 0, options, {
91
+ server = await _chunkRSMMUZSVjs.createServer.call(void 0, options, {
92
92
  server: {
93
93
  port,
94
94
  strictPort: true,
@@ -99,7 +99,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
99
99
  logLevel: log
100
100
  }, {
101
101
  onDataReload(newData, data) {
102
- if (!theme && _chunkST6SGOM6js.resolveThemeName.call(void 0, newData.config.theme) !== _chunkST6SGOM6js.resolveThemeName.call(void 0, data.config.theme)) {
102
+ if (!theme && _chunkOT4BQDBMjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkOT4BQDBMjs.resolveThemeName.call(void 0, data.config.theme)) {
103
103
  console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
104
104
  initServer();
105
105
  } else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
@@ -169,8 +169,8 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
169
169
  type: "boolean",
170
170
  describe: "allow download as PDF"
171
171
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
172
- const { build } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./build-BEI7BSIN.js")));
173
- const options = await _chunkST6SGOM6js.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-RVGKP6FG.js")));
173
+ const options = await _chunkOT4BQDBMjs.resolveOptions.call(void 0, { entry, theme }, "build");
174
174
  if (download && !options.data.config.download)
175
175
  options.data.config.download = download;
176
176
  printInfo(options);
@@ -193,16 +193,16 @@ cli.command("theme [subcommand]", "Theme related operations", (command) => {
193
193
  default: "theme"
194
194
  }), async ({ entry, dir, theme: themeInput }) => {
195
195
  const data = await _fs.load.call(void 0, entry);
196
- const theme = _chunkST6SGOM6js.resolveThemeName.call(void 0, themeInput || data.config.theme);
196
+ const theme = _chunkOT4BQDBMjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
197
197
  if (theme === "none") {
198
198
  console.error('Can not eject theme "none"');
199
199
  process.exit(1);
200
200
  }
201
- if (_chunkST6SGOM6js.isPath.call(void 0, theme)) {
201
+ if (_chunkOT4BQDBMjs.isPath.call(void 0, theme)) {
202
202
  console.error("Theme is already ejected");
203
203
  process.exit(1);
204
204
  }
205
- const roots = _chunkST6SGOM6js.getThemeRoots.call(void 0, theme, entry);
205
+ const roots = _chunkOT4BQDBMjs.getThemeRoots.call(void 0, theme, entry);
206
206
  if (!roots.length) {
207
207
  console.error(`Does not found theme "${theme}"`);
208
208
  process.exit(1);
@@ -257,10 +257,10 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
257
257
  }) => {
258
258
  output = output || `${_path2.default.basename(entry, ".md")}-export`;
259
259
  process.env.NODE_ENV = "production";
260
- const { exportSlides } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./export-APZGBES6.js")));
260
+ const { exportSlides } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "./export-RUJH34B7.js")));
261
261
  const port = await findFreePort(12445);
262
- const options = await _chunkST6SGOM6js.resolveOptions.call(void 0, { entry, theme }, "build");
263
- const server = await _chunkDSIUPKE5js.createServer.call(void 0, options, {
262
+ const options = await _chunkOT4BQDBMjs.resolveOptions.call(void 0, { entry, theme }, "build");
263
+ const server = await _chunkRSMMUZSVjs.createServer.call(void 0, options, {
264
264
  server: { port },
265
265
  logLevel: "error",
266
266
  clearScreen: false
@@ -304,7 +304,7 @@ function printInfo(options, port, remote) {
304
304
  console.log();
305
305
  console.log();
306
306
  console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
307
- console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkST6SGOM6js.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
307
+ console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkOT4BQDBMjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
308
308
  console.log();
309
309
  console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
310
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,16 +1,16 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-DG4PLWBZ.mjs";
3
+ } from "./chunk-P67IPRPH.mjs";
4
4
  import {
5
5
  getThemeRoots,
6
6
  isPath,
7
7
  resolveOptions,
8
8
  resolveThemeName,
9
9
  version
10
- } from "./chunk-5OFEYTIP.mjs";
10
+ } from "./chunk-D7KATZKN.mjs";
11
11
  import {
12
12
  require_fast_deep_equal
13
- } from "./chunk-PLB5XEQA.mjs";
13
+ } from "./chunk-WLQ7S4VO.mjs";
14
14
  import {
15
15
  __require,
16
16
  __toModule
@@ -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-5VIGHHAT.mjs")));
170
+ const { build } = await Promise.resolve().then(() => __toModule(__require("./build-IWDRPFQF.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-V2SEHVU7.mjs")));
258
+ const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-GZXBXUOH.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,6 +1,6 @@
1
1
  import {
2
2
  packageExists
3
- } from "./chunk-5OFEYTIP.mjs";
3
+ } from "./chunk-D7KATZKN.mjs";
4
4
  import {
5
5
  __require,
6
6
  __toModule
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkST6SGOM6js = require('./chunk-ST6SGOM6.js');
3
+ var _chunkOT4BQDBMjs = require('./chunk-OT4BQDBM.js');
4
4
 
5
5
 
6
6
 
@@ -62,7 +62,7 @@ async function exportSlides({
62
62
  height = 1080,
63
63
  withClicks = false
64
64
  }) {
65
- if (!_chunkST6SGOM6js.packageExists.call(void 0, "playwright-chromium"))
65
+ if (!_chunkOT4BQDBMjs.packageExists.call(void 0, "playwright-chromium"))
66
66
  throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i playwright-chromium`");
67
67
  const { chromium } = await Promise.resolve().then(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "playwright-chromium")));
68
68
  const browser = await chromium.launch();
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
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 _chunkDSIUPKE5js = require('./chunk-DSIUPKE5.js');
3
+ var _chunkRSMMUZSVjs = require('./chunk-RSMMUZSV.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkST6SGOM6js = require('./chunk-ST6SGOM6.js');
10
+ var _chunkOT4BQDBMjs = require('./chunk-OT4BQDBM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk3B6WJYLOjs = require('./chunk-3B6WJYLO.js');
14
+ var _chunk44O4GBAUjs = require('./chunk-44O4GBAU.js');
15
15
 
16
16
 
17
17
  var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
@@ -34,4 +34,4 @@ var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs
34
34
 
35
35
 
36
36
 
37
- exports.ViteSlidevPlugin = _chunk3B6WJYLOjs.ViteSlidevPlugin; exports.createServer = _chunkDSIUPKE5js.createServer; exports.createWindiCSSPlugin = _chunk3B6WJYLOjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkST6SGOM6js.getCLIRoot; exports.getClientRoot = _chunkST6SGOM6js.getClientRoot; exports.getThemeRoots = _chunkST6SGOM6js.getThemeRoots; exports.isPath = _chunkST6SGOM6js.isPath; exports.parser = parser; exports.resolveOptions = _chunkST6SGOM6js.resolveOptions;
37
+ exports.ViteSlidevPlugin = _chunk44O4GBAUjs.ViteSlidevPlugin; exports.createServer = _chunkRSMMUZSVjs.createServer; exports.createWindiCSSPlugin = _chunk44O4GBAUjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkOT4BQDBMjs.getCLIRoot; exports.getClientRoot = _chunkOT4BQDBMjs.getClientRoot; exports.getThemeRoots = _chunkOT4BQDBMjs.getThemeRoots; exports.isPath = _chunkOT4BQDBMjs.isPath; exports.parser = parser; exports.resolveOptions = _chunkOT4BQDBMjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-DG4PLWBZ.mjs";
3
+ } from "./chunk-P67IPRPH.mjs";
4
4
  import {
5
5
  getCLIRoot,
6
6
  getClientRoot,
7
7
  getThemeRoots,
8
8
  isPath,
9
9
  resolveOptions
10
- } from "./chunk-5OFEYTIP.mjs";
10
+ } from "./chunk-D7KATZKN.mjs";
11
11
  import {
12
12
  ViteSlidevPlugin,
13
13
  createWindiCSSPlugin
14
- } from "./chunk-PLB5XEQA.mjs";
14
+ } from "./chunk-WLQ7S4VO.mjs";
15
15
  import "./chunk-DFNSCAEG.mjs";
16
16
 
17
17
  // node/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.24.0",
3
+ "version": "0.25.3",
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.24.0",
45
- "@slidev/parser": "0.24.0",
46
- "@slidev/types": "0.24.0",
44
+ "@slidev/client": "0.25.3",
45
+ "@slidev/parser": "0.25.3",
46
+ "@slidev/types": "0.25.3",
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
  },