Remove the no-op nf dev --config option and the stale nanoforge.config.json name

オープン 初心者向け
#281 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

src/command/commands/dev.command.ts、src/lib/constants.ts、docs/docs/commands/dev.mdx、docs/config.schema.jsonから始め、オプションと定数をconfig-loader.tsが使用する設定ファイル名と比較してください。無視されている--configオプションと未使用の定数を削除し、ドキュメント内の両方の参照を更新してください。CLIが効果のないオプションを受け付けなくなり、ドキュメントに実際に読み込まれる設定ファイル名が記載されたら完了です。

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

説明

command:dev enhancement good first issue refactor
Which package is this feature request for?

@nanoforge-dev/cli

Which command is this feature request for?

dev

Feature

nf dev -c, --config is accepted and ignored: nothing reads the config input, and docs/docs/commands/dev.mdx says "Accepted, but has no effect" (docs/docs/commands/dev.mdx#L31). Its default, CONFIG_FILE_NAME = "nanoforge.config.json" (src/lib/constants.ts#L1, used only by src/command/commands/dev.command.ts#L19), names a file the CLI no longer reads: config-loader.ts looks for nanoforge.config.ts/.js. The schema description still says nanoforge.config.json (docs/config.schema.json#L5). Users who pass -c get no error and no effect.

Found during a read-only audit of main at e95b881 (2026-11-11).

Ideal solution or implementation

Remove the --config option and the CONFIG_FILE_NAME constant, and fix the description in docs/config.schema.json and the option row in dev.mdx. Or implement --config for every command that reads the config (bigger change).

Alternative solutions or implementations

No response

Other context

No response

主要言語
TypeScript
スター
2
フォーク
2
平均マージ
2日 18時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

NanoForge-dev/CLI のほかの issue

NanoForge-dev/CLI の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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