@slidev/cli 0.27.20 → 0.28.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/dist/{build-LK5RLV7L.js → build-IHQEXPWU.js} +24 -25
- package/dist/{build-OT76Q4KA.mjs → build-MGE5AXXE.mjs} +15 -16
- package/dist/{chunk-FN2B33RM.mjs → chunk-2E3KKOOJ.mjs} +21 -19
- package/dist/{chunk-RUL3XRPS.js → chunk-BYTWGCY3.js} +9 -3
- package/dist/{chunk-XEDZVJCH.js → chunk-FHAYPMSG.js} +3468 -424
- package/dist/{chunk-3ND6GSCF.js → chunk-INYQJTKA.js} +71 -69
- package/dist/{chunk-JGWGLMRC.mjs → chunk-MP2CDYSZ.mjs} +3237 -193
- package/dist/{chunk-3LH2GTGU.mjs → chunk-OXQUV4ZP.mjs} +8 -2
- package/dist/{chunk-2TTM3NLX.mjs → chunk-RLNIZC66.mjs} +2 -2
- package/dist/{chunk-VN5XPBZO.js → chunk-Z64T7ZBU.js} +4 -4
- package/dist/cli.js +26 -26
- package/dist/cli.mjs +13 -13
- package/dist/{export-IU4RLVW7.mjs → export-7GHMNSMB.mjs} +2 -2
- package/dist/{export-FUMCNU5W.js → export-WXQSOLRA.js} +5 -5
- package/dist/index.d.ts +68 -4
- package/dist/index.js +9 -11
- package/dist/index.mjs +6 -8
- package/package.json +29 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"homepage": "https://sli.dev",
|
|
6
6
|
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
@@ -39,57 +39,57 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@antfu/utils": "^0.
|
|
42
|
+
"@antfu/utils": "^0.4.0",
|
|
43
43
|
"@iconify-json/carbon": "^1.0.12",
|
|
44
|
-
"@iconify-json/ph": "^1.0.
|
|
45
|
-
"@slidev/client": "0.
|
|
46
|
-
"@slidev/parser": "0.
|
|
47
|
-
"@slidev/types": "0.
|
|
48
|
-
"@vitejs/plugin-vue": "^2.0.
|
|
44
|
+
"@iconify-json/ph": "^1.0.4",
|
|
45
|
+
"@slidev/client": "0.28.0",
|
|
46
|
+
"@slidev/parser": "0.28.0",
|
|
47
|
+
"@slidev/types": "0.28.0",
|
|
48
|
+
"@vitejs/plugin-vue": "^2.0.1",
|
|
49
49
|
"@vue/compiler-sfc": "^3.2.26",
|
|
50
|
-
"cli-progress": "^3.
|
|
51
|
-
"codemirror": "^5.
|
|
50
|
+
"cli-progress": "^3.10.0",
|
|
51
|
+
"codemirror": "^5.65.0",
|
|
52
52
|
"connect": "^3.7.0",
|
|
53
53
|
"debug": "^4.3.3",
|
|
54
|
-
"fast-glob": "^3.2.
|
|
54
|
+
"fast-glob": "^3.2.10",
|
|
55
55
|
"fs-extra": "^10.0.0",
|
|
56
56
|
"global-dirs": "^3.0.0",
|
|
57
57
|
"import-from": "^4.0.0",
|
|
58
58
|
"is-installed-globally": "^0.4.0",
|
|
59
59
|
"jiti": "^1.12.9",
|
|
60
60
|
"js-base64": "^3.7.2",
|
|
61
|
-
"katex": "^0.15.
|
|
62
|
-
"kolorist": "^1.5.
|
|
63
|
-
"markdown-it": "^12.3.
|
|
61
|
+
"katex": "^0.15.2",
|
|
62
|
+
"kolorist": "^1.5.1",
|
|
63
|
+
"markdown-it": "^12.3.2",
|
|
64
64
|
"markdown-it-footnote": "^3.0.3",
|
|
65
|
-
"markdown-it-link-attributes": "^
|
|
66
|
-
"monaco-editor": "^0.31.
|
|
67
|
-
"nanoid": "^3.1.
|
|
65
|
+
"markdown-it-link-attributes": "^4.0.0",
|
|
66
|
+
"monaco-editor": "^0.31.1",
|
|
67
|
+
"nanoid": "^3.1.32",
|
|
68
68
|
"open": "^8.4.0",
|
|
69
69
|
"pdf-lib": "^1.17.1",
|
|
70
70
|
"plantuml-encoder": "^1.4.0",
|
|
71
|
-
"prismjs": "^1.
|
|
71
|
+
"prismjs": "^1.26.0",
|
|
72
72
|
"prompts": "^2.4.2",
|
|
73
|
-
"resolve": "^1.
|
|
73
|
+
"resolve": "^1.21.0",
|
|
74
74
|
"resolve-from": "^5.0.0",
|
|
75
75
|
"resolve-global": "^1.0.0",
|
|
76
|
-
"shiki": "^0.
|
|
77
|
-
"unplugin-icons": "^0.
|
|
78
|
-
"unplugin-vue-components": "^0.17.
|
|
79
|
-
"vite": "^2.7.
|
|
80
|
-
"vite-plugin-md": "^0.11.
|
|
76
|
+
"shiki": "^0.10.0",
|
|
77
|
+
"unplugin-icons": "^0.13.0",
|
|
78
|
+
"unplugin-vue-components": "^0.17.11",
|
|
79
|
+
"vite": "^2.7.12",
|
|
80
|
+
"vite-plugin-md": "^0.11.7",
|
|
81
81
|
"vite-plugin-remote-assets": "^0.2.2",
|
|
82
82
|
"vite-plugin-vue-server-ref": "^0.2.4",
|
|
83
|
-
"vite-plugin-windicss": "^1.
|
|
83
|
+
"vite-plugin-windicss": "^1.6.2",
|
|
84
84
|
"vue": "^3.2.26",
|
|
85
|
-
"windicss": "^3.
|
|
86
|
-
"yargs": "^17.3.
|
|
85
|
+
"windicss": "^3.4.2",
|
|
86
|
+
"yargs": "^17.3.1"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@types/plantuml-encoder": "^1.4.0",
|
|
90
90
|
"fast-deep-equal": "^3.1.3",
|
|
91
91
|
"semver": "^7.3.5",
|
|
92
|
-
"sirv": "^
|
|
92
|
+
"sirv": "^2.0.0"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|
|
95
95
|
"node": ">=14.0.0"
|
|
@@ -98,5 +98,6 @@
|
|
|
98
98
|
"build": "rimraf dist && tsup node/index.ts node/cli.ts --dts --format cjs,esm --splitting --external @slidev/client/package.json",
|
|
99
99
|
"dev": "nr build --watch",
|
|
100
100
|
"start": "esno node/cli.ts"
|
|
101
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"readme": "<br>\n<p align=\"center\">\n<a href=\"https://sli.dev\" target=\"_blank\">\n<img src=\"https://sli.dev/logo-title.png\" alt=\"Slidev\" height=\"250\" width=\"250\"/>\n</a>\n</p>\n\n<p align=\"center\">\nPresentation <b>slide</b>s for <b>dev</b>elopers 🧑💻👩💻👨💻\n</p>\n\n<p align=\"center\">\n<a href=\"https://www.npmjs.com/package/@slidev/cli\" target=\"__blank\"><img src=\"https://img.shields.io/npm/v/@slidev/cli?color=2B90B6&label=\" alt=\"NPM version\"></a>\n<a href=\"https://www.npmjs.com/package/@slidev/cli\" target=\"__blank\"><img alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@slidev/cli?color=349dbe&label=\"></a>\n<a href=\"https://sli.dev/\" target=\"__blank\"><img src=\"https://img.shields.io/static/v1?label=&message=docs%20%26%20demos&color=45b8cd\" alt=\"Docs & Demos\"></a>\n<a href=\"https://sli.dev/themes/gallery.html\" target=\"__blank\"><img src=\"https://img.shields.io/static/v1?label=&message=themes&color=4ec5d4\" alt=\"Themes\"></a>\n<br>\n<a href=\"https://github.com/slidevjs/slidev\" target=\"__blank\"><img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/slidevjs/slidev?style=social\"></a>\n</p>\n\n<p align=\"center\">\n <a href=\"https://twitter.com/antfu7/status/1389604687502995457\">Video Preview</a> | <a href=\"https://sli.dev\">Documentation</a>\n</p>\n\n<p align=\"center\">\n<table>\n<tbody>\n<td align=\"center\">\n<img width=\"2000\" height=\"0\"><br>\nStatus: <b>Public Beta 🎉</b><br>\n<sub>Made possible by my <a href=\"https://github.com/sponsors/antfu\">Sponsor Program 💖</a></sub><br>\n<img width=\"2000\" height=\"0\">\n</td>\n</tbody>\n</table>\n</p>\n\n## Features\n\n- 📝 [**Markdown-based**](https://sli.dev/guide/syntax.html) - use your favorite editors and workflow\n- 🧑💻 [**Developer Friendly**](https://sli.dev/guide/syntax.html#code-blocks) - built-in syntax highlighting, live coding, etc.\n- 🎨 [**Themable**](https://sli.dev/themes/gallery.html) - theme can be shared and used with npm packages.\n- 🌈 [**Stylish**](https://sli.dev/guide/syntax.html#embedded-styles) - [Windi CSS](https://windicss.org/) on-demand utilities, easy-to-use embedded stylesheets.\n- 🤹 [**Interactive**](https://sli.dev/custom/directory-structure.html#components) - embedding Vue components seamlessly.\n- 🎙 [**Presenter Mode**](https://sli.dev/guide/presenter-mode.html) - use another window, or even your phone to control your slides.\n- 🧮 [**LaTeX**](https://sli.dev/guide/syntax.html#latex) - built-in LaTeX math equations support.\n- 📰 [**Diagrams**](https://sli.dev/guide/syntax.html#diagrams) - creates diagrams with textual descriptions\n- 🌟 [**Icons**](https://sli.dev/guide/syntax.html#icons) - access to icons from any iconset directly.\n- 💻 [**Editors**](https://sli.dev/guide/editors.html) - integrated editor, or [extension for VS Code](https://github.com/slidevjs/slidev-vscode)\n- 🎥 [**Recording**](https://sli.dev/guide/recording.html) - built-in recording and camera view.\n- 📤 [**Portable**](https://sli.dev/guide/exporting.html) - export into PDF, PNGs, or even a hostable SPA.\n- ⚡️ [**Fast**](https://vitejs.dev) - instant reloading powered by [Vite](https://vitejs.dev).\n- 🛠 [**Hackable**](https://sli.dev/custom/config-vite.html) - using Vite plugins, Vue components, or any npm packages.\n\n## Getting Started\n\n### Try it Online ⚡️\n\n[sli.dev/new](https://sli.dev/new)\n\n[](https://sli.dev/new)\n\n### Init Project Locally\n\nInstall [Node.js >=14](https://nodejs.org/) and run the following command:\n\n```bash\nnpm init slidev\n```\n\nDocumentations:\n**[English](https://sli.dev)** | [中文文档](https://cn.sli.dev) | [Français](https://fr.sli.dev) | [Español](https://es.sli.dev) | [Русский](https://ru.sli.dev) | [Português-BR](https://br.sli.dev)\n\nDiscord: [chat.sli.dev](https://chat.sli.dev)\n\nFor a full example, you can check the [demo](https://github.com/slidevjs/slidev/blob/main/demo) folder, which is also the source file for [my previous talk](https://antfu.me/posts/composable-vue-vueday-2021).\n\n## Tech Stack\n\n- [Vite](https://vitejs.dev) - An extremely fast frontend tooling\n- [Vue 3](https://v3.vuejs.org/) powered [Markdown](https://daringfireball.net/projects/markdown/syntax) - Focus on the content while having the power of HTML and Vue components whenever needed\n- [Windi CSS](https://github.com/windicss/windicss) - On-demand utility-first CSS framework, style your slides at ease\n- [Prism](https://github.com/PrismJS/prism), [Shiki](https://github.com/shikijs/shiki), [Monaco Editor](https://github.com/Microsoft/monaco-editor) - First-class code snippets support with live coding capability\n- [RecordRTC](https://recordrtc.org) - Built-in recording and camera view\n- [VueUse](https://vueuse.org) family - [`@vueuse/core`](https://github.com/vueuse/vueuse), [`@vueuse/head`](https://github.com/vueuse/head), [`@vueuse/motion`](https://github.com/vueuse/motion), etc.\n- [Iconify](https://iconify.design/) - Iconsets collection.\n- [Drauu](https://github.com/antfu/drauu) - Drawing and annotations support\n- [KaTeX](https://katex.org/) - LaTeX math rendering.\n- [Mermaid](https://mermaid-js.github.io/mermaid) - Textual Diagrams.\n\n## Sponsors\n\nThis project is made possible by all the sponsors supporting my work:\n\n<p align=\"center\">\n <a href=\"https://github.com/sponsors/antfu\">\n <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>\n </a>\n</p>\n\n## License\n\nMIT License © 2021 [Anthony Fu](https://github.com/antfu)\n"
|
|
102
103
|
}
|