@slidev/cli 0.25.4 → 0.25.8

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,16 +1,16 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-Y36GZEY2.mjs";
3
+ } from "./chunk-226IETJG.mjs";
4
4
  import {
5
5
  getThemeRoots,
6
6
  isPath,
7
7
  resolveOptions,
8
8
  resolveThemeName,
9
9
  version
10
- } from "./chunk-TGCE4OH6.mjs";
10
+ } from "./chunk-7EB4SFAT.mjs";
11
11
  import {
12
12
  require_fast_deep_equal
13
- } from "./chunk-KOIYP37X.mjs";
13
+ } from "./chunk-ZYM6IFT5.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-CGIGPA7J.mjs")));
170
+ const { build } = await Promise.resolve().then(() => __toModule(__require("./build-FXRZQAN2.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-EAMU3L2K.mjs")));
258
+ const { exportSlides } = await Promise.resolve().then(() => __toModule(__require("./export-OWXSZZNV.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-TGCE4OH6.mjs";
3
+ } from "./chunk-7EB4SFAT.mjs";
4
4
  import {
5
5
  __require,
6
6
  __toModule
@@ -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 _chunkMTRD2VQLjs = require('./chunk-MTRD2VQL.js');
3
+ var _chunk2XXXTIHTjs = require('./chunk-2XXXTIHT.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
8
+ var _chunkQIDQYQEGjs = require('./chunk-QIDQYQEG.js');
9
9
 
10
10
  // node/export.ts
11
- _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
11
+ _chunkQIDQYQEGjs.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 (!_chunkMTRD2VQLjs.packageExists.call(void 0, "playwright-chromium"))
65
+ if (!_chunk2XXXTIHTjs.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(() => _chunkZKLT77C5js.__toModule.call(void 0, _chunkZKLT77C5js.__require.call(void 0, "playwright-chromium")));
67
+ const { chromium } = await Promise.resolve().then(() => _chunkQIDQYQEGjs.__toModule.call(void 0, _chunkQIDQYQEGjs.__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,26 +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 _chunkLLNTKIXIjs = require('./chunk-LLNTKIXI.js');
3
+ var _chunkDMF3GKR2js = require('./chunk-DMF3GKR2.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkMTRD2VQLjs = require('./chunk-MTRD2VQL.js');
10
+ var _chunk2XXXTIHTjs = require('./chunk-2XXXTIHT.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkCFZMPLS7js = require('./chunk-CFZMPLS7.js');
14
+ var _chunk5X4UZOIBjs = require('./chunk-5X4UZOIB.js');
15
15
 
16
16
 
17
- var _chunkZKLT77C5js = require('./chunk-ZKLT77C5.js');
17
+ var _chunkQIDQYQEGjs = require('./chunk-QIDQYQEG.js');
18
18
 
19
19
  // node/index.ts
20
- _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
20
+ _chunkQIDQYQEGjs.init_cjs_shims.call(void 0, );
21
21
 
22
22
  // node/declare.ts
23
- _chunkZKLT77C5js.init_cjs_shims.call(void 0, );
23
+ _chunkQIDQYQEGjs.init_cjs_shims.call(void 0, );
24
24
 
25
25
  // node/index.ts
26
26
  var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
@@ -34,4 +34,4 @@ var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs
34
34
 
35
35
 
36
36
 
37
- exports.ViteSlidevPlugin = _chunkCFZMPLS7js.ViteSlidevPlugin; exports.createServer = _chunkLLNTKIXIjs.createServer; exports.createWindiCSSPlugin = _chunkCFZMPLS7js.createWindiCSSPlugin; exports.getCLIRoot = _chunkMTRD2VQLjs.getCLIRoot; exports.getClientRoot = _chunkMTRD2VQLjs.getClientRoot; exports.getThemeRoots = _chunkMTRD2VQLjs.getThemeRoots; exports.isPath = _chunkMTRD2VQLjs.isPath; exports.parser = parser; exports.resolveOptions = _chunkMTRD2VQLjs.resolveOptions;
37
+ exports.ViteSlidevPlugin = _chunk5X4UZOIBjs.ViteSlidevPlugin; exports.createServer = _chunkDMF3GKR2js.createServer; exports.createWindiCSSPlugin = _chunk5X4UZOIBjs.createWindiCSSPlugin; exports.getCLIRoot = _chunk2XXXTIHTjs.getCLIRoot; exports.getClientRoot = _chunk2XXXTIHTjs.getClientRoot; exports.getThemeRoots = _chunk2XXXTIHTjs.getThemeRoots; exports.isPath = _chunk2XXXTIHTjs.isPath; exports.parser = parser; exports.resolveOptions = _chunk2XXXTIHTjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-Y36GZEY2.mjs";
3
+ } from "./chunk-226IETJG.mjs";
4
4
  import {
5
5
  getCLIRoot,
6
6
  getClientRoot,
7
7
  getThemeRoots,
8
8
  isPath,
9
9
  resolveOptions
10
- } from "./chunk-TGCE4OH6.mjs";
10
+ } from "./chunk-7EB4SFAT.mjs";
11
11
  import {
12
12
  ViteSlidevPlugin,
13
13
  createWindiCSSPlugin
14
- } from "./chunk-KOIYP37X.mjs";
14
+ } from "./chunk-ZYM6IFT5.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.25.4",
3
+ "version": "0.25.8",
4
4
  "description": "Presentation slides for developers",
5
5
  "homepage": "https://sli.dev",
6
6
  "bugs": "https://github.com/slidevjs/slidev/issues",
@@ -40,29 +40,29 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@antfu/utils": "^0.3.0",
43
- "@iconify/json": "^1.1.338",
44
- "@slidev/client": "0.25.4",
45
- "@slidev/parser": "0.25.4",
46
- "@slidev/types": "0.25.4",
47
- "@vitejs/plugin-vue": "^1.6.2",
48
- "@vue/compiler-sfc": "^3.2.12",
43
+ "@iconify/json": "^1.1.406",
44
+ "@slidev/client": "0.25.8",
45
+ "@slidev/parser": "0.25.8",
46
+ "@slidev/types": "0.25.8",
47
+ "@vitejs/plugin-vue": "^1.9.2",
48
+ "@vue/compiler-sfc": "^3.2.19",
49
49
  "cli-progress": "^3.9.1",
50
- "codemirror": "^5.62.3",
50
+ "codemirror": "^5.63.0",
51
51
  "connect": "^3.7.0",
52
52
  "debug": "^4.3.2",
53
53
  "fast-glob": "^3.2.7",
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.12.0",
58
- "js-base64": "^3.7.1",
57
+ "jiti": "^1.12.3",
58
+ "js-base64": "^3.7.2",
59
59
  "katex": "^0.13.18",
60
60
  "kolorist": "^1.5.0",
61
61
  "markdown-it": "^12.2.0",
62
62
  "markdown-it-footnote": "^3.0.3",
63
63
  "markdown-it-link-attributes": "^3.0.0",
64
- "monaco-editor": "^0.27.0",
65
- "nanoid": "^3.1.25",
64
+ "monaco-editor": "^0.28.1",
65
+ "nanoid": "^3.1.28",
66
66
  "open": "^8.2.1",
67
67
  "pdf-lib": "^1.16.0",
68
68
  "prismjs": "^1.25.0",
@@ -71,16 +71,16 @@
71
71
  "resolve-from": "^5.0.0",
72
72
  "resolve-global": "^1.0.0",
73
73
  "shiki": "^0.9.11",
74
- "unplugin-icons": "^0.11.3",
75
- "unplugin-vue-components": "^0.15.2",
76
- "vite": "^2.5.8",
74
+ "unplugin-icons": "^0.11.4",
75
+ "unplugin-vue-components": "^0.15.4",
76
+ "vite": "^2.5.10",
77
77
  "vite-plugin-md": "^0.11.1",
78
78
  "vite-plugin-remote-assets": "^0.2.2",
79
79
  "vite-plugin-vue-server-ref": "^0.2.4",
80
- "vite-plugin-windicss": "^1.4.3",
81
- "vue": "^3.2.12",
80
+ "vite-plugin-windicss": "^1.4.7",
81
+ "vue": "^3.2.19",
82
82
  "windicss": "^3.1.7",
83
- "yargs": "^17.1.1"
83
+ "yargs": "^17.2.1"
84
84
  },
85
85
  "devDependencies": {
86
86
  "fast-deep-equal": "^3.1.3",