repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/form-test.ts
integration/form-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { getElement, PlaywrightFixture } from "./helpers/playwright-fixture.js"; test.describe("Forms", () ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
true
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/link-test.ts
integration/link-test.ts
import { test, expect } from "@playwright/test"; import { css, js, createFixture, createAppFixture, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { type TemplateName } from "./helpers/vite.js"; import { PlaywrightFixture } from "./helpers/p...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-unused-route-exports-test.ts
integration/vite-unused-route-exports-test.ts
import * as path from "node:path"; import { test, expect } from "@playwright/test"; import { createProject, grep, build } from "./helpers/vite.js"; test("Vite / dead-code elimination for unused route exports", async () => { let cwd = await createProject({ "app/routes/custom-route-exports.tsx": String.raw` ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/transition-test.ts
integration/transition-test.ts
import { test, expect } from "@playwright/test"; import { UNSAFE_decodeViaTurboStream as decodeViaTurboStream } from "react-router"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixt...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/navigation-state-test.ts
integration/navigation-state-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; const STATES = { NORMAL_LOAD: "norma...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/abort-signal-test.ts
integration/abort-signal-test.ts
import { test } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixtu...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/client-data-test.ts
integration/client-data-test.ts
import { test, expect } from "@playwright/test"; import { UNSAFE_ServerMode as ServerMode } from "react-router"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwrig...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
true
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/deduped-route-modules-test.ts
integration/deduped-route-modules-test.ts
import { test, expect } from "@playwright/test"; import { createFixture, createAppFixture } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import { type TemplateName, viteConfig } from "./h...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-server-fs-allow-test.ts
integration/vite-server-fs-allow-test.ts
import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { createProject, customDev, EXPRESS_SERVER, viteConfig, } from "./helpers/vite.js"; let files = { "app/routes/test-route.tsx": String.raw` export default function IndexRoute() { return <div id="test">Hello worl...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-dev-custom-entry-test.ts
integration/vite-dev-custom-entry-test.ts
import { expect } from "@playwright/test"; import type { Files } from "./helpers/vite.js"; import { test, viteConfig } from "./helpers/vite.js"; const js = String.raw; const files: Files = async ({ port }) => ({ "vite.config.ts": await viteConfig.basic({ port }), "app/entry.server.tsx": js` import { PassThrou...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/defer-test.ts
integration/defer-test.ts
import { test, expect } from "@playwright/test"; import type { ConsoleMessage, Page } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpe...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
true
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/root-route-test.ts
integration/root-route-test.ts
import { test, expect } from "@playwright/test"; import { UNSAFE_ServerMode as ServerMode } from "react-router"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/request-test.ts
integration/request-test.ts
import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/middleware-test.ts
integration/middleware-test.ts
import type { Request as PlaywrightRequest, Response as PlaywrightResponse, } from "@playwright/test"; import { test, expect } from "@playwright/test"; import { UNSAFE_ErrorResponseImpl, UNSAFE_ServerMode, UNSAFE_SingleFetchRedirectSymbol, } from "react-router"; import { type AppFixture, type Fixture, ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
true
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-server-bundles-test.ts
integration/vite-server-bundles-test.ts
import fs from "node:fs"; import path from "node:path"; import { type Page, test, expect } from "@playwright/test"; import getPort from "get-port"; import dedent from "dedent"; import { createProject, dev, build, reactRouterServe, viteConfig, } from "./helpers/vite.js"; const js = String.raw; const withBun...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/splat-routes-test.ts
integration/splat-routes-test.ts
import { test, expect } from "@playwright/test"; import { createFixture, js } from "./helpers/create-fixture.js"; import type { Fixture } from "./helpers/create-fixture.js"; test.describe("rendering", () => { let fixture: Fixture; let ROOT_$ = "FLAT"; let ROOT_INDEX = "ROOT_INDEX"; let FLAT_$ = "FLAT"; let...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/set-cookie-revalidation-test.ts
integration/set-cookie-revalidation-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/blocking-test.ts
integration/blocking-test.ts
import { test, expect } from "@playwright/test"; import type { AppFixture, Fixture } from "./helpers/create-fixture.js"; import { createFixture, js, createAppFixture, } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-basename-test.ts
integration/vite-basename-test.ts
import type { Page } from "@playwright/test"; import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { createEditor, createProject, customDev, build, viteConfig, dev, viteDevCmd, reactRouterServe, reactRouterConfig, type TemplateName, } from "./helpers/vite.js"; imp...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-css-test.ts
integration/vite-css-test.ts
import type { Page } from "@playwright/test"; import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { createProject, createEditor, dev, build, reactRouterServe, customDev, EXPRESS_SERVER, reactRouterConfig, viteConfig, viteMajorTemplates, type TemplateName, } fro...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-css-lazy-loading-test.ts
integration/vite-css-lazy-loading-test.ts
import { type Page, test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import { type Fixture, type AppFixture, createAppFixture, createFixture, css, js, } from "./helpers/create-fixture.js"; // Link hrefs with a trailing hash are only ever managed ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-dot-server-test.ts
integration/vite-dot-server-test.ts
import * as path from "node:path"; import { expect } from "@playwright/test"; import stripAnsi from "strip-ansi"; import dedent from "dedent"; import type { Files } from "./helpers/vite.js"; import { test, createProject, grep, build, viteConfig, } from "./helpers/vite.js"; let serverOnlyModule = ` export ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/scroll-test.ts
integration/scroll-test.ts
import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/multiple-cookies-test.ts
integration/multiple-cookies-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; test.describe("pathless layout routes", () => {...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-plugin-cloudflare-test.ts
integration/vite-plugin-cloudflare-test.ts
import { expect } from "@playwright/test"; import dedent from "dedent"; import { type Files, test, viteConfig } from "./helpers/vite.js"; const tsx = dedent; const css = dedent; function defineFiles({ reversePlugins = false, }: { reversePlugins?: boolean } = {}): Files { const files: Files = async ({ port }) => ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-loader-context-test.ts
integration/vite-loader-context-test.ts
import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { createProject, customDev, EXPRESS_SERVER, viteConfig, } from "./helpers/vite.js"; let port: number; let cwd: string; let stop: () => void; test.beforeAll(async () => { port = await getPort(); cwd = await createProje...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-presets-test.ts
integration/vite-presets-test.ts
import fs from "node:fs/promises"; import * as path from "node:path"; import URL from "node:url"; import { expect } from "@playwright/test"; import { normalizePath } from "vite"; import dedent from "dedent"; import { build, test, createProject, viteMajorTemplates, viteConfig, } from "./helpers/vite.js"; con...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-dot-client-test.ts
integration/vite-dot-client-test.ts
import * as path from "node:path"; import { test, expect } from "@playwright/test"; import { createProject, grep, build } from "./helpers/vite.js"; let files = { "app/utils.client.ts": String.raw` export const dotClientFile = "CLIENT_ONLY_FILE"; export default dotClientFile; `, "app/.client/utils.ts": S...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/loader-test.ts
integration/loader-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; test.describe("loader", () => { let ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/bug-report-test.ts
integration/bug-report-test.ts
import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/hook-useSubmit-test.ts
integration/hook-useSubmit-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; test.describe("`useSubmit()` returned ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/fs-routes-test.ts
integration/fs-routes-test.ts
import { PassThrough } from "node:stream"; import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createFixtureProject } from "./helpers/create-fixture.js"; import { createA...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/catch-boundary-data-test.ts
integration/catch-boundary-data-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import { type TemplateName } from "./he...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/action-test.ts
integration/action-test.ts
import { test, expect } from "@playwright/test"; import { createFixture, createAppFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture, selectHtml } from "./helpers/playwright-fixture.js"; import { type TemplateName ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/mdx-test.ts
integration/mdx-test.ts
import { test, expect } from "@playwright/test"; import { createFixture, createAppFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import { type TemplateName, viteConfig ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-node-env-test.ts
integration/vite-node-env-test.ts
import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { createProject, dev, build, reactRouterServe, viteConfig, } from "./helpers/vite.js"; let files = { "app/routes/node_env.tsx": String.raw` export default function NodeEnvRoute() { return <div data-node-env>{...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/error-boundary-v2-test.ts
integration/error-boundary-v2-test.ts
import type { Page } from "@playwright/test"; import { test, expect } from "@playwright/test"; import { UNSAFE_ServerMode as ServerMode } from "react-router"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/react-router-serve-test.ts
integration/react-router-serve-test.ts
import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import { type TemplateName } from "./he...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-hmr-hdr-test.ts
integration/vite-hmr-hdr-test.ts
import type { Page } from "@playwright/test"; import { expect } from "@playwright/test"; import getPort from "get-port"; import dedent from "dedent"; import * as Express from "./helpers/express"; import { test } from "./helpers/fixtures"; import * as Stream from "./helpers/stream"; import { viteMajorTemplates, getTemp...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/vite-dotenv-test.ts
integration/vite-dotenv-test.ts
import { expect } from "@playwright/test"; import tsx from "dedent"; import getPort from "get-port"; import * as Express from "./helpers/express"; import { test } from "./helpers/fixtures"; import * as Stream from "./helpers/stream"; import { viteMajorTemplates, getTemplates } from "./helpers/templates"; const templa...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/defer-loader-test.ts
integration/defer-loader-test.ts
import { test, expect } from "@playwright/test"; import { createAppFixture, createFixture, js, } from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; let fixture: Fixture; let appFixture: ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/express.ts
integration/helpers/express.ts
import tsx from "dedent"; export function server() { return tsx` import { createRequestHandler } from "@react-router/express"; import express from "express"; const port = process.env.PORT ?? 3000 const hmrPort = process.env.HMR_PORT ?? 3001 const app = express(); const getLoadContext = () ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/templates.ts
integration/helpers/templates.ts
const templates = [ // Vite Major templates { name: "vite-5-template", displayName: "Vite 5" }, { name: "vite-6-template", displayName: "Vite 6" }, { name: "vite-7-beta-template", displayName: "Vite 7 Beta" }, { name: "vite-rolldown-template", displayName: "Vite Rolldown" }, // RSC templates { name: "rsc...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/stream.ts
integration/helpers/stream.ts
import type { Readable } from "node:stream"; export async function match( stream: Readable, pattern: string | RegExp, options: { /** Measured in ms */ timeout?: number; } = {}, ): Promise<RegExpMatchArray> { // Prepare error outside of promise so that stacktrace points to caller of `matchLine` cons...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/fixtures.ts
integration/helpers/fixtures.ts
import { ChildProcess } from "node:child_process"; import * as fs from "node:fs/promises"; import { fileURLToPath } from "node:url"; import { test as base } from "@playwright/test"; import { execa, ExecaError, type Options, parseCommandString, type ResultPromise, } from "execa"; import * as Path from "pathe"...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/create-fixture.ts
integration/helpers/create-fixture.ts
import { existsSync, readFileSync } from "node:fs"; import { cp, mkdir, readFile, writeFile } from "node:fs/promises"; import path from "node:path"; import type { Writable } from "node:stream"; import { Readable } from "node:stream"; import url from "node:url"; import express from "express"; import getPort from "get-po...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite.ts
integration/helpers/vite.ts
import type { ChildProcess } from "node:child_process"; import { sync as spawnSync, spawn } from "cross-spawn"; import { cp, mkdir, readFile, writeFile } from "node:fs/promises"; import { createRequire } from "node:module"; import { platform } from "node:os"; import type { Readable } from "node:stream"; import url from...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/playwright-fixture.ts
integration/helpers/playwright-fixture.ts
import cp from "node:child_process"; import type { Page, Response, Request } from "@playwright/test"; import { test } from "@playwright/test"; import { load } from "cheerio"; import prettier from "prettier"; let cheerio = load(""); import type { AppFixture } from "./create-fixture.js"; export class PlaywrightFixture...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-5-template/env.d.ts
integration/helpers/vite-5-template/env.d.ts
/// <reference types="@react-router/node" /> /// <reference types="vite/client" />
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-5-template/vite.config.ts
integration/helpers/vite-5-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ plugins: [ // @ts-expect-error `dev` depends on Vite 6, Plugin type is mismatched. reactRouter(), tsconfigPaths(), ], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-5-template/app/routes.ts
integration/helpers/vite-5-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-5-template/app/root.tsx
integration/helpers/vite-5-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-5-template/app/routes/_index.tsx
integration/helpers/vite-5-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-6-template/env.d.ts
integration/helpers/vite-6-template/env.d.ts
/// <reference types="@react-router/node" /> /// <reference types="vite/client" />
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-6-template/vite.config.ts
integration/helpers/vite-6-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ plugins: [reactRouter(), tsconfigPaths()], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-6-template/app/routes.ts
integration/helpers/vite-6-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-6-template/app/root.tsx
integration/helpers/vite-6-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-6-template/app/routes/_index.tsx
integration/helpers/vite-6-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/vite.config.ts
integration/helpers/rsc-vite/vite.config.ts
import rsc from "@vitejs/plugin-rsc"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [ react(), rsc({ entries: { client: "src/entry.browser.tsx", rsc: "src/entry.rsc.tsx", ssr: "src/entry.ssr.tsx", }, ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/entry.ssr.tsx
integration/helpers/rsc-vite/src/entry.ssr.tsx
import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; // @ts-expect-error import * as ReactDomServer from "react-dom/server.edge"; import { unstable_RSCStaticRouter as RSCStaticRouter, unstable_routeRSCServerRequest as routeRSCServerRequest, } from "react-router"; export default async function handler...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/routes.ts
integration/helpers/rsc-vite/src/routes.ts
import type { unstable_RSCRouteConfig as RSCRouteConfig } from "react-router"; export const routes = [ { id: "root", path: "", lazy: () => import("./routes/root"), children: [ { id: "home", index: true, lazy: () => import("./routes/home"), }, ], }, ] satisfie...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/entry.rsc.tsx
integration/helpers/rsc-vite/src/entry.rsc.tsx
import { createTemporaryReferenceSet, decodeAction, decodeFormState, decodeReply, loadServerAction, renderToReadableStream, } from "@vitejs/plugin-rsc/rsc"; import { unstable_matchRSCServerRequest as matchRSCServerRequest } from "react-router"; import { basename } from "./config/basename"; import { routes ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/entry.browser.tsx
integration/helpers/rsc-vite/src/entry.browser.tsx
import { startTransition, StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; import { createFromReadableStream, createTemporaryReferenceSet, encodeReply, setServerCallback, } from "@vitejs/plugin-rsc/browser"; import { unstable_createCallServer as createCallServer, unstable_getRSCStr...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/routes/root.tsx
integration/helpers/rsc-vite/src/routes/root.tsx
import { Links, Outlet, ScrollRestoration } from "react-router"; export function Layout({ children }: { children: React.ReactNode }) { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Vite (RSC)</...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/routes/home.tsx
integration/helpers/rsc-vite/src/routes/home.tsx
export default function HomeRoute() { return <h2>Home</h2>; }
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/config/request-context.ts
integration/helpers/rsc-vite/src/config/request-context.ts
// THIS FILE IS DESIGNED TO BE OVERRIDDEN IN TESTS IF NEEDED export const requestContext = undefined;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/config/basename.ts
integration/helpers/rsc-vite/src/config/basename.ts
// THIS FILE IS DESIGNED TO BE OVERRIDDEN IN TESTS IF NEEDED export const basename = undefined;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite/src/config/get-context.ts
integration/helpers/rsc-vite/src/config/get-context.ts
// THIS FILE IS DESIGNED TO BE OVERRIDDEN IN TESTS IF NEEDED export const getContext = undefined;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite-framework/vite.config.ts
integration/helpers/rsc-vite-framework/vite.config.ts
import { defineConfig } from "vite"; import { unstable_reactRouterRSC as reactRouterRSC } from "@react-router/dev/vite"; import rsc from "@vitejs/plugin-rsc"; export default defineConfig({ plugins: [ // @ts-ignore reactRouterRSC({ __runningWithinTheReactRouterMonoRepo: true }), rsc(), ], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite-framework/app/routes.ts
integration/helpers/rsc-vite-framework/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite-framework/app/root.tsx
integration/helpers/rsc-vite-framework/app/root.tsx
import { Links, Meta, Outlet, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> <bod...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/rsc-vite-framework/app/routes/_index.tsx
integration/helpers/rsc-vite-framework/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-7-beta-template/env.d.ts
integration/helpers/vite-7-beta-template/env.d.ts
/// <reference types="@react-router/node" /> /// <reference types="vite/client" />
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-7-beta-template/vite.config.ts
integration/helpers/vite-7-beta-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ // @ts-expect-error `dev` depends on Vite 6, Plugin type is mismatched. plugins: [reactRouter(), tsconfigPaths()], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-7-beta-template/app/routes.ts
integration/helpers/vite-7-beta-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-7-beta-template/app/root.tsx
integration/helpers/vite-7-beta-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-7-beta-template/app/routes/_index.tsx
integration/helpers/vite-7-beta-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/react-router.config.ts
integration/helpers/vite-plugin-cloudflare-template/react-router.config.ts
import type { Config } from "@react-router/dev/config"; export default { future: { v8_viteEnvironmentApi: true, }, } satisfies Config;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/vite.config.ts
integration/helpers/vite-plugin-cloudflare-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; import { cloudflare } from "@cloudflare/vite-plugin"; export default defineConfig({ plugins: [ cloudflare({ viteEnvironment: { name: "ssr" } }), reactRouter(), tscon...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/workers/app.ts
integration/helpers/vite-plugin-cloudflare-template/workers/app.ts
import { createRequestHandler } from "react-router"; declare global { interface CloudflareEnvironment extends Env {} } declare module "react-router" { export interface AppLoadContext { cloudflare: { env: CloudflareEnvironment; ctx: ExecutionContext; }; } } const requestHandler = createReque...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/app/routes.ts
integration/helpers/vite-plugin-cloudflare-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/app/root.tsx
integration/helpers/vite-plugin-cloudflare-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/app/entry.server.tsx
integration/helpers/vite-plugin-cloudflare-template/app/entry.server.tsx
import type { AppLoadContext, EntryContext } from "react-router"; import { ServerRouter } from "react-router"; import { isbot } from "isbot"; import { renderToReadableStream } from "react-dom/server"; export default async function handleRequest( request: Request, responseStatusCode: number, responseHeaders: Head...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-plugin-cloudflare-template/app/routes/_index.tsx
integration/helpers/vite-plugin-cloudflare-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/cloudflare-dev-proxy-template/vite.config.ts
integration/helpers/cloudflare-dev-proxy-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { cloudflareDevProxy } from "@react-router/dev/vite/cloudflare"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [cloudflareDevProxy(), reactRouter()], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/cloudflare-dev-proxy-template/app/routes.ts
integration/helpers/cloudflare-dev-proxy-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/cloudflare-dev-proxy-template/app/root.tsx
integration/helpers/cloudflare-dev-proxy-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export function Layout({ children }: { children: React.ReactNode }) { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Met...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/cloudflare-dev-proxy-template/app/entry.server.tsx
integration/helpers/cloudflare-dev-proxy-template/app/entry.server.tsx
import type { AppLoadContext, EntryContext } from "react-router"; import { ServerRouter } from "react-router"; import { isbot } from "isbot"; import { renderToReadableStream } from "react-dom/server"; export default async function handleRequest( request: Request, responseStatusCode: number, responseHeaders: Head...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/cloudflare-dev-proxy-template/app/routes/_index.tsx
integration/helpers/cloudflare-dev-proxy-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "React Router + Cloudflare" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", l...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-rolldown-template/env.d.ts
integration/helpers/vite-rolldown-template/env.d.ts
/// <reference types="@react-router/node" /> /// <reference types="vite/client" />
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-rolldown-template/vite.config.ts
integration/helpers/vite-rolldown-template/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ plugins: [ // @ts-expect-error `dev` depends on Vite 6, Plugin type is mismatched. reactRouter(), tsconfigPaths(), ], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-rolldown-template/app/routes.ts
integration/helpers/vite-rolldown-template/app/routes.ts
import { type RouteConfig } from "@react-router/dev/routes"; import { flatRoutes } from "@react-router/fs-routes"; export default flatRoutes() satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-rolldown-template/app/root.tsx
integration/helpers/vite-rolldown-template/app/root.tsx
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; export default function App() { return ( <html lang="en"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta /> <Links /> </head> ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/helpers/vite-rolldown-template/app/routes/_index.tsx
integration/helpers/vite-rolldown-template/app/routes/_index.tsx
import type { MetaFunction } from "react-router"; export const meta: MetaFunction = () => { return [ { title: "New React Router App" }, { name: "description", content: "Welcome to React Router!" }, ]; }; export default function Index() { return ( <div style={{ fontFamily: "system-ui, sans-serif", li...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/rsc/rsc-nojs-test.ts
integration/rsc/rsc-nojs-test.ts
import { test, expect } from "@playwright/test"; import getPort from "get-port"; import { implementations, js, setupRscTest, validateRSCHtml } from "./utils"; implementations.forEach((implementation) => { test.describe(`RSC nojs (${implementation.name})`, () => { let port: number; let stop: () => void; ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/rsc/utils.ts
integration/rsc/utils.ts
import { expect } from "@playwright/test"; import { sync as spawnSync } from "cross-spawn"; import { type TemplateName, createDev, createProject, } from "../helpers/vite.js"; export const js = String.raw; export type Implementation = { name: string; template: TemplateName; /** Build a production app */ ...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/integration/rsc/rsc-test.ts
integration/rsc/rsc-test.ts
import { test, expect, type Response as PlaywrightResponse, } from "@playwright/test"; import getPort from "get-port"; import { implementations, js, setupRscTest, validateRSCHtml } from "./utils"; implementations.forEach((implementation) => { test.describe(`RSC (${implementation.name})`, () => { test.desc...
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
true
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/tutorials/address-book/react-router.config.ts
tutorials/address-book/react-router.config.ts
import { type Config } from "@react-router/dev/config"; export default { ssr: false, } satisfies Config;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/tutorials/address-book/vite.config.ts
tutorials/address-book/vite.config.ts
import { reactRouter } from "@react-router/dev/vite"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [reactRouter()], });
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false
remix-run/react-router
https://github.com/remix-run/react-router/blob/aaa150616e619efc8d26c092e8625962c2fb4246/tutorials/address-book/app/routes.ts
tutorials/address-book/app/routes.ts
import type { RouteConfig } from "@react-router/dev/routes"; export default [] satisfies RouteConfig;
typescript
MIT
aaa150616e619efc8d26c092e8625962c2fb4246
2026-01-04T15:29:26.871957Z
false