@slidev/cli 0.33.1 → 0.34.2

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/cli.js CHANGED
@@ -6,19 +6,19 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkLIMOCTLSjs = require('./chunk-LIMOCTLS.js');
9
+ var _chunkEN47OEVJjs = require('./chunk-EN47OEVJ.js');
10
10
 
11
11
 
12
- var _chunkWGEHDK3Kjs = require('./chunk-WGEHDK3K.js');
12
+ var _chunkXIB52LE6js = require('./chunk-XIB52LE6.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
17
+ var _chunkSQLX75IOjs = require('./chunk-SQLX75IO.js');
18
18
 
19
19
  // node/cli.ts
20
- _chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
21
- var import_fast_deep_equal = _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkWGEHDK3Kjs.require_fast_deep_equal.call(void 0, ));
20
+ _chunkSQLX75IOjs.init_cjs_shims.call(void 0, );
21
+ var import_fast_deep_equal = _chunkSQLX75IOjs.__toESM.call(void 0, _chunkXIB52LE6js.require_fast_deep_equal.call(void 0, ));
22
22
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
23
23
  var _net = require('net'); var _net2 = _interopRequireDefault(_net);
24
24
  var _os = require('os'); var _os2 = _interopRequireDefault(_os);
@@ -30,13 +30,15 @@ var _yargs = require('yargs'); var _yargs2 = _interopRequireDefault(_yargs);
30
30
  var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
31
31
  var _kolorist = require('kolorist');
32
32
  var _isinstalledglobally = require('is-installed-globally'); var _isinstalledglobally2 = _interopRequireDefault(_isinstalledglobally);
33
+ var _parser = require('@slidev/parser');
33
34
  var CONFIG_RESTART_FIELDS = [
34
35
  "highlighter",
35
36
  "monaco",
36
37
  "routerMode",
37
- "fonts"
38
+ "fonts",
39
+ "css"
38
40
  ];
39
- var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkLIMOCTLSjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
41
+ var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkEN47OEVJjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
40
42
  cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
41
43
  alias: "p",
42
44
  type: "number",
@@ -79,9 +81,9 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
79
81
  async function initServer() {
80
82
  if (server)
81
83
  await server.close();
82
- const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, remote, theme }, "dev");
84
+ const options = await _chunkEN47OEVJjs.resolveOptions.call(void 0, { entry, remote, theme }, "dev");
83
85
  port = userPort || await findFreePort(3030);
84
- server = await _chunkLIMOCTLSjs.createServer.call(void 0, options, {
86
+ server = await _chunkEN47OEVJjs.createServer.call(void 0, options, {
85
87
  server: {
86
88
  port,
87
89
  strictPort: true,
@@ -92,7 +94,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
92
94
  logLevel: log
93
95
  }, {
94
96
  onDataReload(newData, data) {
95
- if (!theme && _chunkLIMOCTLSjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkLIMOCTLSjs.resolveThemeName.call(void 0, data.config.theme)) {
97
+ if (!theme && _chunkEN47OEVJjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkEN47OEVJjs.resolveThemeName.call(void 0, data.config.theme)) {
96
98
  console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
97
99
  initServer();
98
100
  } else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
@@ -168,8 +170,8 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
168
170
  type: "boolean",
169
171
  describe: "allow download as PDF"
170
172
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
171
- const { build } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "./build-OWDFSW6Q.js")));
172
- const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, theme }, "build");
173
+ const { build } = await Promise.resolve().then(() => _chunkSQLX75IOjs.__toESM.call(void 0, _chunkSQLX75IOjs.__require.call(void 0, "./build-ZRCGLMWG.js")));
174
+ const options = await _chunkEN47OEVJjs.resolveOptions.call(void 0, { entry, theme }, "build");
173
175
  if (download && !options.data.config.download)
174
176
  options.data.config.download = download;
175
177
  printInfo(options);
@@ -182,26 +184,26 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
182
184
  });
183
185
  });
184
186
  cli.command("format [entry]", "Format the markdown file", (args) => commonOptions(args).strict().help(), async ({ entry }) => {
185
- const data = await _chunkLIMOCTLSjs.parser.load(entry);
186
- _chunkLIMOCTLSjs.parser.prettify(data);
187
- await _chunkLIMOCTLSjs.parser.save(data);
187
+ const data = await _chunkEN47OEVJjs.parser.load(entry);
188
+ _chunkEN47OEVJjs.parser.prettify(data);
189
+ await _chunkEN47OEVJjs.parser.save(data);
188
190
  });
