refactor: migrate legacy wire namespace to wrn
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 18:51:15 +05:30
parent ec23dd4c93
commit 2c960fc1dc
488 changed files with 27306 additions and 19063 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ test("all authentication components use theme tokens and Tailwind utilities", ()
for (const file of files) {
const source = readFileSync(join(directory, file), "utf8");
expect(source).toContain("component ");
expect(source).toContain("--wire-");
expect(source).toContain("--wrn-");
expect(source).not.toContain("<style");
}
});
+1 -1
View File
@@ -21,7 +21,7 @@ function context(request: Request): Context {
ip: "127.0.0.1",
user: null,
cookies: {
get: (name: string) => (name === "wire-csrf" ? "route-csrf-token" : undefined),
get: (name: string) => (name === "wrn-csrf" ? "route-csrf-token" : undefined),
} as Context["cookies"],
localStorage: {} as Context["localStorage"],
session: {