chore(publish): replace source tree with static export at repo root

Publish the prerendered static export (index.html, 404.html, cinema/,
c/, about/, for-cinemas/, for-film-lovers/, assets/, images/, og/,
sitemap.xml, robots.txt) as the site root and remove the React Router
+ Nitro source tree from this branch. Source remains available in
history at 0548772.

Note: public/sw.js here reports VERSION v2.0.5 while the removed source
tree (v2.1.0) was newer, and .gitignore was not carried over.
This commit is contained in:
Bkk1234 committed 2026-11-22 22:24:36 +07:00
1 parent 05487728a7
commit e6c4ebff48
394 files changed
+3977 -37891

No files matched your search

-36
View File
@@ -1,36 +0,0 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
const mocks = vi.hoisted(() => ({
readAppState: vi.fn(),
}));
vi.mock("@agent-native/core/application-state", () => ({
readAppState: mocks.readAppState,
}));
import action from "./view-screen";
describe("view-screen", () => {
beforeEach(() => {
vi.clearAllMocks();
});
it("returns the current navigation state when present", async () => {
mocks.readAppState.mockResolvedValue({ view: "chat", threadId: "t1" });
const result = await action.run({});
expect(mocks.readAppState).toHaveBeenCalledWith("navigation");
expect(result).toEqual({
navigation: { view: "chat", threadId: "t1" },
});
});
it("returns a fallback message when there is no navigation state", async () => {
mocks.readAppState.mockResolvedValue(null);
const result = await action.run({});
expect(result).toBe("No application state found. Is the app running?");
});
});