create-slidev 51.4.0 → 51.5.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev",
3
3
  "type": "module",
4
- "version": "51.4.0",
4
+ "version": "51.5.0",
5
5
  "description": "Create starter template for Slidev",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "ansis": "^3.17.0",
28
28
  "minimist": "^1.2.8",
29
29
  "prompts": "^2.4.2",
30
- "tinyexec": "^0.3.2"
30
+ "tinyexec": "^1.0.1"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "node build.mjs"
@@ -8,7 +8,7 @@
8
8
  "export": "slidev export"
9
9
  },
10
10
  "dependencies": {
11
- "@slidev/cli": "^51.4.0",
11
+ "@slidev/cli": "^51.5.0",
12
12
  "@slidev/theme-default": "latest",
13
13
  "@slidev/theme-seriph": "latest",
14
14
  "vue": "^3.5.13"
@@ -20,6 +20,9 @@ drawings:
20
20
  transition: slide-left
21
21
  # enable MDC Syntax: https://sli.dev/features/mdc
22
22
  mdc: true
23
+ # open graph
24
+ # seoMeta:
25
+ # ogImage: https://cover.sli.dev
23
26
  ---
24
27
 
25
28
  # Welcome to Slidev
@@ -31,7 +34,7 @@ Presentation slides for developers
31
34
  </div>
32
35
 
33
36
  <div class="abs-br m-6 text-xl">
34
- <button @click="$slidev.nav.openInEditor" title="Open in Editor" class="slidev-icon-btn">
37
+ <button @click="$slidev.nav.openInEditor()" title="Open in Editor" class="slidev-icon-btn">
35
38
  <carbon:edit />
36
39
  </button>
37
40
  <a href="https://github.com/slidevjs/slidev" target="_blank" class="slidev-icon-btn">