fix: use Gitea-compatible package scope

This commit is contained in:
jb
2026-09-01 17:53:50 -04:00
parent 118b5bee06
commit 72a1645fdb
51 changed files with 142 additions and 142 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ test("imported package snapshots retain explicit main-branch provenance", () =>
assert.match(entry.source, /^ssh:\/\/git@git\.jb\.codes:7722\/jb\//);
assert.match(
readJson(path.join(root, entry.target, "package.json")).name,
/^@_jb\/pi-/,
/^@jbcode\/pi-/,
);
}
});
@@ -106,7 +106,7 @@ test("publishable workspaces have Gitea-safe package contracts", () => {
const manifest = workspaceManifest(directory);
if (manifest.private) continue;
assert.match(manifest.name, /^@_jb\/pi-[a-z0-9-]+$/);
assert.match(manifest.name, /^@jbcode\/pi-[a-z0-9-]+$/);
assert.equal(manifest.publishConfig?.registry, registry);
assert.equal(manifest.engines?.node, ">=22.19.0");
assert.equal(readFileSync(path.join(packageRoot, "LICENSE"), "utf8").length > 0, true);