Allow using Deno as package manager

オープン
#30,947 コメント 3 件 リアクション 26 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #30948 @csvn による — マージされずにクローズ

評価

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

調査の方向性

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

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

説明

area: @angular/cli feature feature: under consideration
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.

ng new --package-manager=deno my-project
Deno Details
  • Add package command: deno add
  • Install all command: deno install
  • Lockfile file: deno.lock
  • Dev only flag: --dev (e.g. deno add --dev <package(s)>)

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.

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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