Unknown argument error when executing CLI with pages glob
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript
- 領域
- cli, documentation
調査の方向性
component-docs serve CLI エントリポイントから始め、関連する README と component-docs.config.js の参照を確認してください。npx component-docs serve "example/**/*.md" で問題を再現してください。glob の動作が修正されるか、README で必要な設定が明確に説明されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Environment
- MacOS 10.15.7
- zsh shell
- Node.js 12.18.4
- yarn 1.22.5
Description
When I worked on this PR, and upgraded component-docs to then-latest version 0.23.0, I notice that the npm script component-docs serve "docs/*.{md,mdx}" now return this error:
$ component-docs serve "docs/*.{md,mdx}"
...
Unknown argument: docs/*.{md,mdx}
Event after recent update to 0.24.0, the issue still persists, so I have to resort to component-docs.config.js to define the pages collection.
If pages glob argument is no longer supported in recent update, I think it should be reflected in README to avoid confusion.
Reproducible Demo
Just run below command and observe the error:
npx component-docs serve "example/**/*.md"
- 主要言語
- TypeScript
- スター
- 141
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/component-docs のほかの issue
-
callstack/component-docs#49 · コメント 1 件 · リアクション 2 件 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
callstack/component-docs#44 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
callstack/component-docs#34 ·
-
Support RNW オープン
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
callstack/component-docs#30 · リアクション 1 件 ·
-
greenkeeper
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
callstack/component-docs#18 ·
callstack/component-docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·