@slidev/cli 0.30.0 → 0.30.1

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.
@@ -659,6 +659,7 @@ async function build(options, viteConfig = {}) {
659
659
  let config = void 0;
660
660
  try {
661
661
  const inlineConfig = _vite.mergeConfig.call(void 0, viteConfig, {
662
+ root: options.userRoot,
662
663
  plugins: [
663
664
  await _chunk7FQD47HMjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
664
665
  {
@@ -704,17 +705,18 @@ async function build(options, viteConfig = {}) {
704
705
  else
705
706
  await _fsextra2.default.unlink(indexPath);
706
707
  }
707
- await _fsextra2.default.copyFile(_path.resolve.call(void 0, config.build.outDir, "index.html"), _path.resolve.call(void 0, config.build.outDir, "404.html"));
708
- const redirectsPath = _path.resolve.call(void 0, config.build.outDir, "_redirects");
708
+ const outDir = _path.resolve.call(void 0, options.userRoot, config.build.outDir);
709
+ await _fsextra2.default.copyFile(_path.resolve.call(void 0, outDir, "index.html"), _path.resolve.call(void 0, outDir, "404.html"));
710
+ const redirectsPath = _path.resolve.call(void 0, outDir, "_redirects");
709
711
  if (!_fsextra2.default.existsSync(redirectsPath))
710
712
  await _fsextra2.default.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
711
713
  `, "utf-8");
712
714
  if ([true, "true", "auto"].includes(options.data.config.download)) {
713
- const { exportSlides } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./export-SQVJKP3A.js")));
715
+ const { exportSlides } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./export-X3EA2DO6.js")));
714
716
  const port = 12445;
715
717
  const app = _connect2.default.call(void 0, );
716
718
  const server = _http2.default.createServer(app);
717
- app.use(config.base, build_default(config.build.outDir, {
719
+ app.use(config.base, build_default(outDir, {
718
720
  etag: true,
719
721
  single: true,
720
722
  dev: true
@@ -724,7 +726,7 @@ async function build(options, viteConfig = {}) {
724
726
  port,
725
727
  total: options.data.slides.length,
726
728
  format: "pdf",
727
- output: _path.join.call(void 0, config.build.outDir, "slidev-exported.pdf"),
729
+ output: _path.join.call(void 0, outDir, "slidev-exported.pdf"),
728
730
  base: config.base,
729
731
  dark: options.data.config.colorSchema === "dark",
730
732
  width: 1920,
@@ -659,6 +659,7 @@ async function build(options, viteConfig = {}) {
659
659
  let config = void 0;
660
660
  try {
661
661
  const inlineConfig = mergeConfig(viteConfig, {
662
+ root: options.userRoot,
662
663
  plugins: [
663
664
  await ViteSlidevPlugin(options, pluginOptions),
664
665
  {
@@ -704,17 +705,18 @@ async function build(options, viteConfig = {}) {
704
705
  else
705
706
  await fs2.unlink(indexPath);
706
707
  }
707
- await fs2.copyFile(resolve3(config.build.outDir, "index.html"), resolve3(config.build.outDir, "404.html"));
708
- const redirectsPath = resolve3(config.build.outDir, "_redirects");
708
+ const outDir = resolve3(options.userRoot, config.build.outDir);
709
+ await fs2.copyFile(resolve3(outDir, "index.html"), resolve3(outDir, "404.html"));
710
+ const redirectsPath = resolve3(outDir, "_redirects");
709
711
  if (!fs2.existsSync(redirectsPath))
710
712
  await fs2.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
711
713
  `, "utf-8");
712
714
  if ([true, "true", "auto"].includes(options.data.config.download)) {
713
- const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-OZQCWKXN.mjs")));
715
+ const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-2FIFRI4R.mjs")));
714
716
  const port = 12445;
715
717
  const app = connect();
716
718
  const server = http.createServer(app);
717
- app.use(config.base, build_default(config.build.outDir, {
719
+ app.use(config.base, build_default(outDir, {
718
720
  etag: true,
719
721
  single: true,
720
722
  dev: true
@@ -724,7 +726,7 @@ async function build(options, viteConfig = {}) {
724
726
  port,
725
727
  total: options.data.slides.length,
726
728
  format: "pdf",
727
- output: join3(config.build.outDir, "slidev-exported.pdf"),
729
+ output: join3(outDir, "slidev-exported.pdf"),
728
730
  base: config.base,
729
731
  dark: options.data.config.colorSchema === "dark",
730
732
  width: 1920,
@@ -5434,7 +5434,7 @@ async function saveExternalSlide(slide) {
5434
5434
  _chunkIXNT7VMKjs.init_cjs_shims.call(void 0, );
5435
5435
 
5436
5436
  // package.json
5437
- var version = "0.30.0";
5437
+ var version = "0.30.1";
5438
5438
 
5439
5439
  // node/themes.ts
5440
5440
  _chunkIXNT7VMKjs.init_cjs_shims.call(void 0, );
@@ -5434,7 +5434,7 @@ async function saveExternalSlide(slide) {
5434
5434
  init_esm_shims();
5435
5435
 
5436
5436
  // package.json
5437
- var version = "0.30.0";
5437
+ var version = "0.30.1";
5438
5438
 
5439
5439
  // node/themes.ts
5440
5440
  init_esm_shims();
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ var _chunkHBDQZUZKjs = require('./chunk-HBDQZUZK.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkZDBME6ICjs = require('./chunk-ZDBME6IC.js');
11
+ var _chunk3GNNQ2GUjs = require('./chunk-3GNNQ2GU.js');
12
12
 
13
13
 
14
14
  var _chunk7FQD47HMjs = require('./chunk-7FQD47HM.js');
@@ -38,7 +38,7 @@ var CONFIG_RESTART_FIELDS = [
38
38
  "routerMode",
39
39
  "fonts"
40
40
  ];
41
- var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkZDBME6ICjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
41
+ var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunk3GNNQ2GUjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
42
42
  cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
43
43
  alias: "p",
44
44
  type: "number",
@@ -82,7 +82,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
82
82
  async function initServer() {
83
83
  if (server)
84
84
  await server.close();
85
- const options = await _chunkZDBME6ICjs.resolveOptions.call(void 0, { entry, theme }, "dev");
85
+ const options = await _chunk3GNNQ2GUjs.resolveOptions.call(void 0, { entry, theme }, "dev");
86
86
  port = userPort || await findFreePort(3030);
87
87
  server = await _chunkHBDQZUZKjs.createServer.call(void 0, options, {
88
88
  server: {
@@ -95,7 +95,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
95
95
  logLevel: log
96
96
  }, {
97
97
  onDataReload(newData, data) {
98
- if (!theme && _chunkZDBME6ICjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkZDBME6ICjs.resolveThemeName.call(void 0, data.config.theme)) {
98
+ if (!theme && _chunk3GNNQ2GUjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunk3GNNQ2GUjs.resolveThemeName.call(void 0, data.config.theme)) {
99
99
  console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
100
100
  initServer();
101
101
  } else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
@@ -171,8 +171,8 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
171
171
  type: "boolean",
172
172
  describe: "allow download as PDF"
173
173
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
174
- const { build } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./build-ZQJFWYTE.js")));
175
- const options = await _chunkZDBME6ICjs.resolveOptions.call(void 0, { entry, theme }, "build");
174
+ const { build } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./build-MOXNSJPP.js")));
175
+ const options = await _chunk3GNNQ2GUjs.resolveOptions.call(void 0, { entry, theme }, "build");
176
176
  if (download && !options.data.config.download)
177
177
  options.data.config.download = download;
178
178
  printInfo(options);
@@ -185,26 +185,26 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
185
185
  });
186
186
  });
187
187
  cli.command("format [entry]", "Format the markdown file", (args) => commonOptions(args).strict().help(), async ({ entry }) => {
188
- const data = await _chunkZDBME6ICjs.fs_exports.load(entry);
189
- _chunkZDBME6ICjs.fs_exports.prettify(data);
190
- await _chunkZDBME6ICjs.fs_exports.save(data);
188
+ const data = await _chunk3GNNQ2GUjs.fs_exports.load(entry);
189
+ _chunk3GNNQ2GUjs.fs_exports.prettify(data);
190
+ await _chunk3GNNQ2GUjs.fs_exports.save(data);
191
191
  });
192
192
  cli.command("theme [subcommand]", "Theme related operations", (command) => {
193
193
  return command.command("eject", "Eject current theme into local file system", (args) => commonOptions(args).option("dir", {
194
194
  type: "string",
195
195
  default: "theme"
196
196
  }), async ({ entry, dir, theme: themeInput }) => {
197
- const data = await _chunkZDBME6ICjs.fs_exports.load(entry);
198
- const theme = _chunkZDBME6ICjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
197
+ const data = await _chunk3GNNQ2GUjs.fs_exports.load(entry);
198
+ const theme = _chunk3GNNQ2GUjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
199
199
  if (theme === "none") {
200
200
  console.error('Can not eject theme "none"');
201
201
  process.exit(1);
202
202
  }
203
- if (_chunkZDBME6ICjs.isPath.call(void 0, theme)) {
203
+ if (_chunk3GNNQ2GUjs.isPath.call(void 0, theme)) {
204
204
  console.error("Theme is already ejected");
205
205
  process.exit(1);
206
206
  }
207
- const roots = _chunkZDBME6ICjs.getThemeRoots.call(void 0, theme, entry);
207
+ const roots = _chunk3GNNQ2GUjs.getThemeRoots.call(void 0, theme, entry);
208
208
  if (!roots.length) {
209
209
  console.error(`Does not found theme "${theme}"`);
210
210
  process.exit(1);
@@ -216,7 +216,7 @@ cli.command("theme [subcommand]", "Theme related operations", (command) => {
216
216
  const dirPath = `./${dir}`;
217
217
  data.slides[0].frontmatter.theme = dirPath;
218
218
  data.slides[0].raw = null;
219
- await _chunkZDBME6ICjs.fs_exports.save(data);
219
+ await _chunk3GNNQ2GUjs.fs_exports.save(data);
220
220
  console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
221
221
  });
222
222
  }, () => {
@@ -232,9 +232,9 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
232
232
  choices: ["pdf", "png", "md"],
233
233
  describe: "output format"
234
234
  }).option("timeout", {
235
- default: 500,
235
+ default: 3e4,
236
236
  type: "number",
237
- describe: "timeout for rendering each page"
237
+ describe: "timeout for rendering the print page"
238
238
  }).option("range", {
239
239
  type: "string",
240
240
  describe: 'page ranges to export, for example "1,4-5,6"'
@@ -259,16 +259,16 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
259
259
  }) => {
260
260
  output = output || `${_path2.default.basename(entry, ".md")}-export`;
261
261
  process.env.NODE_ENV = "production";
262
- const { exportSlides } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./export-SQVJKP3A.js")));
262
+ const { exportSlides } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "./export-X3EA2DO6.js")));
263
263
  const port = await findFreePort(12445);
264
- const options = await _chunkZDBME6ICjs.resolveOptions.call(void 0, { entry, theme }, "build");
264
+ const options = await _chunk3GNNQ2GUjs.resolveOptions.call(void 0, { entry, theme }, "build");
265
265
  const server = await _chunkHBDQZUZKjs.createServer.call(void 0, options, {
266
266
  server: { port },
267
267
  clearScreen: false
268
268
  });
269
269
  await server.listen(port);
270
270
  printInfo(options);
271
- _chunkZDBME6ICjs.fs_exports.filterDisabled(options.data);
271
+ _chunk3GNNQ2GUjs.fs_exports.filterDisabled(options.data);
272
272
  const width = options.data.config.canvasWidth;
273
273
  const height = Math.round(width / options.data.config.aspectRatio);
274
274
  output = await exportSlides({
@@ -306,7 +306,7 @@ function printInfo(options, port, remote) {
306
306
  console.log();
307
307
  console.log();
308
308
  console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
309
- console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkZDBME6ICjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
309
+ console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunk3GNNQ2GUjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
310
310
  console.log();
311
311
  console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
312
312
  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
@@ -8,7 +8,7 @@ import {
8
8
  resolveOptions,
9
9
  resolveThemeName,
10
10
  version
11
- } from "./chunk-KZHGLGA5.mjs";
11
+ } from "./chunk-HJCTB5CG.mjs";
12
12
  import {
13
13
  require_fast_deep_equal
14
14
  } from "./chunk-4AVLCCHB.mjs";
@@ -172,7 +172,7 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
172
172
  type: "boolean",
173
173
  describe: "allow download as PDF"
174
174
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
175
- const { build } = await Promise.resolve().then(() => __toESM(__require("./build-C73NWEPF.mjs")));
175
+ const { build } = await Promise.resolve().then(() => __toESM(__require("./build-SSLWFRFJ.mjs")));
176
176
  const options = await resolveOptions({ entry, theme }, "build");
177
177
  if (download && !options.data.config.download)
178
178
  options.data.config.download = download;
@@ -233,9 +233,9 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
233
233
  choices: ["pdf", "png", "md"],
234
234
  describe: "output format"
235
235
  }).option("timeout", {
236
- default: 500,
236
+ default: 3e4,
237
237
  type: "number",
238
- describe: "timeout for rendering each page"
238
+ describe: "timeout for rendering the print page"
239
239
  }).option("range", {
240
240
  type: "string",
241
241
  describe: 'page ranges to export, for example "1,4-5,6"'
@@ -260,7 +260,7 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
260
260
  }) => {
261
261
  output = output || `${path.basename(entry, ".md")}-export`;
262
262
  process.env.NODE_ENV = "production";
263
- const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-OZQCWKXN.mjs")));
263
+ const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-2FIFRI4R.mjs")));
264
264
  const port = await findFreePort(12445);
265
265
  const options = await resolveOptions({ entry, theme }, "build");
266
266
  const server = await createServer(options, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageExists
3
- } from "./chunk-KZHGLGA5.mjs";
3
+ } from "./chunk-HJCTB5CG.mjs";
4
4
  import {
5
5
  __require,
6
6
  __toESM,
@@ -55,7 +55,7 @@ async function exportSlides({
55
55
  output = "slides",
56
56
  slides,
57
57
  base = "/",
58
- timeout = 500,
58
+ timeout = 3e4,
59
59
  dark = false,
60
60
  routerMode = "history",
61
61
  width = 1920,
@@ -80,7 +80,8 @@ async function exportSlides({
80
80
  const path2 = `${no}?print${withClicks ? "=clicks" : ""}${clicks ? `&clicks=${clicks}` : ""}`;
81
81
  const url = routerMode === "hash" ? `http://localhost:${port}${base}#${path2}` : `http://localhost:${port}${base}${path2}`;
82
82
  await page.goto(url, {
83
- waitUntil: "networkidle"
83
+ waitUntil: "networkidle",
84
+ timeout
84
85
  });
85
86
  await page.waitForLoadState("networkidle");
86
87
  await page.emulateMedia({ colorScheme: dark ? "dark" : "light", media: "screen" });
@@ -94,7 +95,6 @@ async function exportSlides({
94
95
  }
95
96
  const frames = await page.frames();
96
97
  await Promise.all(frames.map((frame) => frame.waitForLoadState()));
97
- await page.waitForTimeout(timeout);
98
98
  }
99
99
  async function genPagePdf() {
100
100
  if (!output.endsWith(".pdf"))
@@ -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 _chunkZDBME6ICjs = require('./chunk-ZDBME6IC.js');
3
+ var _chunk3GNNQ2GUjs = require('./chunk-3GNNQ2GU.js');
4
4
 
5
5
 
6
6
 
@@ -55,14 +55,14 @@ async function exportSlides({
55
55
  output = "slides",
56
56
  slides,
57
57
  base = "/",
58
- timeout = 500,
58
+ timeout = 3e4,
59
59
  dark = false,
60
60
  routerMode = "history",
61
61
  width = 1920,
62
62
  height = 1080,
63
63
  withClicks = false
64
64
  }) {
65
- if (!_chunkZDBME6ICjs.packageExists.call(void 0, "playwright-chromium"))
65
+ if (!_chunk3GNNQ2GUjs.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 -D playwright-chromium`");
67
67
  const pages = _core.parseRangeString.call(void 0, total, range);
68
68
  const { chromium } = await Promise.resolve().then(() => _chunkIXNT7VMKjs.__toESM.call(void 0, _chunkIXNT7VMKjs.__require.call(void 0, "playwright-chromium")));
@@ -80,7 +80,8 @@ async function exportSlides({
80
80
  const path2 = `${no}?print${withClicks ? "=clicks" : ""}${clicks ? `&clicks=${clicks}` : ""}`;
81
81
  const url = routerMode === "hash" ? `http://localhost:${port}${base}#${path2}` : `http://localhost:${port}${base}${path2}`;
82
82
  await page.goto(url, {
83
- waitUntil: "networkidle"
83
+ waitUntil: "networkidle",
84
+ timeout
84
85
  });
85
86
  await page.waitForLoadState("networkidle");
86
87
  await page.emulateMedia({ colorScheme: dark ? "dark" : "light", media: "screen" });
@@ -94,7 +95,6 @@ async function exportSlides({
94
95
  }
95
96
  const frames = await page.frames();
96
97
  await Promise.all(frames.map((frame) => frame.waitForLoadState()));
97
- await page.waitForTimeout(timeout);
98
98
  }
99
99
  async function genPagePdf() {
100
100
  if (!output.endsWith(".pdf"))
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var _chunkHBDQZUZKjs = require('./chunk-HBDQZUZK.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkZDBME6ICjs = require('./chunk-ZDBME6IC.js');
12
+ var _chunk3GNNQ2GUjs = require('./chunk-3GNNQ2GU.js');
13
13
 
14
14
 
15
15
 
@@ -34,4 +34,4 @@ _chunkIXNT7VMKjs.init_cjs_shims.call(void 0, );
34
34
 
35
35
 
36
36
 
37
- exports.ViteSlidevPlugin = _chunk7FQD47HMjs.ViteSlidevPlugin; exports.createServer = _chunkHBDQZUZKjs.createServer; exports.createWindiCSSPlugin = _chunk7FQD47HMjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkZDBME6ICjs.getCLIRoot; exports.getClientRoot = _chunkZDBME6ICjs.getClientRoot; exports.getThemeRoots = _chunkZDBME6ICjs.getThemeRoots; exports.getUserRoot = _chunkZDBME6ICjs.getUserRoot; exports.isPath = _chunkZDBME6ICjs.isPath; exports.parser = _chunkZDBME6ICjs.fs_exports; exports.resolveOptions = _chunkZDBME6ICjs.resolveOptions;
37
+ exports.ViteSlidevPlugin = _chunk7FQD47HMjs.ViteSlidevPlugin; exports.createServer = _chunkHBDQZUZKjs.createServer; exports.createWindiCSSPlugin = _chunk7FQD47HMjs.createWindiCSSPlugin; exports.getCLIRoot = _chunk3GNNQ2GUjs.getCLIRoot; exports.getClientRoot = _chunk3GNNQ2GUjs.getClientRoot; exports.getThemeRoots = _chunk3GNNQ2GUjs.getThemeRoots; exports.getUserRoot = _chunk3GNNQ2GUjs.getUserRoot; exports.isPath = _chunk3GNNQ2GUjs.isPath; exports.parser = _chunk3GNNQ2GUjs.fs_exports; exports.resolveOptions = _chunk3GNNQ2GUjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  getUserRoot,
10
10
  isPath,
11
11
  resolveOptions
12
- } from "./chunk-KZHGLGA5.mjs";
12
+ } from "./chunk-HJCTB5CG.mjs";
13
13
  import {
14
14
  ViteSlidevPlugin,
15
15
  createWindiCSSPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Presentation slides for developers",
5
5
  "homepage": "https://sli.dev",
6
6
  "bugs": "https://github.com/slidevjs/slidev/issues",
@@ -42,9 +42,9 @@
42
42
  "@antfu/utils": "^0.5.1",
43
43
  "@iconify-json/carbon": "^1.1.3",
44
44
  "@iconify-json/ph": "^1.1.1",
45
- "@slidev/client": "0.30.0",
46
- "@slidev/parser": "0.30.0",
47
- "@slidev/types": "0.30.0",
45
+ "@slidev/client": "0.30.1",
46
+ "@slidev/parser": "0.30.1",
47
+ "@slidev/types": "0.30.1",
48
48
  "@vitejs/plugin-vue": "^2.3.1",
49
49
  "@vue/compiler-sfc": "^3.2.32",
50
50
  "cli-progress": "^3.10.0",