@riebeckite/cli 0.0.29 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,11 +34,12 @@ In a pnpm project, use `pnpm exec riebeckite`.
34
34
  ```text
35
35
  riebeckite dev
36
36
  riebeckite check
37
- riebeckite doctor
37
+ riebeckite doctor [--explain | --json | --fix [--dry-run]]
38
38
  riebeckite build [--full]
39
39
  riebeckite clean [--output | --all]
40
40
  riebeckite profile [--full]
41
41
  riebeckite inspect [config | plugins | content [--list] | graph | build]
42
+ riebeckite create theme [<name>] [--template <id>] [--features <ids>] [--list]
42
43
  ```
43
44
 
44
45
  ## Commands
@@ -47,11 +48,12 @@ riebeckite inspect [config | plugins | content [--list] | graph | build]
47
48
  | --- | --- | --- |
48
49
  | `dev` | Start the integration development workflow | integration-dependent |
49
50
  | `check` | Validate app configuration, plugins, and capability resolution | no |
50
- | `doctor` | Diagnose environment, configuration, plugins, content, diagnostics, and build state | no |
51
+ | `doctor` | Report shared diagnostics for environment, configuration, plugins, content, output, and theme | no |
51
52
  | `build` | Run the build path; `--full` bypasses incremental reuse | yes, on success |
52
53
  | `clean` | Remove managed state (`.riebeckite/`); `--output` removes only the build output, `--all` removes both | no |
53
54
  | `profile` | Run tracing-based performance reporting; `--full` uses a full path | build-dependent |
54
55
  | `inspect` | Display factual resolved state (`config`, `plugins`, `content`, `graph`, `build`) | no |
56
+ | `create theme` | Generate a local Theme from the public Theme API | writes local files |
55
57
 
56
58
  `doctor` continues independent checks where possible and exits unsuccessfully
57
59
  when health checks fail. `inspect` is deliberately read-only and never triggers
@@ -63,6 +65,11 @@ state root (`.riebeckite/`), with `--output` the build output, and with `--all`
63
65
  both. Missing targets are not an error, so it is safe to run from scripts and CI.
64
66
  Run `clean --all` before `build` to force a cold build (a cache directory configured outside `.riebeckite/` is not removed).
65
67
 
68
+ `create theme` writes an isolated local Theme under `themes/<name>/`. Use
69
+ `--list` to see templates, `--features` for optional public-hook styling, and
70
+ `--register` to conservatively update a recognizable Theme factory in the site
71
+ config. See [Theme Generator](../../docs/docs/themes/generator.md).
72
+
66
73
  ## Typical workflow
67
74
 
68
75
  ```sh
@@ -77,4 +84,3 @@ pnpm exec riebeckite build
77
84
  - [CLI Reference](../../docs/docs/reference/cli.md)
78
85
  - [Build System](../../docs/docs/framework/build-system.md)
79
86
  - [Diagnostics](../../docs/docs/framework/diagnostics.md) / [Framework Inspector](../../docs/docs/framework/inspector.md)
80
-
package/README_ja.md CHANGED
@@ -27,11 +27,12 @@ pnpm のプロジェクトでは `pnpm exec riebeckite` で実行します。
27
27
  ```text
28
28
  riebeckite dev
29
29
  riebeckite check
30
- riebeckite doctor
30
+ riebeckite doctor [--explain | --json | --fix [--dry-run]]
31
31
  riebeckite build [--full]
32
32
  riebeckite clean [--output | --all]
33
33
  riebeckite profile [--full]
34
34
  riebeckite inspect [config | plugins | content [--list] | graph | build]
35
+ riebeckite create theme [<name>] [--template <id>] [--features <ids>] [--list]
35
36
  ```
36
37
 
37
38
  ## コマンド
@@ -40,16 +41,19 @@ riebeckite inspect [config | plugins | content [--list] | graph | build]
40
41
  | --- | --- | --- |
41
42
  | `dev` | integration の開発ワークフローを起動する | integration による |
42
43
  | `check` | アプリの設定、Plugin、capability の解決を検証する | いいえ |
43
- | `doctor` | 環境、設定、Plugin、コンテンツ、診断、ビルド状態を診断する | いいえ |
44
+ | `doctor` | environment、設定、Plugin、content、output、Theme の共通診断を報告する | いいえ |
44
45
  | `build` | ビルドを実行する。`--full` は差分の再利用を行わない | 成功時に書く |
45
46
  | `clean` | 管理対象の状態(`.riebeckite/`)を削除する。`--output` は Build 出力のみ、`--all` は両方を削除する | いいえ |
46
47
  | `profile` | トレースに基づく性能レポートを実行する。`--full` は全体を対象にする | ビルドの実行による |
47
48
  | `inspect` | 解決済みの状態を事実として表示する(`config`、`plugins`、`content`、`graph`、`build`) | いいえ |
49
+ | `create theme` | 公開 Theme API に沿ったローカル Theme を生成する | ローカルファイルを書き込む |
48
50
 
49
51
  `doctor` は独立したチェックを可能な限り続行し、ヘルスチェックに失敗すると非ゼロで終了します。`inspect` は読み取り専用で、ビルドの実行や状態の書き込みは行いません。出力の読み方は [Diagnostics](../../docs/docs/framework/diagnostics.ja.md) と [Framework Inspector](../../docs/docs/framework/inspector.ja.md) を参照してください。
50
52
 
51
53
  `clean` は Riebeckite が管理する成果物だけを削除します。option なしでは managed state root(`.riebeckite/`)、`--output` では Build 出力、`--all` では両方を削除します。対象が存在しなくてもエラーにならないため、script や CI から安全に実行できます。cold build を行う場合は `clean --all` の後に `build` を実行します(cache directory を別の場所に設定している場合、その場所は削除対象に含まれません)。
52
54
 
55
+ `create theme` は分離されたローカル Theme を `themes/<name>/` に生成します。`--list` でテンプレートを確認し、`--features` で公開 Hook の追加スタイルを選択できます。`--register` は認識できる Theme factory だけを安全にサイト設定へ登録します。詳しくは [Theme Generator](../../docs/docs/themes/generator.ja.md) を参照してください。
56
+
53
57
  ## 典型的な流れ
54
58
 
55
59
  ```sh
@@ -64,4 +68,3 @@ pnpm exec riebeckite build
64
68
  - [CLI Reference](../../docs/docs/reference/cli.ja.md)
65
69
  - [Build System](../../docs/docs/framework/build-system.ja.md)
66
70
  - [Diagnostics](../../docs/docs/framework/diagnostics.ja.md) / [Framework Inspector](../../docs/docs/framework/inspector.ja.md)
67
-