From e85b62a9c8809c10c8cc907a67e41486d6eb8550 Mon Sep 17 00:00:00 2001 From: Samuel Letellier-Duchesne Date: Mon, 21 Sep 2026 16:22:39 -0400 Subject: [PATCH] Govern @idfkit/geometry in the install-instruction gate `SCOPED` decides which npm names the gate reads as an instruction for this library. A name absent from it is skipped rather than held to the declared level, so a page teaching `npm install @idfkit/geometry` at a wrong or stale version would not have been checked. The geometry page is written in this feature's documentation phase, so the gate gains the name before the page that needs it. --- scripts/check_surfaces.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/check_surfaces.py b/scripts/check_surfaces.py index 2119990b..61f5a7be 100644 --- a/scripts/check_surfaces.py +++ b/scripts/check_surfaces.py @@ -103,7 +103,17 @@ #: The unscoped npm name the registry refused. Still read as an instruction for this library, so a #: page that goes on teaching `npm install idfkit` is caught rather than silently skipped. REFUSED_NPM_NAME = "idfkit" -SCOPED = frozenset({"@idfkit/core", "@idfkit/schemas", "@idfkit/weather", "@idfkit/language"}) +#: The scoped packages the register governs. A name absent here is not read as an instruction for +#: this library at all, so a page teaching it is skipped rather than held to the declared level. +SCOPED = frozenset( + { + "@idfkit/core", + "@idfkit/schemas", + "@idfkit/weather", + "@idfkit/language", + "@idfkit/geometry", + } +) # ---------------------------------------------------------------------------