189
191
  cli.command("theme [subcommand]", "Theme related operations", (command) => {
190
192
  return command.command("eject", "Eject current theme into local file system", (args) => commonOptions(args).option("dir", {
191
193
  type: "string",
192
194
  default: "theme"
193
195
  }), async ({ entry, dir, theme: themeInput }) => {
194
- const data = await _chunkLIMOCTLSjs.parser.load(entry);
195
- const theme = _chunkLIMOCTLSjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
196
+ const data = await _chunkEN47OEVJjs.parser.load(entry);
197
+ const theme = _chunkEN47OEVJjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
196
198
  if (theme === "none") {
197
199
  console.error('Can not eject theme "none"');
198
200
  process.exit(1);
199
201
  }
200
- if (_chunkLIMOCTLSjs.isPath.call(void 0, theme)) {
202
+ if (_chunkEN47OEVJjs.isPath.call(void 0, theme)) {
201
203
  console.error("Theme is already ejected");
202
204
  process.exit(1);
203
205
  }
204
- const roots = _chunkLIMOCTLSjs.getThemeRoots.call(void 0, theme, entry);
206
+ const roots = _chunkEN47OEVJjs.getThemeRoots.call(void 0, theme, entry);
205
207
  if (!roots.length) {
206
208
  console.error(`Does not found theme "${theme}"`);
207
209
  process.exit(1);
@@ -213,7 +215,7 @@ cli.command("theme [subcommand]", "Theme related operations", (command) => {
213
215
  const dirPath = `./${dir}`;
214
216
  data.slides[0].frontmatter.theme = dirPath;
215
217
  data.slides[0].raw = null;
216
- await _chunkLIMOCTLSjs.parser.save(data);
218
+ await _chunkEN47OEVJjs.parser.save(data);
217
219
  console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
218
220
  });
219
221
  }, () => {
@@ -255,17 +257,17 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
255
257
  "with-clicks": withClicks
256
258
  }) => {
257
259
  process.env.NODE_ENV = "production";
258
- const { exportSlides } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "./export-JHIU6OQI.js")));
260
+ const { exportSlides } = await Promise.resolve().then(() => _chunkSQLX75IOjs.__toESM.call(void 0, _chunkSQLX75IOjs.__require.call(void 0, "./export-TH7MNEXN.js")));
259
261
  const port = await findFreePort(12445);
260
- const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, theme }, "build");
262
+ const options = await _chunkEN47OEVJjs.resolveOptions.call(void 0, { entry, theme }, "build");
261
263
  output = output || options.data.config.exportFilename || `${_path2.default.basename(entry, ".md")}-export`;
