@riebeckite/plugin-rename 0.0.16 → 0.0.17
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 +4 -4
- package/package.json +2 -2
package/README_ja.md
CHANGED
|
@@ -47,8 +47,8 @@ buildRouteLock ──► 現在の RouteLock
|
|
|
47
47
|
|
|
48
48
|
判定の優先順位は厳密で、あいまい一致は行いません。
|
|
49
49
|
|
|
50
|
-
1.
|
|
51
|
-
2.
|
|
50
|
+
1. **明示的な同一性**:エントリの frontmatter `id` がロック内のルートの `id` と一致する。
|
|
51
|
+
2. **内容ハッシュの完全一致**:`sha256(entry.html)` が新しいルートちょうど 1 件と一致する。
|
|
52
52
|
3. どちらも該当しない場合、そのルートは消失とみなす。
|
|
53
53
|
|
|
54
54
|
候補が複数ある場合、または 1 件もない場合はリダイレクトを作りません。曖昧一致では `rename-ambiguous` 診断を、対応の取れない消失では `onUnexpectedRemoval` に従った重要度の診断を出力します。
|
|
@@ -77,7 +77,7 @@ buildRouteLock ──► 現在の RouteLock
|
|
|
77
77
|
|
|
78
78
|
## エクスポート
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
関数のシグネチャは次のとおりです。
|
|
81
81
|
|
|
82
82
|
- `renamePlugin(options?)` / `rename(options?)`
|
|
83
83
|
- `diffRoutes(previous, current, options?)`
|
|
@@ -86,7 +86,7 @@ buildRouteLock ──► 現在の RouteLock
|
|
|
86
86
|
- `applyRouteRedirects(manifest, rules)`
|
|
87
87
|
- `parseRouteLock(value)`、`emptyRouteLock()`、`hashContent(html)`
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
型は次のとおりです。
|
|
90
90
|
|
|
91
91
|
- `RenameOptions`
|
|
92
92
|
- `RouteLock`、`RouteLockRoute`、`RouteLockRedirect`、`RedirectRule`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-rename",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@riebeckite/core": "0.0.
|
|
17
|
+
"@riebeckite/core": "0.0.17"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"tsx": "^4.22.4"
|