@slidev/cli 0.28.3 → 0.28.4

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/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-MSSOXTVZ.mjs";
3
+ } from "./chunk-HHILGY4V.mjs";
4
4
  import {
5
5
  fs_exports,
6
6
  getThemeRoots,
@@ -8,16 +8,16 @@ import {
8
8
  resolveOptions,
9
9
  resolveThemeName,
10
10
  version
11
- } from "./chunk-S4SUAR5N.mjs";
11
+ } from "./chunk-ZSPINAL7.mjs";
12
12
  import {
13
13
  require_fast_deep_equal
14
- } from "./chunk-GWFBEY26.mjs";
14
+ } from "./chunk-Z6GM5SYV.mjs";
15
15
  import {
16
16
  __dirname,
17
17
  __require,
18
18
  __toModule,
19
19
  init_esm_shims
20
- } from "./chunk-4OPORETI.mjs";
20
+ } from "./chunk-3OEL7CJT.mjs";
21
21
 
22
22
  // node/cli.ts
23
23
  init_esm_shims();
@@ -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(() => __toModule(__require("./build-RXLELNJK.mjs")));
175
+ const { build } = await Promise.resolve().then(() => __toModule(__require("./build-JIUCLUJP.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;
@@ -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(() => __toModule(__require("./export-MHGYZJHW.mjs")));
263
+ const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-SEKHSOBB.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,11 +1,11 @@
1
1
  import {
2
2
  packageExists
3
- } from "./chunk-S4SUAR5N.mjs";
3
+ } from "./chunk-ZSPINAL7.mjs";
4
4
  import {
5
5
  __require,
6
6
  __toModule,
7
7
  init_esm_shims
8
- } from "./chunk-4OPORETI.mjs";
8
+ } from "./chunk-3OEL7CJT.mjs";
9
9
 
10
10
  // node/export.ts
11
11
  init_esm_shims();
@@ -1,14 +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 _chunkTJBBZINDjs = require('./chunk-TJBBZIND.js');
3
+ var _chunkDRIVUXDAjs = require('./chunk-DRIVUXDA.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkQT3EQ43Ajs = require('./chunk-QT3EQ43A.js');
8
+ var _chunkTDRZKG4Wjs = require('./chunk-TDRZKG4W.js');
9
9
 
10
10
  // node/export.ts
11
- _chunkQT3EQ43Ajs.init_cjs_shims.call(void 0, );
11
+ _chunkTDRZKG4Wjs.init_cjs_shims.call(void 0, );
12
12
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
13
13
  var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
14
14
  var _pdflib = require('pdf-lib');
@@ -62,9 +62,9 @@ async function exportSlides({
62
62
  height = 1080,
63
63
  withClicks = false
64
64
  }) {
65
- if (!_chunkTJBBZINDjs.packageExists.call(void 0, "playwright-chromium"))
65
+ if (!_chunkDRIVUXDAjs.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
- const { chromium } = await Promise.resolve().then(() => _chunkQT3EQ43Ajs.__toModule.call(void 0, _chunkQT3EQ43Ajs.__require.call(void 0, "playwright-chromium")));
67
+ const { chromium } = await Promise.resolve().then(() => _chunkTDRZKG4Wjs.__toModule.call(void 0, _chunkTDRZKG4Wjs.__require.call(void 0, "playwright-chromium")));
68
68
  const browser = await chromium.launch();
69
69
  const context = await browser.newContext({
70
70
  viewport: {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHF2PX43Ijs = require('./chunk-HF2PX43I.js');
3
+ var _chunkQSS57L2Ujs = require('./chunk-QSS57L2U.js');
4
4
 
5
5
 
6
6
 
@@ -9,20 +9,20 @@ var _chunkHF2PX43Ijs = require('./chunk-HF2PX43I.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkTJBBZINDjs = require('./chunk-TJBBZIND.js');
12
+ var _chunkDRIVUXDAjs = require('./chunk-DRIVUXDA.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkMFCJMLB5js = require('./chunk-MFCJMLB5.js');
16
+ var _chunkR3WEVJQAjs = require('./chunk-R3WEVJQA.js');
17
17
 
18
18
 
19
- var _chunkQT3EQ43Ajs = require('./chunk-QT3EQ43A.js');
19
+ var _chunkTDRZKG4Wjs = require('./chunk-TDRZKG4W.js');
20
20
 
21
21
  // node/index.ts
22
- _chunkQT3EQ43Ajs.init_cjs_shims.call(void 0, );
22
+ _chunkTDRZKG4Wjs.init_cjs_shims.call(void 0, );
23
23
 
24
24
  // node/declare.ts
25
- _chunkQT3EQ43Ajs.init_cjs_shims.call(void 0, );
25
+ _chunkTDRZKG4Wjs.init_cjs_shims.call(void 0, );
26
26
 
27
27
 
28
28
 
@@ -34,4 +34,4 @@ _chunkQT3EQ43Ajs.init_cjs_shims.call(void 0, );
34
34
 
35
35
 
36
36
 
37
- exports.ViteSlidevPlugin = _chunkMFCJMLB5js.ViteSlidevPlugin; exports.createServer = _chunkHF2PX43Ijs.createServer; exports.createWindiCSSPlugin = _chunkMFCJMLB5js.createWindiCSSPlugin; exports.getCLIRoot = _chunkTJBBZINDjs.getCLIRoot; exports.getClientRoot = _chunkTJBBZINDjs.getClientRoot; exports.getThemeRoots = _chunkTJBBZINDjs.getThemeRoots; exports.getUserRoot = _chunkTJBBZINDjs.getUserRoot; exports.isPath = _chunkTJBBZINDjs.isPath; exports.parser = _chunkTJBBZINDjs.fs_exports; exports.resolveOptions = _chunkTJBBZINDjs.resolveOptions;
37
+ exports.ViteSlidevPlugin = _chunkR3WEVJQAjs.ViteSlidevPlugin; exports.createServer = _chunkQSS57L2Ujs.createServer; exports.createWindiCSSPlugin = _chunkR3WEVJQAjs.createWindiCSSPlugin; exports.getCLIRoot = _chunkDRIVUXDAjs.getCLIRoot; exports.getClientRoot = _chunkDRIVUXDAjs.getClientRoot; exports.getThemeRoots = _chunkDRIVUXDAjs.getThemeRoots; exports.getUserRoot = _chunkDRIVUXDAjs.getUserRoot; exports.isPath = _chunkDRIVUXDAjs.isPath; exports.parser = _chunkDRIVUXDAjs.fs_exports; exports.resolveOptions = _chunkDRIVUXDAjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-MSSOXTVZ.mjs";
3
+ } from "./chunk-HHILGY4V.mjs";
4
4
  import {
5
5
  fs_exports,
6
6
  getCLIRoot,
@@ -9,14 +9,14 @@ import {
9
9
  getUserRoot,
10
10
  isPath,
11
11
  resolveOptions
12
- } from "./chunk-S4SUAR5N.mjs";
12
+ } from "./chunk-ZSPINAL7.mjs";
13
13
  import {
14
14
  ViteSlidevPlugin,
15
15
  createWindiCSSPlugin
16
- } from "./chunk-GWFBEY26.mjs";
16
+ } from "./chunk-Z6GM5SYV.mjs";
17
17
  import {
18
18
  init_esm_shims
19
- } from "./chunk-4OPORETI.mjs";
19
+ } from "./chunk-3OEL7CJT.mjs";
20
20
 
21
21
  // node/index.ts
22
22
  init_esm_shims();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.28.3",
3
+ "version": "0.28.4",
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.0",
43
43
  "@iconify-json/carbon": "^1.0.14",
44
44
  "@iconify-json/ph": "^1.0.4",
45
- "@slidev/client": "0.28.3",
46
- "@slidev/parser": "0.28.3",
47
- "@slidev/types": "0.28.3",
45
+ "@slidev/client": "0.28.4",
46
+ "@slidev/parser": "0.28.4",
47
+ "@slidev/types": "0.28.4",
48
48
  "@vitejs/plugin-vue": "^2.1.0",
49
49
  "@vue/compiler-sfc": "^3.2.30",
50
50
  "cli-progress": "^3.10.0",