@slidev/cli 0.46.0 → 0.46.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.
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-HJK7CHXL.mjs";
5
+ } from "./chunk-FPUM6TIB.mjs";
6
6
  import "./chunk-CTBVOVLQ.mjs";
7
7
  import "./chunk-5L3XKTHL.mjs";
8
8
  import "./chunk-BXO7ZPPU.mjs";
@@ -160,7 +160,7 @@ var dependencies = {
160
160
  resolve: "^1.22.8",
161
161
  unocss: "^0.58.0",
162
162
  "vite-plugin-windicss": "^1.9.2",
163
- vue: "^3.3.11",
163
+ vue: "^3.3.12",
164
164
  "vue-router": "^4.2.5",
165
165
  "vue-starport": "^0.4.0",
166
166
  windicss: "^3.5.6"
@@ -1462,7 +1462,12 @@ async function createMarkdownPlugin({ data: { config }, roots, mode, entry }, {
1462
1462
  ...options.transformers || [],
1463
1463
  transformerTwoSlash({
1464
1464
  explicitTrigger: true,
1465
- renderer: rendererRich
1465
+ renderer: rendererRich(),
1466
+ twoslashOptions: {
1467
+ defaultOptions: {
1468
+ noErrorValidation: true
1469
+ }
1470
+ }
1466
1471
  }),
1467
1472
  {
1468
1473
  pre(pre) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ViteSlidevPlugin,
3
3
  mergeViteConfigs
4
- } from "./chunk-HJK7CHXL.mjs";
4
+ } from "./chunk-FPUM6TIB.mjs";
5
5
  import {
6
6
  packageExists,
7
7
  resolveImportPath
@@ -2523,7 +2523,7 @@ async function createServer(options2, viteConfig = {}, serverOptions = {}) {
2523
2523
  import * as parser from "@slidev/parser/fs";
2524
2524
 
2525
2525
  // package.json
2526
- var version = "0.46.0";
2526
+ var version = "0.46.1";
2527
2527
 
2528
2528
  // node/themes.ts
2529
2529
  import prompts2 from "prompts";
package/dist/cli.mjs CHANGED
@@ -9,8 +9,8 @@ import {
9
9
  resolveOptions,
10
10
  resolveThemeName,
11
11
  version
12
- } from "./chunk-LJCKPP2I.mjs";
13
- import "./chunk-HJK7CHXL.mjs";
12
+ } from "./chunk-RRC2SQPF.mjs";
13
+ import "./chunk-FPUM6TIB.mjs";
14
14
  import {
15
15
  loadSetups
16
16
  } from "./chunk-CTBVOVLQ.mjs";
@@ -269,7 +269,7 @@ cli.command(
269
269
  }).strict().help(),
270
270
  async (args) => {
271
271
  const { entry, theme, watch, base, download, out, inspect } = args;
272
- const { build } = await import("./build-YLYTHH42.mjs");
272
+ const { build } = await import("./build-Q7WKYPRH.mjs");
273
273
  for (const entryFile of entry) {
274
274
  const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
275
275
  if (download && !options.data.config.download)
package/dist/index.mjs CHANGED
@@ -9,13 +9,13 @@ import {
9
9
  isPath,
10
10
  parser,
11
11
  resolveOptions
12
- } from "./chunk-LJCKPP2I.mjs";
12
+ } from "./chunk-RRC2SQPF.mjs";
13
13
  import {
14
14
  createWindiCSSPlugin
15
15
  } from "./chunk-GLZC72RJ.mjs";
16
16
  import {
17
17
  ViteSlidevPlugin
18
- } from "./chunk-HJK7CHXL.mjs";
18
+ } from "./chunk-FPUM6TIB.mjs";
19
19
  import "./chunk-CTBVOVLQ.mjs";
20
20
  import "./chunk-5L3XKTHL.mjs";
21
21
  import "./chunk-BXO7ZPPU.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.46.0",
3
+ "version": "0.46.1",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -74,7 +74,7 @@
74
74
  "markdown-it-footnote": "^4.0.0",
75
75
  "markdown-it-link-attributes": "^4.0.1",
76
76
  "markdown-it-mdc": "^0.2.1",
77
- "markdown-it-shikiji": "^0.8.7",
77
+ "markdown-it-shikiji": "^0.9.9",
78
78
  "monaco-editor": "^0.37.1",
79
79
  "nanoid": "^5.0.4",
80
80
  "open": "^9.1.0",
@@ -87,28 +87,28 @@
87
87
  "resolve": "^1.22.8",
88
88
  "resolve-from": "^5.0.0",
89
89
  "resolve-global": "^2.0.0",
90
- "shiki": "npm:shikiji-compat@^0.8.7",
91
- "shikiji": "^0.8.7",
92
- "shikiji-twoslash": "^0.8.7",
90
+ "shikiji": "^0.9.9",
91
+ "shiki": "npm:shikiji-compat@^0.9.9",
92
+ "shikiji-twoslash": "^0.9.9",
93
93
  "sirv": "^2.0.3",
94
94
  "unocss": "^0.58.0",
95
95
  "unplugin-icons": "^0.18.1",
96
96
  "unplugin-vue-components": "^0.26.0",
97
97
  "unplugin-vue-markdown": "^0.25.2",
98
98
  "uqr": "^0.1.2",
99
- "vite": "^5.0.8",
99
+ "vite": "^5.0.10",
100
100
  "vite-plugin-inspect": "^0.8.1",
101
101
  "vite-plugin-remote-assets": "^0.4.0",
102
102
  "vite-plugin-static-copy": "^1.0.0",
103
103
  "vite-plugin-vue-server-ref": "^0.4.0",
104
104
  "vite-plugin-windicss": "^1.9.2",
105
105
  "vitefu": "^0.2.5",
106
- "vue": "^3.3.11",
106
+ "vue": "^3.3.12",
107
107
  "windicss": "^3.5.6",
108
108
  "yargs": "^17.7.2",
109
- "@slidev/client": "0.46.0",
110
- "@slidev/parser": "0.46.0",
111
- "@slidev/types": "0.46.0"
109
+ "@slidev/parser": "0.46.1",
110
+ "@slidev/client": "0.46.1",
111
+ "@slidev/types": "0.46.1"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@hedgedoc/markdown-it-plugins": "^2.1.4",