feat: release design system engine, studio and component contracts

This commit is contained in:
Clintchiz committed 2026-10-19 13:09:03 +05:30
1 parent ff1065fb27
commit 3943b946d6
693 files changed
+175546 -3894

No files matched your search

+4 -2
View File
@@ -4,8 +4,10 @@ import { basename, dirname, resolve } from "node:path";
test("component imports resolve on case-sensitive production filesystems", () => {
const root = resolve(import.meta.dir, "../components");
for (const name of readdirSync(root).filter(name => name.endsWith(".wrn"))) {
for (const match of readFileSync(resolve(root, name), "utf8").matchAll(/from\s+["'](\.[^"']+\.wrn)["']/g)) {
for (const name of readdirSync(root).filter((name) => name.endsWith(".wrn"))) {
for (const match of readFileSync(resolve(root, name), "utf8").matchAll(
/from\s+["'](\.[^"']+\.wrn)["']/g,
)) {
const target = resolve(root, match[1]);
expect(readdirSync(dirname(target)), `${name}: ${match[1]}`).toContain(basename(target));
}