Commit eecfe11
committed
refactor: consolidate external bundles and deduplicate dependencies
- Create external-pack.js bundling shared deps: signal-exit, supports-color,
has-flag, yoctocolors-cjs, and all @InQuirer packages
- Remove inquirer-pack.js (merged into external-pack)
- Remove npm-core.js (merged into npm-pack)
- Remove debug stub to bundle real debug package
- Mark debug and which as external in npm-pack to avoid duplication
- Add pnpm overrides for version consolidation
- Update @InQuirer re-exports to use external-pack
- Update test to reflect new bundle structure1 parent e6ae8d6 commit eecfe11
24 files changed
Lines changed: 378 additions & 373 deletions
File tree
- scripts/build-externals
- stubs
- src/external
- @inquirer
- test/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
747 | 748 | | |
748 | 749 | | |
749 | 750 | | |
| |||
756 | 757 | | |
757 | 758 | | |
758 | 759 | | |
| 760 | + | |
759 | 761 | | |
760 | 762 | | |
761 | 763 | | |
| 764 | + | |
762 | 765 | | |
763 | 766 | | |
764 | 767 | | |
| |||
784 | 787 | | |
785 | 788 | | |
786 | 789 | | |
| 790 | + | |
787 | 791 | | |
788 | 792 | | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
789 | 796 | | |
790 | 797 | | |
| 798 | + | |
791 | 799 | | |
| 800 | + | |
792 | 801 | | |
793 | 802 | | |
794 | | - | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
795 | 807 | | |
796 | 808 | | |
797 | 809 | | |
| |||
0 commit comments