@brandlab-digital/conformance 0.1.0-alpha.15 → 0.1.0-alpha.16
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.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated / dead structured-data rules (Brandlab Project Standard §4).
|
|
3
|
+
*
|
|
4
|
+
* Google has retired these result types; the markup earns nothing and adds
|
|
5
|
+
* maintenance weight, so Brandlab projects must not emit it:
|
|
6
|
+
* - Sitelinks search box (SearchAction): retired November 2024.
|
|
7
|
+
* - HowTo rich results: retired 2023.
|
|
8
|
+
* - speakable: news-oriented beta with no local-service surface.
|
|
9
|
+
*
|
|
10
|
+
* Self-serving Review/AggregateRating emission is covered separately by
|
|
11
|
+
* BRANDLAB_LOCATION_FORBIDDEN_SOURCE_PATTERNS. FAQPage markup is permitted
|
|
12
|
+
* but optional (feature retired 2026-05-07) — FAQ content itself remains a
|
|
13
|
+
* page-type requirement and must be server-rendered.
|
|
14
|
+
*
|
|
15
|
+
* Run via the shared scanner:
|
|
16
|
+
* findForbiddenBrandlabPatterns({
|
|
17
|
+
* roots: ['src'],
|
|
18
|
+
* patterns: BRANDLAB_DEPRECATED_SCHEMA_SOURCE_PATTERNS,
|
|
19
|
+
* })
|
|
20
|
+
* and assert zero matches. Patterns target emission/plumbing sites, not
|
|
21
|
+
* prose or comments.
|
|
22
|
+
*/
|
|
23
|
+
import type { SourcePattern } from "./vitest.js";
|
|
24
|
+
export declare const BRANDLAB_DEPRECATED_SCHEMA_SOURCE_PATTERNS: readonly SourcePattern[];
|
|
25
|
+
//# sourceMappingURL=schema-hygiene.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-hygiene.d.ts","sourceRoot":"","sources":["../src/schema-hygiene.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,0CAA0C,EAAE,SAAS,aAAa,EAiB9E,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const BRANDLAB_DEPRECATED_SCHEMA_SOURCE_PATTERNS = [
|
|
2
|
+
{
|
|
3
|
+
name: "sitelinks search box markup (retired by Google, Nov 2024)",
|
|
4
|
+
pattern: /['"]@type['"]\s*:\s*['"]SearchAction['"]/,
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
name: "HowTo schema emission (retired by Google, 2023)",
|
|
8
|
+
pattern: /['"]@type['"]\s*:\s*['"]HowTo['"]/,
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: "HowTo schema builder (retired by Google, 2023)",
|
|
12
|
+
pattern: /\b(?:generate|build)HowToSchema\b/,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: "speakable markup emission (news-only beta)",
|
|
16
|
+
pattern: /\bspeakable\s*:\s*\{/,
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=schema-hygiene.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-hygiene.js","sourceRoot":"","sources":["../src/schema-hygiene.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAC,MAAM,0CAA0C,GAA6B;IAClF;QACE,IAAI,EAAE,2DAA2D;QACjE,OAAO,EAAE,0CAA0C;KACpD;IACD;QACE,IAAI,EAAE,iDAAiD;QACvD,OAAO,EAAE,mCAAmC;KAC7C;IACD;QACE,IAAI,EAAE,gDAAgD;QACtD,OAAO,EAAE,mCAAmC;KAC7C;IACD;QACE,IAAI,EAAE,4CAA4C;QAClD,OAAO,EAAE,sBAAsB;KAChC;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandlab-digital/conformance",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"./locations": {
|
|
25
25
|
"types": "./dist/locations.d.ts",
|
|
26
26
|
"import": "./dist/locations.js"
|
|
27
|
+
},
|
|
28
|
+
"./schema-hygiene": {
|
|
29
|
+
"types": "./dist/schema-hygiene.d.ts",
|
|
30
|
+
"import": "./dist/schema-hygiene.js"
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
}
|