@slidev/cli 0.43.0-beta.2 → 0.43.0-beta.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.
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-LXUMODW4.mjs";
5
+ } from "./chunk-WAD6PHVC.mjs";
6
6
  import "./chunk-JDHANZ37.mjs";
7
7
  import "./chunk-ZEKM4EGL.mjs";
8
8
  import "./chunk-QHOBBTS4.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZO5UYJSNjs = require('./chunk-ZO5UYJSN.js');
5
+ var _chunkXPOF53GOjs = require('./chunk-XPOF53GO.js');
6
6
  require('./chunk-KKGXM3XL.js');
7
7
  require('./chunk-JQHGZJGJ.js');
8
8
  require('./chunk-YUG22S6W.js');
@@ -651,16 +651,16 @@ async function build(options, viteConfig = {}, args) {
651
651
  let originalIndexHTML;
652
652
  if (_fsextra2.default.existsSync(indexPath))
653
653
  originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
654
- await _fsextra2.default.writeFile(indexPath, await _chunkZO5UYJSNjs.getIndexHtml.call(void 0, options), "utf-8");
654
+ await _fsextra2.default.writeFile(indexPath, await _chunkXPOF53GOjs.getIndexHtml.call(void 0, options), "utf-8");
655
655
  let config = void 0;
656
656
  try {
657
- const inlineConfig = await _chunkZO5UYJSNjs.mergeViteConfigs.call(void 0,
657
+ const inlineConfig = await _chunkXPOF53GOjs.mergeViteConfigs.call(void 0,
658
658
  options,
659
659
  viteConfig,
660
660
  {
661
661
  root: options.userRoot,
662
662
  plugins: [
663
- await _chunkZO5UYJSNjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
663
+ await _chunkXPOF53GOjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
664
664
  {
665
665
  name: "resolve-config",
666
666
  configResolved(_config) {
@@ -681,7 +681,7 @@ async function build(options, viteConfig = {}, args) {
681
681
  } else {
682
682
  console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
683
683
  await _vite.build.call(void 0,
684
- await _chunkZO5UYJSNjs.mergeViteConfigs.call(void 0,
684
+ await _chunkXPOF53GOjs.mergeViteConfigs.call(void 0,
685
685
  options,
686
686
  inlineConfig,
687
687
  {
@@ -1,7 +1,7 @@
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; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkZO5UYJSNjs = require('./chunk-ZO5UYJSN.js');
4
+ var _chunkXPOF53GOjs = require('./chunk-XPOF53GO.js');
5
5
 
6
6
 
7
7
 
@@ -2496,7 +2496,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
2496
2496
  const pluginOptions = rawConfig.slidev || {};
2497
2497
  _process2.default.env.EDITOR = _process2.default.env.EDITOR || "code";
2498
2498
  const server = await _vite.createServer.call(void 0,
2499
- await _chunkZO5UYJSNjs.mergeViteConfigs.call(void 0,
2499
+ await _chunkXPOF53GOjs.mergeViteConfigs.call(void 0,
2500
2500
  options,
2501
2501
  viteConfig,
2502
2502
  {
@@ -2506,7 +2506,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
2506
2506
  ]
2507
2507
  },
2508
2508
  plugins: [
2509
- await _chunkZO5UYJSNjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
2509
+ await _chunkXPOF53GOjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
2510
2510
  ]
2511
2511
  },
2512
2512
  "serve"
@@ -2519,7 +2519,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
2519
2519
  var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
2520
2520
 
2521
2521
  // package.json
2522
- var version = "0.43.0-beta.2";
2522
+ var version = "0.43.0-beta.3";
2523
2523
 
2524
2524
  // node/themes.ts
2525
2525
  var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ViteSlidevPlugin,
3
3
  mergeViteConfigs
4
- } from "./chunk-LXUMODW4.mjs";
4
+ } from "./chunk-WAD6PHVC.mjs";
5
5
  import {
6
6
  packageExists,
7
7
  resolveImportPath
@@ -2519,7 +2519,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
2519
2519
  import * as parser from "@slidev/parser/fs";
2520
2520
 
2521
2521
  // package.json
2522
- var version = "0.43.0-beta.2";
2522
+ var version = "0.43.0-beta.3";
2523
2523
 
2524
2524
  // node/themes.ts
2525
2525
  import prompts2 from "prompts";
@@ -569,7 +569,7 @@ ${title}
569
569
  name: "slidev:context-transform:pre",
570
570
  enforce: "pre",
571
571
  async transform(code, id) {
572
- if (!id.endsWith(".vue"))
572
+ if (!id.endsWith(".vue") || id.includes("/@slidev/client/") || id.includes("/packages/client/"))
573
573
  return;
574
574
  return transformVue(code);
575
575
  }
@@ -615,12 +615,12 @@ Unknown layout "${bold(layoutName)}".${yellow(" Available layouts are:")}`) + Ob
615
615
  const imports = [
616
616
  'import { inject as _vueInject, toRef as _vueToRef } from "vue"',
617
617
  `import InjectedLayout from "${toAtFS(layouts[layoutName])}"`,
618
- 'import { injectionSlidevContext } from "@slidev/client/constants.ts"',
618
+ 'import { injectionSlidevContext as _injectionSlidevContext, injectionClicks as _injectionClicks } from "@slidev/client/constants.ts"',
619
619
  `const frontmatter = ${JSON.stringify(frontmatter)}`,
620
620
  "const $frontmatter = frontmatter",
621
- "const $slidev = _vueInject(injectionSlidevContext)",
621
+ "const $slidev = _vueInject(_injectionSlidevContext)",
622
622
  'const $nav = _vueToRef($slidev, "nav")',
623
- 'const $clicks = _vueToRef($slidev.nav, "clicks")'
623
+ "const $clicks = _vueInject(_injectionClicks)"
624
624
  ];
625
625
  code = code.replace(/(<script setup.*>)/g, `$1
626
626
  ${imports.join("\n")}
@@ -638,14 +638,14 @@ ${code.slice(injectB)}`;
638
638
  return code;
639
639
  }
640
640
  function transformVue(code) {
641
- if (code.includes("injectionSlidevContext"))
641
+ if (code.includes("injectionSlidevContext") || code.includes("injectionClicks") || code.includes("const $slidev"))
642
642
  return code;
643
643
  const imports = [
644
644
  'import { inject as _vueInject, toRef as _vueToRef } from "vue"',
645
- 'import { injectionSlidevContext } from "@slidev/client/constants.ts"',
646
- "const $slidev = _vueInject(injectionSlidevContext)",
645
+ 'import { injectionSlidevContext as _injectionSlidevContext, injectionClicks as _injectionClicks } from "@slidev/client/constants.ts"',
646
+ "const $slidev = _vueInject(_injectionSlidevContext)",
647
647
  'const $nav = _vueToRef($slidev, "nav")',
648
- 'const $clicks = _vueToRef($slidev.nav, "clicks")'
648
+ "const $clicks = _vueInject(_injectionClicks)"
649
649
  ];
650
650
  const matchScript = code.match(/<script((?!setup).)*(setup)?.*>/);
651
651
  if (matchScript && matchScript[2]) {
@@ -569,7 +569,7 @@ ${title}
569
569
  name: "slidev:context-transform:pre",
570
570
  enforce: "pre",
571
571
  async transform(code, id) {
572
- if (!id.endsWith(".vue"))
572
+ if (!id.endsWith(".vue") || id.includes("/@slidev/client/") || id.includes("/packages/client/"))
573
573
  return;
574
574
  return transformVue(code);
575
575
  }
@@ -615,12 +615,12 @@ Unknown layout "${_kolorist.bold.call(void 0, layoutName)}".${_kolorist.yellow.c
615
615
  const imports = [
616
616
  'import { inject as _vueInject, toRef as _vueToRef } from "vue"',
617
617
  `import InjectedLayout from "${_chunkJQHGZJGJjs.toAtFS.call(void 0, layouts[layoutName])}"`,
618
- 'import { injectionSlidevContext } from "@slidev/client/constants.ts"',
618
+ 'import { injectionSlidevContext as _injectionSlidevContext, injectionClicks as _injectionClicks } from "@slidev/client/constants.ts"',
619
619
  `const frontmatter = ${JSON.stringify(frontmatter)}`,
620
620
  "const $frontmatter = frontmatter",
621
- "const $slidev = _vueInject(injectionSlidevContext)",
621
+ "const $slidev = _vueInject(_injectionSlidevContext)",
622
622
  'const $nav = _vueToRef($slidev, "nav")',
623
- 'const $clicks = _vueToRef($slidev.nav, "clicks")'
623
+ "const $clicks = _vueInject(_injectionClicks)"
624
624
  ];
625
625
  code = code.replace(/(<script setup.*>)/g, `$1
626
626
  ${imports.join("\n")}
@@ -638,14 +638,14 @@ ${code.slice(injectB)}`;
638
638
  return code;
639
639
  }
640
640
  function transformVue(code) {
641
- if (code.includes("injectionSlidevContext"))
641
+ if (code.includes("injectionSlidevContext") || code.includes("injectionClicks") || code.includes("const $slidev"))
642
642
  return code;
643
643
  const imports = [
644
644
  'import { inject as _vueInject, toRef as _vueToRef } from "vue"',
645
- 'import { injectionSlidevContext } from "@slidev/client/constants.ts"',
646
- "const $slidev = _vueInject(injectionSlidevContext)",
645
+ 'import { injectionSlidevContext as _injectionSlidevContext, injectionClicks as _injectionClicks } from "@slidev/client/constants.ts"',
646
+ "const $slidev = _vueInject(_injectionSlidevContext)",
647
647
  'const $nav = _vueToRef($slidev, "nav")',
648
- 'const $clicks = _vueToRef($slidev.nav, "clicks")'
648
+ "const $clicks = _vueInject(_injectionClicks)"
649
649
  ];
650
650
  const matchScript = code.match(/<script((?!setup).)*(setup)?.*>/);
651
651
  if (matchScript && matchScript[2]) {
package/dist/cli.js CHANGED
@@ -9,10 +9,10 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkJALNY2K5js = require('./chunk-JALNY2K5.js');
12
+ var _chunkO2663AU4js = require('./chunk-O2663AU4.js');
13
13
 
14
14
 
15
- var _chunkZO5UYJSNjs = require('./chunk-ZO5UYJSN.js');
15
+ var _chunkXPOF53GOjs = require('./chunk-XPOF53GO.js');
16
16
 
17
17
 
18
18
  var _chunkKKGXM3XLjs = require('./chunk-KKGXM3XL.js');
@@ -22,7 +22,7 @@ require('./chunk-JQHGZJGJ.js');
22
22
  var _chunkYUG22S6Wjs = require('./chunk-YUG22S6W.js');
23
23
 
24
24
  // node/cli.ts
25
- var import_fast_deep_equal = _chunkYUG22S6Wjs.__toESM.call(void 0, _chunkZO5UYJSNjs.require_fast_deep_equal.call(void 0, ));
25
+ var import_fast_deep_equal = _chunkYUG22S6Wjs.__toESM.call(void 0, _chunkXPOF53GOjs.require_fast_deep_equal.call(void 0, ));
26
26
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
27
27
  var _os = require('os'); var _os2 = _interopRequireDefault(_os);
28
28
  var _child_process = require('child_process');
@@ -50,15 +50,15 @@ _fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) =>
50
50
  const roots = (
51
51
  /* uniq */
52
52
  [
53
- _chunkJALNY2K5js.getUserRoot.call(void 0, {}).userRoot,
54
- ..._chunkJALNY2K5js.getAddonRoots.call(void 0, addons, ""),
55
- _chunkJALNY2K5js.getClientRoot.call(void 0, )
53
+ _chunkO2663AU4js.getUserRoot.call(void 0, {}).userRoot,
54
+ ..._chunkO2663AU4js.getAddonRoots.call(void 0, addons, ""),
55
+ _chunkO2663AU4js.getClientRoot.call(void 0, )
56
56
  ]
57
57
  );
58
58
  const mergeArrays = (a, b) => a.concat(b);
59
59
  return await _chunkKKGXM3XLjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
60
60
  });
61
- var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkJALNY2K5js.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
61
+ var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkO2663AU4js.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
62
62
  cli.command(
63
63
  "* [entry]",
64
64
  "Start a local server for Slidev",
@@ -114,9 +114,9 @@ cli.command(
114
114
  async function initServer() {
115
115
  if (server)
116
116
  await server.close();
117
- const options = await _chunkJALNY2K5js.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
117
+ const options = await _chunkO2663AU4js.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
118
118
  port = userPort || await findFreePort(3030);
119
- server = await _chunkJALNY2K5js.createServer.call(void 0,
119
+ server = await _chunkO2663AU4js.createServer.call(void 0,
120
120
  options,
121
121
  {
122
122
  server: {
@@ -130,7 +130,7 @@ cli.command(
130
130
  },
131
131
  {
132
132
  onDataReload(newData, data) {
133
- if (!theme && _chunkJALNY2K5js.resolveThemeName.call(void 0, newData.config.theme) !== _chunkJALNY2K5js.resolveThemeName.call(void 0, data.config.theme)) {
133
+ if (!theme && _chunkO2663AU4js.resolveThemeName.call(void 0, newData.config.theme) !== _chunkO2663AU4js.resolveThemeName.call(void 0, data.config.theme)) {
134
134
  console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
135
135
  initServer();
136
136
  } else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
@@ -259,9 +259,9 @@ cli.command(
259
259
  }).strict().help(),
260
260
  async (args) => {
261
261
  const { entry, theme, watch, base, download, out, inspect } = args;
262
- const { build } = await Promise.resolve().then(() => require("./build-MW6VIQAE.js"));
262
+ const { build } = await Promise.resolve().then(() => require("./build-BMJKCMWK.js"));
263
263
  for (const entryFile of entry) {
264
- const options = await _chunkJALNY2K5js.resolveOptions.call(void 0, { entry: entryFile, theme, inspect }, "build");
264
+ const options = await _chunkO2663AU4js.resolveOptions.call(void 0, { entry: entryFile, theme, inspect }, "build");
265
265
  if (download && !options.data.config.download)
266
266
  options.data.config.download = download;
267
267
  printInfo(options);
@@ -281,9 +281,9 @@ cli.command(
281
281
  (args) => commonOptions(args).strict().help(),
282
282
  async ({ entry }) => {
283
283
  for (const entryFile of entry) {
284
- const data = await _chunkJALNY2K5js.parser.load(entryFile);
285
- _chunkJALNY2K5js.parser.prettify(data);
286
- await _chunkJALNY2K5js.parser.save(data);
284
+ const data = await _chunkO2663AU4js.parser.load(entryFile);
285
+ _chunkO2663AU4js.parser.prettify(data);
286
+ await _chunkO2663AU4js.parser.save(data);
287
287
  }
288
288
  }
289
289
  );
@@ -299,17 +299,17 @@ cli.command(
299
299
  default: "theme"
300
300
  }),
301
301
  async ({ entry, dir, theme: themeInput }) => {
302
- const data = await _chunkJALNY2K5js.parser.load(entry);
303
- const theme = _chunkJALNY2K5js.resolveThemeName.call(void 0, themeInput || data.config.theme);
302
+ const data = await _chunkO2663AU4js.parser.load(entry);
303
+ const theme = _chunkO2663AU4js.resolveThemeName.call(void 0, themeInput || data.config.theme);
304
304
  if (theme === "none") {
305
305
  console.error('Cannot eject theme "none"');
306
306
  _process2.default.exit(1);
307
307
  }
308
- if (_chunkJALNY2K5js.isPath.call(void 0, theme)) {
308
+ if (_chunkO2663AU4js.isPath.call(void 0, theme)) {
309
309
  console.error("Theme is already ejected");
310
310
  _process2.default.exit(1);
311
311
  }
312
- const roots = _chunkJALNY2K5js.getThemeRoots.call(void 0, theme, entry);
312
+ const roots = _chunkO2663AU4js.getThemeRoots.call(void 0, theme, entry);
313
313
  if (!roots.length) {
314
314
  console.error(`Could not find theme "${theme}"`);
315
315
  _process2.default.exit(1);
@@ -321,7 +321,7 @@ cli.command(
321
321
  const dirPath = `./${dir}`;
322
322
  data.slides[0].frontmatter.theme = dirPath;
323
323
  data.slides[0].raw = null;
324
- await _chunkJALNY2K5js.parser.save(data);
324
+ await _chunkO2663AU4js.parser.save(data);
325
325
  console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
326
326
  }
327
327
  );
@@ -341,8 +341,8 @@ cli.command(
341
341
  const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-MCALG7XD.js"));
342
342
  const port = await findFreePort(12445);
343
343
  for (const entryFile of entry) {
344
- const options = await _chunkJALNY2K5js.resolveOptions.call(void 0, { entry: entryFile, theme }, "export");
345
- const server = await _chunkJALNY2K5js.createServer.call(void 0,
344
+ const options = await _chunkO2663AU4js.resolveOptions.call(void 0, { entry: entryFile, theme }, "export");
345
+ const server = await _chunkO2663AU4js.createServer.call(void 0,
346
346
  options,
347
347
  {
348
348
  server: { port },
@@ -351,7 +351,7 @@ cli.command(
351
351
  );
352
352
  await server.listen(port);
353
353
  printInfo(options);
354
- _chunkJALNY2K5js.parser.filterDisabled(options.data);
354
+ _chunkO2663AU4js.parser.filterDisabled(options.data);
355
355
  const result = await exportSlides({
356
356
  port,
357
357
  ...getExportOptions({ ...args, entry: entryFile }, options)
@@ -387,8 +387,8 @@ cli.command(
387
387
  const { exportNotes } = await Promise.resolve().then(() => require("./export-MCALG7XD.js"));
388
388
  const port = await findFreePort(12445);
389
389
  for (const entryFile of entry) {
390
- const options = await _chunkJALNY2K5js.resolveOptions.call(void 0, { entry: entryFile }, "export");
391
- const server = await _chunkJALNY2K5js.createServer.call(void 0,
390
+ const options = await _chunkO2663AU4js.resolveOptions.call(void 0, { entry: entryFile }, "export");
391
+ const server = await _chunkO2663AU4js.createServer.call(void 0,
392
392
  options,
393
393
  {
394
394
  server: { port },
@@ -397,7 +397,7 @@ cli.command(
397
397
  );
398
398
  await server.listen(port);
399
399
  printInfo(options);
400
- _chunkJALNY2K5js.parser.filterDisabled(options.data);
400
+ _chunkO2663AU4js.parser.filterDisabled(options.data);
401
401
  const result = await exportNotes({
402
402
  port,
403
403
  output: output || (options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entryFile, ".md")}-export-notes`),
@@ -458,7 +458,7 @@ function printInfo(options, port, remote, tunnelUrl) {
458
458
  console.log();
459
459
  console.log();
460
460
  console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
461
- console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkJALNY2K5js.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
461
+ console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkO2663AU4js.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
462
462
  console.log();
463
463
  _parser.verifyConfig.call(void 0, options.data.config, options.data.themeMeta, (v) => console.warn(_kolorist.yellow.call(void 0, ` ! ${v}`)));
464
464
  console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
package/dist/cli.mjs CHANGED
@@ -9,10 +9,10 @@ import {
9
9
  resolveOptions,
10
10
  resolveThemeName,
11
11
  version
12
- } from "./chunk-ZGWBGB2K.mjs";
12
+ } from "./chunk-SWZ5SM6V.mjs";
13
13
  import {
14
14
  require_fast_deep_equal
15
- } from "./chunk-LXUMODW4.mjs";
15
+ } from "./chunk-WAD6PHVC.mjs";
16
16
  import {
17
17
  loadSetups
18
18
  } from "./chunk-JDHANZ37.mjs";
@@ -259,7 +259,7 @@ cli.command(
259
259
  }).strict().help(),
260
260
  async (args) => {
261
261
  const { entry, theme, watch, base, download, out, inspect } = args;
262
- const { build } = await import("./build-SUSDV6OM.mjs");
262
+ const { build } = await import("./build-4JRH4QXK.mjs");
263
263
  for (const entryFile of entry) {
264
264
  const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
265
265
  if (download && !options.data.config.download)
package/dist/index.js CHANGED
@@ -9,13 +9,13 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkJALNY2K5js = require('./chunk-JALNY2K5.js');
12
+ var _chunkO2663AU4js = require('./chunk-O2663AU4.js');
13
13
 
14
14
 
15
15
  var _chunkJ7PXWEZ7js = require('./chunk-J7PXWEZ7.js');
16
16
 
17
17
 
18
- var _chunkZO5UYJSNjs = require('./chunk-ZO5UYJSN.js');
18
+ var _chunkXPOF53GOjs = require('./chunk-XPOF53GO.js');
19
19
  require('./chunk-KKGXM3XL.js');
20
20
  require('./chunk-JQHGZJGJ.js');
21
21
  require('./chunk-YUG22S6W.js');
@@ -32,4 +32,4 @@ require('./chunk-YUG22S6W.js');
32
32
 
33
33
 
34
34
 
35
- exports.ViteSlidevPlugin = _chunkZO5UYJSNjs.ViteSlidevPlugin; exports.createServer = _chunkJALNY2K5js.createServer; exports.createWindiCSSPlugin = _chunkJ7PXWEZ7js.createWindiCSSPlugin; exports.getAddonRoots = _chunkJALNY2K5js.getAddonRoots; exports.getCLIRoot = _chunkJALNY2K5js.getCLIRoot; exports.getClientRoot = _chunkJALNY2K5js.getClientRoot; exports.getRoot = _chunkJALNY2K5js.getRoot; exports.getThemeRoots = _chunkJALNY2K5js.getThemeRoots; exports.getUserRoot = _chunkJALNY2K5js.getUserRoot; exports.isPath = _chunkJALNY2K5js.isPath; exports.parser = _chunkJALNY2K5js.parser; exports.resolveOptions = _chunkJALNY2K5js.resolveOptions;
35
+ exports.ViteSlidevPlugin = _chunkXPOF53GOjs.ViteSlidevPlugin; exports.createServer = _chunkO2663AU4js.createServer; exports.createWindiCSSPlugin = _chunkJ7PXWEZ7js.createWindiCSSPlugin; exports.getAddonRoots = _chunkO2663AU4js.getAddonRoots; exports.getCLIRoot = _chunkO2663AU4js.getCLIRoot; exports.getClientRoot = _chunkO2663AU4js.getClientRoot; exports.getRoot = _chunkO2663AU4js.getRoot; exports.getThemeRoots = _chunkO2663AU4js.getThemeRoots; exports.getUserRoot = _chunkO2663AU4js.getUserRoot; exports.isPath = _chunkO2663AU4js.isPath; exports.parser = _chunkO2663AU4js.parser; exports.resolveOptions = _chunkO2663AU4js.resolveOptions;
package/dist/index.mjs CHANGED
@@ -9,13 +9,13 @@ import {
9
9
  isPath,
10
10
  parser,
11
11
  resolveOptions
12
- } from "./chunk-ZGWBGB2K.mjs";
12
+ } from "./chunk-SWZ5SM6V.mjs";
13
13
  import {
14
14
  createWindiCSSPlugin
15
15
  } from "./chunk-HO75FTDI.mjs";
16
16
  import {
17
17
  ViteSlidevPlugin
18
- } from "./chunk-LXUMODW4.mjs";
18
+ } from "./chunk-WAD6PHVC.mjs";
19
19
  import "./chunk-JDHANZ37.mjs";
20
20
  import "./chunk-ZEKM4EGL.mjs";
21
21
  import "./chunk-QHOBBTS4.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.43.0-beta.2",
3
+ "version": "0.43.0-beta.3",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -97,9 +97,9 @@
97
97
  "vue": "^3.3.4",
98
98
  "windicss": "^3.5.6",
99
99
  "yargs": "^17.7.2",
100
- "@slidev/client": "0.43.0-beta.2",
101
- "@slidev/parser": "0.43.0-beta.2",
102
- "@slidev/types": "0.43.0-beta.2"
100
+ "@slidev/client": "0.43.0-beta.3",
101
+ "@slidev/parser": "0.43.0-beta.3",
102
+ "@slidev/types": "0.43.0-beta.3"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@types/plantuml-encoder": "^1.4.0",