Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { readFileSync } from "node:fs";
import { join } from "node:path";
import { describe, expect, it } from "@suaveplan/testing/runner";
describe("dep-graph: runtime @suaveplan/* deps", () => {
it("only depends on @suaveplan/error and @suaveplan/types", {
timeout: 5000,
}, () => {
const pkgPath = join(import.meta.dirname, "..", "package.json");
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8")) as {
dependencies?: Record<string, string>;
};
const suaveDeps = Object.keys(pkg.dependencies ?? {})
.filter((dep) => dep.startsWith("@suaveplan/"))
.sort();
expect(suaveDeps).toEqual(
["@suaveplan/error", "@suaveplan/types"].sort()
);
});
});