@goflag/cli 0.2.10 → 0.2.11
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 +84 -42
- package/dist/{chunk-DKGBLJ4H.js → chunk-CWEJ6EXT.js} +298 -66
- package/dist/chunk-CWEJ6EXT.js.map +1 -0
- package/dist/cli.js +25 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/rules.json +47 -9
- package/dist/chunk-DKGBLJ4H.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goflag/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Audits a site for broken links, missing translation pages, a robots.txt that contradicts your pages, and missing or misconfigured SEO metadata. JSON-first.",
|
|
6
6
|
"keywords": [
|
package/rules.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"counts": {
|
|
3
3
|
"page": 23,
|
|
4
|
-
"site":
|
|
5
|
-
"prose":
|
|
4
|
+
"site": 28,
|
|
5
|
+
"prose": 5
|
|
6
6
|
},
|
|
7
7
|
"sources": {
|
|
8
8
|
"apple-web-apps": {
|
|
@@ -319,23 +319,39 @@
|
|
|
319
319
|
"language": "tsx"
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
|
+
{
|
|
323
|
+
"id": "hreflang.cluster-incomplete",
|
|
324
|
+
"scope": "site",
|
|
325
|
+
"severity": "warning",
|
|
326
|
+
"kind": "boolean",
|
|
327
|
+
"summary": "Every locale the sitemap publishes must appear in the route's `hreflang` cluster",
|
|
328
|
+
"rigor": "vendor-spec",
|
|
329
|
+
"sources": [
|
|
330
|
+
"google-hreflang"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
322
333
|
{
|
|
323
334
|
"id": "hreflang.missing",
|
|
324
335
|
"scope": "site",
|
|
325
336
|
"severity": "error",
|
|
326
337
|
"kind": "boolean",
|
|
327
338
|
"summary": "Pages on a multilingual site must advertise their locale alternates",
|
|
328
|
-
"rigor":
|
|
329
|
-
"sources": [
|
|
339
|
+
"rigor": "vendor-spec",
|
|
340
|
+
"sources": [
|
|
341
|
+
"google-hreflang",
|
|
342
|
+
"whatwg-html-link-types"
|
|
343
|
+
]
|
|
330
344
|
},
|
|
331
345
|
{
|
|
332
346
|
"id": "hreflang.sitemap-mismatch",
|
|
333
|
-
"scope": "
|
|
334
|
-
"severity":
|
|
335
|
-
"kind": "
|
|
336
|
-
"summary": "`<head>` alternates
|
|
347
|
+
"scope": "prose",
|
|
348
|
+
"severity": null,
|
|
349
|
+
"kind": "prose",
|
|
350
|
+
"summary": "`<head>` alternates advertise a locale the sitemap does not list",
|
|
351
|
+
"why": "The two are derived from one intent by different code paths, so a disagreement means one of them is wrong. No specification says which: the declaration methods are equivalent, and a page can legitimately be cross-linked and kept out of the sitemap.",
|
|
337
352
|
"rigor": null,
|
|
338
|
-
"sources": []
|
|
353
|
+
"sources": [],
|
|
354
|
+
"prose": "Your `<head>` advertises a translation your sitemap does not list. Is the sitemap missing an entry, or is the alternate pointing at a page you did not mean to publish?"
|
|
339
355
|
},
|
|
340
356
|
{
|
|
341
357
|
"id": "icons.apple-touch.missing",
|
|
@@ -952,6 +968,17 @@
|
|
|
952
968
|
"google-canonicalization"
|
|
953
969
|
]
|
|
954
970
|
},
|
|
971
|
+
{
|
|
972
|
+
"id": "sitemap.entry.out-of-scope",
|
|
973
|
+
"scope": "site",
|
|
974
|
+
"severity": "error",
|
|
975
|
+
"kind": "boolean",
|
|
976
|
+
"summary": "A sitemap may only list URLs under its own directory",
|
|
977
|
+
"rigor": "spec-required",
|
|
978
|
+
"sources": [
|
|
979
|
+
"sitemaps-protocol"
|
|
980
|
+
]
|
|
981
|
+
},
|
|
955
982
|
{
|
|
956
983
|
"id": "sitemap.entry.protocol-mismatch",
|
|
957
984
|
"scope": "site",
|
|
@@ -1022,6 +1049,17 @@
|
|
|
1022
1049
|
"google-sitemaps"
|
|
1023
1050
|
]
|
|
1024
1051
|
},
|
|
1052
|
+
{
|
|
1053
|
+
"id": "sitemap.limits.exceeded",
|
|
1054
|
+
"scope": "site",
|
|
1055
|
+
"severity": "error",
|
|
1056
|
+
"kind": "boolean",
|
|
1057
|
+
"summary": "No single sitemap document may exceed 50,000 entries or 50 MB",
|
|
1058
|
+
"rigor": "spec-required",
|
|
1059
|
+
"sources": [
|
|
1060
|
+
"sitemaps-protocol"
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1025
1063
|
{
|
|
1026
1064
|
"id": "sitemap.missing",
|
|
1027
1065
|
"scope": "site",
|