@bounded-systems/conformance-kit 0.2.0
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/LICENSE +21 -0
- package/README.md +143 -0
- package/emitters/index.mjs +68 -0
- package/gates/axe-gate.mjs +325 -0
- package/gates/baseline-gate.mjs +112 -0
- package/gates/commonmark-runner.mjs +98 -0
- package/gates/conformance/conformance.mjs +389 -0
- package/gates/conformance/web-build.mjs +568 -0
- package/gates/conformance-report.mjs +128 -0
- package/gates/html-validator-gate.mjs +120 -0
- package/gates/readability-gate.mjs +134 -0
- package/gates/sbom/check-sbom.mjs +112 -0
- package/gates/sbom/gen-sbom.mjs +167 -0
- package/gates/semantic/deno.json +7 -0
- package/gates/semantic/gate.ts +34 -0
- package/gates/seo-gate.mjs +208 -0
- package/gates/shacl-runner.mjs +160 -0
- package/gates/vuln-gate.mjs +101 -0
- package/generators/gen-cid.mjs +144 -0
- package/generators/gen-identity.mjs +120 -0
- package/generators/gen-snapshots.mjs +108 -0
- package/generators/openapi.mjs +61 -0
- package/integrity/gen-provenance.mjs +137 -0
- package/integrity/gen-sitemanifest.mjs +66 -0
- package/integrity/http-probe.mjs +131 -0
- package/integrity/structure-audit/audit.mjs +159 -0
- package/integrity/structure-audit/package.json +12 -0
- package/integrity/verify/README.md +40 -0
- package/integrity/verify/verify.mjs +107 -0
- package/integrity/verify-site.mjs +160 -0
- package/lib/config.mjs +36 -0
- package/lib/schema-validate.mjs +68 -0
- package/package.json +71 -0
- package/provenance.json +41 -0
- package/vendor.example.json +25 -0
package/provenance.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bounded-systems/conformance-kit",
|
|
3
|
+
"note": "Extraction provenance: which source repo + commit each tool in this kit was generalized from. The tools here are now the canonical, site-agnostic versions; site-specific values are injected by the consumer (see README). A consuming site vendors this kit hash-pinned via the `vendor.example.json` shape.",
|
|
4
|
+
"extractedFrom": [
|
|
5
|
+
{
|
|
6
|
+
"source": "https://github.com/bdelanghe/site",
|
|
7
|
+
"commit": "24213f7d2fb8069f1df6137789769912eddd3546",
|
|
8
|
+
"fetched": "2026-06-27",
|
|
9
|
+
"files": [
|
|
10
|
+
"gates/sbom/gen-sbom.mjs ← scripts/gen-sbom.mjs",
|
|
11
|
+
"gates/sbom/check-sbom.mjs ← scripts/check-sbom.mjs",
|
|
12
|
+
"gates/shacl-runner.mjs ← scripts/shacl-gate.mjs",
|
|
13
|
+
"gates/seo-gate.mjs ← scripts/seo-gate.mjs",
|
|
14
|
+
"gates/commonmark-runner.mjs ← scripts/commonmark-gate.mjs",
|
|
15
|
+
"gates/readability-gate.mjs ← scripts/readability-gate.mjs",
|
|
16
|
+
"gates/semantic/gate.ts ← semantic/gate.ts",
|
|
17
|
+
"gates/semantic/deno.json ← semantic/deno.json",
|
|
18
|
+
"generators/gen-cid.mjs ← scripts/gen-cid.mjs",
|
|
19
|
+
"generators/gen-identity.mjs ← scripts/gen-identity.mjs",
|
|
20
|
+
"generators/openapi.mjs ← scripts/gen-api.mjs (generic core)",
|
|
21
|
+
"emitters/index.mjs ← build.mjs (security.txt / web manifest / Repr-Digest / .md siblings)",
|
|
22
|
+
"lib/schema-validate.mjs ← schema-validate.mjs",
|
|
23
|
+
"integrity/http-probe.mjs ← vendor/integrity/http-probe.mjs"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"source": "https://github.com/bounded-systems/site",
|
|
28
|
+
"commit": "c27e1af25110f1ec95eb5b4872e675253430abb6",
|
|
29
|
+
"path": "integrity/",
|
|
30
|
+
"fetched": "2026-06-27",
|
|
31
|
+
"files": [
|
|
32
|
+
"integrity/verify-site.mjs ← integrity/verify-site.mjs",
|
|
33
|
+
"integrity/verify/verify.mjs ← integrity/verify/verify.mjs",
|
|
34
|
+
"integrity/gen-sitemanifest.mjs ← integrity/scripts/gen-sitemanifest.mjs",
|
|
35
|
+
"integrity/gen-provenance.mjs ← integrity/scripts/gen-provenance.mjs",
|
|
36
|
+
"integrity/structure-audit/audit.mjs ← integrity/structure-audit/audit.mjs",
|
|
37
|
+
"integrity/structure-audit/package.json ← integrity/structure-audit/package.json"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "https://github.com/bounded-systems/conformance-kit",
|
|
3
|
+
"ref": "REPLACE_WITH_PINNED_COMMIT_SHA",
|
|
4
|
+
"commit": "REPLACE_WITH_PINNED_COMMIT_SHA",
|
|
5
|
+
"fetched": "YYYY-MM-DD",
|
|
6
|
+
"note": "Vendored, hash-pinned copy of bounded-systems/conformance-kit. This is the shape a consuming site writes to vendor/conformance-kit/provenance.json (mirrors bdelanghe/site vendor/integrity/provenance.json). Re-vendor by copying the kit at the pinned commit; verify before use by re-hashing each file and comparing to these sha256 values. Generate the files map with, e.g.: `for f in $(git -C kit ls-files); do printf '\"%s\": \"sha256:%s\",\\n' \"$f\" $(sha256sum kit/$f | cut -d' ' -f1); done`",
|
|
7
|
+
"files": {
|
|
8
|
+
"integrity/verify-site.mjs": "sha256:<fill-in>",
|
|
9
|
+
"integrity/gen-sitemanifest.mjs": "sha256:<fill-in>",
|
|
10
|
+
"integrity/gen-provenance.mjs": "sha256:<fill-in>",
|
|
11
|
+
"integrity/http-probe.mjs": "sha256:<fill-in>",
|
|
12
|
+
"integrity/structure-audit/audit.mjs": "sha256:<fill-in>",
|
|
13
|
+
"gates/sbom/gen-sbom.mjs": "sha256:<fill-in>",
|
|
14
|
+
"gates/sbom/check-sbom.mjs": "sha256:<fill-in>",
|
|
15
|
+
"gates/shacl-runner.mjs": "sha256:<fill-in>",
|
|
16
|
+
"gates/seo-gate.mjs": "sha256:<fill-in>",
|
|
17
|
+
"gates/readability-gate.mjs": "sha256:<fill-in>",
|
|
18
|
+
"gates/commonmark-runner.mjs": "sha256:<fill-in>",
|
|
19
|
+
"generators/gen-cid.mjs": "sha256:<fill-in>",
|
|
20
|
+
"generators/gen-identity.mjs": "sha256:<fill-in>",
|
|
21
|
+
"generators/openapi.mjs": "sha256:<fill-in>",
|
|
22
|
+
"emitters/index.mjs": "sha256:<fill-in>",
|
|
23
|
+
"lib/schema-validate.mjs": "sha256:<fill-in>"
|
|
24
|
+
}
|
|
25
|
+
}
|