@slidev/cli 52.14.0 → 52.14.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.
@@ -1,5 +1,5 @@
1
1
  import "./resolver-B4CxEjJF.mjs";
2
- import { t as resolveViteConfigs } from "./shared-DA_39LFQ.mjs";
2
+ import { t as resolveViteConfigs } from "./shared-CjLi-sXO.mjs";
3
3
  import { join, resolve } from "node:path";
4
4
  import { build as build$1 } from "vite";
5
5
  import { existsSync } from "node:fs";
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as resolveEntry, n as getRoots, r as isInstalledGlobally } from "./resolver-B4CxEjJF.mjs";
2
- import { a as parser, c as resolveAddons, d as updateFrontmatterPatch, i as resolveOptions, l as version, o as getThemeMeta, s as resolveTheme, u as loadSetups } from "./shared-DA_39LFQ.mjs";
3
- import { t as createServer } from "./serve-BLr_JRSb.mjs";
2
+ import { a as parser, c as resolveAddons, d as updateFrontmatterPatch, i as resolveOptions, l as version, o as getThemeMeta, s as resolveTheme, u as loadSetups } from "./shared-CjLi-sXO.mjs";
3
+ import { t as createServer } from "./serve-BFKmdoYb.mjs";
4
4
  import path from "node:path";
5
5
  import process from "node:process";
6
6
  import fs from "node:fs/promises";
@@ -288,7 +288,7 @@ cli.command("build [entry..]", "Build hostable SPA", (args) => exportOptions(com
288
288
  describe: "enable the inspect plugin for debugging"
289
289
  }).strict().help(), async (args) => {
290
290
  const { entry, theme, base, download, out, inspect, "without-notes": withoutNotes } = args;
291
- const { build } = await import("./build-BjxavfkV.mjs");
291
+ const { build } = await import("./build-XXSytKPK.mjs");
292
292
  for (const entryFile of entry) {
293
293
  const options = await resolveOptions({
294
294
  entry: entryFile,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./resolver-B4CxEjJF.mjs";
2
- import { a as parser, i as resolveOptions, n as ViteSlidevPlugin, r as createDataUtils } from "./shared-DA_39LFQ.mjs";
3
- import { t as createServer } from "./serve-BLr_JRSb.mjs";
2
+ import { a as parser, i as resolveOptions, n as ViteSlidevPlugin, r as createDataUtils } from "./shared-CjLi-sXO.mjs";
3
+ import { t as createServer } from "./serve-BFKmdoYb.mjs";
4
4
 
5
5
  export { ViteSlidevPlugin, createDataUtils, createServer, parser, resolveOptions };
@@ -1,4 +1,4 @@
1
- import { t as resolveViteConfigs } from "./shared-DA_39LFQ.mjs";
1
+ import { t as resolveViteConfigs } from "./shared-CjLi-sXO.mjs";
2
2
  import { join } from "node:path";
3
3
  import process from "node:process";
4
4
  import { createServer } from "vite";
@@ -503,7 +503,7 @@ function createLayoutWrapperPlugin({ data, utils }) {
503
503
 
504
504
  //#endregion
505
505
  //#region package.json
506
- var version = "52.14.0";
506
+ var version = "52.14.1";
507
507
 
508
508
  //#endregion
509
509
  //#region node/integrations/addons.ts
@@ -1186,7 +1186,11 @@ const templateMonacoRunDeps = {
1186
1186
  id: "/@slidev/monaco-run-deps",
1187
1187
  async getContent({ userRoot, data }) {
1188
1188
  if (!data.features.monaco) return "";
1189
- const deps = uniq(data.features.monaco.deps.concat(data.config.monacoTypesAdditionalPackages));
1189
+ const deps = uniq([
1190
+ ...data.features.monaco.deps,
1191
+ ...data.config.monacoTypesAdditionalPackages || [],
1192
+ ...data.config.monacoRunAdditionalDeps || []
1193
+ ]);
1190
1194
  const importerPath = resolve(userRoot, "./snippets/__importer__.ts");
1191
1195
  let result = "";
1192
1196
  for (let i = 0; i < deps.length; i++) {
@@ -1272,6 +1276,7 @@ const setupModules = [
1272
1276
  "code-runners",
1273
1277
  "monaco",
1274
1278
  "mermaid",
1279
+ "mermaid-renderer",
1275
1280
  "main",
1276
1281
  "root",
1277
1282
  "routes",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
3
  "type": "module",
4
- "version": "52.14.0",
4
+ "version": "52.14.1",
5
5
  "description": "Presentation slides for developers",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -46,15 +46,15 @@
46
46
  "@antfu/ni": "^28.2.0",
47
47
  "@antfu/utils": "^9.3.0",
48
48
  "@comark/markdown-it": "^0.3.0",
49
- "@iconify-json/carbon": "^1.2.18",
49
+ "@iconify-json/carbon": "^1.2.19",
50
50
  "@iconify-json/ph": "^1.2.2",
51
51
  "@iconify-json/svg-spinners": "^1.2.4",
52
52
  "@lillallol/outline-pdf": "^4.0.0",
53
- "@shikijs/markdown-it": "^4.0.0",
54
- "@shikijs/twoslash": "^4.0.0",
55
- "@shikijs/vitepress-twoslash": "^4.0.0",
56
- "@unocss/extractor-mdc": "^66.6.2",
57
- "@unocss/reset": "^66.6.2",
53
+ "@shikijs/markdown-it": "^4.0.1",
54
+ "@shikijs/twoslash": "^4.0.1",
55
+ "@shikijs/vitepress-twoslash": "^4.0.1",
56
+ "@unocss/extractor-mdc": "^66.6.3",
57
+ "@unocss/reset": "^66.6.3",
58
58
  "@vitejs/plugin-vue": "^6.0.4",
59
59
  "@vitejs/plugin-vue-jsx": "^5.1.4",
60
60
  "ansis": "^4.2.0",
@@ -89,12 +89,12 @@
89
89
  "resolve-from": "^5.0.0",
90
90
  "resolve-global": "^2.0.0",
91
91
  "semver": "^7.7.4",
92
- "shiki": "^4.0.0",
92
+ "shiki": "^4.0.1",
93
93
  "shiki-magic-move": "^1.2.1",
94
94
  "sirv": "^3.0.2",
95
95
  "source-map-js": "^1.2.1",
96
96
  "typescript": "^5.9.3",
97
- "unhead": "^2.1.9",
97
+ "unhead": "^2.1.10",
98
98
  "unocss": "^66.6.2",
99
99
  "unplugin-icons": "^23.0.1",
100
100
  "unplugin-vue-components": "^31.0.0",
@@ -110,9 +110,9 @@
110
110
  "vue": "^3.5.29",
111
111
  "yaml": "^2.8.2",
112
112
  "yargs": "^18.0.0",
113
- "@slidev/client": "52.14.0",
114
- "@slidev/parser": "52.14.0",
115
- "@slidev/types": "52.14.0"
113
+ "@slidev/parser": "52.14.1",
114
+ "@slidev/types": "52.14.1",
115
+ "@slidev/client": "52.14.1"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@hedgedoc/markdown-it-plugins": "^2.1.4",