netlify-cli 9.16.7 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/npm-shrinkwrap.json +671 -3362
- package/package.json +8 -5
- package/src/commands/base-command.js +1 -2
- package/src/commands/deploy/deploy.js +0 -7
- package/src/commands/dev/dev.js +65 -52
- package/src/commands/main.js +3 -0
- package/src/commands/recipes/common.js +33 -0
- package/src/commands/recipes/index.js +8 -0
- package/src/commands/recipes/recipes-list.js +34 -0
- package/src/commands/recipes/recipes.js +85 -0
- package/src/lib/api.js +1 -72
- package/src/lib/edge-functions/consts.js +21 -0
- package/src/lib/edge-functions/deploy.js +41 -0
- package/src/lib/edge-functions/editor-helper.js +41 -0
- package/src/lib/edge-functions/headers.js +7 -0
- package/src/lib/edge-functions/index.js +7 -0
- package/src/lib/edge-functions/internal.js +75 -0
- package/src/lib/edge-functions/proxy.js +150 -0
- package/src/lib/edge-functions/registry.js +354 -0
- package/src/lib/functions/registry.js +1 -1
- package/src/lib/geo-location.js +99 -0
- package/src/recipes/vscode/index.js +61 -0
- package/src/recipes/vscode/settings.js +66 -0
- package/src/utils/command-helpers.js +10 -0
- package/src/utils/deploy/deploy-site.js +26 -4
- package/src/utils/deploy/hash-files.js +12 -7
- package/src/utils/deploy/hasher-segments.js +10 -2
- package/src/utils/functions/index.js +3 -2
- package/src/utils/index.js +0 -2
- package/src/utils/proxy.js +99 -12
- package/src/commands/dev/dev-trace.js +0 -47
- package/src/utils/functions/edge-handlers.js +0 -88
- package/src/utils/traffic-mesh.js +0 -219
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@ See the [CLI command line reference](https://cli.netlify.com/commands/) to get s
|
|
|
31
31
|
- [lm](#lm)
|
|
32
32
|
- [login](#login)
|
|
33
33
|
- [open](#open)
|
|
34
|
+
- [recipes](#recipes)
|
|
34
35
|
- [sites](#sites)
|
|
35
36
|
- [status](#status)
|
|
36
37
|
- [switch](#switch)
|
|
@@ -123,7 +124,6 @@ Local dev server
|
|
|
123
124
|
| Subcommand | description |
|
|
124
125
|
|:--------------------------- |:-----|
|
|
125
126
|
| [`dev:exec`](/docs/commands/dev.md#devexec) | Exec command |
|
|
126
|
-
| [`dev:trace`](/docs/commands/dev.md#devtrace) | Trace command |
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
### [env](/docs/commands/env.md)
|
|
@@ -200,6 +200,15 @@ Open settings for the site linked to the current folder
|
|
|
200
200
|
| [`open:site`](/docs/commands/open.md#opensite) | Opens current site url in browser |
|
|
201
201
|
|
|
202
202
|
|
|
203
|
+
### [recipes](/docs/commands/recipes.md)
|
|
204
|
+
|
|
205
|
+
(Beta) Create and modify files in a project using pre-defined recipes
|
|
206
|
+
|
|
207
|
+
| Subcommand | description |
|
|
208
|
+
|:--------------------------- |:-----|
|
|
209
|
+
| [`recipes:list`](/docs/commands/recipes.md#recipeslist) | (Beta) List the recipes available to create and modify files in a project |
|
|
210
|
+
|
|
211
|
+
|
|
203
212
|
### [sites](/docs/commands/sites.md)
|
|
204
213
|
|
|
205
214
|
Handle various site operations
|