@slidev/cli 0.38.8 → 0.39.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-GNCYENZG.mjs → build-LQUKCJTB.mjs} +3 -12
- package/dist/{build-XTITLXMQ.js → build-XQGKVESO.js} +7 -16
- package/dist/{chunk-NOJBQ6MT.mjs → chunk-36C7XM4S.mjs} +20 -33
- package/dist/{chunk-S7VB5HAT.mjs → chunk-CRCTWL4B.mjs} +4 -63
- package/dist/{chunk-HHR7Q56Z.js → chunk-DTAZRAWW.js} +43 -55
- package/dist/{chunk-LC4O3TXI.js → chunk-IM22HCOO.js} +82 -140
- package/dist/{chunk-OVFYMGU6.js → chunk-UJ5GHVII.js} +7 -20
- package/dist/{chunk-T5WFA52O.mjs → chunk-VLEV37KF.mjs} +8 -30
- package/dist/cli.js +33 -37
- package/dist/cli.mjs +8 -13
- package/dist/{export-P6VFSLAQ.mjs → export-BAZ4BSV6.mjs} +6 -10
- package/dist/{export-2BM4EQEA.js → export-BRPXINGP.js} +9 -13
- package/dist/index.js +4 -12
- package/dist/index.mjs +3 -11
- package/package.json +11 -10
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36C7XM4S.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
|
-
__dirname,
|
|
8
7
|
__privateAdd,
|
|
9
8
|
__privateGet,
|
|
10
9
|
__privateSet,
|
|
11
10
|
__privateWrapper,
|
|
12
11
|
__toESM,
|
|
13
|
-
init_esm_shims,
|
|
14
12
|
packageExists,
|
|
15
13
|
resolveImportPath
|
|
16
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VLEV37KF.mjs";
|
|
17
15
|
|
|
18
16
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js
|
|
19
17
|
var require_constants = __commonJS({
|
|
20
18
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js"(exports, module) {
|
|
21
|
-
init_esm_shims();
|
|
22
19
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
23
20
|
var MAX_LENGTH = 256;
|
|
24
21
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -35,7 +32,6 @@ var require_constants = __commonJS({
|
|
|
35
32
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js
|
|
36
33
|
var require_debug = __commonJS({
|
|
37
34
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js"(exports, module) {
|
|
38
|
-
init_esm_shims();
|
|
39
35
|
var debug2 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
40
36
|
};
|
|
41
37
|
module.exports = debug2;
|
|
@@ -45,7 +41,6 @@ var require_debug = __commonJS({
|
|
|
45
41
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js
|
|
46
42
|
var require_re = __commonJS({
|
|
47
43
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js"(exports, module) {
|
|
48
|
-
init_esm_shims();
|
|
49
44
|
var { MAX_SAFE_COMPONENT_LENGTH } = require_constants();
|
|
50
45
|
var debug2 = require_debug();
|
|
51
46
|
exports = module.exports = {};
|
|
@@ -109,7 +104,6 @@ var require_re = __commonJS({
|
|
|
109
104
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js
|
|
110
105
|
var require_parse_options = __commonJS({
|
|
111
106
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
112
|
-
init_esm_shims();
|
|
113
107
|
var opts = ["includePrerelease", "loose", "rtl"];
|
|
114
108
|
var parseOptions = (options) => !options ? {} : typeof options !== "object" ? { loose: true } : opts.filter((k) => options[k]).reduce((o, k) => {
|
|
115
109
|
o[k] = true;
|
|
@@ -122,7 +116,6 @@ var require_parse_options = __commonJS({
|
|
|
122
116
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js
|
|
123
117
|
var require_identifiers = __commonJS({
|
|
124
118
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
125
|
-
init_esm_shims();
|
|
126
119
|
var numeric = /^[0-9]+$/;
|
|
127
120
|
var compareIdentifiers = (a, b) => {
|
|
128
121
|
const anum = numeric.test(a);
|
|
@@ -144,7 +137,6 @@ var require_identifiers = __commonJS({
|
|
|
144
137
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js
|
|
145
138
|
var require_semver = __commonJS({
|
|
146
139
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js"(exports, module) {
|
|
147
|
-
init_esm_shims();
|
|
148
140
|
var debug2 = require_debug();
|
|
149
141
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
150
142
|
var { re, t } = require_re();
|
|
@@ -371,7 +363,6 @@ var require_semver = __commonJS({
|
|
|
371
363
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js
|
|
372
364
|
var require_parse = __commonJS({
|
|
373
365
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js"(exports, module) {
|
|
374
|
-
init_esm_shims();
|
|
375
366
|
var { MAX_LENGTH } = require_constants();
|
|
376
367
|
var { re, t } = require_re();
|
|
377
368
|
var SemVer = require_semver();
|
|
@@ -404,7 +395,6 @@ var require_parse = __commonJS({
|
|
|
404
395
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js
|
|
405
396
|
var require_valid = __commonJS({
|
|
406
397
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js"(exports, module) {
|
|
407
|
-
init_esm_shims();
|
|
408
398
|
var parse2 = require_parse();
|
|
409
399
|
var valid = (version3, options) => {
|
|
410
400
|
const v = parse2(version3, options);
|
|
@@ -417,7 +407,6 @@ var require_valid = __commonJS({
|
|
|
417
407
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js
|
|
418
408
|
var require_clean = __commonJS({
|
|
419
409
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js"(exports, module) {
|
|
420
|
-
init_esm_shims();
|
|
421
410
|
var parse2 = require_parse();
|
|
422
411
|
var clean = (version3, options) => {
|
|
423
412
|
const s = parse2(version3.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -430,7 +419,6 @@ var require_clean = __commonJS({
|
|
|
430
419
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js
|
|
431
420
|
var require_inc = __commonJS({
|
|
432
421
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js"(exports, module) {
|
|
433
|
-
init_esm_shims();
|
|
434
422
|
var SemVer = require_semver();
|
|
435
423
|
var inc = (version3, release, options, identifier) => {
|
|
436
424
|
if (typeof options === "string") {
|
|
@@ -453,7 +441,6 @@ var require_inc = __commonJS({
|
|
|
453
441
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js
|
|
454
442
|
var require_compare = __commonJS({
|
|
455
443
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js"(exports, module) {
|
|
456
|
-
init_esm_shims();
|
|
457
444
|
var SemVer = require_semver();
|
|
458
445
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
459
446
|
module.exports = compare;
|
|
@@ -463,7 +450,6 @@ var require_compare = __commonJS({
|
|
|
463
450
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js
|
|
464
451
|
var require_eq = __commonJS({
|
|
465
452
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js"(exports, module) {
|
|
466
|
-
init_esm_shims();
|
|
467
453
|
var compare = require_compare();
|
|
468
454
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
469
455
|
module.exports = eq;
|
|
@@ -473,7 +459,6 @@ var require_eq = __commonJS({
|
|
|
473
459
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js
|
|
474
460
|
var require_diff = __commonJS({
|
|
475
461
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js"(exports, module) {
|
|
476
|
-
init_esm_shims();
|
|
477
462
|
var parse2 = require_parse();
|
|
478
463
|
var eq = require_eq();
|
|
479
464
|
var diff = (version1, version22) => {
|
|
@@ -502,7 +487,6 @@ var require_diff = __commonJS({
|
|
|
502
487
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js
|
|
503
488
|
var require_major = __commonJS({
|
|
504
489
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js"(exports, module) {
|
|
505
|
-
init_esm_shims();
|
|
506
490
|
var SemVer = require_semver();
|
|
507
491
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
508
492
|
module.exports = major;
|
|
@@ -512,7 +496,6 @@ var require_major = __commonJS({
|
|
|
512
496
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js
|
|
513
497
|
var require_minor = __commonJS({
|
|
514
498
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js"(exports, module) {
|
|
515
|
-
init_esm_shims();
|
|
516
499
|
var SemVer = require_semver();
|
|
517
500
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
518
501
|
module.exports = minor;
|
|
@@ -522,7 +505,6 @@ var require_minor = __commonJS({
|
|
|
522
505
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js
|
|
523
506
|
var require_patch = __commonJS({
|
|
524
507
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js"(exports, module) {
|
|
525
|
-
init_esm_shims();
|
|
526
508
|
var SemVer = require_semver();
|
|
527
509
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
528
510
|
module.exports = patch;
|
|
@@ -532,7 +514,6 @@ var require_patch = __commonJS({
|
|
|
532
514
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js
|
|
533
515
|
var require_prerelease = __commonJS({
|
|
534
516
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
535
|
-
init_esm_shims();
|
|
536
517
|
var parse2 = require_parse();
|
|
537
518
|
var prerelease = (version3, options) => {
|
|
538
519
|
const parsed = parse2(version3, options);
|
|
@@ -545,7 +526,6 @@ var require_prerelease = __commonJS({
|
|
|
545
526
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js
|
|
546
527
|
var require_rcompare = __commonJS({
|
|
547
528
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
548
|
-
init_esm_shims();
|
|
549
529
|
var compare = require_compare();
|
|
550
530
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
551
531
|
module.exports = rcompare;
|
|
@@ -555,7 +535,6 @@ var require_rcompare = __commonJS({
|
|
|
555
535
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js
|
|
556
536
|
var require_compare_loose = __commonJS({
|
|
557
537
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
558
|
-
init_esm_shims();
|
|
559
538
|
var compare = require_compare();
|
|
560
539
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
561
540
|
module.exports = compareLoose;
|
|
@@ -565,7 +544,6 @@ var require_compare_loose = __commonJS({
|
|
|
565
544
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js
|
|
566
545
|
var require_compare_build = __commonJS({
|
|
567
546
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
568
|
-
init_esm_shims();
|
|
569
547
|
var SemVer = require_semver();
|
|
570
548
|
var compareBuild = (a, b, loose) => {
|
|
571
549
|
const versionA = new SemVer(a, loose);
|
|
@@ -579,7 +557,6 @@ var require_compare_build = __commonJS({
|
|
|
579
557
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js
|
|
580
558
|
var require_sort = __commonJS({
|
|
581
559
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js"(exports, module) {
|
|
582
|
-
init_esm_shims();
|
|
583
560
|
var compareBuild = require_compare_build();
|
|
584
561
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
585
562
|
module.exports = sort;
|
|
@@ -589,7 +566,6 @@ var require_sort = __commonJS({
|
|
|
589
566
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js
|
|
590
567
|
var require_rsort = __commonJS({
|
|
591
568
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
592
|
-
init_esm_shims();
|
|
593
569
|
var compareBuild = require_compare_build();
|
|
594
570
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
595
571
|
module.exports = rsort;
|
|
@@ -599,7 +575,6 @@ var require_rsort = __commonJS({
|
|
|
599
575
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js
|
|
600
576
|
var require_gt = __commonJS({
|
|
601
577
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js"(exports, module) {
|
|
602
|
-
init_esm_shims();
|
|
603
578
|
var compare = require_compare();
|
|
604
579
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
605
580
|
module.exports = gt;
|
|
@@ -609,7 +584,6 @@ var require_gt = __commonJS({
|
|
|
609
584
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js
|
|
610
585
|
var require_lt = __commonJS({
|
|
611
586
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js"(exports, module) {
|
|
612
|
-
init_esm_shims();
|
|
613
587
|
var compare = require_compare();
|
|
614
588
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
615
589
|
module.exports = lt;
|
|
@@ -619,7 +593,6 @@ var require_lt = __commonJS({
|
|
|
619
593
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js
|
|
620
594
|
var require_neq = __commonJS({
|
|
621
595
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js"(exports, module) {
|
|
622
|
-
init_esm_shims();
|
|
623
596
|
var compare = require_compare();
|
|
624
597
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
625
598
|
module.exports = neq;
|
|
@@ -629,7 +602,6 @@ var require_neq = __commonJS({
|
|
|
629
602
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js
|
|
630
603
|
var require_gte = __commonJS({
|
|
631
604
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js"(exports, module) {
|
|
632
|
-
init_esm_shims();
|
|
633
605
|
var compare = require_compare();
|
|
634
606
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
635
607
|
module.exports = gte;
|
|
@@ -639,7 +611,6 @@ var require_gte = __commonJS({
|
|
|
639
611
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js
|
|
640
612
|
var require_lte = __commonJS({
|
|
641
613
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js"(exports, module) {
|
|
642
|
-
init_esm_shims();
|
|
643
614
|
var compare = require_compare();
|
|
644
615
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
645
616
|
module.exports = lte;
|
|
@@ -649,7 +620,6 @@ var require_lte = __commonJS({
|
|
|
649
620
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js
|
|
650
621
|
var require_cmp = __commonJS({
|
|
651
622
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
652
|
-
init_esm_shims();
|
|
653
623
|
var eq = require_eq();
|
|
654
624
|
var neq = require_neq();
|
|
655
625
|
var gt = require_gt();
|
|
@@ -699,7 +669,6 @@ var require_cmp = __commonJS({
|
|
|
699
669
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js
|
|
700
670
|
var require_coerce = __commonJS({
|
|
701
671
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
702
|
-
init_esm_shims();
|
|
703
672
|
var SemVer = require_semver();
|
|
704
673
|
var parse2 = require_parse();
|
|
705
674
|
var { re, t } = require_re();
|
|
@@ -740,7 +709,6 @@ var require_coerce = __commonJS({
|
|
|
740
709
|
var require_iterator = __commonJS({
|
|
741
710
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports, module) {
|
|
742
711
|
"use strict";
|
|
743
|
-
init_esm_shims();
|
|
744
712
|
module.exports = function(Yallist) {
|
|
745
713
|
Yallist.prototype[Symbol.iterator] = function* () {
|
|
746
714
|
for (let walker = this.head; walker; walker = walker.next) {
|
|
@@ -755,7 +723,6 @@ var require_iterator = __commonJS({
|
|
|
755
723
|
var require_yallist = __commonJS({
|
|
756
724
|
"../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module) {
|
|
757
725
|
"use strict";
|
|
758
|
-
init_esm_shims();
|
|
759
726
|
module.exports = Yallist;
|
|
760
727
|
Yallist.Node = Node2;
|
|
761
728
|
Yallist.create = Yallist;
|
|
@@ -1125,7 +1092,6 @@ var require_yallist = __commonJS({
|
|
|
1125
1092
|
var require_lru_cache = __commonJS({
|
|
1126
1093
|
"../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports, module) {
|
|
1127
1094
|
"use strict";
|
|
1128
|
-
init_esm_shims();
|
|
1129
1095
|
var Yallist = require_yallist();
|
|
1130
1096
|
var MAX = Symbol("max");
|
|
1131
1097
|
var LENGTH = Symbol("length");
|
|
@@ -1393,7 +1359,6 @@ var require_lru_cache = __commonJS({
|
|
|
1393
1359
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js
|
|
1394
1360
|
var require_range = __commonJS({
|
|
1395
1361
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js"(exports, module) {
|
|
1396
|
-
init_esm_shims();
|
|
1397
1362
|
var Range = class {
|
|
1398
1363
|
constructor(range, options) {
|
|
1399
1364
|
options = parseOptions(options);
|
|
@@ -1753,7 +1718,6 @@ var require_range = __commonJS({
|
|
|
1753
1718
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js
|
|
1754
1719
|
var require_comparator = __commonJS({
|
|
1755
1720
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
1756
|
-
init_esm_shims();
|
|
1757
1721
|
var ANY = Symbol("SemVer ANY");
|
|
1758
1722
|
var Comparator = class {
|
|
1759
1723
|
static get ANY() {
|
|
@@ -1855,7 +1819,6 @@ var require_comparator = __commonJS({
|
|
|
1855
1819
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js
|
|
1856
1820
|
var require_satisfies = __commonJS({
|
|
1857
1821
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1858
|
-
init_esm_shims();
|
|
1859
1822
|
var Range = require_range();
|
|
1860
1823
|
var satisfies3 = (version3, range, options) => {
|
|
1861
1824
|
try {
|
|
@@ -1872,7 +1835,6 @@ var require_satisfies = __commonJS({
|
|
|
1872
1835
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js
|
|
1873
1836
|
var require_to_comparators = __commonJS({
|
|
1874
1837
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1875
|
-
init_esm_shims();
|
|
1876
1838
|
var Range = require_range();
|
|
1877
1839
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1878
1840
|
module.exports = toComparators;
|
|
@@ -1882,7 +1844,6 @@ var require_to_comparators = __commonJS({
|
|
|
1882
1844
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js
|
|
1883
1845
|
var require_max_satisfying = __commonJS({
|
|
1884
1846
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1885
|
-
init_esm_shims();
|
|
1886
1847
|
var SemVer = require_semver();
|
|
1887
1848
|
var Range = require_range();
|
|
1888
1849
|
var maxSatisfying = (versions, range, options) => {
|
|
@@ -1911,7 +1872,6 @@ var require_max_satisfying = __commonJS({
|
|
|
1911
1872
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js
|
|
1912
1873
|
var require_min_satisfying = __commonJS({
|
|
1913
1874
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1914
|
-
init_esm_shims();
|
|
1915
1875
|
var SemVer = require_semver();
|
|
1916
1876
|
var Range = require_range();
|
|
1917
1877
|
var minSatisfying = (versions, range, options) => {
|
|
@@ -1940,7 +1900,6 @@ var require_min_satisfying = __commonJS({
|
|
|
1940
1900
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js
|
|
1941
1901
|
var require_min_version = __commonJS({
|
|
1942
1902
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1943
|
-
init_esm_shims();
|
|
1944
1903
|
var SemVer = require_semver();
|
|
1945
1904
|
var Range = require_range();
|
|
1946
1905
|
var gt = require_gt();
|
|
@@ -1997,7 +1956,6 @@ var require_min_version = __commonJS({
|
|
|
1997
1956
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js
|
|
1998
1957
|
var require_valid2 = __commonJS({
|
|
1999
1958
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
2000
|
-
init_esm_shims();
|
|
2001
1959
|
var Range = require_range();
|
|
2002
1960
|
var validRange = (range, options) => {
|
|
2003
1961
|
try {
|
|
@@ -2013,7 +1971,6 @@ var require_valid2 = __commonJS({
|
|
|
2013
1971
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js
|
|
2014
1972
|
var require_outside = __commonJS({
|
|
2015
1973
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
2016
|
-
init_esm_shims();
|
|
2017
1974
|
var SemVer = require_semver();
|
|
2018
1975
|
var Comparator = require_comparator();
|
|
2019
1976
|
var { ANY } = Comparator;
|
|
@@ -2082,7 +2039,6 @@ var require_outside = __commonJS({
|
|
|
2082
2039
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js
|
|
2083
2040
|
var require_gtr = __commonJS({
|
|
2084
2041
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
2085
|
-
init_esm_shims();
|
|
2086
2042
|
var outside = require_outside();
|
|
2087
2043
|
var gtr = (version3, range, options) => outside(version3, range, ">", options);
|
|
2088
2044
|
module.exports = gtr;
|
|
@@ -2092,7 +2048,6 @@ var require_gtr = __commonJS({
|
|
|
2092
2048
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js
|
|
2093
2049
|
var require_ltr = __commonJS({
|
|
2094
2050
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
2095
|
-
init_esm_shims();
|
|
2096
2051
|
var outside = require_outside();
|
|
2097
2052
|
var ltr = (version3, range, options) => outside(version3, range, "<", options);
|
|
2098
2053
|
module.exports = ltr;
|
|
@@ -2102,7 +2057,6 @@ var require_ltr = __commonJS({
|
|
|
2102
2057
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js
|
|
2103
2058
|
var require_intersects = __commonJS({
|
|
2104
2059
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
2105
|
-
init_esm_shims();
|
|
2106
2060
|
var Range = require_range();
|
|
2107
2061
|
var intersects = (r1, r2, options) => {
|
|
2108
2062
|
r1 = new Range(r1, options);
|
|
@@ -2116,7 +2070,6 @@ var require_intersects = __commonJS({
|
|
|
2116
2070
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js
|
|
2117
2071
|
var require_simplify = __commonJS({
|
|
2118
2072
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
2119
|
-
init_esm_shims();
|
|
2120
2073
|
var satisfies3 = require_satisfies();
|
|
2121
2074
|
var compare = require_compare();
|
|
2122
2075
|
module.exports = (versions, range, options) => {
|
|
@@ -2166,7 +2119,6 @@ var require_simplify = __commonJS({
|
|
|
2166
2119
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js
|
|
2167
2120
|
var require_subset = __commonJS({
|
|
2168
2121
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
2169
|
-
init_esm_shims();
|
|
2170
2122
|
var Range = require_range();
|
|
2171
2123
|
var Comparator = require_comparator();
|
|
2172
2124
|
var { ANY } = Comparator;
|
|
@@ -2327,7 +2279,6 @@ var require_subset = __commonJS({
|
|
|
2327
2279
|
// ../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js
|
|
2328
2280
|
var require_semver2 = __commonJS({
|
|
2329
2281
|
"../../node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js"(exports, module) {
|
|
2330
|
-
init_esm_shims();
|
|
2331
2282
|
var internalRe = require_re();
|
|
2332
2283
|
var constants2 = require_constants();
|
|
2333
2284
|
var SemVer = require_semver();
|
|
@@ -2419,7 +2370,6 @@ var require_semver2 = __commonJS({
|
|
|
2419
2370
|
});
|
|
2420
2371
|
|
|
2421
2372
|
// node/server.ts
|
|
2422
|
-
init_esm_shims();
|
|
2423
2373
|
import { join } from "path";
|
|
2424
2374
|
import { createServer as createViteServer, resolveConfig } from "vite";
|
|
2425
2375
|
async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
@@ -2447,21 +2397,15 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2447
2397
|
}
|
|
2448
2398
|
|
|
2449
2399
|
// node/parser.ts
|
|
2450
|
-
init_esm_shims();
|
|
2451
2400
|
import * as parser from "@slidev/parser/fs";
|
|
2452
2401
|
|
|
2453
2402
|
// package.json
|
|
2454
|
-
var version = "0.
|
|
2403
|
+
var version = "0.39.0";
|
|
2455
2404
|
|
|
2456
2405
|
// node/themes.ts
|
|
2457
|
-
init_esm_shims();
|
|
2458
2406
|
import prompts2 from "prompts";
|
|
2459
2407
|
|
|
2460
|
-
// ../../node_modules/.pnpm/@antfu+ni@0.19.0/node_modules/@antfu/ni/dist/index.mjs
|
|
2461
|
-
init_esm_shims();
|
|
2462
|
-
|
|
2463
2408
|
// ../../node_modules/.pnpm/@antfu+ni@0.19.0/node_modules/@antfu/ni/dist/shared/ni.e4583e4e.mjs
|
|
2464
|
-
init_esm_shims();
|
|
2465
2409
|
import require$$0, { resolve } from "path";
|
|
2466
2410
|
import require$$0$6 from "readline";
|
|
2467
2411
|
import require$$2 from "events";
|
|
@@ -2958,12 +2902,11 @@ var defaultConfig = {
|
|
|
2958
2902
|
};
|
|
2959
2903
|
var config;
|
|
2960
2904
|
async function getConfig() {
|
|
2961
|
-
var _a;
|
|
2962
2905
|
if (!config) {
|
|
2963
2906
|
const result = await findUp("package.json") || "";
|
|
2964
2907
|
let packageManager = "";
|
|
2965
2908
|
if (result)
|
|
2966
|
-
packageManager =
|
|
2909
|
+
packageManager = JSON.parse(fs$1.readFileSync(result, "utf8")).packageManager ?? "";
|
|
2967
2910
|
const [, agent, version3] = packageManager.match(new RegExp(`^(${Object.values(LOCKS).join("|")})@(d).*?$`)) || [];
|
|
2968
2911
|
if (agent)
|
|
2969
2912
|
config = Object.assign({}, defaultConfig, { defaultAgent: agent === "yarn" && parseInt(version3) > 1 ? "yarn@berry" : agent });
|
|
@@ -10306,13 +10249,11 @@ import { underline } from "kolorist";
|
|
|
10306
10249
|
import fs3 from "fs-extra";
|
|
10307
10250
|
|
|
10308
10251
|
// node/options.ts
|
|
10309
|
-
init_esm_shims();
|
|
10310
10252
|
import { dirname, join as join3, resolve as resolve2 } from "path";
|
|
10311
10253
|
import { uniq } from "@antfu/utils";
|
|
10312
10254
|
import _debug from "debug";
|
|
10313
10255
|
|
|
10314
10256
|
// node/addons.ts
|
|
10315
|
-
init_esm_shims();
|
|
10316
10257
|
var import_semver = __toESM(require_semver2());
|
|
10317
10258
|
import fs2 from "fs-extra";
|
|
10318
10259
|
async function getPackageJson(root) {
|