262
- const server = await _chunkLIMOCTLSjs.createServer.call(void 0, options, {
264
+ const server = await _chunkEN47OEVJjs.createServer.call(void 0, options, {
263
265
  server: { port },
264
266
  clearScreen: false
265
267
  });
266
268
  await server.listen(port);
267
269
  printInfo(options);
268
- _chunkLIMOCTLSjs.parser.filterDisabled(options.data);
270
+ _chunkEN47OEVJjs.parser.filterDisabled(options.data);
269
271
  const width = options.data.config.canvasWidth;
270
272
  const height = Math.round(width / options.data.config.aspectRatio);
271
273
  output = await exportSlides({
@@ -303,7 +305,7 @@ function printInfo(options, port, remote) {
303
305
  console.log();
304
306
  console.log();
305
307
  console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
306
- console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkLIMOCTLSjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
308
+ console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkEN47OEVJjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
307
309
  console.log();
308
310
  console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
309
311
  console.log(_kolorist.dim.call(void 0, " entry ") + _kolorist.dim.call(void 0, _path2.default.dirname(options.entry) + _path2.default.sep) + _path2.default.basename(options.entry));
@@ -326,6 +328,7 @@ function printInfo(options, port, remote) {
326
328
  console.log(`${_kolorist.dim.call(void 0, " shortcuts ")} > ${_kolorist.underline.call(void 0, "r")}${_kolorist.dim.call(void 0, "estart | ")}${_kolorist.underline.call(void 0, "o")}${_kolorist.dim.call(void 0, "pen | ")}${_kolorist.underline.call(void 0, "e")}${_kolorist.dim.call(void 0, "dit")}`);
327
329
  }
328
330
  console.log();
331
+ _parser.verifyConfig.call(void 0, options.data.config, options.data.themeMeta, (v) => console.warn(_kolorist.yellow.call(void 0, ` ! ${v}`)));
329
332
  console.log();
330
333
  }
331
334
  function isPortFree(port) {
package/dist/cli.mjs CHANGED
@@ -6,16 +6,16 @@ import {
6
6
  resolveOptions,
7
7
  resolveThemeName,
8
8
  version
9
- } from "./chunk-MVE4F2AE.mjs";
9
+ } from "./chunk-4BYU5VF4.mjs";
10
10
  import {
11
11
  require_fast_deep_equal
12
- } from "./chunk-DGFMEJWT.mjs";
12
+ } from "./chunk-4NHF5SPM.mjs";
13
13
  import {
14
14
  __dirname,
15
15
  __require,
16
16
  __toESM,
17
17
  init_esm_shims
18
- } from "./chunk-IWKTUAXD.mjs";
18
+ } from "./chunk-GVA336JI.mjs";
19
19
 
20
20
  // node/cli.ts
21
21
  init_esm_shims();
@@ -31,11 +31,13 @@ import yargs from "yargs";
31
31
  import prompts from "prompts";
32
32
  import { blue, bold, cyan, dim, gray, green, underline, yellow } from "kolorist";
33
33
  import isInstalledGlobally from "is-installed-globally";
34
+ import { verifyConfig } from "@slidev/parser";
34
35
  var CONFIG_RESTART_FIELDS = [
35
36
  "highlighter",
36
37
  "monaco",
37
38
  "routerMode",
38
- "fonts"
39
+ "fonts",
40
+ "css"
39
41
  ];
40
42
  var cli = yargs.scriptName("slidev").usage("$0 [args]").version(version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
41
43
  cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
@@ -169,7 +171,7 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
169
171
  type: "boolean",
170
172
  describe: "allow download as PDF"
171
173
  }).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
172
- const { build } = await Promise.resolve().then(() => __toESM(__require("./build-JAORN7ES.mjs")));
174
+ const { build } = await Promise.resolve().then(() => __toESM(__require("./build-F5QDKRVS.mjs")));
173
175
  const options = await resolveOptions({ entry, theme }, "build");
174
176
  if (download && !options.data.config.download)
175
177
  options.data.config.download = download;
@@ -256,7 +258,7 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
256
258
  "with-clicks": withClicks
257
259
  }) => {
258
260
  process.env.NODE_ENV = "production";
259
- const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-Z44PM4CT.mjs")));
261
+ const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-5OVMZQWE.mjs")));
260
262
  const port = await findFreePort(12445);
261
263
  const options = await resolveOptions({ entry, theme }, "build");
262
264
  output = output || options.data.config.exportFilename || `${path.basename(entry, ".md")}-export`;
@@ -327,6 +329,7 @@ function printInfo(options, port, remote) {
327
329
  console.log(`${dim(" shortcuts ")} > ${underline("r")}${dim("estart | ")}${underline("o")}${dim("pen | ")}${underline("e")}${dim("dit")}`);
328
330
  }
329
331
  console.log();
332
+ verifyConfig(options.data.config, options.data.themeMeta, (v) => console.warn(yellow(` ! ${v}`)));
330
333
  console.log();
331
334
  }
332
335
  function isPortFree(port) {
@@ -3,7 +3,7 @@ import {
3
3
  __toESM,
4
4
  init_esm_shims,
5
5
  packageExists
6
- } from "./chunk-IWKTUAXD.mjs";
6
+ } from "./chunk-GVA336JI.mjs";
7
7
 
8
8
  // node/export.ts
9
9
  init_esm_shims();
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
6
+ var _chunkSQLX75IOjs = require('./chunk-SQLX75IO.js');
7
7
 
8
8
  // node/export.ts
9
- _chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
9
+ _chunkSQLX75IOjs.init_cjs_shims.call(void 0, );
10
10
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
11
11
  var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
12
12
  var _kolorist = require('kolorist');
