clone

a deno framework for local-first web apps that open instantly, work offline and sync when users choose

feat/184-task-notice-migration
lofi / tools / entrypoints.ts
entrypoints.ts 3.2K
1/**2 * The JSR entrypoint catalog shared by documentation tooling. `tools/doc_lint.ts`3 * lints every file listed here and `tools/api_docs.ts` renders one API page per4 * `page`, so adding an export to deno.json requires updating this list (the5 * lint task fails on undocumented modules either way).6 */7export type Entrypoint = {8 /** JSR export specifier, e.g. `.` or `./recipes/web-share`. */9 jsrName: string;10 /** Repo-relative module file. */11 file: string;12 /** API page id under `website/api-gen/`; shared pages group several exports. */13 page: string;14 /** Human heading for the export's section or page. */15 title: string;16};1718export const entrypoints: readonly Entrypoint[] = [19 { jsrName: ".", file: "package/runtime/mod.ts", page: "runtime", title: "Runtime" },20 { jsrName: "./schema", file: "package/schema/mod.ts", page: "schema", title: "Schema" },21 {22 jsrName: "./schema/store",23 file: "package/schema/store.ts",24 page: "schema-store",25 title: "Store provisioning",26 },27 { jsrName: "./astro", file: "package/astro/mod.ts", page: "astro", title: "Astro integration" },28 { jsrName: "./access", file: "package/access/mod.ts", page: "access", title: "Access" },29 { jsrName: "./preact", file: "package/preact/mod.ts", page: "preact", title: "Preact" },30 { jsrName: "./testing", file: "package/testing/mod.ts", page: "testing", title: "Testing" },31 { jsrName: "./create", file: "package/create.ts", page: "cli", title: "create" },32 { jsrName: "./build", file: "package/commands/build.ts", page: "cli", title: "build" },33 { jsrName: "./dev", file: "package/commands/dev.ts", page: "cli", title: "dev" },34 { jsrName: "./doctor", file: "package/commands/doctor.ts", page: "cli", title: "doctor" },35 { jsrName: "./preview", file: "package/commands/preview.ts", page: "cli", title: "preview" },36 {37 jsrName: "./provision",38 file: "package/commands/provision.ts",39 page: "cli",40 title: "provision",41 },42 { jsrName: "./test", file: "package/commands/run_tests.ts", page: "cli", title: "test" },43 {44 jsrName: "./recipes/file-handler",45 file: "package/recipes/file-handler.ts",46 page: "recipes/file-handler",47 title: "File handler",48 },49 {50 jsrName: "./recipes/launch-handler",51 file: "package/recipes/launch-handler.ts",52 page: "recipes/launch-handler",53 title: "Launch handler",54 },55 {56 jsrName: "./recipes/protocol-handler",57 file: "package/recipes/protocol-handler.ts",58 page: "recipes/protocol-handler",59 title: "Protocol handler",60 },61 {62 jsrName: "./recipes/related-app-discovery",63 file: "package/recipes/related-app-discovery.ts",64 page: "recipes/related-app-discovery",65 title: "Related-app discovery",66 },67 {68 jsrName: "./recipes/scope-extension",69 file: "package/recipes/scope-extension.ts",70 page: "recipes/scope-extension",71 title: "Scope extension",72 },73 {74 jsrName: "./recipes/web-share",75 file: "package/recipes/web-share.ts",76 page: "recipes/web-share",77 title: "Web Share",78 },79 {80 jsrName: "./recipes/window-controls-overlay",81 file: "package/recipes/window-controls-overlay.ts",82 page: "recipes/window-controls-overlay",83 title: "Window controls overlay",84 },85] as const;