Skip to content

Commit

Permalink
feat: add support for Edge Functions (#8)
Browse files Browse the repository at this point in the history
* chore: change package details

* chore: update package

* chore: bump

* chore: add @netlify/edge-bundler

* chore: bump

* chore: remove npmrc line

* chore: bump version

* chore: update @netlify/edge-bundler

* feat: deploy Edge Handlers to internal path

* feat: add local development experience

* chore: bump version

* chore: update @netlify/edge-bundler

* refactor: move `watcher` util

* feat: add `configWatcher`

* feat: updates to Edge Handlers dev server

* chore: update @netlify/edge-bundler

* refactor: remove unused error binding

* chore: update package name

* chore: update deps

* fix: use correct URL path when matching Edge Handlers

* chore: bump version

* chore: bump version

* feat: add support for internal handlers in local dev (#1)

* feat: add support for internal handlers in local dev

* refactor: correctly merge declarations

* chore: bump version

* fix: run config watcher only on certain commands (#2)

* chore: bump version

* chore: bump version

* feat: add support for user import maps (#3)

* feat: add support for user import maps

* feat: warn when failing to read import map file

* chore: bump version

* chore: bump version

* fix: improve error handling for Edge Handlers (#4)

* chore: bump version

* feat: listen for `NETLIFY_DENO_DEBUG` environment variable (#5)

* feat: listen for `NETLIFY_DENO_DEBUG` environment variable

* chore: upgrade @netlify-labs/edge-bundler

* chore: bump version

* fix: use `0.0.0.0` for Deno server host (#6)

* fix: wait for Edge Handlers server to become available (#7)

* fix: wait for Edge Handlers server to become available

* refactor: wait for server inside request

* refactor: increase timeout

* refactor: use watcher from correct location

* chore: update package.json

* chore: disable release-please

* feat: replace @netlify/build with @netlify-labs/build-internal

* chore: use token in CI

* refactor: use existing config watcher

* chore: remove unused variables

* chore: remove actions

* chore: remove action

* chore: update test

* chore: add tests

* chore: move env to job

* chore: remove duplicate env

* chore: fix tests

* chore: remove unused imports

* fix: check if EH directory exists before deploy

* feat: rename Edge Handlers to Edge Functions (#9)

* chore: fix linting issue

* chore: fix tests

* chore: fix test

* chore: add `withEdgeFunction` test helper

* chore: remove `console.log`

* refactor: remove old Edge Handlers code

* chore: update packages

* fix: remove reference to traffic-mesh

* chore: fix linting issue

* chore: fix linting issue

* refactor: remove unused code

* refactor: remove `dev:trace` command

* chore: setup Deno in the CI

* refactor: use different localhost IP

* chore: simplify test

* chore: simplify test
  • Loading branch information
eduardoboucas authored Mar 28, 2022
1 parent c99c9a5 commit c31ecb5
Show file tree
Hide file tree
Showing 44 changed files with 2,718 additions and 3,126 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/benchmark.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/codeql.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/contributors.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/docsearch.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/e2e-test.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: ['*']
env:
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
steps:
# Sets an output parameter if this is a release PR
- name: Check for release
Expand Down Expand Up @@ -57,6 +59,8 @@ jobs:
- os: windows-latest
node-version: '12.x'
fail-fast: false
env:
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
steps:
# Sets an output parameter if this is a release PR
- name: Check for release
Expand All @@ -82,6 +86,10 @@ jobs:
cache-dependency-path: 'npm-shrinkwrap.json'
check-latest: true
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install core dependencies
run: npm ci --no-audit
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/pre-release.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/release-please.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/verify-docs.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
shrinkwrap=true
@netlify-labs:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${PACKAGES_TOKEN}
Loading

0 comments on commit c31ecb5

Please sign in to comment.