Skip to content

Commit

Permalink
fix: filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ringrose committed Mar 9, 2024
1 parent aba1aa9 commit b0821d7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ permissions:
contents: read

jobs:
deploy-cfw:
deploy-cloudflare-worker:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: setup pnpm
run: npm install -g pnpm

- name: Setup Wrangler
uses: cloudflare/wrangler-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion example/auth/app.ts → example/singleFileAuth/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Peko from "../../index.ts"; // "https://deno.land/x/peko/mod.ts"
import * as Peko from "../../lib/mod.ts"; // "https://deno.land/x/peko/mod.ts"

const html = String;
const router = new Peko.Router();
Expand Down
File renamed without changes.
11 changes: 6 additions & 5 deletions index.ts → mod.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
/**
* Featherweight HTTP routing and utils for apps on the edge.
* Featherweight apps on the edge
*/

// Core classes, functions & types
export * from "./lib/Router.ts";
export * from "./lib/types.ts";

// Handlers
export * from "./lib/handlers/static.ts";
export * from "./lib/handlers/ssr.ts";
export * from "./lib/handlers/file.ts";
export * from "./lib/handlers/sse.ts";
export * from "./lib/handlers/ssr.ts";

// Middlewares
export * from "./lib/middleware/logger.ts";
export * from "./lib/middleware/cacher.ts";
export * from "./lib/middleware/authenticator.ts";
export * from "./lib/middleware/cacher.ts";
export * from "./lib/middleware/logger.ts";

// Utils
export * from "./lib/utils/CacheItem.ts";
export * from "./lib/utils/Cascade.ts";
export * from "./lib/utils/Crypto.ts";
export * from "./lib/utils/helpers.ts";
export * from "./lib/utils/Profiler.ts";

import { Router } from "./lib/Router.ts";
export default Router;

0 comments on commit b0821d7

Please sign in to comment.