angular / angular/angular-cli

Allow using Deno as package manager

Open
#30,947 3 comments 26 reactions 0 assignees View on GitHub
area: @angular/cli feature feature: under consideration
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
14h 23m
Merged PRs (30d)
162

Description

### Command

new

### Description

Add `deno` as a package manager, such that it can be used during project creation or automatically used when it's lockfile is found.

```sh
ng new --package-manager=deno my-project
```

### Deno Details

- Add package command: [`deno add`](https://docs.deno.com/runtime/reference/cli/add/)
- Install all command: [`deno install`](https://docs.deno.com/runtime/reference/cli/install/)
- Lockfile file: `deno.lock`
- Dev only flag: [`--dev`](https://docs.deno.com/runtime/reference/cli/add/#options-dev) (e.g. `deno add --dev `)

Deno seems to have the same commands as the other package manager options, and is similar to `pnpm` in that it installs packages with symlinks in `node_modules`.

### Describe the solution you'd like

Deno works similar to `bun` as package manager.

### Describe alternatives you've considered

None. If `bun` is supported, it seems reasonable to support `deno` too.

Contributor guide

Open the contributing guide

Research direction

Start with the `new` command's existing package-manager handling and compare the `bun` path with the requested Deno commands. Done means `ng new --package-manager=deno my-project` works, `deno.lock` triggers automatic selection, and package additions use `deno add` with `--dev` when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.