@slidev/cli 0.40.0 → 0.40.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/{build-HZHWGNHW.mjs → build-BGUF7J7N.mjs} +1 -1
- package/dist/{build-E572SEEO.js → build-L4S5TZG4.js} +5 -5
- package/dist/{chunk-RFXDKP4A.mjs → chunk-EZ2J7PMK.mjs} +2 -2
- package/dist/{chunk-5WKTX26W.js → chunk-QU6XIJOB.js} +2 -2
- package/dist/{chunk-VR2CNJVJ.js → chunk-RRNUXVEA.js} +4 -4
- package/dist/{chunk-BBPMWYAE.mjs → chunk-ZAT6O5HR.mjs} +2 -2
- package/dist/cli.js +29 -29
- package/dist/cli.mjs +4 -4
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
- package/template.md +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkQU6XIJOBjs = require('./chunk-QU6XIJOB.js');
|
|
6
6
|
require('./chunk-UJ5GHVII.js');
|
|
7
7
|
|
|
8
8
|
// node/build.ts
|
|
@@ -646,16 +646,16 @@ async function build(options, viteConfig = {}, args) {
|
|
|
646
646
|
let originalIndexHTML;
|
|
647
647
|
if (_fsextra2.default.existsSync(indexPath))
|
|
648
648
|
originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
|
|
649
|
-
await _fsextra2.default.writeFile(indexPath, await
|
|
649
|
+
await _fsextra2.default.writeFile(indexPath, await _chunkQU6XIJOBjs.getIndexHtml.call(void 0, options), "utf-8");
|
|
650
650
|
let config = void 0;
|
|
651
651
|
try {
|
|
652
|
-
const inlineConfig = await
|
|
652
|
+
const inlineConfig = await _chunkQU6XIJOBjs.mergeViteConfigs.call(void 0,
|
|
653
653
|
options,
|
|
654
654
|
viteConfig,
|
|
655
655
|
{
|
|
656
656
|
root: options.userRoot,
|
|
657
657
|
plugins: [
|
|
658
|
-
await
|
|
658
|
+
await _chunkQU6XIJOBjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
|
|
659
659
|
{
|
|
660
660
|
name: "resolve-config",
|
|
661
661
|
configResolved(_config) {
|
|
@@ -676,7 +676,7 @@ async function build(options, viteConfig = {}, args) {
|
|
|
676
676
|
} else {
|
|
677
677
|
console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
|
|
678
678
|
await _vite.build.call(void 0,
|
|
679
|
-
await
|
|
679
|
+
await _chunkQU6XIJOBjs.mergeViteConfigs.call(void 0,
|
|
680
680
|
options,
|
|
681
681
|
inlineConfig,
|
|
682
682
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZAT6O5HR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__privateAdd,
|
|
@@ -2400,7 +2400,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2400
2400
|
import * as parser from "@slidev/parser/fs";
|
|
2401
2401
|
|
|
2402
2402
|
// package.json
|
|
2403
|
-
var version = "0.40.
|
|
2403
|
+
var version = "0.40.2";
|
|
2404
2404
|
|
|
2405
2405
|
// node/themes.ts
|
|
2406
2406
|
import prompts2 from "prompts";
|
|
@@ -1614,7 +1614,6 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1614
1614
|
const MarkdownPlugin = await createMarkdownPlugin(options, pluginOptions);
|
|
1615
1615
|
const drawingData = await loadDrawings(options);
|
|
1616
1616
|
return [
|
|
1617
|
-
config.css === "unocss" ? await createUnocssPlugin(options, pluginOptions) : await createWindiCSSPlugin(options, pluginOptions),
|
|
1618
1617
|
MarkdownPlugin,
|
|
1619
1618
|
VueJsxPlugin,
|
|
1620
1619
|
VuePlugin,
|
|
@@ -1683,7 +1682,8 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1683
1682
|
options.inspect ? _viteplugininspect2.default.call(void 0, {
|
|
1684
1683
|
dev: true,
|
|
1685
1684
|
build: true
|
|
1686
|
-
}) : null
|
|
1685
|
+
}) : null,
|
|
1686
|
+
config.css === "unocss" ? await createUnocssPlugin(options, pluginOptions) : await createWindiCSSPlugin(options, pluginOptions)
|
|
1687
1687
|
].flat().filter(_utils.notNullish);
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQU6XIJOBjs = require('./chunk-QU6XIJOB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2377,7 +2377,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2377
2377
|
const pluginOptions = rawConfig.slidev || {};
|
|
2378
2378
|
process.env.EDITOR = process.env.EDITOR || "code";
|
|
2379
2379
|
const server = await _vite.createServer.call(void 0,
|
|
2380
|
-
await
|
|
2380
|
+
await _chunkQU6XIJOBjs.mergeViteConfigs.call(void 0,
|
|
2381
2381
|
options,
|
|
2382
2382
|
viteConfig,
|
|
2383
2383
|
{
|
|
@@ -2387,7 +2387,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2387
2387
|
]
|
|
2388
2388
|
},
|
|
2389
2389
|
plugins: [
|
|
2390
|
-
await
|
|
2390
|
+
await _chunkQU6XIJOBjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
2391
2391
|
]
|
|
2392
2392
|
},
|
|
2393
2393
|
"serve"
|
|
@@ -2400,7 +2400,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2400
2400
|
var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
|
|
2401
2401
|
|
|
2402
2402
|
// package.json
|
|
2403
|
-
var version = "0.40.
|
|
2403
|
+
var version = "0.40.2";
|
|
2404
2404
|
|
|
2405
2405
|
// node/themes.ts
|
|
2406
2406
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
@@ -1614,7 +1614,6 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1614
1614
|
const MarkdownPlugin = await createMarkdownPlugin(options, pluginOptions);
|
|
1615
1615
|
const drawingData = await loadDrawings(options);
|
|
1616
1616
|
return [
|
|
1617
|
-
config.css === "unocss" ? await createUnocssPlugin(options, pluginOptions) : await createWindiCSSPlugin(options, pluginOptions),
|
|
1618
1617
|
MarkdownPlugin,
|
|
1619
1618
|
VueJsxPlugin,
|
|
1620
1619
|
VuePlugin,
|
|
@@ -1683,7 +1682,8 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1683
1682
|
options.inspect ? Inspect({
|
|
1684
1683
|
dev: true,
|
|
1685
1684
|
build: true
|
|
1686
|
-
}) : null
|
|
1685
|
+
}) : null,
|
|
1686
|
+
config.css === "unocss" ? await createUnocssPlugin(options, pluginOptions) : await createWindiCSSPlugin(options, pluginOptions)
|
|
1687
1687
|
].flat().filter(notNullish2);
|
|
1688
1688
|
}
|
|
1689
1689
|
|
package/dist/cli.js
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRRNUXVEAjs = require('./chunk-RRNUXVEA.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkQU6XIJOBjs = require('./chunk-QU6XIJOB.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkUJ5GHVIIjs = require('./chunk-UJ5GHVII.js');
|
|
20
20
|
|
|
21
21
|
// node/cli.ts
|
|
22
|
-
var import_fast_deep_equal = _chunkUJ5GHVIIjs.__toESM.call(void 0,
|
|
22
|
+
var import_fast_deep_equal = _chunkUJ5GHVIIjs.__toESM.call(void 0, _chunkQU6XIJOBjs.require_fast_deep_equal.call(void 0, ));
|
|
23
23
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
24
24
|
var _os = require('os'); var _os2 = _interopRequireDefault(_os);
|
|
25
25
|
var _child_process = require('child_process');
|
|
@@ -43,14 +43,14 @@ var CONFIG_RESTART_FIELDS = [
|
|
|
43
43
|
_fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) => {
|
|
44
44
|
const addons = _nullishCoalesce((headmatter == null ? void 0 : headmatter.addons), () => ( []));
|
|
45
45
|
const roots = [
|
|
46
|
-
|
|
47
|
-
...
|
|
48
|
-
|
|
46
|
+
_chunkRRNUXVEAjs.getUserRoot.call(void 0, {}).userRoot,
|
|
47
|
+
..._chunkRRNUXVEAjs.getAddonRoots.call(void 0, addons, ""),
|
|
48
|
+
_chunkRRNUXVEAjs.getClientRoot.call(void 0, )
|
|
49
49
|
];
|
|
50
50
|
const mergeArrays = (a, b) => a.concat(b);
|
|
51
|
-
return await
|
|
51
|
+
return await _chunkQU6XIJOBjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
52
52
|
});
|
|
53
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
53
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkRRNUXVEAjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
54
54
|
cli.command(
|
|
55
55
|
"* [entry]",
|
|
56
56
|
"Start a local server for Slidev",
|
|
@@ -106,9 +106,9 @@ cli.command(
|
|
|
106
106
|
async function initServer() {
|
|
107
107
|
if (server)
|
|
108
108
|
await server.close();
|
|
109
|
-
const options = await
|
|
109
|
+
const options = await _chunkRRNUXVEAjs.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
|
|
110
110
|
port = userPort || await findFreePort(3030);
|
|
111
|
-
server = await
|
|
111
|
+
server = await _chunkRRNUXVEAjs.createServer.call(void 0,
|
|
112
112
|
options,
|
|
113
113
|
{
|
|
114
114
|
server: {
|
|
@@ -122,7 +122,7 @@ cli.command(
|
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
onDataReload(newData, data) {
|
|
125
|
-
if (!theme &&
|
|
125
|
+
if (!theme && _chunkRRNUXVEAjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkRRNUXVEAjs.resolveThemeName.call(void 0, data.config.theme)) {
|
|
126
126
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
127
127
|
initServer();
|
|
128
128
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -178,7 +178,7 @@ cli.command(
|
|
|
178
178
|
async action() {
|
|
179
179
|
if (!lastRemoteUrl)
|
|
180
180
|
return;
|
|
181
|
-
const
|
|
181
|
+
const qrcode = await Promise.resolve().then(() => require("qrcode-terminal")).then((r) => r.default || r);
|
|
182
182
|
qrcode.generate(lastRemoteUrl, { small: true }, (v) => {
|
|
183
183
|
console.log(`
|
|
184
184
|
${_kolorist.dim.call(void 0, " QR Code for remote control: ")}
|
|
@@ -240,8 +240,8 @@ cli.command(
|
|
|
240
240
|
}).strict().help(),
|
|
241
241
|
async (args) => {
|
|
242
242
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
243
|
-
const { build } = await Promise.resolve().then(() => require("./build-
|
|
244
|
-
const options = await
|
|
243
|
+
const { build } = await Promise.resolve().then(() => require("./build-L4S5TZG4.js"));
|
|
244
|
+
const options = await _chunkRRNUXVEAjs.resolveOptions.call(void 0, { entry, theme, inspect }, "build");
|
|
245
245
|
if (download && !options.data.config.download)
|
|
246
246
|
options.data.config.download = download;
|
|
247
247
|
printInfo(options);
|
|
@@ -259,9 +259,9 @@ cli.command(
|
|
|
259
259
|
"Format the markdown file",
|
|
260
260
|
(args) => commonOptions(args).strict().help(),
|
|
261
261
|
async ({ entry }) => {
|
|
262
|
-
const data = await
|
|
263
|
-
|
|
264
|
-
await
|
|
262
|
+
const data = await _chunkRRNUXVEAjs.parser.load(entry);
|
|
263
|
+
_chunkRRNUXVEAjs.parser.prettify(data);
|
|
264
|
+
await _chunkRRNUXVEAjs.parser.save(data);
|
|
265
265
|
}
|
|
266
266
|
);
|
|
267
267
|
cli.command(
|
|
@@ -276,17 +276,17 @@ cli.command(
|
|
|
276
276
|
default: "theme"
|
|
277
277
|
}),
|
|
278
278
|
async ({ entry, dir, theme: themeInput }) => {
|
|
279
|
-
const data = await
|
|
280
|
-
const theme =
|
|
279
|
+
const data = await _chunkRRNUXVEAjs.parser.load(entry);
|
|
280
|
+
const theme = _chunkRRNUXVEAjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
281
281
|
if (theme === "none") {
|
|
282
282
|
console.error('Cannot eject theme "none"');
|
|
283
283
|
process.exit(1);
|
|
284
284
|
}
|
|
285
|
-
if (
|
|
285
|
+
if (_chunkRRNUXVEAjs.isPath.call(void 0, theme)) {
|
|
286
286
|
console.error("Theme is already ejected");
|
|
287
287
|
process.exit(1);
|
|
288
288
|
}
|
|
289
|
-
const roots =
|
|
289
|
+
const roots = _chunkRRNUXVEAjs.getThemeRoots.call(void 0, theme, entry);
|
|
290
290
|
if (!roots.length) {
|
|
291
291
|
console.error(`Could not find theme "${theme}"`);
|
|
292
292
|
process.exit(1);
|
|
@@ -298,7 +298,7 @@ cli.command(
|
|
|
298
298
|
const dirPath = `./${dir}`;
|
|
299
299
|
data.slides[0].frontmatter.theme = dirPath;
|
|
300
300
|
data.slides[0].raw = null;
|
|
301
|
-
await
|
|
301
|
+
await _chunkRRNUXVEAjs.parser.save(data);
|
|
302
302
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
303
303
|
}
|
|
304
304
|
);
|
|
@@ -317,8 +317,8 @@ cli.command(
|
|
|
317
317
|
process.env.NODE_ENV = "production";
|
|
318
318
|
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-BRPXINGP.js"));
|
|
319
319
|
const port = await findFreePort(12445);
|
|
320
|
-
const options = await
|
|
321
|
-
const server = await
|
|
320
|
+
const options = await _chunkRRNUXVEAjs.resolveOptions.call(void 0, { entry, theme }, "export");
|
|
321
|
+
const server = await _chunkRRNUXVEAjs.createServer.call(void 0,
|
|
322
322
|
options,
|
|
323
323
|
{
|
|
324
324
|
server: { port },
|
|
@@ -327,7 +327,7 @@ cli.command(
|
|
|
327
327
|
);
|
|
328
328
|
await server.listen(port);
|
|
329
329
|
printInfo(options);
|
|
330
|
-
|
|
330
|
+
_chunkRRNUXVEAjs.parser.filterDisabled(options.data);
|
|
331
331
|
const output = await exportSlides({
|
|
332
332
|
port,
|
|
333
333
|
...getExportOptions(args, options)
|
|
@@ -361,10 +361,10 @@ cli.command(
|
|
|
361
361
|
process.env.NODE_ENV = "production";
|
|
362
362
|
const { exportNotes } = await Promise.resolve().then(() => require("./export-BRPXINGP.js"));
|
|
363
363
|
const port = await findFreePort(12445);
|
|
364
|
-
const options = await
|
|
364
|
+
const options = await _chunkRRNUXVEAjs.resolveOptions.call(void 0, { entry }, "export");
|
|
365
365
|
if (!output)
|
|
366
366
|
output = options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entry, ".md")}-export-notes`;
|
|
367
|
-
const server = await
|
|
367
|
+
const server = await _chunkRRNUXVEAjs.createServer.call(void 0,
|
|
368
368
|
options,
|
|
369
369
|
{
|
|
370
370
|
server: { port },
|
|
@@ -373,7 +373,7 @@ cli.command(
|
|
|
373
373
|
);
|
|
374
374
|
await server.listen(port);
|
|
375
375
|
printInfo(options);
|
|
376
|
-
|
|
376
|
+
_chunkRRNUXVEAjs.parser.filterDisabled(options.data);
|
|
377
377
|
output = await exportNotes({
|
|
378
378
|
port,
|
|
379
379
|
output,
|
|
@@ -433,7 +433,7 @@ function printInfo(options, port, remote, tunnelUrl) {
|
|
|
433
433
|
console.log();
|
|
434
434
|
console.log();
|
|
435
435
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
436
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
436
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkRRNUXVEAjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
437
437
|
console.log();
|
|
438
438
|
console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
|
|
439
439
|
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));
|
package/dist/cli.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveThemeName,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EZ2J7PMK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
loadSetups,
|
|
15
15
|
require_fast_deep_equal
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZAT6O5HR.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./chunk-VLEV37KF.mjs";
|
|
@@ -178,7 +178,7 @@ cli.command(
|
|
|
178
178
|
async action() {
|
|
179
179
|
if (!lastRemoteUrl)
|
|
180
180
|
return;
|
|
181
|
-
const
|
|
181
|
+
const qrcode = await import("qrcode-terminal").then((r) => r.default || r);
|
|
182
182
|
qrcode.generate(lastRemoteUrl, { small: true }, (v) => {
|
|
183
183
|
console.log(`
|
|
184
184
|
${dim(" QR Code for remote control: ")}
|
|
@@ -240,7 +240,7 @@ cli.command(
|
|
|
240
240
|
}).strict().help(),
|
|
241
241
|
async (args) => {
|
|
242
242
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
243
|
-
const { build } = await import("./build-
|
|
243
|
+
const { build } = await import("./build-BGUF7J7N.mjs");
|
|
244
244
|
const options = await resolveOptions({ entry, theme, inspect }, "build");
|
|
245
245
|
if (download && !options.data.config.download)
|
|
246
246
|
options.data.config.download = download;
|
package/dist/index.js
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRRNUXVEAjs = require('./chunk-RRNUXVEA.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkQU6XIJOBjs = require('./chunk-QU6XIJOB.js');
|
|
17
17
|
require('./chunk-UJ5GHVII.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -28,4 +28,4 @@ require('./chunk-UJ5GHVII.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.ViteSlidevPlugin =
|
|
31
|
+
exports.ViteSlidevPlugin = _chunkQU6XIJOBjs.ViteSlidevPlugin; exports.createServer = _chunkRRNUXVEAjs.createServer; exports.createWindiCSSPlugin = _chunkQU6XIJOBjs.createWindiCSSPlugin; exports.getAddonRoots = _chunkRRNUXVEAjs.getAddonRoots; exports.getCLIRoot = _chunkRRNUXVEAjs.getCLIRoot; exports.getClientRoot = _chunkRRNUXVEAjs.getClientRoot; exports.getRoot = _chunkRRNUXVEAjs.getRoot; exports.getThemeRoots = _chunkRRNUXVEAjs.getThemeRoots; exports.getUserRoot = _chunkRRNUXVEAjs.getUserRoot; exports.isPath = _chunkRRNUXVEAjs.isPath; exports.parser = _chunkRRNUXVEAjs.parser; exports.resolveOptions = _chunkRRNUXVEAjs.resolveOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EZ2J7PMK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ViteSlidevPlugin,
|
|
15
15
|
createWindiCSSPlugin
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZAT6O5HR.mjs";
|
|
17
17
|
import "./chunk-VLEV37KF.mjs";
|
|
18
18
|
export {
|
|
19
19
|
ViteSlidevPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.2",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"vue": "^3.2.47",
|
|
94
94
|
"windicss": "^3.5.6",
|
|
95
95
|
"yargs": "^17.6.2",
|
|
96
|
-
"@slidev/client": "0.40.
|
|
97
|
-
"@slidev/parser": "0.40.
|
|
98
|
-
"@slidev/types": "0.40.
|
|
96
|
+
"@slidev/client": "0.40.2",
|
|
97
|
+
"@slidev/parser": "0.40.2",
|
|
98
|
+
"@slidev/types": "0.40.2"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@types/plantuml-encoder": "^1.4.0",
|
package/template.md
CHANGED
|
@@ -27,7 +27,7 @@ Presentation slides for developers
|
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
29
|
<a href="https://github.com/slidevjs/slidev" target="_blank" alt="GitHub"
|
|
30
|
-
class="abs-br m-6 text-xl icon-btn opacity-50 !border-none !hover:text-white">
|
|
30
|
+
class="abs-br m-6 text-xl slidev-icon-btn opacity-50 !border-none !hover:text-white">
|
|
31
31
|
<carbon-logo-github />
|
|
32
32
|
</a>
|
|
33
33
|
|