@slidev/cli 0.49.0 → 0.49.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.
package/README.md ADDED
@@ -0,0 +1,102 @@
1
+ <br>
2
+ <p align="center">
3
+ <a href="https://sli.dev" target="_blank">
4
+ <img src="https://sli.dev/logo-title.png" alt="Slidev" height="250" width="250"/>
5
+ </a>
6
+ </p>
7
+
8
+ <p align="center">
9
+ Presentation <b>slide</b>s for <b>dev</b>elopers 🧑‍💻👩‍💻👨‍💻
10
+ </p>
11
+
12
+ <p align="center">
13
+ <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>
14
+ <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>
15
+ <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>
16
+ <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>
17
+ <br>
18
+ <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>
19
+ </p>
20
+
21
+ <p align="center">
22
+ <a href="https://twitter.com/antfu7/status/1389604687502995457">Video Preview</a> | <a href="https://sli.dev">Documentation</a>
23
+ </p>
24
+
25
+ <div align="center">
26
+ <table>
27
+ <tbody>
28
+ <td align="center">
29
+ <img width="2000" height="0" alt="" aria-hiden><br>
30
+ <sub>Made possible by my <a href="https://github.com/sponsors/antfu">Sponsor Program 💖</a></sub><br>
31
+ <img width="2000" height="0" alt="" aria-hiden>
32
+ </td>
33
+ </tbody>
34
+ </table>
35
+ </div>
36
+
37
+ ## Features
38
+
39
+ - 📝 [**Markdown-based**](https://sli.dev/guide/syntax.html) - use your favorite editors and workflow
40
+ - 🧑‍💻 [**Developer Friendly**](https://sli.dev/guide/syntax.html#code-blocks) - built-in syntax highlighting, live coding, etc.
41
+ - 🎨 [**Themable**](https://sli.dev/themes/gallery.html) - theme can be shared and used with npm packages.
42
+ - 🌈 [**Stylish**](https://sli.dev/guide/syntax.html#embedded-styles) - on-demand utilities via [UnoCSS](https://github.com/unocss/unocss).
43
+ - 🤹 [**Interactive**](https://sli.dev/custom/directory-structure.html#components) - embedding Vue components seamlessly.
44
+ - 🎙 [**Presenter Mode**](https://sli.dev/guide/presenter-mode.html) - use another window, or even your phone to control your slides.
45
+ - 🧮 [**LaTeX**](https://sli.dev/guide/syntax.html#latex) - built-in LaTeX math equations support.
46
+ - 📰 [**Diagrams**](https://sli.dev/guide/syntax.html#diagrams) - creates diagrams with textual descriptions
47
+ - 🌟 [**Icons**](https://sli.dev/guide/syntax.html#icons) - access to icons from any iconset directly.
48
+ - 💻 [**Editors**](https://sli.dev/guide/editors.html) - integrated editor, or [extension for VS Code](https://github.com/slidevjs/slidev-vscode)
49
+ - 🎥 [**Recording**](https://sli.dev/guide/recording.html) - built-in recording and camera view.
50
+ - 📤 [**Portable**](https://sli.dev/guide/exporting.html) - export into PDF, PNGs, or even a hostable SPA.
51
+ - ⚡️ [**Fast**](https://vitejs.dev) - instant reloading powered by [Vite](https://vitejs.dev).
52
+ - 🛠 [**Hackable**](https://sli.dev/custom/config-vite.html) - using Vite plugins, Vue components, or any npm packages.
53
+
54
+ ## Getting Started
55
+
56
+ ### Try it Online ⚡️
57
+
58
+ [sli.dev/new](https://sli.dev/new)
59
+
60
+ [![](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://sli.dev/new)
61
+
62
+ ### Init Project Locally
63
+
64
+ Install [Node.js >=18](https://nodejs.org/) and run the following command:
65
+
66
+ ```bash
67
+ npm init slidev
68
+ ```
69
+
70
+ Documentations:
71
+ **[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)
72
+
73
+ Discord: [chat.sli.dev](https://chat.sli.dev)
74
+
75
+ For 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).
76
+
77
+ ## Tech Stack
78
+
79
+ - [Vite](https://vitejs.dev) - An extremely fast frontend tooling
80
+ - [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
81
+ - [UnoCSS](https://github.com/unocss/unocss) - On-demand utility-first CSS engine, style your slides at ease
82
+ - [Shiki](https://github.com/shikijs/shiki), [Monaco Editor](https://github.com/Microsoft/monaco-editor) - First-class code snippets support with live coding capability
83
+ - [RecordRTC](https://recordrtc.org) - Built-in recording and camera view
84
+ - [VueUse](https://vueuse.org) family - [`@vueuse/core`](https://github.com/vueuse/vueuse), [`@vueuse/motion`](https://github.com/vueuse/motion), etc.
85
+ - [Iconify](https://iconify.design/) - Iconsets collection.
86
+ - [Drauu](https://github.com/antfu/drauu) - Drawing and annotations support
87
+ - [KaTeX](https://katex.org/) - LaTeX math rendering.
88
+ - [Mermaid](https://mermaid-js.github.io/mermaid) - Textual Diagrams.
89
+
90
+ ## Sponsors
91
+
92
+ This project is made possible by all the sponsors supporting my work:
93
+
94
+ <p align="center">
95
+ <a href="https://github.com/sponsors/antfu">
96
+ <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg' alt="Logos from Sponsors" />
97
+ </a>
98
+ </p>
99
+
100
+ ## License
101
+
102
+ MIT License © 2021 [Anthony Fu](https://github.com/antfu)
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-EQDFZFKJ.mjs";
5
+ } from "./chunk-KWWH7I4N.mjs";
6
6
  import "./chunk-LOUKLO2C.mjs";
7
7
  import "./chunk-ALXAQLRA.mjs";
8
8
  import "./chunk-BXO7ZPPU.mjs";
@@ -7143,7 +7143,7 @@ var require_dist = __commonJS({
7143
7143
  });
7144
7144
 
7145
7145
  // package.json
7146
- var version = "0.49.0";
7146
+ var version = "0.49.1";
7147
7147
 
7148
7148
  // node/commands/shared.ts
7149
7149
  import { existsSync, promises as fs } from "node:fs";
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  mergeViteConfigs,
4
4
  version
5
- } from "./chunk-EQDFZFKJ.mjs";
5
+ } from "./chunk-KWWH7I4N.mjs";
6
6
  import {
7
7
  createResolver,
8
8
  getRoots,
package/dist/cli.mjs CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  resolveAddons,
6
6
  resolveOptions,
7
7
  resolveTheme
8
- } from "./chunk-EUUONAZW.mjs";
8
+ } from "./chunk-NG2L7HVW.mjs";
9
9
  import {
10
10
  version
11
- } from "./chunk-EQDFZFKJ.mjs";
11
+ } from "./chunk-KWWH7I4N.mjs";
12
12
  import {
13
13
  loadSetups
14
14
  } from "./chunk-LOUKLO2C.mjs";
@@ -327,7 +327,7 @@ cli.command(
327
327
  }).strict().help(),
328
328
  async (args) => {
329
329
  const { entry, theme, watch, base, download, out, inspect } = args;
330
- const { build } = await import("./build-X6PKMCFT.mjs");
330
+ const { build } = await import("./build-OI47N2A7.mjs");
331
331
  for (const entryFile of entry) {
332
332
  const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
333
333
  if (download && !options.data.config.download)
package/dist/index.mjs CHANGED
@@ -2,10 +2,10 @@ import {
2
2
  createServer,
3
3
  parser,
4
4
  resolveOptions
5
- } from "./chunk-EUUONAZW.mjs";
5
+ } from "./chunk-NG2L7HVW.mjs";
6
6
  import {
7
7
  ViteSlidevPlugin
8
- } from "./chunk-EQDFZFKJ.mjs";
8
+ } from "./chunk-KWWH7I4N.mjs";
9
9
  import "./chunk-LOUKLO2C.mjs";
10
10
  import "./chunk-ALXAQLRA.mjs";
11
11
  import "./chunk-BXO7ZPPU.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -108,9 +108,9 @@
108
108
  "vitefu": "^0.2.5",
109
109
  "vue": "^3.4.27",
110
110
  "yargs": "^17.7.2",
111
- "@slidev/client": "0.49.0",
112
- "@slidev/types": "0.49.0",
113
- "@slidev/parser": "0.49.0"
111
+ "@slidev/client": "0.49.1",
112
+ "@slidev/types": "0.49.1",
113
+ "@slidev/parser": "0.49.1"
114
114
  },
115
115
  "devDependencies": {
116
116
  "@hedgedoc/markdown-it-plugins": "^2.1.4",