@ampless/plugin-schema-jsonld 0.1.1-alpha.8 → 0.1.1-beta.30
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.ja.md +2 -2
- package/README.md +2 -2
- package/package.json +2 -2
package/README.ja.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[ampless](https://github.com/heavymoons/ampless) 向け JSON-LD 構造化データ (Article スキーマ) プラグイン。
|
|
7
7
|
|
|
8
|
-
> **プレリリース /
|
|
8
|
+
> **プレリリース / ベータ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
|
|
9
9
|
|
|
10
10
|
`publicBodyForPost` フック (Phase 4) を使って、投稿ページの body 内に `<script type="application/ld+json">` 要素を出力します。スクリプトには、投稿フィールドと 4 つの管理設定から組み立てた [schema.org](https://schema.org/) Article 系オブジェクトが格納されます。
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ AWS のデータ権限は不要です。プラグインは公開 Next.js プロ
|
|
|
14
14
|
## インストール
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install @ampless/plugin-schema-jsonld@
|
|
17
|
+
npm install @ampless/plugin-schema-jsonld@beta
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## 設定
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
JSON-LD structured data (Article schema) plugin for [ampless](https://github.com/heavymoons/ampless).
|
|
7
7
|
|
|
8
|
-
> **Pre-release /
|
|
8
|
+
> **Pre-release / beta.** Breaking changes possible in any minor version until v1.0.
|
|
9
9
|
|
|
10
10
|
Emits a `<script type="application/ld+json">` element inside the post body via the `publicBodyForPost` hook (Phase 4). The script carries an Article-family [schema.org](https://schema.org/) object built from the post's fields and four admin-managed settings.
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ No AWS data permissions are required — the plugin is a pure function that runs
|
|
|
14
14
|
## Install
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install @ampless/plugin-schema-jsonld@
|
|
17
|
+
npm install @ampless/plugin-schema-jsonld@beta
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Configure
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/plugin-schema-jsonld",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-beta.30",
|
|
4
4
|
"description": "JSON-LD structured data (Article schema) for ampless posts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-schema-jsonld#readme",
|
|
27
27
|
"bugs": "https://github.com/heavymoons/ampless/issues",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"ampless": "1.0.0-
|
|
29
|
+
"ampless": "1.0.0-beta.51"
|
|
30
30
|
},
|
|
31
31
|
"keywords": [
|
|
32
32
|
"ampless",
|