angular / angular/angular-cli

Allow using Deno as package manager

オープン
#30,947 コメント 3 件 リアクション 26 件 担当者 0 名 GitHub で見る
area: @angular/cli feature feature: under consideration
主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
14時間 23分
マージ済み PR(30日)
162

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`new` コマンドに既存するパッケージマネージャーの処理から始め、`bun` のパスと要求された Deno コマンドを比較します。`ng new --package-manager=deno my-project` が動作し、`deno.lock` によって自動選択がトリガーされ、パッケージの追加で適切な場合に `--dev` を付けて `deno add` が使用されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
deno, typescript
領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。