@ampless/plugin-seo 0.2.0-alpha.9 → 0.2.0-beta.51
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/dist/index.js +2 -0
- package/package.json +19 -3
package/README.ja.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
[ampless](https://github.com/heavymoons/ampless) 向け SEO プラグイン。投稿ごと・サイトごとのメタデータ(Open Graph、Twitter カード、canonical)を生成し、投稿セットが変更されるたびに `sitemap.xml` を S3 に再生成します。
|
|
7
7
|
|
|
8
|
-
> **プレリリース /
|
|
8
|
+
> **プレリリース / ベータ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
|
|
9
9
|
|
|
10
10
|
## インストール
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install @ampless/plugin-seo@
|
|
13
|
+
npm install @ampless/plugin-seo@beta
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## 設定
|
package/README.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
SEO plugin for [ampless](https://github.com/heavymoons/ampless). Generates per-post and per-site metadata (Open Graph, Twitter card, canonical) and keeps a `sitemap.xml` regenerated to S3 whenever the post set changes.
|
|
7
7
|
|
|
8
|
-
> **Pre-release /
|
|
8
|
+
> **Pre-release / beta.** Breaking changes possible in any minor version until v1.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install @ampless/plugin-seo@
|
|
13
|
+
npm install @ampless/plugin-seo@beta
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Configure
|
package/dist/index.js
CHANGED
|
@@ -93,8 +93,10 @@ function seoPlugin(options = {}) {
|
|
|
93
93
|
}
|
|
94
94
|
return definePlugin({
|
|
95
95
|
name: "seo",
|
|
96
|
+
packageName: "@ampless/plugin-seo",
|
|
96
97
|
apiVersion: 1,
|
|
97
98
|
trust_level: "trusted",
|
|
99
|
+
capabilities: ["eventHooks", "writePublicAsset", "metadata"],
|
|
98
100
|
hooks: {
|
|
99
101
|
"content.published": rebuild,
|
|
100
102
|
"content.unpublished": rebuild,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/plugin-seo",
|
|
3
|
-
"version": "0.2.0-
|
|
3
|
+
"version": "0.2.0-beta.51",
|
|
4
4
|
"description": "SEO plugin for ampless",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
10
10
|
"types": "./dist/index.d.ts"
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
12
13
|
},
|
|
13
14
|
"files": [
|
|
14
15
|
"dist",
|
|
@@ -25,13 +26,28 @@
|
|
|
25
26
|
"homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-seo#readme",
|
|
26
27
|
"bugs": "https://github.com/heavymoons/ampless/issues",
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"ampless": "1.0.0-
|
|
29
|
+
"ampless": "1.0.0-beta.51"
|
|
29
30
|
},
|
|
30
31
|
"keywords": [
|
|
31
32
|
"ampless",
|
|
32
33
|
"plugin",
|
|
34
|
+
"ampless-plugin",
|
|
33
35
|
"seo"
|
|
34
36
|
],
|
|
37
|
+
"amplessPlugin": {
|
|
38
|
+
"apiVersion": 1,
|
|
39
|
+
"name": "seo",
|
|
40
|
+
"trustLevel": "trusted",
|
|
41
|
+
"capabilities": [
|
|
42
|
+
"eventHooks",
|
|
43
|
+
"writePublicAsset",
|
|
44
|
+
"metadata"
|
|
45
|
+
],
|
|
46
|
+
"displayName": {
|
|
47
|
+
"en": "SEO",
|
|
48
|
+
"ja": "SEO"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
35
51
|
"scripts": {
|
|
36
52
|
"build": "tsup",
|
|
37
53
|
"dev": "tsup --watch",
|