Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: add support for Edge Functions #4550

Merged
merged 29 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c31ecb5
feat: add support for Edge Functions (#8)
eduardoboucas Mar 28, 2022
d9afb20
feat: add `recipes` command + `vscode` recipe (#10)
eduardoboucas Mar 30, 2022
45fc038
chore: bump version
eduardoboucas Mar 30, 2022
68adcda
feat: generate ETag header (#11)
eduardoboucas Apr 4, 2022
3053ee9
fix: generate weak ETag (#12)
eduardoboucas Apr 4, 2022
84752bd
chore: upgrade @netlify-labs packages (#13)
eduardoboucas Apr 5, 2022
4ca41ad
chore: bump version
eduardoboucas Apr 5, 2022
72e6038
feat: add own file watcher for Edge Functions (#15)
eduardoboucas Apr 11, 2022
76817d0
chore: bump version
eduardoboucas Apr 12, 2022
4fa7f79
chore: merge upstream (#17)
eduardoboucas Apr 12, 2022
f02141b
chore: upgrade @netlify-labs/build-internal and @netlify-labs/edge-bu…
eduardoboucas Apr 13, 2022
f5632d1
chore: publish v2.5.0
eduardoboucas Apr 13, 2022
3f0ab6e
chore: publish v2.6.0
eduardoboucas Apr 15, 2022
b752067
chore: fix Edge Functions capitalization (#20)
eduardoboucas Apr 18, 2022
1247132
fix: adjust Edge Functions deploy message (#21)
eduardoboucas Apr 18, 2022
5adb222
chore: merge main from upstream
eduardoboucas Apr 18, 2022
329b34b
chore: rename package
eduardoboucas Apr 18, 2022
78837f8
chore: merge upstream
eduardoboucas Apr 18, 2022
140df21
chore: rename package
eduardoboucas Apr 18, 2022
53ae7bb
chore: reinstate workflows
eduardoboucas Apr 18, 2022
eeb2996
chore: merge upstream main
eduardoboucas Apr 18, 2022
4bd1ee8
chore: update shrinkwrap
eduardoboucas Apr 18, 2022
6dafba7
chore: merge upstream
eduardoboucas Apr 18, 2022
0c3e24f
chore: update shrinkwrap
eduardoboucas Apr 18, 2022
84c74e3
chore: remove token from workflow
eduardoboucas Apr 18, 2022
3a04943
chore: clean up npmrc
eduardoboucas Apr 18, 2022
17d5407
chore: update docs
eduardoboucas Apr 18, 2022
8a62c3f
chore: update shrinkwrap
eduardoboucas Apr 19, 2022
7a73873
chore: ignore test files in CodeQL
eduardoboucas Apr 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: github/codeql-action/init@v1
with:
languages: 'javascript'
paths-ignore:
- '**/*.test.js'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ See the [CLI command line reference](https://cli.netlify.com/commands/) to get s
- [lm](#lm)
- [login](#login)
- [open](#open)
- [recipes](#recipes)
- [sites](#sites)
- [status](#status)
- [switch](#switch)
Expand Down Expand Up @@ -123,7 +124,6 @@ Local dev server
| Subcommand | description |
|:--------------------------- |:-----|
| [`dev:exec`](/docs/commands/dev.md#devexec) | Exec command |
| [`dev:trace`](/docs/commands/dev.md#devtrace) | Trace command |


### [env](/docs/commands/env.md)
Expand Down Expand Up @@ -200,6 +200,15 @@ Open settings for the site linked to the current folder
| [`open:site`](/docs/commands/open.md#opensite) | Opens current site url in browser |


### [recipes](/docs/commands/recipes.md)

(Beta) Create and modify files in a project using pre-defined recipes

| Subcommand | description |
|:--------------------------- |:-----|
| [`recipes:list`](/docs/commands/recipes.md#recipeslist) | (Beta) List the recipes available to create and modify files in a project |


### [sites](/docs/commands/sites.md)

Handle various site operations
Expand Down
10 changes: 9 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ Local dev server
| Subcommand | description |
|:--------------------------- |:-----|
| [`dev:exec`](/docs/commands/dev.md#devexec) | Exec command |
| [`dev:trace`](/docs/commands/dev.md#devtrace) | Trace command |


### [env](/docs/commands/env.md)
Expand Down Expand Up @@ -157,6 +156,15 @@ Open settings for the site linked to the current folder
| [`open:site`](/docs/commands/open.md#opensite) | Opens current site url in browser |


### [recipes](/docs/commands/recipes.md)

(Beta) Create and modify files in a project using pre-defined recipes

| Subcommand | description |
|:--------------------------- |:-----|
| [`recipes:list`](/docs/commands/recipes.md#recipeslist) | (Beta) List the recipes available to create and modify files in a project |


### [sites](/docs/commands/sites.md)

Handle various site operations
Expand Down
36 changes: 0 additions & 36 deletions docs/commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ netlify dev
| Subcommand | description |
|:--------------------------- |:-----|
| [`dev:exec`](/docs/commands/dev.md#devexec) | Exec command |
| [`dev:trace`](/docs/commands/dev.md#devtrace) | Trace command |


**Examples**
Expand Down Expand Up @@ -74,41 +73,6 @@ netlify dev:exec
netlify dev:exec npm run bootstrap
```

---
## `dev:trace`

Trace command

**Usage**

```bash
netlify dev:trace
```

**Arguments**

- url - Sets the request URL

**Flags**

- `cookie` (*string*) - Request cookie, this flag can be used multiple times. Example: "nf_jwt=token"
- `header` (*string*) - Request header, this flag can be used multiple times. Example: "Host: netlify.test"
- `request` (*string*) - Specifies a custom request method [default: GET]
- `watch` (*string*) - Path to the publish directory
- `debug` (*boolean*) - Print debugging information
- `httpProxy` (*string*) - Proxy server address to route requests through.
- `httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server

**Examples**

```bash
netlify dev:trace http://localhost/routing-path
netlify dev:trace -w dist-directory http://localhost/routing-path
netlify dev:trace -X POST http://localhost/routing-path
netlify dev:trace -H "Accept-Language es" http://localhost/routing-path
netlify dev:trace --cookie nf_jwt=token http://localhost/routing-path
```

---

<!-- AUTO-GENERATED-CONTENT:END -->
10 changes: 9 additions & 1 deletion docs/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Local dev server
| Subcommand | description |
|:--------------------------- |:-----|
| [`dev:exec`](/docs/commands/dev.md#devexec) | Exec command |
| [`dev:trace`](/docs/commands/dev.md#devtrace) | Trace command |


### [env](/docs/commands/env.md)
Expand Down Expand Up @@ -138,6 +137,15 @@ Open settings for the site linked to the current folder
| [`open:site`](/docs/commands/open.md#opensite) | Opens current site url in browser |


### [recipes](/docs/commands/recipes.md)

(Beta) Create and modify files in a project using pre-defined recipes

| Subcommand | description |
|:--------------------------- |:-----|
| [`recipes:list`](/docs/commands/recipes.md#recipeslist) | (Beta) List the recipes available to create and modify files in a project |


### [sites](/docs/commands/sites.md)

Handle various site operations
Expand Down
Loading