Skip to content

Commit eecfe11

Browse files
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 structure
1 parent e6ae8d6 commit eecfe11

24 files changed

Lines changed: 378 additions & 373 deletions

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@
744744
"fast-sort": "3.4.1",
745745
"get-east-asian-width": "1.3.0",
746746
"globals": "16.4.0",
747+
"has-flag": "5.0.1",
747748
"husky": "9.1.7",
748749
"libnpmexec": "^10.1.11",
749750
"libnpmpack": "9.0.9",
@@ -756,9 +757,11 @@
756757
"pacote": "21.0.1",
757758
"picomatch": "2.3.1",
758759
"semver": "7.7.2",
760+
"signal-exit": "4.1.0",
759761
"spdx-correct": "3.2.0",
760762
"spdx-expression-parse": "4.0.0",
761763
"streaming-iterables": "8.0.1",
764+
"supports-color": "10.0.0",
762765
"taze": "19.9.2",
763766
"trash": "10.0.0",
764767
"type-coverage": "2.29.7",
@@ -784,14 +787,23 @@
784787
"overrides": {
785788
"@npmcli/arborist": "9.1.6",
786789
"@npmcli/run-script": "10.0.0",
790+
"@sigstore/core": "3.1.0",
787791
"@sigstore/sign": "4.1.0",
788792
"ansi-regex": "6.2.2",
793+
"debug": "4.4.3",
794+
"has-flag": "5.0.1",
795+
"isexe": "3.1.1",
789796
"lru-cache": "11.2.2",
790797
"picomatch": "4.0.3",
798+
"proc-log": "6.1.0",
791799
"semver": "7.7.2",
800+
"signal-exit": "4.1.0",
792801
"string-width": "8.1.0",
793802
"strip-ansi": "7.1.2",
794-
"wrap-ansi": "9.0.2"
803+
"supports-color": "10.0.0",
804+
"which": "5.0.0",
805+
"wrap-ansi": "9.0.2",
806+
"yoctocolors-cjs": "2.1.3"
795807
},
796808
"patchedDependencies": {
797809
"@npmcli/run-script@10.0.0": "patches/@npmcli__run-script@10.0.0.patch",

0 commit comments

Comments
 (0)