Commit 888137a
committed
chore: update dependencies and improve type handling in Vite plugins
- Added new type definitions for `@types/fs-extra`, `@types/jsonfile`, and `@types/xml2js` in `pnpm-lock.yaml` to enhance type safety.
- Updated `package.json` to include the new type dependencies for better development experience.
- Refactored type annotations in `server-plugin.ts`, `require-transform.ts`, and `utils.ts` to improve code clarity and maintainability.
- Fixed a typo in the import statement of `vite-plugin-tsx-xml.ts`.
These changes enhance type safety and improve the overall quality of the Vite integration, contributing to a more robust development environment.1 parent ec1af0d commit 888137a
File tree
5 files changed
+30
-46
lines changed- packages/vite/src
- compatibility-v4
5 files changed
+30
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
| |||
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
49 | | - | |
50 | 45 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 46 | | |
55 | 47 | | |
56 | 48 | | |
| |||
70 | 62 | | |
71 | 63 | | |
72 | 64 | | |
73 | | - | |
74 | 65 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 66 | | |
79 | 67 | | |
80 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
538 | 537 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | 538 | | |
543 | 539 | | |
544 | 540 | | |
545 | 541 | | |
546 | | - | |
547 | 542 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 543 | | |
552 | 544 | | |
553 | 545 | | |
| |||
572 | 564 | | |
573 | 565 | | |
574 | 566 | | |
575 | | - | |
576 | 567 | | |
577 | 568 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | 569 | | |
582 | 570 | | |
583 | 571 | | |
| |||
586 | 574 | | |
587 | 575 | | |
588 | 576 | | |
589 | | - | |
590 | 577 | | |
591 | 578 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | 579 | | |
596 | 580 | | |
597 | 581 | | |
| |||
605 | 589 | | |
606 | 590 | | |
607 | 591 | | |
608 | | - | |
609 | 592 | | |
610 | 593 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | 594 | | |
615 | 595 | | |
616 | 596 | | |
617 | 597 | | |
618 | 598 | | |
619 | 599 | | |
620 | 600 | | |
621 | | - | |
622 | 601 | | |
623 | 602 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | 603 | | |
628 | 604 | | |
629 | 605 | | |
630 | 606 | | |
631 | 607 | | |
632 | 608 | | |
633 | 609 | | |
634 | | - | |
635 | 610 | | |
636 | 611 | | |
637 | 612 | | |
638 | 613 | | |
639 | 614 | | |
640 | 615 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | 616 | | |
645 | 617 | | |
646 | 618 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments