netlify-cli 12.6.0 → 12.7.1
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 +5 -0
- package/npm-shrinkwrap.json +14638 -29919
- package/package.json +6 -4
- package/src/commands/base-command.mjs +16 -5
- package/src/commands/dev/dev.mjs +27 -524
- package/src/commands/functions/functions-serve.mjs +5 -1
- package/src/commands/main.mjs +2 -0
- package/src/commands/serve/serve.mjs +189 -0
- package/src/functions-templates/javascript/oauth-passport/package.json +1 -1
- package/src/lib/edge-functions/registry.mjs +2 -5
- package/src/lib/functions/registry.mjs +55 -33
- package/src/lib/functions/runtimes/js/builders/zisi.mjs +2 -1
- package/src/lib/functions/runtimes/rust/index.mjs +2 -1
- package/src/lib/functions/server.mjs +35 -18
- package/src/utils/banner.mjs +17 -0
- package/src/utils/detect-server-settings.mjs +35 -1
- package/src/utils/dev.mjs +8 -5
- package/src/utils/framework-server.mjs +66 -0
- package/src/utils/functions/functions.mjs +18 -2
- package/src/utils/graph.mjs +170 -0
- package/src/utils/proxy-server.mjs +90 -0
- package/src/utils/run-build.mjs +129 -0
- package/src/utils/shell.mjs +120 -0
- package/src/utils/static-server.mjs +34 -0
- package/src/utils/validation.mjs +15 -0
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ See the [CLI command line reference](https://cli.netlify.com/commands/) to get s
|
|
|
34
34
|
- [login](#login)
|
|
35
35
|
- [open](#open)
|
|
36
36
|
- [recipes](#recipes)
|
|
37
|
+
- [serve](#serve)
|
|
37
38
|
- [sites](#sites)
|
|
38
39
|
- [status](#status)
|
|
39
40
|
- [switch](#switch)
|
|
@@ -219,6 +220,10 @@ Open settings for the site linked to the current folder
|
|
|
219
220
|
| [`recipes:list`](/docs/commands/recipes.md#recipeslist) | (Beta) List the recipes available to create and modify files in a project |
|
|
220
221
|
|
|
221
222
|
|
|
223
|
+
### [serve](/docs/commands/serve.md)
|
|
224
|
+
|
|
225
|
+
(Beta) Build the site for production and serve locally. This does not watch the code for changes, so if you need to rebuild your site then you must exit and run `serve` again.
|
|
226
|
+
|
|
222
227
|
### [sites](/docs/commands/sites.md)
|
|
223
228
|
|
|
224
229
|
Handle various site operations
|