@@ -60,10 +60,10 @@ async function exportSlides({
60
60
  height = 1080,
61
61
  withClicks = false
62
62
  }) {
63
- if (!_chunkIP7ZGKHIjs.packageExists.call(void 0, "playwright-chromium"))
63
+ if (!_chunkSQLX75IOjs.packageExists.call(void 0, "playwright-chromium"))
64
64
  throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i -D playwright-chromium`");
65
65
  const pages = _core.parseRangeString.call(void 0, total, range);
66
- const { chromium } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "playwright-chromium")));
66
+ const { chromium } = await Promise.resolve().then(() => _chunkSQLX75IOjs.__toESM.call(void 0, _chunkSQLX75IOjs.__require.call(void 0, "playwright-chromium")));
67
67
  const browser = await chromium.launch();
68
68
  const context = await browser.newContext({
69
69
  viewport: {
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import Icons from 'unplugin-icons/vite';
3
3
  import Components from 'unplugin-vue-components/vite';
4
4
  import Markdown from 'vite-plugin-vue-markdown';
5
5
  import WindiCSS from 'vite-plugin-windicss';
6
+ import { VitePluginConfig } from 'unocss/vite';
6
7
  import RemoteAssets from 'vite-plugin-remote-assets';
7
8
  import ServerRef from 'vite-plugin-vue-server-ref';
8
9
  import { ArgumentsType } from '@antfu/utils';
@@ -55,6 +56,7 @@ interface SlidevPluginOptions extends SlidevEntryOptions {
55
56
  icons?: ArgumentsType<typeof Icons>[0];
56
57
  remoteAssets?: ArgumentsType<typeof RemoteAssets>[0];
57
58
  serverRef?: ArgumentsType<typeof ServerRef>[0];
59
+ unocss?: VitePluginConfig;
58
60
  }
59
61
  interface SlidevServerOptions {
60
62
  onDataReload?: (newData: SlidevMarkdown, data: SlidevMarkdown) => void;
package/dist/index.js CHANGED
@@ -9,20 +9,20 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkLIMOCTLSjs = require('./chunk-LIMOCTLS.js');
12
+ var _chunkEN47OEVJjs = require('./chunk-EN47OEVJ.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkWGEHDK3Kjs = require('./chunk-WGEHDK3K.js');
16
+ var _chunkXIB52LE6js = require('./chunk-XIB52LE6.js');
17
17
 
18
18
 
19
- var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
19
+ var _chunkSQLX75IOjs = require('./chunk-SQLX75IO.js');
20
20
 
21
21
  // node/index.ts
22
- _chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
22
+ _chunkSQLX75IOjs.init_cjs_shims.call(void 0, );
23
23
 
24
24
  // node/declare.ts
25
- _chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
25
+ _chunkSQLX75IOjs.init_cjs_shims.call(void 0, );
26
26
 
27
27
 
28
28
 
@@ -36,4 +36,4 @@ _chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
36
36
 
37
37
 
38
38
 
39
- exports.ViteSlidevPlugin = _chunkWGEHDK3Kjs.ViteSlidevPlugin; exports.createServer = _chunkLIMOCTLSjs.createServer; exports.createWindiCSSPlugin = _chunkWGEHDK3Kjs.createWindiCSSPlugin; exports.getAddonRoots = _chunkLIMOCTLSjs.getAddonRoots; exports.getCLIRoot = _chunkLIMOCTLSjs.getCLIRoot; exports.getClientRoot = _chunkLIMOCTLSjs.getClientRoot; exports.getRoot = _chunkLIMOCTLSjs.getRoot; exports.getThemeRoots = _chunkLIMOCTLSjs.getThemeRoots; exports.getUserRoot = _chunkLIMOCTLSjs.getUserRoot; exports.isPath = _chunkLIMOCTLSjs.isPath; exports.parser = _chunkLIMOCTLSjs.parser; exports.resolveOptions = _chunkLIMOCTLSjs.resolveOptions;
39
+ exports.ViteSlidevPlugin = _chunkXIB52LE6js.ViteSlidevPlugin; exports.createServer = _chunkEN47OEVJjs.createServer; exports.createWindiCSSPlugin = _chunkXIB52LE6js.createWindiCSSPlugin; exports.getAddonRoots = _chunkEN47OEVJjs.getAddonRoots; exports.getCLIRoot = _chunkEN47OEVJjs.getCLIRoot; exports.getClientRoot = _chunkEN47OEVJjs.getClientRoot; exports.getRoot = _chunkEN47OEVJjs.getRoot; exports.getThemeRoots = _chunkEN47OEVJjs.getThemeRoots; exports.getUserRoot = _chunkEN47OEVJjs.getUserRoot; exports.isPath = _chunkEN47OEVJjs.isPath; exports.parser = _chunkEN47OEVJjs.parser; exports.resolveOptions = _chunkEN47OEVJjs.resolveOptions;
package/dist/index.mjs CHANGED
@@ -9,14 +9,14 @@ import {
9
9
  isPath,
10
10
  parser,
11
11
  resolveOptions
12
- } from "./chunk-MVE4F2AE.mjs";
12
+ } from "./chunk-4BYU5VF4.mjs";
13
13
  import {
14
14
  ViteSlidevPlugin,
15
15
  createWindiCSSPlugin
16
- } from "./chunk-DGFMEJWT.mjs";
16
+ } from "./chunk-4NHF5SPM.mjs";
17
17
  import {
18
18
  init_esm_shims
19
- } from "./chunk-IWKTUAXD.mjs";
19
+ } from "./chunk-GVA336JI.mjs";
20
20
 
21
21
  // node/index.ts
22
22
  init_esm_shims();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.33.1",
3
+ "version": "0.34.2",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -43,14 +43,14 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@antfu/utils": "^0.5.2",
46
- "@iconify-json/carbon": "^1.1.5",
47
- "@iconify-json/ph": "^1.1.1",
48
- "@slidev/client": "0.33.1",
49
- "@slidev/parser": "0.33.1",
50
- "@slidev/types": "0.33.1",
46
+ "@iconify-json/carbon": "^1.1.6",
47
+ "@iconify-json/ph": "^1.1.2",
48
+ "@slidev/client": "0.34.2",
49
+ "@slidev/parser": "0.34.2",
50
+ "@slidev/types": "0.34.2",
51
51
  "@vitejs/plugin-vue": "^2.3.3",
52
52
  "@vue/compiler-sfc": "^3.2.37",
53
- "cli-progress": "^3.11.1",
53
+ "cli-progress": "^3.11.2",
54
54
  "codemirror": "^5.65.5",
55
55
  "connect": "^3.7.0",
56
56
  "debug": "^4.3.4",
@@ -59,7 +59,7 @@
59
59
  "global-dirs": "^3.0.0",
60
60
  "import-from": "^4.0.0",
61
61
  "is-installed-globally": "^0.4.0",
62
- "jiti": "^1.13.0",
62
+ "jiti": "^1.14.0",
63
63
  "js-base64": "^3.7.2",
64
64
  "katex": "^0.16.0",
65
65
  "kolorist": "^1.5.1",
@@ -70,21 +70,23 @@
70
70
  "nanoid": "^4.0.0",
71
71
  "open": "^8.4.0",
72
72
  "plantuml-encoder": "^1.4.0",
73
+ "postcss-nested": "^5.0.6",
73
74
  "prismjs": "^1.28.0",
74
75
  "prompts": "^2.4.2",
75
76
  "resolve": "^1.22.1",
76
77
  "resolve-from": "^5.0.0",
77
78
  "resolve-global": "^1.0.0",
78
79
  "shiki": "^0.10.1",
79
- "unplugin-icons": "^0.14.5",
80
- "unplugin-vue-components": "^0.19.6",
81
- "vite": "^2.9.12",
80
+ "unocss": "^0.42.0",
81
+ "unplugin-icons": "^0.14.6",
82
+ "unplugin-vue-components": "^0.20.1",
83
+ "vite": "^2.9.13",
82
84
  "vite-plugin-remote-assets": "^0.2.2",
83
- "vite-plugin-vue-markdown": "^0.1.0",
85
+ "vite-plugin-vue-markdown": "^0.20.1",
84
86
  "vite-plugin-vue-server-ref": "^0.2.4",
85
- "vite-plugin-windicss": "^1.8.4",
87
+ "vite-plugin-windicss": "^1.8.6",
86
88
  "vue": "^3.2.37",
87
- "windicss": "^3.5.4",
89
+ "windicss": "^3.5.5",
88
90
  "yargs": "^17.5.1"
89
91
  },
90
92
  "devDependencies": {