replit / upm

⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
https://repl.it
Other
1.05k stars 89 forks source link

[node] Adding nodejs package alias mapping #276

Closed blast-hardcheese closed 1 month ago

blast-hardcheese commented 1 month ago

Why

Similar to Python, there are some packages that need overriding. To start, tsc, which emits the following if you install it by accident:

image

What changed

Test plan

upm add tsc should install typescript instead:

$ upm add tsc
--> bun add typescript
bun add v1.0.18 (36c316a2)

 installed typescript@5.5.4 with binaries:
  - tsc
  - tsserver

 1 package installed [555.00ms]