@slidev/cli 0.43.7 → 0.43.9

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.43.7",
3
+ "version": "0.43.9",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "module": "dist/index.mjs",
23
23
  "types": "dist/index.d.ts",
24
24
  "bin": {
25
- "slidev": "./bin/slidev.js"
25
+ "slidev": "./bin/slidev.mjs"
26
26
  },
27
27
  "files": [
28
28
  "bin",
@@ -48,8 +48,8 @@
48
48
  "@iconify-json/ph": "^1.1.6",
49
49
  "@lillallol/outline-pdf": "^4.0.0",
50
50
  "@mrdrogdrog/optional": "^1.2.1",
51
- "@unocss/extractor-mdc": "^0.56.5",
52
- "@unocss/reset": "^0.56.5",
51
+ "@unocss/extractor-mdc": "^0.57.1",
52
+ "@unocss/reset": "^0.57.1",
53
53
  "@vitejs/plugin-vue": "^4.4.0",
54
54
  "@vitejs/plugin-vue-jsx": "^3.0.2",
55
55
  "@windicss/config": "^1.9.1",
@@ -74,37 +74,39 @@
74
74
  "markdown-it-link-attributes": "^4.0.1",
75
75
  "markdown-it-mdc": "^0.1.4",
76
76
  "monaco-editor": "^0.37.1",
77
- "nanoid": "^5.0.1",
78
- "open": "^8.4.1",
77
+ "nanoid": "^5.0.2",
78
+ "open": "^9.1.0",
79
79
  "pdf-lib": "^1.17.1",
80
80
  "plantuml-encoder": "^1.4.0",
81
81
  "postcss-nested": "^6.0.1",
82
82
  "prismjs": "^1.29.0",
83
83
  "prompts": "^2.4.2",
84
- "resolve": "^1.22.6",
84
+ "public-ip": "^6.0.1",
85
+ "resolve": "^1.22.8",
85
86
  "resolve-from": "^5.0.0",
86
87
  "resolve-global": "^1.0.0",
87
- "shiki": "npm:shikiji-compat@^0.6.9",
88
- "unocss": "^0.56.5",
89
- "unplugin-icons": "^0.17.0",
88
+ "shiki": "npm:shikiji-compat@^0.6.10",
89
+ "unocss": "^0.57.1",
90
+ "unplugin-icons": "^0.17.1",
90
91
  "unplugin-vue-components": "^0.25.2",
91
92
  "unplugin-vue-markdown": "^0.24.3",
92
93
  "uqr": "^0.1.2",
93
- "vite": "^4.4.11",
94
+ "vite": "^4.5.0",
94
95
  "vite-plugin-inspect": "^0.7.40",
95
96
  "vite-plugin-remote-assets": "^0.3.2",
96
97
  "vite-plugin-static-copy": "^0.17.0",
97
98
  "vite-plugin-vue-server-ref": "^0.3.4",
98
99
  "vite-plugin-windicss": "^1.9.1",
99
- "vue": "^3.3.4",
100
+ "vitefu": "^0.2.5",
101
+ "vue": "^3.3.7",
100
102
  "windicss": "^3.5.6",
101
103
  "yargs": "^17.7.2",
102
- "@slidev/client": "0.43.7",
103
- "@slidev/parser": "0.43.7",
104
- "@slidev/types": "0.43.7"
104
+ "@slidev/client": "0.43.9",
105
+ "@slidev/parser": "0.43.9",
106
+ "@slidev/types": "0.43.9"
105
107
  },
106
108
  "devDependencies": {
107
- "@types/plantuml-encoder": "^1.4.0",
109
+ "@types/plantuml-encoder": "^1.4.1",
108
110
  "fast-deep-equal": "^3.1.3",
109
111
  "local-pkg": "^0.5.0",
110
112
  "semver": "^7.5.4",
package/bin/slidev.js DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env node
2
- 'use strict'
3
-
4
- const process = require('node:process')
5
- const path = require('node:path')
6
- const resolveFrom = require('resolve-from')
7
-
8
- let modulePath = '../dist/cli'
9
- try {
10
- // use local cli if exists
11
- modulePath = path.join(path.dirname(resolveFrom(process.cwd(), '@slidev/cli')), 'cli.js')
12
- }
13
- catch {}
14
-
15
- require(modulePath)