@riebeckite/plugin-changelog 0.0.38 → 0.0.40

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
@@ -2,10 +2,10 @@
2
2
 
3
3
  <!-- Generated from docs/docs/plugins/changelog.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
4
 
5
- Build-time change history derived from local Git history. For every published
6
- note the plugin adds a "change history" section with commit dates, subjects,
7
- and authors, and it can build a site-wide changelog dataset from the notes'
8
- commits. No client-side JavaScript is required.
5
+ Build-time change history derived from local Git history. The plugin reads
6
+ commit dates, subjects, and authors for notes, renders change history sections,
7
+ and can build a site-wide changelog dataset from the notes' commits. The Site
8
+ decides where to render each section. No client-side JavaScript is required.
9
9
 
10
10
  [日本語](./README_ja.md)
11
11
 
@@ -22,6 +22,12 @@ changelog dataset is built and available for the app to render itself. The
22
22
  plugin contributes no markup to the manifest entry; the Site renders the
23
23
  changelog sections it wants. No client script is registered.
24
24
 
25
+ ## Installation
26
+
27
+ ```sh
28
+ npm install @riebeckite/plugin-changelog
29
+ ```
30
+
25
31
  ## Usage
26
32
 
27
33
  ```ts
package/README_ja.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!-- Generated from docs/docs/plugins/changelog.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
4
 
5
- ローカル Git の履歴からビルド時に変更履歴を生成するプラグインです。公開ノートごとにコミット日・件名・作成者を並べた「変更履歴」セクションを追加し、サイト全体の変更履歴データセットも組み立てられます。クライアント JavaScript は不要です。
5
+ ローカル Git の履歴からビルド時に変更履歴を生成するプラグインです。ノートのコミット日・件名・作成者を読み取り、「変更履歴」セクションを描画して、サイト全体の変更履歴データセットも組み立てられます。各セクションをどこに表示するかはサイト側が決めます。クライアント JavaScript は不要です。
6
6
 
7
7
  [English](./README.md)
8
8
 
@@ -12,6 +12,12 @@
12
12
 
13
13
  結果はプラグインの組み込み HTML レンダラーを通じて公開されます。公開エントリはそれぞれ変更履歴セクションを受け取り、サイト側のレイアウトが描画するかどうかを決めます。`siteWide` を有効にすると、サイト全体の変更履歴データセットがビルドされ、アプリが自身で描画できます。プラグインはマニフェストエントリにマークアップを挿入しません。描画する変更履歴セクションはサイト側が選びます。クライアントスクリプトは登録しません。
14
14
 
15
+ ## インストール
16
+
17
+ ```sh
18
+ npm install @riebeckite/plugin-changelog
19
+ ```
20
+
15
21
  ## 使い方
16
22
 
17
23
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-changelog",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,8 +21,8 @@
21
21
  "./style.css": "./style.css"
22
22
  },
23
23
  "dependencies": {
24
- "@riebeckite/core": "0.0.38",
25
- "@riebeckite/git-history": "0.0.38",
24
+ "@riebeckite/core": "0.0.40",
25
+ "@riebeckite/git-history": "0.0.40",
26
26
  "hono": "^4.12.25"
27
27
  },
28
28
  "devDependencies": {