docs: add Deno to install instructions#3385
Conversation
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
|
To be fair, with the plethora of package managers these days - I kinda wonder if we just shouldn't mention a single package manager in those instructions. Like, Deno users know how to install packages, right? I would just like to avoid having a list of 5+ installation instructions here where each one of them is super-super similar and already well-known by the users of those tools |
|
@Andarist that's fine for me, feel free to close the PR! |
👋 Bartek from the Deno team here.
The install instructions list yarn and npm, but not Deno. Since Deno is a drop-in replacement for npm these days, I'd like to add a Deno line so Deno users have a copy-pasteable command, in parity with the others:
(As of Deno 2.8 there's no
npm:prefix needed, it's the same command shape asnpm install @emotion/react.)Totally fine to close this if you'd rather keep the list short, no hard feelings. Happy to adjust wording, placement, or move it elsewhere.
Disclosure: I work on Deno, so I have an interest here. The goal is parity with the package managers you already list, not promotion. This PR was prepared with AI assistance under human supervision: I review every change myself and personally respond to any comments or review feedback.
What: Adds a
deno install @emotion/reactline to the install docs, next to the existing yarn and npm commands.Why: Deno users currently have to translate the npm command themselves; this gives parity with the package managers already listed.
How: Added one bash snippet in
docs/install.mdxmatching the existing style.Checklist: