Skip to content

feat: consistent edge function filenames for deno 1 & 2 - #138

Merged
mattrossman merged 8 commits into
mainfrom
feat/deno-2-filenames
Sep 9, 2025
Merged

mattrossman merged 8 commits into
mainfrom
feat/deno-2-filenames

Conversation

@mattrossman

Copy link
Copy Markdown
Collaborator
  • Changes the edge function filename manipulation logic to be consistent for Deno 1 & 2
  • Tests filename normalization logic for both cases

@mattrossman

Copy link
Copy Markdown
Collaborator Author

Might need to update after #140

@mattrossman
mattrossman merged commit e312146 into main Sep 9, 2025
Rodriguespn pushed a commit that referenced this pull request Dec 31, 2025
* feat: consistent edge function filenames for deno 1 & 2

* feat: also strip `source/` prefix

* chore: use `normalizeFilename` in latest `listEdgeFunctions`

* chore: consistent `fileURLToPath` options

* test: rename suite

* fix: only strip prefix(es) from beginning of string

* fix: prefer `.slice()` for stripping prefixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants